-
Global information
- Generated on Sun Mar 17 04:15:14 2024
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20240316
- Parsed 743,414 log entries in 13s
- Log start from 2024-03-10 03:22:51 to 2024-03-16 23:59:59
-
Overview
Global Stats
- 256 Number of unique normalized queries
- 6,647 Number of queries
- 10h39s Total query duration
- 2024-03-10 03:32:24 First query
- 2024-03-16 23:59:59 Last query
- 4 queries/s at 2024-03-10 05:42:09 Query peak
- 10h39s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 10h39s Execute total duration
- 55 Number of events
- 9 Number of unique normalized events
- 23 Max number of times the same event was reported
- 0 Number of cancellation
- 28 Total number of automatic vacuums
- 149 Total number of automatic analyzes
- 0 Number temporary file
- 0 Max size of temporary file
- 0.00 B Average size of temporary file
- 88,033 Total number of sessions
- 50 sessions at 2024-03-11 02:13:33 Session peak
- 278d1h1m54s Total duration of sessions
- 4m32s Average duration of sessions
- 0 Average queries per session
- 409ms Average queries duration per session
- 4m32s Average idle time per session
- 88,035 Total number of connections
- 72 connections/s at 2024-03-12 18:43:32 Connection peak
- 2 Total number of databases
SQL Traffic
Key values
- 4 queries/s Query Peak
- 2024-03-10 05:42:09 Date
SELECT Traffic
Key values
- 4 queries/s Query Peak
- 2024-03-10 05:42:09 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 2 queries/s Query Peak
- 2024-03-14 10:57:59 Date
Queries duration
Key values
- 10h39s 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) Mar 10 03 8 0ms 3s990ms 1s525ms 1s121ms 1s555ms 5s93ms 04 14 0ms 5s22ms 2s879ms 4s689ms 4s973ms 10s32ms 05 64 0ms 14s61ms 2s794ms 14s61ms 22s932ms 1m10s 06 31 0ms 9m1s 22s531ms 9s473ms 37s56ms 9m6s 07 13 0ms 5s731ms 2s547ms 3s961ms 8s306ms 10s864ms 08 6 0ms 5s919ms 2s969ms 1s237ms 3s966ms 5s919ms 09 11 0ms 15s304ms 4s13ms 3s860ms 5s507ms 16s688ms 10 21 0ms 30s486ms 5s572ms 4s 9s330ms 51s950ms 11 13 0ms 3s973ms 1s798ms 2s133ms 3s972ms 3s973ms 12 13 0ms 4s768ms 1s667ms 1s223ms 2s281ms 5s961ms 13 13 0ms 11s140ms 3s309ms 3s836ms 5s43ms 11s140ms 14 25 0ms 30s496ms 5s267ms 4s825ms 9s340ms 52s289ms 15 16 0ms 8s350ms 2s322ms 2s401ms 4s68ms 8s350ms 16 14 0ms 5s789ms 2s37ms 2s369ms 3s978ms 5s789ms 17 16 0ms 5s500ms 1s902ms 3s494ms 3s612ms 5s500ms 18 31 0ms 30s542ms 5s122ms 9s480ms 18s554ms 52s50ms 19 15 0ms 5s573ms 2s241ms 2s751ms 3s210ms 5s573ms 20 20 0ms 4s808ms 1s622ms 1s721ms 3s386ms 4s808ms 21 20 0ms 12s473ms 2s53ms 1s776ms 3s657ms 13s588ms 22 20 0ms 1m17s 6s308ms 4s59ms 5s181ms 1m17s 23 15 0ms 4s256ms 1s612ms 1s245ms 2s246ms 5s213ms Mar 11 00 34 0ms 14m54s 29s173ms 5s361ms 6s12ms 14m56s 01 30 0ms 5s752ms 2s215ms 5s285ms 6s325ms 10s696ms 02 25 0ms 4s736ms 1s583ms 2s370ms 2s600ms 7s987ms 03 27 0ms 13s626ms 1s866ms 2s390ms 3s113ms 18s878ms 04 11 0ms 14s294ms 3s159ms 3s357ms 5s923ms 14s294ms 05 58 0ms 19s711ms 3s792ms 18s477ms 23s723ms 32s723ms 06 41 0ms 30s499ms 4s9ms 8s319ms 16s526ms 51s855ms 07 26 0ms 3m4s 9s358ms 4s36ms 7s341ms 3m7s 08 12 0ms 6s20ms 2s538ms 1s797ms 4s568ms 10s125ms 09 18 0ms 18s82ms 3s523ms 3s942ms 5s942ms 18s82ms 10 28 0ms 30s498ms 5s37ms 5s154ms 10s536ms 51s927ms 11 5 0ms 2s49ms 1s343ms 0ms 1s179ms 2s391ms 12 10 0ms 4s30ms 1s807ms 1s366ms 2s387ms 4s30ms 13 19 0ms 5s295ms 2s547ms 4s688ms 4s984ms 5s295ms 14 34 0ms 30s641ms 4s470ms 4s72ms 9s950ms 51s947ms 15 32 0ms 5s578ms 2s27ms 4s316ms 5s536ms 5s951ms 16 30 0ms 5s114ms 2s257ms 5s113ms 5s514ms 8s764ms 17 19 0ms 4s73ms 1s475ms 2s276ms 3s290ms 4s73ms 18 20 0ms 30s562ms 5s688ms 2s386ms 9s332ms 51s915ms 19 18 0ms 9s891ms 2s262ms 2s235ms 2s781ms 18s476ms 20 16 0ms 2s692ms 1s432ms 2s366ms 2s568ms 2s992ms 21 24 0ms 12s238ms 3s403ms 3s406ms 5s912ms 41s117ms 22 23 0ms 5s229ms 1s799ms 2s781ms 3s934ms 5s229ms 23 14 0ms 1m23s 7s944ms 3s246ms 4s786ms 1m23s Mar 12 00 16 0ms 14m50s 58s535ms 4s13ms 4s653ms 14m55s 01 22 0ms 1m36s 6s705ms 4s894ms 7s196ms 1m36s 02 11 0ms 8s932ms 2s675ms 1s789ms 4s7ms 8s932ms 03 21 0ms 8m49s 28s310ms 6s360ms 10s108ms 8m49s 04 17 0ms 15s216ms 2s838ms 4s109ms 5s339ms 15s216ms 05 55 0ms 5s51ms 2s236ms 10s17ms 13s642ms 25s386ms 06 38 0ms 30s562ms 4s85ms 4s930ms 10s674ms 51s998ms 07 20 0ms 4s876ms 2s454ms 4s111ms 4s831ms 4s876ms 08 20 0ms 5s259ms 2s265ms 3s939ms 4s73ms 8s876ms 09 18 0ms 5s204ms 2s126ms 2s80ms 5s245ms 6s565ms 10 27 0ms 30s559ms 5s520ms 8s68ms 9s347ms 52s433ms 11 37 0ms 5s226ms 2s6ms 4s306ms 5s226ms 7s114ms 12 17 0ms 5s217ms 2s393ms 3s33ms 3s418ms 5s217ms 13 47 0ms 11m 15s626ms 5s853ms 8s3ms 11m 14 65 0ms 30s433ms 4s248ms 14s971ms 17s183ms 57s727ms 15 37 0ms 5s170ms 1s859ms 4s418ms 5s179ms 6s735ms 16 35 0ms 14s858ms 2s580ms 5s230ms 8s353ms 14s858ms 17 24 0ms 1m40s 6s25ms 3s464ms 4s762ms 1m40s 18 31 0ms 30s541ms 4s345ms 3s332ms 12s987ms 53s188ms 19 18 0ms 4s652ms 1s539ms 2s308ms 3s544ms 5s827ms 20 11 0ms 4s924ms 2s152ms 1s748ms 3s916ms 6s17ms 21 23 0ms 6s579ms 2s140ms 3s329ms 6s270ms 7s739ms 22 23 0ms 1m18s 6s667ms 4s763ms 17s369ms 1m23s 23 23 0ms 11s888ms 2s943ms 5s23ms 5s365ms 11s888ms Mar 13 00 24 0ms 14m52s 39s291ms 4s879ms 5s608ms 15m4s 01 22 0ms 4s962ms 1s943ms 3s336ms 5s237ms 7s636ms 02 23 0ms 5s361ms 1s910ms 3s327ms 3s500ms 8s876ms 03 35 0ms 3s991ms 1s700ms 3s977ms 4s805ms 5s427ms 04 36 0ms 5s183ms 2s192ms 4s134ms 5s337ms 9s434ms 05 83 0ms 7s170ms 2s332ms 7s460ms 24s223ms 41s123ms 06 31 0ms 30s545ms 4s757ms 4s84ms 12s846ms 51s938ms 07 38 0ms 35s977ms 5s526ms 10s200ms 30s482ms 35s977ms 08 27 0ms 5s251ms 2s385ms 4s884ms 5s251ms 7s355ms 09 23 0ms 3m51s 12s267ms 3s979ms 4s882ms 3m51s 10 53 0ms 30s595ms 3s767ms 5s524ms 16s953ms 54s72ms 11 50 0ms 12s559ms 2s724ms 5s985ms 8s756ms 24s386ms 12 57 0ms 5s897ms 2s119ms 5s519ms 5s897ms 7s970ms 13 40 0ms 17m39s 35s241ms 14s907ms 1m43s 17m42s 14 35 0ms 38s958ms 7s247ms 7s857ms 40s411ms 1m42s 15 27 0ms 38s859ms 5s827ms 4s430ms 5s178ms 1m40s 16 28 0ms 5s201ms 1s762ms 3s512ms 4s395ms 5s201ms 17 33 0ms 11s214ms 2s376ms 5s852ms 7s673ms 12s374ms 18 49 0ms 30s514ms 3s644ms 6s222ms 8s259ms 57s548ms 19 69 0ms 5s891ms 2s419ms 7s699ms 9s133ms 15s234ms 20 49 0ms 6s566ms 2s129ms 5s36ms 6s566ms 8s122ms 21 62 0ms 11s869ms 2s399ms 7s509ms 12s247ms 14s960ms 22 79 0ms 5s573ms 2s165ms 7s424ms 9s466ms 10s391ms 23 66 0ms 11s289ms 2s260ms 5s679ms 10s173ms 12s351ms Mar 14 00 48 0ms 15m1s 21s553ms 7s422ms 17s921ms 15m10s 01 63 0ms 18m15s 20s110ms 7s772ms 11s642ms 18m18s 02 188 0ms 5s469ms 1s400ms 10s185ms 25s556ms 40s804ms 03 99 0ms 5s244ms 2s127ms 8s634ms 12s59ms 19s781ms 04 72 0ms 14s302ms 2s553ms 6s181ms 8s665ms 35s53ms 05 106 0ms 6s30ms 2s340ms 9s650ms 17s182ms 30s330ms 06 63 0ms 30s677ms 3s527ms 8s104ms 14s119ms 57s251ms 07 105 0ms 6s72ms 1s394ms 5s195ms 19s279ms 34s390ms 08 96 0ms 6s62ms 1s386ms 8s77ms 20s516ms 28s886ms 09 309 0ms 1m17s 1s523ms 25s585ms 29s729ms 1m17s 10 91 0ms 30s549ms 3s250ms 8s981ms 10s709ms 52s955ms 11 46 0ms 5s301ms 2s289ms 4s17ms 6s76ms 18s211ms 12 39 0ms 15s68ms 2s943ms 7s284ms 9s501ms 15s68ms 13 66 0ms 16s539ms 2s583ms 7s23ms 9s314ms 18s349ms 14 102 0ms 30s683ms 3s826ms 14s706ms 36s388ms 51s710ms 15 40 0ms 5s882ms 2s461ms 5s91ms 5s574ms 6s388ms 16 61 0ms 17s372ms 2s622ms 6s286ms 9s453ms 17s372ms 17 57 0ms 5s294ms 2s485ms 6s306ms 7s424ms 10s486ms 18 38 0ms 30s447ms 3s794ms 5s80ms 8s408ms 36s832ms 19 57 0ms 8m22s 10s978ms 4s868ms 6s319ms 8m30s 20 52 0ms 5s195ms 2s277ms 5s4ms 5s306ms 10s5ms 21 34 0ms 22s55ms 3s23ms 4s633ms 5s242ms 27s38ms 22 26 0ms 6s491ms 2s186ms 3s311ms 4s696ms 8s330ms 23 25 0ms 12s738ms 2s717ms 4s126ms 5s236ms 12s738ms Mar 15 00 22 0ms 14m57s 43s569ms 5s23ms 6s267ms 15m 01 22 0ms 3s278ms 1s935ms 3s262ms 3s278ms 4s559ms 02 27 0ms 5s298ms 2s394ms 3s581ms 5s251ms 10s710ms 03 35 0ms 8m23s 17s204ms 5s300ms 6s324ms 8m23s 04 38 0ms 5s265ms 2s312ms 4s338ms 4s795ms 5s742ms 05 85 0ms 5s939ms 2s505ms 8s581ms 22s418ms 27s577ms 06 92 0ms 30s523ms 3s86ms 8s291ms 11s561ms 51s850ms 07 110 0ms 5s283ms 2s489ms 10s502ms 13s106ms 14s946ms 08 129 0ms 6s355ms 2s519ms 12s263ms 14s178ms 16s432ms 09 109 0ms 5s328ms 2s589ms 11s926ms 14s925ms 18s414ms 10 86 0ms 30s475ms 3s363ms 7s792ms 12s7ms 55s252ms 11 75 0ms 5s226ms 2s277ms 6s821ms 8s97ms 9s107ms 12 73 0ms 1m13s 3s515ms 7s777ms 9s319ms 1m13s 13 52 0ms 9s882ms 2s619ms 9s213ms 9s882ms 13s883ms 14 40 0ms 30s486ms 4s488ms 5s368ms 12s83ms 54s59ms 15 12 0ms 4s851ms 2s477ms 3s285ms 3s997ms 4s851ms 16 24 0ms 5s252ms 2s657ms 4s122ms 5s218ms 7s965ms 17 13 0ms 17m11s 1m22s 4s615ms 5s234ms 17m11s 18 33 0ms 47s120ms 10s869ms 36s899ms 52s304ms 1m39s 19 18 0ms 6s101ms 2s392ms 2s832ms 3s702ms 6s101ms 20 13 0ms 6s531ms 2s714ms 2s561ms 5s130ms 6s531ms 21 11 0ms 3s975ms 2s85ms 2s500ms 2s649ms 3s975ms 22 19 0ms 11s666ms 2s858ms 3s267ms 5s492ms 11s666ms 23 21 0ms 5s68ms 2s309ms 3s306ms 5s68ms 5s397ms Mar 16 00 30 0ms 14m52s 32s479ms 5s294ms 5s334ms 14m57s 01 41 0ms 5s275ms 2s455ms 5s275ms 6s567ms 8s734ms 02 55 0ms 4s619ms 2s237ms 5s428ms 5s820ms 7s347ms 03 39 0ms 5s195ms 2s384ms 4s315ms 4s969ms 5s195ms 04 41 0ms 5s263ms 2s444ms 4s642ms 6s363ms 9s104ms 05 87 0ms 5m16s 5s956ms 9s726ms 22s469ms 5m21s 06 49 0ms 5s967ms 2s799ms 5s967ms 7s533ms 8s942ms 07 25 0ms 5s307ms 2s420ms 3s278ms 5s281ms 5s367ms 08 37 0ms 6s428ms 2s517ms 5s190ms 7s323ms 7s759ms 09 45 0ms 7s753ms 2s605ms 5s666ms 7s712ms 12s955ms 10 38 0ms 3m21s 7s518ms 4s888ms 5s409ms 3m21s 11 58 0ms 5s203ms 2s287ms 5s464ms 6s105ms 7s109ms 12 40 0ms 4s29ms 2s440ms 4s633ms 5s219ms 9s742ms 13 40 0ms 5s247ms 2s664ms 5s820ms 6s5ms 13s144ms 14 29 0ms 5s227ms 2s378ms 4s443ms 5s840ms 10s231ms 15 17 0ms 4s886ms 2s502ms 2s977ms 4s886ms 9s82ms 16 58 0ms 8m21s 11s533ms 7s498ms 24s366ms 8m21s 17 35 0ms 5s226ms 2s354ms 4s628ms 5s519ms 8s501ms 18 51 0ms 23m5s 35s639ms 51s988ms 1m10s 23m9s 19 59 0ms 23m 55s631ms 1m42s 6m40s 23m1s 20 13 0ms 5s98ms 2s624ms 2s623ms 3s513ms 5s98ms 21 20 0ms 6s235ms 2s144ms 3s503ms 4s56ms 6s235ms 22 11 0ms 12s44ms 3s333ms 2s779ms 4s738ms 12s44ms 23 19 0ms 7s3ms 2s455ms 3s216ms 4s9ms 7s3ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Mar 10 03 8 0 1s525ms 1s57ms 1s121ms 5s93ms 04 14 0 2s879ms 1s113ms 4s689ms 10s32ms 05 60 0 2s833ms 1s249ms 14s61ms 1m10s 06 21 10 22s531ms 4s159ms 9s473ms 9m6s 07 13 0 2s547ms 1s74ms 3s961ms 10s864ms 08 6 0 2s969ms 0ms 1s237ms 5s919ms 09 11 0 4s13ms 0ms 3s860ms 16s688ms 10 11 10 5s572ms 1s154ms 4s 51s950ms 11 13 0 1s798ms 1s238ms 2s133ms 3s973ms 12 13 0 1s667ms 1s115ms 1s223ms 5s961ms 13 13 0 3s309ms 1s212ms 3s836ms 11s140ms 14 15 10 5s267ms 2s340ms 5s320ms 52s289ms 15 16 0 2s322ms 1s500ms 2s401ms 8s350ms 16 14 0 2s37ms 1s210ms 2s369ms 5s789ms 17 16 0 1s902ms 1s189ms 3s494ms 5s500ms 18 22 9 5s122ms 2s158ms 8s283ms 52s50ms 19 15 0 2s241ms 1s827ms 2s751ms 5s573ms 20 20 0 1s622ms 1s276ms 1s721ms 4s808ms 21 20 0 2s53ms 1s219ms 1s776ms 13s588ms 22 20 0 6s308ms 1s387ms 4s59ms 1m17s 23 15 0 1s612ms 1s130ms 1s245ms 5s213ms Mar 11 00 33 0 29s905ms 4s170ms 5s361ms 14m56s 01 30 0 2s215ms 2s410ms 5s285ms 10s696ms 02 25 0 1s583ms 2s45ms 2s370ms 7s987ms 03 27 0 1s866ms 1s256ms 2s390ms 18s878ms 04 11 0 3s159ms 1s184ms 3s357ms 14s294ms 05 54 0 3s909ms 14s675ms 18s477ms 32s723ms 06 32 9 4s9ms 2s777ms 8s319ms 36s846ms 07 26 0 9s358ms 2s856ms 4s36ms 3m7s 08 12 0 2s538ms 1s99ms 1s797ms 10s125ms 09 18 0 3s523ms 1s182ms 3s942ms 18s82ms 10 18 10 5s37ms 3s384ms 5s154ms 51s927ms 11 5 0 1s343ms 0ms 0ms 2s391ms 12 10 0 1s807ms 1s149ms 1s366ms 4s30ms 13 19 0 2s547ms 2s671ms 4s688ms 5s295ms 14 25 9 4s470ms 3s882ms 4s72ms 37s1ms 15 32 0 2s27ms 3s517ms 4s316ms 5s951ms 16 29 0 2s218ms 2s809ms 5s113ms 8s29ms 17 19 0 1s475ms 1s351ms 2s276ms 4s73ms 18 10 10 5s688ms 1s182ms 2s386ms 51s915ms 19 18 0 2s262ms 1s245ms 2s235ms 18s476ms 20 16 0 1s432ms 1s144ms 2s366ms 2s992ms 21 24 0 3s403ms 1s893ms 3s406ms 41s117ms 22 23 0 1s799ms 1s341ms 2s781ms 5s229ms 23 14 0 7s944ms 1s189ms 3s246ms 1m23s Mar 12 00 15 0 1m2s 1s355ms 4s13ms 14m50s 01 22 0 6s705ms 2s458ms 4s894ms 1m36s 02 11 0 2s675ms 1s100ms 1s789ms 8s932ms 03 20 0 29s561ms 2s42ms 6s360ms 8m49s 04 17 0 2s838ms 1s122ms 4s109ms 15s216ms 05 51 0 2s238ms 2s364ms 10s17ms 25s386ms 06 28 10 4s85ms 2s316ms 6s85ms 36s920ms 07 20 0 2s454ms 2s19ms 4s111ms 4s865ms 08 19 0 2s211ms 1s259ms 3s939ms 8s876ms 09 18 0 2s126ms 1s497ms 2s80ms 6s565ms 10 17 10 5s520ms 3s844ms 8s68ms 52s433ms 11 36 0 1s970ms 2s136ms 4s306ms 6s893ms 12 16 0 2s338ms 2s26ms 2s215ms 5s217ms 13 46 0 15s894ms 2s339ms 4s446ms 10s165ms 14 54 10 4s263ms 8s115ms 14s971ms 36s804ms 15 35 0 1s780ms 2s81ms 4s92ms 6s735ms 16 35 0 2s580ms 2s184ms 5s230ms 13s12ms 17 23 0 6s144ms 2s40ms 3s31ms 1m40s 18 21 10 4s345ms 1s187ms 3s692ms 51s951ms 19 18 0 1s539ms 1s165ms 2s308ms 5s827ms 20 11 0 2s152ms 1s78ms 1s748ms 6s17ms 21 23 0 2s140ms 1s739ms 3s329ms 7s739ms 22 23 0 6s667ms 2s185ms 4s763ms 1m23s 23 23 0 2s943ms 2s864ms 5s23ms 5s446ms Mar 13 00 23 0 40s779ms 1s209ms 4s879ms 14m59s 01 22 0 1s943ms 1s218ms 3s336ms 7s636ms 02 22 0 1s845ms 1s208ms 2s840ms 8s876ms 03 32 0 1s607ms 2s237ms 2s601ms 4s213ms 04 30 0 2s167ms 2s215ms 3s591ms 9s434ms 05 78 0 2s338ms 5s67ms 7s460ms 41s123ms 06 20 9 4s886ms 2s27ms 4s84ms 51s938ms 07 38 0 5s526ms 3s432ms 10s200ms 35s143ms 08 20 0 2s295ms 2s438ms 4s32ms 6s260ms 09 21 0 13s214ms 1s459ms 3s979ms 5s254ms 10 38 10 3s869ms 3s524ms 5s524ms 36s997ms 11 48 0 2s725ms 3s697ms 5s295ms 15s197ms 12 51 0 2s66ms 3s476ms 5s281ms 6s49ms 13 38 0 36s971ms 7s347ms 14s907ms 1m44s 14 24 10 7s389ms 5s130ms 7s857ms 1m42s 15 23 0 6s360ms 2s83ms 3s962ms 1m40s 16 24 0 1s677ms 2s77ms 2s505ms 5s201ms 17 32 0 2s376ms 2s302ms 5s852ms 8s619ms 18 36 9 3s693ms 4s606ms 6s222ms 52s37ms 19 58 0 2s341ms 4s439ms 4s927ms 11s96ms 20 41 0 1s976ms 3s148ms 4s90ms 6s566ms 21 56 0 2s390ms 4s41ms 7s509ms 12s247ms 22 71 0 2s92ms 4s278ms 7s424ms 10s1ms 23 53 0 2s156ms 3s508ms 4s911ms 11s289ms Mar 14 00 42 0 24s190ms 3s571ms 6s659ms 15m1s 01 55 0 22s620ms 3s545ms 7s772ms 39s947ms 02 182 0 1s341ms 6s316ms 10s185ms 26s26ms 03 83 0 2s26ms 4s776ms 6s960ms 12s117ms 04 61 0 2s514ms 4s269ms 5s452ms 28s225ms 05 91 0 2s296ms 5s50ms 7s271ms 23s160ms 06 44 10 3s700ms 5s251ms 8s104ms 37s91ms 07 99 0 1s317ms 2s207ms 5s195ms 29s191ms 08 93 0 1s340ms 3s934ms 8s77ms 28s886ms 09 301 0 1s498ms 14s839ms 25s585ms 29s729ms 10 63 10 3s350ms 4s829ms 8s246ms 36s957ms 11 34 0 2s199ms 2s44ms 3s199ms 8s905ms 12 31 0 3s108ms 5s48ms 6s437ms 15s68ms 13 54 0 2s620ms 4s350ms 6s327ms 8s116ms 14 79 10 3s993ms 9s328ms 14s438ms 37s81ms 15 36 0 2s420ms 3s181ms 5s91ms 5s882ms 16 42 0 2s624ms 2s267ms 4s833ms 11s133ms 17 46 0 2s466ms 4s840ms 5s294ms 8s456ms 18 25 7 3s968ms 3s108ms 4s918ms 24s783ms 19 42 0 14s1ms 3s304ms 4s388ms 5s240ms 20 37 0 2s187ms 2s812ms 3s436ms 5s195ms 21 30 0 3s83ms 2s299ms 4s633ms 5s280ms 22 20 0 1s983ms 1s380ms 2s41ms 8s330ms 23 21 0 2s734ms 2s43ms 4s126ms 12s738ms Mar 15 00 19 0 49s919ms 2s237ms 4s13ms 15m 01 18 0 1s702ms 1s418ms 2s222ms 3s262ms 02 20 0 2s385ms 2s204ms 3s298ms 10s710ms 03 31 0 19s78ms 4s187ms 5s300ms 8m23s 04 31 0 2s264ms 2s463ms 4s176ms 5s265ms 05 68 0 2s482ms 5s214ms 8s11ms 25s70ms 06 57 10 3s299ms 4s642ms 6s106ms 36s913ms 07 77 0 2s457ms 5s984ms 6s891ms 12s523ms 08 89 0 2s497ms 6s346ms 7s962ms 12s742ms 09 81 0 2s603ms 5s349ms 9s491ms 12s151ms 10 52 10 3s684ms 4s722ms 7s423ms 36s877ms 11 44 0 2s131ms 2s783ms 4s619ms 6s805ms 12 43 0 4s130ms 4s283ms 6s380ms 7s724ms 13 40 0 2s682ms 4s452ms 7s519ms 9s882ms 14 20 10 5s138ms 3s336ms 5s207ms 51s769ms 15 9 0 2s513ms 0ms 3s285ms 4s851ms 16 18 0 2s689ms 2s655ms 4s122ms 7s965ms 17 10 0 1m46s 1s564ms 4s615ms 17m11s 18 18 10 12s396ms 4s4ms 36s899ms 1m39s 19 12 0 2s333ms 1s238ms 2s654ms 6s101ms 20 11 0 2s815ms 1s171ms 2s561ms 6s531ms 21 10 0 2s43ms 1s58ms 2s150ms 3s975ms 22 15 0 2s953ms 1s245ms 3s267ms 11s666ms 23 16 0 2s205ms 2s131ms 3s250ms 5s254ms Mar 16 00 18 0 52s220ms 2s258ms 2s863ms 14m52s 01 29 0 2s383ms 2s796ms 4s865ms 8s734ms 02 42 0 2s185ms 3s412ms 4s619ms 5s733ms 03 28 0 2s348ms 2s766ms 3s465ms 5s19ms 04 30 0 2s358ms 2s233ms 4s408ms 7s49ms 05 67 0 7s7ms 3s521ms 8s584ms 22s913ms 06 38 0 2s894ms 4s989ms 5s506ms 6s814ms 07 19 0 2s419ms 2s193ms 2s904ms 5s307ms 08 25 0 2s586ms 2s668ms 4s472ms 7s332ms 09 35 0 2s632ms 2s996ms 4s812ms 7s753ms 10 28 0 9s272ms 2s227ms 3s298ms 3m21s 11 41 0 2s214ms 3s280ms 4s441ms 5s464ms 12 28 0 2s406ms 2s664ms 3s602ms 5s204ms 13 27 0 2s680ms 2s847ms 4s27ms 10s710ms 14 25 0 2s313ms 2s279ms 4s360ms 7s403ms 15 17 0 2s502ms 2s10ms 2s977ms 9s82ms 16 55 0 12s19ms 5s174ms 7s498ms 8m21s 17 32 0 2s301ms 2s989ms 4s338ms 8s501ms 18 22 27 36s991ms 8s235ms 51s988ms 23m7s 19 13 45 56s544ms 1m10s 1m39s 23m1s 20 9 0 2s535ms 1s113ms 2s229ms 5s98ms 21 18 0 2s109ms 2s52ms 3s503ms 6s235ms 22 9 0 3s554ms 0ms 2s299ms 12s44ms 23 16 0 2s485ms 1s728ms 2s877ms 7s3ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Mar 10 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 Mar 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 Mar 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 Mar 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 Mar 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 Mar 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 Mar 16 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Mar 10 03 0 8 8.00 0.00% 04 0 14 14.00 0.00% 05 0 64 64.00 0.00% 06 0 21 21.00 0.00% 07 0 13 13.00 0.00% 08 0 8 8.00 0.00% 09 0 11 11.00 0.00% 10 0 11 11.00 0.00% 11 0 13 13.00 0.00% 12 0 13 13.00 0.00% 13 0 14 14.00 0.00% 14 0 15 15.00 0.00% 15 0 16 16.00 0.00% 16 0 14 14.00 0.00% 17 0 16 16.00 0.00% 18 0 22 22.00 0.00% 19 0 15 15.00 0.00% 20 0 20 20.00 0.00% 21 0 20 20.00 0.00% 22 0 20 20.00 0.00% 23 0 15 15.00 0.00% Mar 11 00 0 32 32.00 0.00% 01 0 30 30.00 0.00% 02 0 25 25.00 0.00% 03 0 27 27.00 0.00% 04 0 11 11.00 0.00% 05 0 58 58.00 0.00% 06 0 35 35.00 0.00% 07 0 26 26.00 0.00% 08 0 13 13.00 0.00% 09 0 20 20.00 0.00% 10 0 18 18.00 0.00% 11 0 5 5.00 0.00% 12 0 10 10.00 0.00% 13 0 19 19.00 0.00% 14 0 27 27.00 0.00% 15 0 32 32.00 0.00% 16 0 30 30.00 0.00% 17 0 19 19.00 0.00% 18 0 10 10.00 0.00% 19 0 18 18.00 0.00% 20 0 16 16.00 0.00% 21 0 24 24.00 0.00% 22 0 23 23.00 0.00% 23 0 14 14.00 0.00% Mar 12 00 0 14 14.00 0.00% 01 0 22 22.00 0.00% 02 0 11 11.00 0.00% 03 0 21 21.00 0.00% 04 0 17 17.00 0.00% 05 0 55 55.00 0.00% 06 0 31 31.00 0.00% 07 0 22 22.00 0.00% 08 0 20 20.00 0.00% 09 0 18 18.00 0.00% 10 0 18 18.00 0.00% 11 0 38 38.00 0.00% 12 0 19 19.00 0.00% 13 0 47 47.00 0.00% 14 0 55 55.00 0.00% 15 0 37 37.00 0.00% 16 0 36 36.00 0.00% 17 0 24 24.00 0.00% 18 0 21 21.00 0.00% 19 0 18 18.00 0.00% 20 0 11 11.00 0.00% 21 0 23 23.00 0.00% 22 0 23 23.00 0.00% 23 0 23 23.00 0.00% Mar 13 00 0 23 23.00 0.00% 01 0 22 22.00 0.00% 02 0 23 23.00 0.00% 03 0 35 35.00 0.00% 04 0 36 36.00 0.00% 05 0 83 83.00 0.00% 06 0 23 23.00 0.00% 07 0 42 42.00 0.00% 08 0 27 27.00 0.00% 09 0 27 27.00 0.00% 10 0 44 44.00 0.00% 11 0 52 52.00 0.00% 12 0 57 57.00 0.00% 13 0 42 42.00 0.00% 14 0 25 25.00 0.00% 15 0 27 27.00 0.00% 16 0 28 28.00 0.00% 17 0 34 34.00 0.00% 18 0 40 40.00 0.00% 19 0 69 69.00 0.00% 20 0 49 49.00 0.00% 21 0 62 62.00 0.00% 22 0 79 79.00 0.00% 23 0 66 66.00 0.00% Mar 14 00 0 46 46.00 0.00% 01 0 63 63.00 0.00% 02 0 188 188.00 0.00% 03 0 99 99.00 0.00% 04 0 72 72.00 0.00% 05 0 106 106.00 0.00% 06 0 59 59.00 0.00% 07 0 116 116.00 0.00% 08 0 100 100.00 0.00% 09 0 321 321.00 0.00% 10 0 83 83.00 0.00% 11 0 52 52.00 0.00% 12 0 39 39.00 0.00% 13 0 64 64.00 0.00% 14 0 82 82.00 0.00% 15 0 40 40.00 0.00% 16 0 63 63.00 0.00% 17 0 58 58.00 0.00% 18 0 32 32.00 0.00% 19 0 57 57.00 0.00% 20 0 52 52.00 0.00% 21 0 34 34.00 0.00% 22 0 26 26.00 0.00% 23 0 25 25.00 0.00% Mar 15 00 0 21 21.00 0.00% 01 0 22 22.00 0.00% 02 0 27 27.00 0.00% 03 0 35 35.00 0.00% 04 0 38 38.00 0.00% 05 0 85 85.00 0.00% 06 0 87 87.00 0.00% 07 0 128 128.00 0.00% 08 0 136 136.00 0.00% 09 0 115 115.00 0.00% 10 0 91 91.00 0.00% 11 0 88 88.00 0.00% 12 0 92 92.00 0.00% 13 0 54 54.00 0.00% 14 0 30 30.00 0.00% 15 0 12 12.00 0.00% 16 0 24 24.00 0.00% 17 0 13 13.00 0.00% 18 0 23 23.00 0.00% 19 0 18 18.00 0.00% 20 0 13 13.00 0.00% 21 0 11 11.00 0.00% 22 0 19 19.00 0.00% 23 0 21 21.00 0.00% Mar 16 00 0 28 28.00 0.00% 01 0 41 41.00 0.00% 02 0 55 55.00 0.00% 03 0 39 39.00 0.00% 04 0 41 41.00 0.00% 05 0 87 87.00 0.00% 06 0 49 49.00 0.00% 07 0 25 25.00 0.00% 08 0 37 37.00 0.00% 09 0 45 45.00 0.00% 10 0 38 38.00 0.00% 11 0 58 58.00 0.00% 12 0 40 40.00 0.00% 13 0 40 40.00 0.00% 14 0 29 29.00 0.00% 15 0 17 17.00 0.00% 16 0 58 58.00 0.00% 17 0 35 35.00 0.00% 18 0 24 24.00 0.00% 19 0 14 14.00 0.00% 20 0 13 13.00 0.00% 21 0 20 20.00 0.00% 22 0 11 11.00 0.00% 23 0 19 19.00 0.00% Day Hour Count Average / Second Mar 10 03 275 0.08/s 04 530 0.15/s 05 556 0.15/s 06 546 0.15/s 07 526 0.15/s 08 530 0.15/s 09 526 0.15/s 10 533 0.15/s 11 526 0.15/s 12 526 0.15/s 13 1,051 0.29/s 14 686 0.19/s 15 77 0.02/s 16 534 0.15/s 17 524 0.15/s 18 534 0.15/s 19 528 0.15/s 20 528 0.15/s 21 523 0.15/s 22 528 0.15/s 23 526 0.15/s Mar 11 00 530 0.15/s 01 532 0.15/s 02 526 0.15/s 03 532 0.15/s 04 529 0.15/s 05 545 0.15/s 06 538 0.15/s 07 557 0.15/s 08 527 0.15/s 09 541 0.15/s 10 534 0.15/s 11 527 0.15/s 12 525 0.15/s 13 528 0.15/s 14 532 0.15/s 15 527 0.15/s 16 532 0.15/s 17 528 0.15/s 18 528 0.15/s 19 524 0.15/s 20 523 0.15/s 21 611 0.17/s 22 536 0.15/s 23 530 0.15/s Mar 12 00 532 0.15/s 01 530 0.15/s 02 528 0.15/s 03 531 0.15/s 04 537 0.15/s 05 540 0.15/s 06 532 0.15/s 07 535 0.15/s 08 533 0.15/s 09 530 0.15/s 10 540 0.15/s 11 530 0.15/s 12 525 0.15/s 13 536 0.15/s 14 544 0.15/s 15 528 0.15/s 16 541 0.15/s 17 532 0.15/s 18 531 0.15/s 19 525 0.15/s 20 530 0.15/s 21 536 0.15/s 22 538 0.15/s 23 537 0.15/s Mar 13 00 529 0.15/s 01 532 0.15/s 02 534 0.15/s 03 531 0.15/s 04 531 0.15/s 05 546 0.15/s 06 535 0.15/s 07 536 0.15/s 08 532 0.15/s 09 528 0.15/s 10 533 0.15/s 11 573 0.16/s 12 534 0.15/s 13 545 0.15/s 14 532 0.15/s 15 526 0.15/s 16 529 0.15/s 17 532 0.15/s 18 534 0.15/s 19 533 0.15/s 20 536 0.15/s 21 524 0.15/s 22 556 0.15/s 23 537 0.15/s Mar 14 00 541 0.15/s 01 533 0.15/s 02 542 0.15/s 03 532 0.15/s 04 536 0.15/s 05 556 0.15/s 06 534 0.15/s 07 527 0.15/s 08 529 0.15/s 09 542 0.15/s 10 536 0.15/s 11 532 0.15/s 12 531 0.15/s 13 537 0.15/s 14 539 0.15/s 15 534 0.15/s 16 527 0.15/s 17 531 0.15/s 18 537 0.15/s 19 535 0.15/s 20 528 0.15/s 21 527 0.15/s 22 532 0.15/s 23 533 0.15/s Mar 15 00 531 0.15/s 01 531 0.15/s 02 533 0.15/s 03 533 0.15/s 04 533 0.15/s 05 548 0.15/s 06 532 0.15/s 07 565 0.16/s 08 538 0.15/s 09 544 0.15/s 10 533 0.15/s 11 532 0.15/s 12 534 0.15/s 13 528 0.15/s 14 533 0.15/s 15 524 0.15/s 16 525 0.15/s 17 530 0.15/s 18 532 0.15/s 19 528 0.15/s 20 524 0.15/s 21 520 0.14/s 22 543 0.15/s 23 526 0.15/s Mar 16 00 530 0.15/s 01 535 0.15/s 02 543 0.15/s 03 528 0.15/s 04 531 0.15/s 05 545 0.15/s 06 534 0.15/s 07 531 0.15/s 08 532 0.15/s 09 546 0.15/s 10 534 0.15/s 11 537 0.15/s 12 533 0.15/s 13 534 0.15/s 14 529 0.15/s 15 525 0.15/s 16 533 0.15/s 17 531 0.15/s 18 533 0.15/s 19 529 0.15/s 20 525 0.15/s 21 523 0.15/s 22 541 0.15/s 23 528 0.15/s Day Hour Count Average Duration Average idle time Mar 10 03 275 5m27s 5m27s 04 530 4m32s 4m31s 05 556 4m23s 4m23s 06 546 4m21s 4m20s 07 526 4m27s 4m27s 08 530 4m36s 4m36s 09 526 4m35s 4m35s 10 533 4m23s 4m23s 11 526 4m29s 4m29s 12 526 4m46s 4m46s 13 1,051 2m19s 2m19s 14 684 3m37s 3m37s 15 77 31m39s 31m38s 16 534 4m34s 4m34s 17 524 4m23s 4m23s 18 534 4m36s 4m36s 19 528 4m30s 4m30s 20 528 4m25s 4m25s 21 523 4m11s 4m11s 22 528 4m22s 4m21s 23 526 4m39s 4m39s Mar 11 00 530 4m25s 4m23s 01 532 4m41s 4m41s 02 526 4m28s 4m28s 03 532 4m41s 4m41s 04 529 4m32s 4m32s 05 545 4m34s 4m34s 06 538 4m28s 4m28s 07 557 4m20s 4m20s 08 527 4m30s 4m30s 09 541 4m40s 4m40s 10 534 4m32s 4m31s 11 527 4m25s 4m25s 12 525 4m27s 4m27s 13 528 4m35s 4m35s 14 532 4m36s 4m36s 15 527 4m31s 4m31s 16 532 4m52s 4m52s 17 528 4m26s 4m26s 18 528 4m34s 4m34s 19 524 4m21s 4m21s 20 523 4m22s 4m22s 21 611 3m45s 3m45s 22 536 4m29s 4m29s 23 530 4m29s 4m29s Mar 12 00 532 4m34s 4m32s 01 530 4m29s 4m28s 02 528 4m29s 4m29s 03 531 4m38s 4m37s 04 537 4m32s 4m32s 05 540 4m27s 4m26s 06 532 4m26s 4m26s 07 535 4m38s 4m38s 08 533 4m38s 4m37s 09 530 4m31s 4m31s 10 540 4m31s 4m30s 11 530 4m37s 4m37s 12 525 4m27s 4m27s 13 536 4m35s 4m33s 14 544 4m22s 4m21s 15 528 4m28s 4m28s 16 541 4m27s 4m27s 17 532 4m31s 4m30s 18 531 4m25s 4m25s 19 525 4m20s 4m20s 20 530 4m36s 4m35s 21 536 4m13s 4m13s 22 538 4m29s 4m28s 23 537 4m35s 4m35s Mar 13 00 529 4m29s 4m27s 01 532 4m31s 4m31s 02 534 4m38s 4m38s 03 531 4m28s 4m27s 04 531 4m35s 4m35s 05 546 4m18s 4m17s 06 535 4m34s 4m33s 07 536 4m34s 4m34s 08 532 4m38s 4m38s 09 528 4m28s 4m27s 10 533 4m35s 4m35s 11 573 4m14s 4m14s 12 534 4m26s 4m26s 13 545 4m37s 4m34s 14 532 4m28s 4m27s 15 526 4m31s 4m30s 16 529 4m34s 4m34s 17 532 4m20s 4m20s 18 534 4m24s 4m23s 19 533 4m23s 4m23s 20 536 4m30s 4m29s 21 524 4m17s 4m16s 22 556 4m24s 4m24s 23 537 4m30s 4m29s Mar 14 00 540 4m21s 4m19s 01 534 4m36s 4m34s 02 542 4m30s 4m29s 03 532 4m27s 4m27s 04 536 4m31s 4m30s 05 556 4m26s 4m26s 06 534 4m28s 4m27s 07 527 4m21s 4m21s 08 529 4m41s 4m41s 09 542 4m19s 4m18s 10 536 4m38s 4m38s 11 532 4m43s 4m43s 12 531 4m36s 4m35s 13 534 4m25s 4m25s 14 535 4m21s 4m21s 15 534 4m31s 4m31s 16 527 4m26s 4m26s 17 531 4m23s 4m23s 18 542 7m5s 7m4s 19 536 5m12s 5m11s 20 529 5m8s 5m8s 21 527 4m23s 4m22s 22 532 4m34s 4m34s 23 533 4m22s 4m22s Mar 15 00 531 4m36s 4m35s 01 531 4m37s 4m37s 02 532 4m34s 4m34s 03 534 4m29s 4m28s 04 533 4m35s 4m35s 05 548 4m26s 4m26s 06 532 4m26s 4m26s 07 565 4m16s 4m16s 08 538 4m30s 4m29s 09 543 4m37s 4m37s 10 530 4m24s 4m23s 11 532 4m37s 4m36s 12 534 4m24s 4m24s 13 528 4m27s 4m27s 14 533 4m39s 4m38s 15 524 4m26s 4m26s 16 525 4m27s 4m27s 17 530 4m37s 4m35s 18 532 4m29s 4m28s 19 528 4m31s 4m31s 20 525 5m40s 5m40s 21 520 4m19s 4m19s 22 546 8m32s 8m31s 23 526 4m23s 4m23s Mar 16 00 530 4m37s 4m36s 01 535 4m42s 4m42s 02 543 4m28s 4m28s 03 528 4m30s 4m30s 04 531 4m33s 4m33s 05 545 4m24s 4m23s 06 534 4m26s 4m26s 07 531 4m35s 4m35s 08 532 4m32s 4m31s 09 545 4m22s 4m22s 10 535 4m35s 4m34s 11 537 4m35s 4m35s 12 533 4m39s 4m38s 13 534 4m31s 4m31s 14 529 4m25s 4m25s 15 525 4m29s 4m29s 16 533 4m34s 4m33s 17 531 4m28s 4m28s 18 532 4m34s 4m30s 19 530 4m35s 4m29s 20 525 4m33s 4m33s 21 523 4m17s 4m17s 22 541 4m20s 4m20s 23 528 4m35s 4m35s -
Connections
Established Connections
Key values
- 72 connections Connection Peak
- 2024-03-12 18:43:32 Date
Connections per database
Key values
- postgres Main Database
- 88,035 connections Total
Connections per user
Key values
- postgres Main User
- 88,035 connections Total
-
Sessions
Simultaneous sessions
Key values
- 50 sessions Session Peak
- 2024-03-11 02:13:33 Date
Histogram of session times
Key values
- 74,442 0-500ms duration
Sessions per database
Key values
- postgres Main Database
- 88,033 sessions Total
Sessions per user
Key values
- postgres Main User
- 88,033 sessions Total
Sessions per host
Key values
- [local] Main Host
- 88,033 sessions Total
Host Count Total Duration Average Duration 10.12.5.37 3,424 55d2h14m19s 23m10s 10.12.5.38 2,571 54d20h26m28s 30m43s 10.12.5.39 2,536 54d21h25m38s 31m10s 10.12.5.45 2,611 54d19h27m31s 30m13s 10.12.5.46 2,576 54d20h39m58s 30m40s 192.168.201.14 3 1d12h41m28s 12h13m49s 192.168.201.6 4 16h54m58s 4h13m44s 192.168.202.6 5 1d4h58m3s 5h47m36s ::1 383 2h10m7s 20s386ms [local] 73,920 3m19s 2ms -
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 218,856 buffers Checkpoint Peak
- 2024-03-15 02:59:14 Date
- 1620.038 seconds Highest write time
- 0.007 seconds Sync time
Checkpoints Wal files
Key values
- 70 files Wal files usage Peak
- 2024-03-15 02:59:14 Date
Checkpoints distance
Key values
- 2,119.07 Mo Distance Peak
- 2024-03-15 02:59:14 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Mar 10 03 4,428 443.602s 0.001s 443.69s 04 247 24.945s 0.002s 24.979s 05 281 28.345s 0.002s 28.376s 06 459 46.202s 0.002s 46.233s 07 5,842 584.974s 0.002s 585.077s 08 720 72.353s 0.002s 72.385s 09 704 70.735s 0.002s 70.816s 10 5,633 564.607s 0.002s 564.704s 11 1,686 169.188s 0.002s 169.266s 12 1,177 118.139s 0.002s 118.174s 13 412 41.465s 0.002s 41.496s 14 496 49.795s 0.002s 49.825s 15 484 48.693s 0.002s 48.723s 16 626 62.925s 0.003s 62.956s 17 907 91.063s 0.002s 91.095s 18 1,757 176.249s 0.002s 176.325s 19 577 57.992s 0.002s 58.021s 20 541 54.405s 0.008s 54.441s 21 425 42.773s 0.002s 42.805s 22 66,760 1,657.076s 0.004s 1,657.675s 23 8,036 805.174s 0.003s 805.289s Mar 11 00 1,455 145.97s 0.004s 146.041s 01 690 69.335s 0.002s 69.365s 02 1,285 128.947s 0.002s 129.025s 03 7,602 761.69s 0.004s 762.172s 04 135,183 1,624.126s 0.003s 1,624.214s 05 367 36.964s 0.002s 36.995s 06 40,899 1,679.899s 0.002s 1,680.318s 07 5,807 581.846s 0.003s 581.923s 08 4,869 487.739s 0.003s 487.83s 09 333 33.567s 0.002s 33.597s 10 5,201 521.101s 0.003s 521.204s 11 10,906 1,092.529s 0.003s 1,092.669s 12 468 47.079s 0.002s 47.108s 13 813 81.677s 0.002s 81.707s 14 407 40.985s 0.003s 41.017s 15 345 34.757s 0.002s 34.788s 16 143 14.518s 0.002s 14.546s 17 245 24.736s 0.002s 24.766s 18 254 25.642s 0.002s 25.674s 19 284 28.635s 0.002s 28.667s 20 8,381 839.413s 0.003s 839.536s 21 253 25.434s 0.002s 25.463s 22 192 19.426s 0.002s 19.457s 23 5,613 562.592s 0.002s 562.672s Mar 12 00 816 81.973s 0.003s 82.006s 01 9,623 963.99s 0.003s 964.505s 02 48,915 1,629.625s 0.003s 1,629.705s 03 42,414 2,096.525s 0.004s 2,096.711s 04 4,624 463.379s 0.002s 463.478s 05 16,751 1,623.6s 0.002s 1,623.796s 06 4,845 485.552s 0.002s 485.643s 07 449 45.198s 0.002s 45.276s 08 199 20.132s 0.002s 20.162s 09 5,611 562.095s 0.002s 562.162s 10 49,133 1,632.643s 0.003s 1,633.476s 11 68,860 1,633.585s 0.002s 1,633.815s 12 507 51.005s 0.002s 51.037s 13 250 25.236s 0.002s 25.266s 14 259 26.147s 0.002s 26.178s 15 171 17.328s 0.002s 17.409s 16 345 34.768s 0.002s 34.798s 17 1,054 105.82s 0.002s 105.85s 18 187 18.937s 0.002s 18.966s 19 218 22.023s 0.002s 22.053s 20 407 40.963s 0.002s 40.993s 21 164,625 1,628.312s 0.002s 1,628.794s 22 1,191 119.527s 0.002s 119.561s 23 4,768 477.781s 0.002s 477.881s Mar 13 00 913 91.689s 0.003s 91.76s 01 220 22.23s 0.002s 22.26s 02 277 27.942s 0.002s 27.972s 03 68,604 2,169.512s 0.004s 2,170.124s 04 259 26.148s 0.002s 26.178s 05 314 31.665s 0.002s 31.695s 06 533 53.592s 0.002s 53.624s 07 12,297 1,231.615s 0.003s 1,231.756s 08 218 21.935s 0.002s 21.965s 09 404 40.666s 0.002s 40.696s 10 475 47.797s 0.003s 47.828s 11 47,167 1,638.327s 0.003s 1,638.764s 12 224 22.642s 0.002s 22.673s 13 9,448 946.592s 0.002s 946.677s 14 320 32.264s 0.002s 32.295s 15 4,734 474.306s 0.002s 474.408s 16 288 29.05s 0.002s 29.079s 17 217 21.936s 0.002s 21.966s 18 136 13.824s 0.002s 13.853s 19 231 23.336s 0.002s 23.367s 20 137 13.814s 0.002s 13.846s 21 16,669 1,626.871s 0.002s 1,627.09s 22 5,435 544.658s 0.002s 544.69s 23 58,818 1,624.591s 0.003s 1,624.943s Mar 14 00 49,670 1,653.927s 0.004s 1,654.435s 01 9,739 975.805s 0.003s 975.94s 02 248 25.058s 0.002s 25.09s 03 408 41.063s 0.002s 41.093s 04 901 90.528s 0.003s 90.56s 05 6,273 628.245s 0.003s 628.359s 06 517 52.015s 0.003s 52.045s 07 5,782 579.343s 0.003s 579.423s 08 969 97.299s 0.003s 97.329s 09 35,184 1,755.413s 0.003s 1,755.773s 10 8,876 889.145s 0.003s 889.249s 11 2,370 237.67s 0.004s 237.749s 12 114 11.605s 0.002s 11.635s 13 110 11.205s 0.002s 11.234s 14 213 21.536s 0.002s 21.565s 15 97 9.908s 0.002s 9.937s 16 91 9.307s 0.002s 9.338s 17 174 17.624s 0.002s 17.655s 18 340 34.254s 0.003s 34.286s 19 5,500 551.042s 0.003s 551.122s 20 212 21.429s 0.002s 21.461s 21 108 11.014s 0.002s 11.044s 22 323 32.552s 0.002s 32.583s 23 3,667 367.337s 0.003s 367.417s Mar 15 00 2,168 217.329s 0.003s 217.449s 01 1,167 117.108s 0.003s 117.139s 02 218,947 1,628.354s 0.002s 1,629.249s 03 69,066 2,167.525s 0.002s 2,168.15s 04 5,044 505.455s 0.003s 505.486s 05 3,010 301.691s 0.002s 301.735s 06 1,869 187.479s 0.003s 187.556s 07 13,571 1,359.353s 0.003s 1,359.48s 08 336 33.881s 0.002s 33.912s 09 2,667 267.437s 0.002s 267.482s 10 408 41.076s 0.002s 41.152s 11 724 72.731s 0.003s 72.762s 12 5,879 589.175s 0.003s 589.254s 13 211 21.341s 0.002s 21.371s 14 208 21.033s 0.002s 21.063s 15 3,417 342.542s 0.003s 342.621s 16 151 15.316s 0.002s 15.345s 17 84 8.596s 0.002s 8.626s 18 2,684 269.017s 0.003s 269.079s 19 81 8.197s 0.002s 8.226s 20 79 8.097s 0.002s 8.125s 21 71 7.295s 0.002s 7.324s 22 218 22.025s 0.002s 22.056s 23 5,209 522.006s 0.002s 522.093s Mar 16 00 646 65.004s 0.004s 65.079s 01 150 15.217s 0.002s 15.247s 02 164 16.659s 0.002s 16.739s 03 105 10.706s 0.002s 10.738s 04 169 17.123s 0.002s 17.154s 05 116 11.824s 0.002s 11.854s 06 205 20.738s 0.002s 20.769s 07 49,838 1,623.6s 0.003s 1,624.046s 08 149 15.118s 0.002s 15.146s 09 214 21.644s 0.002s 21.673s 10 118 12.008s 0.002s 12.036s 11 51,777 1,738.939s 0.003s 1,739.409s 12 154 15.613s 0.002s 15.645s 13 130 13.213s 0.002s 13.244s 14 163 16.524s 0.002s 16.556s 15 62 6.413s 0.002s 6.443s 16 57 5.894s 0.003s 5.925s 17 69 7.113s 0.002s 7.189s 18 12,929 1,295.363s 0.004s 1,295.491s 19 49 5.117s 0.002s 5.149s 20 80,972 1,621.438s 0.003s 1,621.468s 21 229 23.13s 0.002s 23.159s 22 1,598 160.197s 0.003s 160.23s 23 158 16.018s 0.002s 16.094s Day Hour Added Removed Recycled Synced files Longest sync Average sync Mar 10 03 0 0 3 30 0.001s 0.001s 04 0 0 0 35 0.001s 0.002s 05 0 0 0 39 0.001s 0.002s 06 0 0 0 37 0.001s 0.002s 07 0 0 3 40 0.001s 0.002s 08 0 0 0 86 0.001s 0.002s 09 0 0 1 128 0.001s 0.002s 10 0 0 3 46 0.001s 0.002s 11 0 0 1 40 0.001s 0.002s 12 0 0 0 20 0.001s 0.002s 13 0 0 0 69 0.001s 0.002s 14 0 0 0 107 0.001s 0.002s 15 0 0 0 70 0.001s 0.002s 16 0 0 0 104 0.001s 0.002s 17 0 0 0 79 0.001s 0.002s 18 0 0 1 42 0.001s 0.002s 19 0 0 0 20 0.001s 0.002s 20 0 0 0 28 0.007s 0.002s 21 0 0 0 22 0.001s 0.002s 22 0 0 45 46 0.002s 0.002s 23 0 0 4 56 0.002s 0.002s Mar 11 00 0 0 0 66 0.001s 0.002s 01 0 0 0 36 0.001s 0.002s 02 0 0 1 48 0.001s 0.002s 03 0 0 35 66 0.001s 0.002s 04 0 0 2 47 0.001s 0.002s 05 0 0 0 37 0.001s 0.002s 06 0 0 30 102 0.001s 0.002s 07 0 0 1 140 0.001s 0.002s 08 0 0 2 91 0.001s 0.002s 09 0 0 0 115 0.001s 0.002s 10 0 0 3 64 0.001s 0.002s 11 0 0 6 86 0.001s 0.002s 12 0 0 0 109 0.001s 0.002s 13 0 0 0 133 0.001s 0.002s 14 0 0 0 116 0.001s 0.002s 15 0 0 0 75 0.001s 0.002s 16 0 0 0 20 0.001s 0.002s 17 0 0 0 26 0.001s 0.002s 18 0 0 0 108 0.001s 0.002s 19 0 0 0 30 0.001s 0.002s 20 0 0 5 42 0.001s 0.002s 21 0 0 0 19 0.001s 0.002s 22 0 0 0 20 0.001s 0.002s 23 0 0 4 37 0.001s 0.002s Mar 12 00 0 0 0 72 0.001s 0.002s 01 0 0 38 51 0.001s 0.002s 02 0 0 1 41 0.002s 0.002s 03 0 0 10 61 0.002s 0.002s 04 0 0 3 37 0.001s 0.002s 05 0 0 11 43 0.001s 0.002s 06 0 0 2 94 0.001s 0.002s 07 0 0 1 124 0.001s 0.002s 08 0 0 0 62 0.001s 0.002s 09 0 0 3 42 0.001s 0.002s 10 0 0 65 130 0.001s 0.002s 11 0 0 14 136 0.001s 0.002s 12 0 0 0 115 0.001s 0.002s 13 0 0 0 35 0.001s 0.002s 14 0 0 0 42 0.001s 0.002s 15 0 0 1 20 0.001s 0.002s 16 0 0 0 75 0.001s 0.002s 17 0 0 0 45 0.001s 0.002s 18 0 0 0 25 0.001s 0.002s 19 0 0 0 28 0.001s 0.002s 20 0 0 0 32 0.001s 0.002s 21 0 0 35 44 0.001s 0.002s 22 0 0 0 31 0.001s 0.002s 23 0 0 3 41 0.001s 0.002s Mar 13 00 0 0 0 77 0.001s 0.002s 01 0 0 0 36 0.001s 0.002s 02 0 0 0 45 0.001s 0.002s 03 0 0 46 70 0.002s 0.002s 04 0 0 0 32 0.001s 0.002s 05 0 0 0 34 0.001s 0.002s 06 0 0 0 79 0.001s 0.002s 07 0 0 6 146 0.001s 0.002s 08 0 0 0 69 0.001s 0.002s 09 0 0 0 115 0.001s 0.002s 10 0 0 0 89 0.001s 0.002s 11 0 0 31 116 0.002s 0.002s 12 0 0 0 27 0.001s 0.002s 13 0 0 4 82 0.001s 0.002s 14 0 0 0 72 0.001s 0.002s 15 0 0 3 57 0.001s 0.002s 16 0 0 0 72 0.001s 0.002s 17 0 0 0 65 0.001s 0.002s 18 0 0 0 26 0.001s 0.002s 19 0 0 0 25 0.001s 0.002s 20 0 0 0 18 0.001s 0.002s 21 0 0 14 37 0.001s 0.002s 22 0 0 0 36 0.001s 0.002s 23 0 0 24 39 0.001s 0.002s Mar 14 00 0 0 34 91 0.001s 0.002s 01 0 0 6 44 0.001s 0.002s 02 0 0 0 32 0.001s 0.002s 03 0 0 0 29 0.001s 0.002s 04 0 0 0 37 0.001s 0.002s 05 0 0 4 47 0.001s 0.002s 06 0 0 0 82 0.001s 0.002s 07 0 0 4 128 0.001s 0.002s 08 0 0 0 134 0.001s 0.002s 09 0 0 22 141 0.001s 0.002s 10 0 0 6 125 0.001s 0.002s 11 0 0 1 131 0.001s 0.002s 12 0 0 0 18 0.001s 0.002s 13 0 0 0 17 0.001s 0.002s 14 0 0 0 36 0.001s 0.002s 15 0 0 0 18 0.001s 0.002s 16 0 0 0 19 0.001s 0.002s 17 0 0 0 65 0.001s 0.002s 18 0 0 0 116 0.001s 0.002s 19 0 0 4 34 0.001s 0.002s 20 0 0 0 26 0.001s 0.002s 21 0 0 0 19 0.001s 0.002s 22 0 0 0 29 0.001s 0.002s 23 0 0 1 40 0.001s 0.002s Mar 15 00 0 0 1 73 0.002s 0.002s 01 0 0 0 38 0.001s 0.002s 02 0 0 70 55 0.001s 0.002s 03 0 0 46 56 0.001s 0.002s 04 0 0 0 48 0.001s 0.002s 05 0 0 1 46 0.001s 0.002s 06 0 0 1 104 0.001s 0.002s 07 0 0 5 137 0.002s 0.002s 08 0 0 0 124 0.001s 0.002s 09 0 0 1 75 0.001s 0.002s 10 0 0 1 127 0.001s 0.002s 11 0 0 0 122 0.001s 0.002s 12 0 0 4 141 0.001s 0.002s 13 0 0 0 72 0.001s 0.002s 14 0 0 0 97 0.001s 0.002s 15 0 0 1 31 0.001s 0.002s 16 0 0 0 24 0.001s 0.002s 17 0 0 0 17 0.001s 0.002s 18 0 0 2 30 0.001s 0.002s 19 0 0 0 18 0.001s 0.002s 20 0 0 0 17 0.001s 0.002s 21 0 0 0 18 0.001s 0.002s 22 0 0 0 27 0.001s 0.002s 23 0 0 2 27 0.001s 0.002s Mar 16 00 0 0 0 70 0.001s 0.002s 01 0 0 0 34 0.001s 0.002s 02 0 0 1 38 0.001s 0.002s 03 0 0 0 23 0.001s 0.002s 04 0 0 0 32 0.001s 0.002s 05 0 0 0 25 0.001s 0.002s 06 0 0 0 30 0.001s 0.002s 07 0 0 33 34 0.001s 0.002s 08 0 0 0 30 0.001s 0.002s 09 0 0 0 34 0.001s 0.002s 10 0 0 0 20 0.001s 0.002s 11 0 0 34 48 0.001s 0.002s 12 0 0 0 24 0.001s 0.002s 13 0 0 0 18 0.001s 0.002s 14 0 0 0 26 0.001s 0.002s 15 0 0 0 18 0.001s 0.002s 16 0 0 0 17 0.001s 0.002s 17 0 0 1 18 0.001s 0.002s 18 0 0 8 62 0.001s 0.002s 19 0 0 0 18 0.001s 0.002s 20 0 0 0 23 0.001s 0.002s 21 0 0 0 28 0.001s 0.002s 22 0 0 0 29 0.001s 0.002s 23 0 0 1 24 0.001s 0.002s Day Hour Count Avg time (sec) Mar 10 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 Mar 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 Mar 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 Mar 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 Mar 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 Mar 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 Mar 16 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Day Hour Mean distance Mean estimate Mar 10 03 45,403.00 kB 45,403.00 kB 04 490.00 kB 38,890.00 kB 05 537.00 kB 31,602.50 kB 06 724.50 kB 25,747.00 kB 07 23,297.00 kB 44,087.00 kB 08 1,391.00 kB 35,884.00 kB 09 1,825.00 kB 29,456.50 kB 10 29,209.50 kB 41,717.00 kB 11 3,962.50 kB 50,206.00 kB 12 252.50 kB 41,047.50 kB 13 969.50 kB 33,379.00 kB 14 987.50 kB 27,240.00 kB 15 641.50 kB 22,204.00 kB 16 568.50 kB 18,097.50 kB 17 970.00 kB 14,860.50 kB 18 3,784.50 kB 12,455.00 kB 19 251.50 kB 10,438.50 kB 20 506.50 kB 8,528.50 kB 21 315.00 kB 6,985.00 kB 22 366,232.00 kB 694,444.00 kB 23 35,656.50 kB 566,682.50 kB Mar 11 00 2,964.00 kB 462,157.50 kB 01 366.50 kB 374,481.00 kB 02 2,760.00 kB 303,639.00 kB 03 30,888.50 kB 249,769.50 kB 04 275,951.00 kB 524,164.50 kB 05 574.00 kB 424,663.00 kB 06 218,836.50 kB 398,911.00 kB 07 30,132.00 kB 378,028.00 kB 08 21,402.00 kB 310,008.50 kB 09 737.50 kB 251,514.50 kB 10 24,729.50 kB 206,413.00 kB 11 44,091.00 kB 173,687.00 kB 12 1,019.50 kB 144,768.50 kB 13 2,208.50 kB 117,605.00 kB 14 841.50 kB 95,510.50 kB 15 680.00 kB 77,514.00 kB 16 263.00 kB 62,838.00 kB 17 497.00 kB 50,973.00 kB 18 600.50 kB 41,404.50 kB 19 635.00 kB 33,640.00 kB 20 38,675.00 kB 73,289.50 kB 21 258.50 kB 59,411.50 kB 22 354.00 kB 48,186.00 kB 23 29,317.50 kB 49,507.00 kB Mar 12 00 2,745.00 kB 49,896.50 kB 01 50,722.50 kB 71,861.50 kB 02 270,825.00 kB 514,183.00 kB 03 80,740.00 kB 429,992.00 kB 04 23,103.50 kB 352,463.50 kB 05 85,221.00 kB 296,098.00 kB 06 23,503.00 kB 249,903.50 kB 07 1,203.00 kB 204,671.00 kB 08 404.50 kB 165,898.00 kB 09 29,007.50 kB 139,888.50 kB 10 269,178.50 kB 328,579.50 kB 11 378,864.00 kB 719,272.00 kB 12 1,457.50 kB 582,887.50 kB 13 453.00 kB 472,240.00 kB 14 495.50 kB 382,587.50 kB 15 239.00 kB 309,964.50 kB 16 812.50 kB 251,200.00 kB 17 2,760.00 kB 203,811.00 kB 18 342.50 kB 165,359.00 kB 19 483.50 kB 134,014.00 kB 20 1,166.50 kB 108,715.50 kB 21 279,269.00 kB 325,534.00 kB 22 3,408.50 kB 477,937.00 kB 23 22,994.00 kB 391,494.50 kB Mar 13 00 2,836.50 kB 317,577.50 kB 01 437.50 kB 257,389.50 kB 02 645.50 kB 208,590.00 kB 03 377,007.00 kB 664,069.50 kB 04 588.00 kB 540,593.00 kB 05 600.50 kB 437,994.00 kB 06 1,034.00 kB 354,967.50 kB 07 43,370.00 kB 295,759.00 kB 08 513.50 kB 239,690.50 kB 09 997.50 kB 194,303.00 kB 10 1,136.50 kB 157,610.00 kB 11 255,781.00 kB 322,505.00 kB 12 477.50 kB 436,542.00 kB 13 29,407.50 kB 359,154.50 kB 14 783.50 kB 291,071.00 kB 15 23,386.50 kB 238,195.50 kB 16 662.50 kB 195,068.50 kB 17 518.50 kB 158,115.50 kB 18 279.00 kB 128,148.00 kB 19 504.00 kB 103,877.00 kB 20 267.50 kB 84,211.00 kB 21 88,797.00 kB 124,574.50 kB 22 29,503.50 kB 157,184.50 kB 23 195,977.50 kB 372,054.00 kB Mar 14 00 272,133.00 kB 515,165.50 kB 01 51,341.50 kB 422,531.00 kB 02 489.00 kB 346,921.50 kB 03 603.00 kB 281,098.00 kB 04 2,415.00 kB 228,190.00 kB 05 31,364.50 kB 188,181.50 kB 06 878.50 kB 155,179.00 kB 07 29,756.00 kB 131,354.50 kB 08 2,895.00 kB 106,760.00 kB 09 179,803.50 kB 221,939.50 kB 10 45,593.50 kB 305,426.50 kB 11 7,992.50 kB 252,764.00 kB 12 162.00 kB 204,982.50 kB 13 161.00 kB 166,067.00 kB 14 405.50 kB 134,589.50 kB 15 168.00 kB 109,049.50 kB 16 177.00 kB 88,363.00 kB 17 397.50 kB 71,650.50 kB 18 918.50 kB 58,166.50 kB 19 29,061.00 kB 53,821.00 kB 20 642.00 kB 49,682.50 kB 21 181.50 kB 40,279.00 kB 22 630.50 kB 32,729.50 kB 23 13,099.50 kB 27,859.00 kB Mar 15 00 3,439.50 kB 24,212.00 kB 01 3,535.00 kB 20,440.00 kB 02 542,674.00 kB 551,224.50 kB 03 378,771.00 kB 968,141.50 kB 04 24,969.00 kB 820,387.50 kB 05 9,842.50 kB 666,382.50 kB 06 5,298.50 kB 540,454.00 kB 07 45,217.50 kB 446,619.00 kB 08 907.50 kB 361,990.00 kB 09 9,736.00 kB 295,087.00 kB 10 1,191.50 kB 239,196.00 kB 11 2,063.00 kB 194,048.00 kB 12 30,292.50 kB 160,405.00 kB 13 648.00 kB 132,721.00 kB 14 451.50 kB 107,578.00 kB 15 13,118.00 kB 89,643.50 kB 16 310.00 kB 72,652.50 kB 17 95.00 kB 58,886.50 kB 18 11,138.50 kB 48,820.50 kB 19 135.00 kB 40,564.00 kB 20 131.00 kB 32,880.00 kB 21 130.50 kB 26,658.00 kB 22 397.50 kB 21,666.50 kB 23 20,415.00 kB 29,590.50 kB Mar 16 00 2,004.50 kB 35,090.50 kB 01 349.50 kB 28,549.00 kB 02 383.00 kB 23,197.00 kB 03 229.00 kB 18,847.50 kB 04 422.50 kB 15,329.00 kB 05 267.00 kB 12,482.00 kB 06 487.00 kB 10,202.00 kB 07 273,803.00 kB 278,103.00 kB 08 362.50 kB 468,163.50 kB 09 412.00 kB 379,272.00 kB 10 133.50 kB 307,257.50 kB 11 279,629.00 kB 524,350.50 kB 12 329.00 kB 425,109.00 kB 13 125.50 kB 344,380.00 kB 14 339.50 kB 278,995.00 kB 15 112.00 kB 226,027.00 kB 16 126.00 kB 183,104.50 kB 17 137.50 kB 148,340.50 kB 18 67,219.50 kB 130,900.00 kB 19 100.00 kB 108,078.00 kB 20 139.50 kB 87,567.00 kB 21 567.50 kB 70,997.00 kB 22 5,475.00 kB 58,588.00 kB 23 352.00 kB 47,502.50 kB -
Temporary Files
Size of temporary files
Key values
- 0 Temp Files size Peak
- Date
Size of temporary files (5 minutes period)
NO DATASET
Number of temporary files
Key values
- 0 per second Temp Files Peak
- Date
Number of temporary files (5 minutes period)
NO DATASET
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Mar 10 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 Mar 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 Mar 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 Mar 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 Mar 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 Mar 15 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Mar 16 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 -
Vacuums
Vacuums / Analyzes Distribution
Key values
- 29.25 sec Highest CPU-cost vacuum
Table pub2.term_set_enrichment_agent
Database ctdprd51 - 2024-03-15 02:30:03 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 29.25 sec Highest CPU-cost vacuum
Table pub2.term_set_enrichment_agent
Database ctdprd51 - 2024-03-15 02:30:03 Date
Analyzes per table
Key values
- pubc.log_query (131) Main table analyzed (database ctdprd51)
- 149 analyzes Total
Vacuums per table
Key values
- pubc.log_query (17) Main table vacuumed on database ctdprd51
- 28 vacuums Total
Index Buffer usage Skipped WAL usage Table Vacuums scans hits misses dirtied pins frozen records full page bytes ctdprd51.pubc.log_query 17 16 6,897 0 1,146 0 0 2,130 569 4,113,114 ctdprd51.pub2.term_set_enrichment_agent 3 0 806,558 0 321,817 0 0 402,860 19 23,917,358 ctdprd51.pub2.term_set_enrichment 3 0 17,125 0 8,246 0 0 8,402 6 542,275 ctdprd51.pg_toast.pg_toast_2619 2 2 8,922 0 2,262 0 19,975 6,756 2,168 1,248,061 ctdprd51.pub2.term_comp_agent 1 0 186 0 52 0 0 48 2 16,851 ctdprd51.pg_toast.pg_toast_486223 1 0 48 0 0 0 0 1 0 188 ctdprd51.pg_catalog.pg_statistic 1 1 697 0 144 0 0 431 130 578,636 Total 28 19 840,433 1,018 333,667 0 19,975 420,628 2,894 30,416,483 Tuples removed per table
Key values
- pg_toast.pg_toast_2619 (8336) Main table with removed tuples on database ctdprd51
- 8993 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain ctdprd51.pg_toast.pg_toast_2619 2 2 8,336 41,236 0 0 25,184 ctdprd51.pg_catalog.pg_statistic 1 1 454 2,229 0 0 290 ctdprd51.pubc.log_query 17 16 203 41,048 2 0 1,703 ctdprd51.pub2.term_comp_agent 1 0 0 22,580 0 0 194 ctdprd51.pg_toast.pg_toast_486223 1 0 0 0 0 0 0 ctdprd51.pub2.term_set_enrichment_agent 3 0 0 181,105,875 0 0 2,058,023 ctdprd51.pub2.term_set_enrichment 3 0 0 2,593,246 0 0 42,933 Total 28 19 8,993 183,806,214 2 0 2,128,327 Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Pages removed per tables
NO DATASET
Table Number of vacuums Index scans Tuples removed Pages removed ctdprd51.pubc.log_query 17 16 203 0 ctdprd51.pub2.term_comp_agent 1 0 0 0 ctdprd51.pg_toast.pg_toast_486223 1 0 0 0 ctdprd51.pg_toast.pg_toast_2619 2 2 8336 0 ctdprd51.pg_catalog.pg_statistic 1 1 454 0 ctdprd51.pub2.term_set_enrichment_agent 3 0 0 0 ctdprd51.pub2.term_set_enrichment 3 0 0 0 Total 28 19 8,993 0 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Mar 10 03 0 1 04 0 2 05 0 4 06 0 1 07 0 1 08 0 0 09 0 1 10 0 1 11 0 1 12 0 0 13 0 1 14 0 0 15 0 1 16 0 1 17 0 1 18 0 0 19 0 0 20 0 1 21 0 0 22 0 2 23 0 0 Mar 11 00 0 1 01 0 2 02 0 2 03 0 5 04 0 1 05 0 3 06 0 1 07 0 1 08 0 1 09 0 1 10 0 1 11 0 0 12 0 1 13 0 1 14 0 1 15 0 0 16 0 0 17 0 1 18 0 0 19 0 1 20 0 0 21 0 0 22 0 1 23 0 0 Mar 12 00 0 2 01 0 2 02 0 3 03 0 1 04 0 1 05 0 4 06 0 1 07 0 0 08 0 1 09 0 0 10 0 1 11 0 1 12 0 0 13 0 1 14 0 1 15 0 1 16 0 0 17 0 1 18 0 0 19 0 1 20 0 0 21 0 3 22 0 1 23 0 0 Mar 13 00 0 3 01 0 2 02 0 2 03 0 2 04 0 2 05 0 3 06 0 1 07 0 0 08 0 1 09 0 0 10 0 1 11 0 1 12 0 0 13 0 0 14 0 2 15 0 1 16 0 1 17 0 0 18 0 0 19 0 1 20 0 0 21 0 1 22 0 2 23 0 1 Mar 14 00 0 1 01 0 2 02 0 2 03 0 1 04 0 1 05 0 3 06 0 0 07 0 1 08 0 0 09 0 1 10 0 1 11 0 0 12 0 0 13 0 1 14 0 0 15 0 0 16 0 0 17 0 0 18 0 1 19 0 0 20 0 0 21 0 1 22 0 0 23 0 1 Mar 15 00 0 0 01 0 2 02 0 3 03 0 2 04 0 2 05 0 3 06 0 0 07 0 1 08 0 0 09 0 0 10 0 1 11 0 0 12 0 1 13 0 0 14 0 0 15 0 0 16 0 1 17 0 0 18 0 0 19 0 0 20 0 0 21 0 1 22 0 0 23 0 0 Mar 16 00 0 1 01 0 2 02 0 2 03 0 1 04 0 2 05 0 3 06 0 0 07 0 1 08 0 0 09 0 1 10 0 1 11 0 0 12 0 1 13 0 0 14 0 1 15 0 0 16 0 0 17 0 1 18 0 0 19 0 0 20 0 0 21 0 0 22 0 0 23 0 1 - 29.25 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- unknown Main Lock Type
- 0 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query NO DATASET
Queries that waited the most
Rank Wait time Query NO DATASET
-
Queries
Queries by type
Key values
- 5,478 Total read queries
- 1,163 Total write queries
Queries by database
Key values
- unknown Main database
- 4,631 Requests
- 7h34m8s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 10,162 Requests
User Request type Count Duration edit Total 2 57s616ms select 2 57s616ms postgres Total 107 38m28s copy to 107 38m28s pub2 Total 2 16s233ms select 2 16s233ms pubeu Total 4,222 4h34m1s cte 585 25m39s select 3,637 4h8m22s qaeu Total 64 3m23s cte 16 53s980ms select 48 2m29s unknown Total 10,162 16h17m40s copy to 613 4h56m41s cte 1,531 1h4m51s others 8 40s709ms select 8,010 10h15m27s Duration by user
Key values
- 16h17m40s (unknown) Main time consuming user
User Request type Count Duration edit Total 2 57s616ms select 2 57s616ms postgres Total 107 38m28s copy to 107 38m28s pub2 Total 2 16s233ms select 2 16s233ms pubeu Total 4,222 4h34m1s cte 585 25m39s select 3,637 4h8m22s qaeu Total 64 3m23s cte 16 53s980ms select 48 2m29s unknown Total 10,162 16h17m40s copy to 613 4h56m41s cte 1,531 1h4m51s others 8 40s709ms select 8,010 10h15m27s Queries by host
Key values
- unknown Main host
- 14,559 Requests
- 21h34m47s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 6,596 Requests
- 9h42m21s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2024-03-15 04:38:12 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 6,574 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 23m5s COPY pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;[ Date: 2024-03-16 18:59:48 ]
2 23m COPY pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;[ Date: 2024-03-16 19:40:26 ]
3 18m15s 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 = '1227971') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-03-14 01:05:15 - Bind query: yes ]
4 17m39s 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 = '1227971') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-03-13 13:25:05 - Bind query: yes ]
5 17m11s 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 = '1227971') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-03-15 17:46:44 - Bind query: yes ]
6 15m1s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-03-14 00:15:03 ]
7 14m57s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-03-15 00:14:59 ]
8 14m54s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-03-11 00:14:55 ]
9 14m52s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-03-13 00:14:54 ]
10 14m52s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-03-16 00:14:53 ]
11 14m50s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-03-12 00:14:52 ]
12 11m 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 = '1226927') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-03-12 13:32:28 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
13 9m1s SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'A') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'R-HSA-73930' AND tp.pathway_acc_db_cd = 'REACT'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'BIOLOGICAL FACTORS' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;[ Date: 2024-03-10 06:10:00 - Bind query: yes ]
14 8m49s 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 = '1245786') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-03-12 03:14:18 - Bind query: yes ]
15 8m23s 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 = '1245786') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-03-15 03:04:13 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
16 8m22s 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 = '1245786') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-03-14 19:36:25 - Bind query: yes ]
17 8m21s 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 = '1245786') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-03-16 16:11:58 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
18 6m42s COPY pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;[ Date: 2024-03-16 19:11:07 ]
19 6m40s COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;[ Date: 2024-03-16 19:51:47 ]
20 5m16s 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 = '1221961') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-03-16 05:40:12 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 1h56m15s 45 1s260ms 18m15s 2m35s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Mar 10 05 1 1s490ms 1s490ms 15 1 1s500ms 1s500ms 19 1 3s62ms 3s62ms 20 1 1s616ms 1s616ms 22 1 1m17s 1m17s Mar 11 03 1 1s480ms 1s480ms 07 1 3m4s 3m4s 08 1 3s257ms 3s257ms 12 1 1s659ms 1s659ms 21 1 1s893ms 1s893ms 22 1 1s973ms 1s973ms Mar 12 01 1 1m36s 1m36s 03 1 8m49s 8m49s 04 1 1s465ms 1s465ms 07 1 1s318ms 1s318ms 12 1 3s33ms 3s33ms 13 1 11m 11m 18 1 1s648ms 1s648ms 22 1 1m18s 1m18s 23 1 2s864ms 2s864ms Mar 13 03 1 1s461ms 1s461ms 04 1 2s813ms 2s813ms 11 1 2s270ms 2s270ms 13 1 17m39s 17m39s 21 1 1s541ms 1s541ms Mar 14 01 1 18m15s 18m15s 03 1 1s429ms 1s429ms 09 1 1m17s 1m17s 13 1 1s423ms 1s423ms 14 2 4s318ms 2s159ms 19 2 8m23s 4m11s Mar 15 03 1 8m23s 8m23s 13 2 4s483ms 2s241ms 17 1 17m11s 17m11s Mar 16 05 1 5m16s 5m16s 10 2 3m23s 1m41s 11 1 1s485ms 1s485ms 14 1 1s875ms 1s875ms 15 1 3s96ms 3s96ms 16 1 8m21s 8m21s 22 1 1s290ms 1s290ms [ User: pubeu - Total duration: 39m22s - Times executed: 19 ]
-
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 = '1227971') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-03-14 01:05:15 Duration: 18m15s 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 = '1227971') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-03-13 13:25:05 Duration: 17m39s 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 = '1227971') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-03-15 17:46:44 Duration: 17m11s Bind query: yes
2 1h29m28s 6 14m50s 15m1s 14m54s select maint_query_logs_archive ();Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Mar 11 00 1 14m54s 14m54s Mar 12 00 1 14m50s 14m50s Mar 13 00 1 14m52s 14m52s Mar 14 00 1 15m1s 15m1s Mar 15 00 1 14m57s 14m57s Mar 16 00 1 14m52s 14m52s -
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-03-14 00:15:03 Duration: 15m1s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-03-15 00:14:59 Duration: 14m57s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-03-11 00:14:55 Duration: 14m54s
3 59m34s 1,365 1s8ms 5s477ms 2s618ms 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 #3
Day Hour Count Duration Avg duration Mar 10 19 1 1s479ms 1s479ms Mar 11 10 1 2s39ms 2s39ms 11 1 2s49ms 2s49ms Mar 12 00 1 2s88ms 2s88ms 03 3 9s275ms 3s91ms 06 1 1s493ms 1s493ms 08 4 11s305ms 2s826ms 09 9 20s889ms 2s321ms 10 3 9s180ms 3s60ms 11 16 38s121ms 2s382ms 12 9 21s664ms 2s407ms 13 2 3s992ms 1s996ms 14 7 14s20ms 2s2ms 15 10 23s681ms 2s368ms 16 12 27s906ms 2s325ms 17 7 14s24ms 2s3ms 18 1 1s976ms 1s976ms Mar 13 01 1 2s35ms 2s35ms 02 3 8s523ms 2s841ms 03 3 7s938ms 2s646ms 04 5 15s543ms 3s108ms 05 2 7s487ms 3s743ms 06 3 7s322ms 2s440ms 08 2 7s487ms 3s743ms 09 5 11s841ms 2s368ms 10 8 16s957ms 2s119ms 11 9 20s754ms 2s306ms 12 14 33s946ms 2s424ms 13 10 35s267ms 3s526ms 14 4 14s509ms 3s627ms 15 6 16s584ms 2s764ms 16 6 13s812ms 2s302ms 17 7 17s427ms 2s489ms 18 14 31s526ms 2s251ms 19 31 1m22s 2s662ms 20 13 31s108ms 2s392ms 21 28 1m7s 2s410ms 22 28 1m15s 2s681ms 23 24 58s897ms 2s454ms Mar 14 00 9 17s725ms 1s969ms 01 24 57s921ms 2s413ms 02 20 49s292ms 2s464ms 03 39 1m34s 2s424ms 04 17 42s486ms 2s499ms 05 28 1m18s 2s789ms 06 16 37s88ms 2s318ms 07 7 19s377ms 2s768ms 08 7 20s262ms 2s894ms 09 20 48s986ms 2s449ms 10 36 1m36s 2s692ms 11 8 17s909ms 2s238ms 12 16 41s146ms 2s571ms 13 26 1m5s 2s516ms 14 30 1m12s 2s430ms 15 18 49s304ms 2s739ms 16 21 47s820ms 2s277ms 17 27 1m18s 2s890ms 18 11 29s53ms 2s641ms 19 20 46s444ms 2s322ms 20 20 53s258ms 2s662ms 21 15 40s903ms 2s726ms 22 6 12s752ms 2s125ms 23 2 5s291ms 2s645ms Mar 15 00 8 22s957ms 2s869ms 01 5 11s932ms 2s386ms 02 8 24s458ms 3s57ms 03 8 21s614ms 2s701ms 04 12 34s137ms 2s844ms 05 14 45s75ms 3s219ms 06 29 1m10s 2s427ms 07 35 1m29s 2s565ms 08 58 2m31s 2s605ms 09 54 2m30s 2s784ms 10 28 1m17s 2s767ms 11 21 46s711ms 2s224ms 12 25 1m9s 2s775ms 13 22 57s820ms 2s628ms 14 8 25s304ms 3s163ms 15 4 10s540ms 2s635ms 16 6 17s679ms 2s946ms 17 2 8s109ms 4s54ms 18 5 17s79ms 3s415ms 19 2 5s10ms 2s505ms 20 4 11s558ms 2s889ms 22 6 18s413ms 3s68ms 23 6 20s61ms 3s343ms Mar 16 00 8 22s305ms 2s788ms 01 12 35s789ms 2s982ms 02 13 30s244ms 2s326ms 03 14 34s794ms 2s485ms 04 12 31s536ms 2s628ms 05 16 46s707ms 2s919ms 06 14 46s800ms 3s342ms 07 10 30s85ms 3s8ms 08 11 32s396ms 2s945ms 09 6 16s377ms 2s729ms 10 10 25s297ms 2s529ms 11 20 48s791ms 2s439ms 12 15 38s303ms 2s553ms 13 13 36s441ms 2s803ms 14 8 24s842ms 3s105ms 15 3 6s256ms 2s85ms 16 8 24s331ms 3s41ms 17 15 46s262ms 3s84ms 18 7 17s150ms 2s450ms 19 4 9s471ms 2s367ms 20 5 14s570ms 2s914ms 21 6 13s441ms 2s240ms 22 2 5s79ms 2s539ms 23 6 17s671ms 2s945ms [ User: pubeu - Total duration: 18m46s - Times executed: 413 ]
-
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 = '646767' 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 = '646767') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-03-16 09:19:05 Duration: 5s477ms 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 = '646767' 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 = '646767') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-03-14 10:30:05 Duration: 5s450ms 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 = '646767' 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 = '646767') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-03-15 05:48:01 Duration: 5s446ms Database: ctdprd51 User: pubeu Bind query: yes
4 37m1s 859 1s10ms 3s513ms 2s585ms 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 #4
Day Hour Count Duration Avg duration Mar 10 05 4 8s838ms 2s209ms Mar 11 05 4 8s840ms 2s210ms 16 1 3s367ms 3s367ms Mar 12 03 1 3s298ms 3s298ms 05 4 8s842ms 2s210ms 08 1 3s293ms 3s293ms 11 1 3s292ms 3s292ms 12 1 3s265ms 3s265ms 13 1 3s322ms 3s322ms 14 1 3s300ms 3s300ms 15 2 6s468ms 3s234ms 17 1 3s288ms 3s288ms Mar 13 02 1 3s327ms 3s327ms 03 3 8s82ms 2s694ms 04 6 13s928ms 2s321ms 05 5 11s255ms 2s251ms 06 2 5s755ms 2s877ms 08 7 18s494ms 2s642ms 09 2 4s656ms 2s328ms 10 5 13s923ms 2s784ms 11 2 5s408ms 2s704ms 12 6 15s392ms 2s565ms 13 2 4s729ms 2s364ms 14 1 2s439ms 2s439ms 15 4 11s50ms 2s762ms 16 4 9s94ms 2s273ms 17 1 2s384ms 2s384ms 18 4 12s367ms 3s91ms 19 11 31s154ms 2s832ms 20 8 23s335ms 2s916ms 21 6 14s884ms 2s480ms 22 8 22s497ms 2s812ms 23 13 34s880ms 2s683ms Mar 14 00 5 13s461ms 2s692ms 01 8 22s823ms 2s852ms 02 6 19s18ms 3s169ms 03 16 42s430ms 2s651ms 04 11 30s457ms 2s768ms 05 15 39s171ms 2s611ms 06 9 22s415ms 2s490ms 07 6 15s955ms 2s659ms 08 3 8s432ms 2s810ms 09 8 19s769ms 2s471ms 10 18 51s225ms 2s845ms 11 12 30s529ms 2s544ms 12 8 18s435ms 2s304ms 13 12 29s2ms 2s416ms 14 13 34s894ms 2s684ms 15 4 11s357ms 2s839ms 16 19 49s726ms 2s617ms 17 11 28s233ms 2s566ms 18 6 17s182ms 2s863ms 19 15 37s700ms 2s513ms 20 15 37s478ms 2s498ms 21 4 10s292ms 2s573ms 22 6 17s191ms 2s865ms 23 4 10s504ms 2s626ms Mar 15 00 2 4s950ms 2s475ms 01 4 11s943ms 2s985ms 02 7 16s931ms 2s418ms 03 4 10s725ms 2s681ms 04 7 17s676ms 2s525ms 05 17 44s159ms 2s597ms 06 25 1m2s 2s516ms 07 33 1m24s 2s563ms 08 40 1m42s 2s569ms 09 28 1m11s 2s548ms 10 24 1m 2s535ms 11 31 1m17s 2s484ms 12 30 1m19s 2s634ms 13 12 28s916ms 2s409ms 14 10 25s382ms 2s538ms 15 3 7s105ms 2s368ms 16 6 15s368ms 2s561ms 17 3 7s920ms 2s640ms 18 5 11s604ms 2s320ms 19 6 15s51ms 2s508ms 20 2 4s325ms 2s162ms 21 1 2s500ms 2s500ms 22 4 10s9ms 2s502ms 23 5 13s215ms 2s643ms Mar 16 00 11 29s359ms 2s669ms 01 12 31s558ms 2s629ms 02 13 31s236ms 2s402ms 03 11 27s240ms 2s476ms 04 11 29s466ms 2s678ms 05 20 48s776ms 2s438ms 06 11 27s171ms 2s470ms 07 6 14s534ms 2s422ms 08 12 28s481ms 2s373ms 09 10 25s84ms 2s508ms 10 10 26s58ms 2s605ms 11 17 41s877ms 2s463ms 12 12 30s269ms 2s522ms 13 13 34s228ms 2s632ms 14 4 11s123ms 2s780ms 16 3 7s893ms 2s631ms 17 3 8s755ms 2s918ms 18 2 5s24ms 2s512ms 19 1 2s724ms 2s724ms 20 4 11s301ms 2s825ms 21 2 4s925ms 2s462ms 22 2 4s676ms 2s338ms 23 3 6s891ms 2s297ms [ User: pubeu - Total duration: 10m24s - Times executed: 237 ]
[ User: qaeu - Total duration: 23s631ms - 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 = '646767' 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: 2024-03-16 20:02:29 Duration: 3s513ms Database: ctdprd51 User: pubeu Bind query: yes
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '646767' 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: 2024-03-14 18:48:30 Duration: 3s413ms 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 = '587019' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2024-03-12 05:35:12 Duration: 3s405ms Database: ctdprd51 User: pubeu Bind query: yes
5 23m5s 1 23m5s 23m5s 23m5s 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 #5
Day Hour Count Duration Avg duration Mar 16 18 1 23m5s 23m5s -
COPY pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2024-03-16 18:59:48 Duration: 23m5s
6 23m 1 23m 23m 23m 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 #6
Day Hour Count Duration Avg duration Mar 16 19 1 23m 23m -
COPY pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2024-03-16 19:40:26 Duration: 23m
7 15m47s 226 3s812ms 16s671ms 4s192ms select coalesce(st.alt_nm, t.nm) slimtermnm, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.curated_reference_qty > ?) curatedcount, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.indirect_gene_qty > ?) inferredcount from slim_term st inner join term t on st.slim_term_id = t.id where st.slim_id = ? order by ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Mar 10 03 1 3s990ms 3s990ms 04 2 7s943ms 3s971ms 05 1 4s169ms 4s169ms 06 2 8s197ms 4s98ms 07 2 8s258ms 4s129ms 08 2 8s99ms 4s49ms 09 2 8s151ms 4s75ms 10 2 8s29ms 4s14ms 11 2 7s945ms 3s972ms 12 1 4s127ms 4s127ms 13 2 8s87ms 4s43ms 15 1 4s68ms 4s68ms 16 2 9s598ms 4s799ms 18 2 8s25ms 4s12ms 21 1 4s118ms 4s118ms 22 2 8s55ms 4s27ms 23 2 8s236ms 4s118ms Mar 11 00 10 40s913ms 4s91ms 01 5 20s776ms 4s155ms 04 1 3s978ms 3s978ms 05 2 8s112ms 4s56ms 07 2 8s68ms 4s34ms 08 1 4s104ms 4s104ms 09 2 7s957ms 3s978ms 10 3 12s221ms 4s73ms 12 2 7s972ms 3s986ms 13 4 16s164ms 4s41ms 14 6 24s68ms 4s11ms 15 3 12s221ms 4s73ms 16 5 20s311ms 4s62ms 17 1 4s73ms 4s73ms 18 1 3s977ms 3s977ms 22 2 7s883ms 3s941ms Mar 12 00 2 8s69ms 4s34ms 01 4 16s149ms 4s37ms 02 2 7s972ms 3s986ms 03 5 20s9ms 4s1ms 04 2 8s125ms 4s62ms 05 1 3s994ms 3s994ms 06 2 8s250ms 4s125ms 07 2 8s79ms 4s39ms 08 3 11s979ms 3s993ms 09 1 4s179ms 4s179ms 10 1 3s844ms 3s844ms 11 1 3s952ms 3s952ms 13 2 8s87ms 4s43ms 14 3 11s994ms 3s998ms 15 3 12s36ms 4s12ms 16 3 12s642ms 4s214ms 20 1 3s916ms 3s916ms 22 2 7s962ms 3s981ms 23 1 3s984ms 3s984ms Mar 13 01 3 11s895ms 3s965ms 02 1 4s138ms 4s138ms 03 2 7s968ms 3s984ms 04 4 16s342ms 4s85ms 05 3 15s190ms 5s63ms 06 1 4s84ms 4s84ms 07 3 12s412ms 4s137ms 08 2 8s32ms 4s16ms 09 2 7s917ms 3s958ms 10 3 12s110ms 4s36ms 11 1 3s961ms 3s961ms 12 1 4s331ms 4s331ms 15 1 3s962ms 3s962ms 16 1 3s947ms 3s947ms 21 3 12s295ms 4s98ms 22 1 4s465ms 4s465ms 23 1 3s982ms 3s982ms Mar 14 00 1 16s671ms 16s671ms 02 1 3s986ms 3s986ms 05 1 3s991ms 3s991ms 06 2 8s9ms 4s4ms 08 1 3s934ms 3s934ms 09 3 12s283ms 4s94ms 10 2 8s49ms 4s24ms 11 1 4s132ms 4s132ms 12 1 4s643ms 4s643ms 13 2 20s729ms 10s364ms 14 1 3s956ms 3s956ms 15 1 5s574ms 5s574ms 16 1 3s949ms 3s949ms 17 2 8s38ms 4s19ms 19 1 4s7ms 4s7ms 23 2 8s98ms 4s49ms Mar 15 00 3 12s54ms 4s18ms 03 3 12s807ms 4s269ms 04 1 4s45ms 4s45ms 05 2 8s27ms 4s13ms 06 2 7s921ms 3s960ms 07 7 27s859ms 3s979ms 09 4 16s98ms 4s24ms 10 1 3s981ms 3s981ms 11 1 3s975ms 3s975ms 12 1 4s37ms 4s37ms 15 1 3s997ms 3s997ms 16 2 8s316ms 4s158ms 18 2 8s29ms 4s14ms 20 1 4s25ms 4s25ms 21 1 3s975ms 3s975ms 22 1 4s10ms 4s10ms Mar 16 03 1 3s933ms 3s933ms 08 2 8s179ms 4s89ms 09 4 17s881ms 4s470ms 10 2 7s937ms 3s968ms 12 1 4s29ms 4s29ms 13 3 12s33ms 4s11ms 14 1 4s41ms 4s41ms 15 1 4s125ms 4s125ms 18 1 3s986ms 3s986ms 23 1 4s9ms 4s9ms [ User: pubeu - Total duration: 6m50s - Times executed: 101 ]
-
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 = '1379157') 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 = '1379157') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-03-14 00:05:41 Duration: 16s671ms 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 = '1379157') 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 = '1379157') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-03-14 13:04:48 Duration: 16s539ms 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 = '1310295') 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 = '1310295') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-03-13 05:37:59 Duration: 7s170ms Bind query: yes
8 14m28s 383 1s92ms 5s232ms 2s267ms 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 ? offset ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Mar 12 11 1 1s950ms 1s950ms 12 1 1s962ms 1s962ms Mar 13 02 1 1s92ms 1s92ms 03 3 6s30ms 2s10ms 04 3 6s7ms 2s2ms 05 2 4s921ms 2s460ms 06 3 6s31ms 2s10ms 08 2 4s899ms 2s449ms 09 2 4s397ms 2s198ms 10 3 6s228ms 2s76ms 11 7 14s487ms 2s69ms 12 6 12s734ms 2s122ms 13 3 6s267ms 2s89ms 14 1 1s508ms 1s508ms 15 2 4s66ms 2s33ms 17 1 2s7ms 2s7ms 18 1 2s139ms 2s139ms 19 3 5s774ms 1s924ms 20 1 3s374ms 3s374ms 21 1 1s986ms 1s986ms 22 3 5s902ms 1s967ms 23 1 2s404ms 2s404ms Mar 14 01 3 7s773ms 2s591ms 02 5 13s45ms 2s609ms 03 14 26s909ms 1s922ms 04 9 17s297ms 1s921ms 05 4 8s158ms 2s39ms 06 4 8s602ms 2s150ms 07 1 1s473ms 1s473ms 08 1 2s61ms 2s61ms 09 7 15s49ms 2s149ms 10 6 12s744ms 2s124ms 11 4 8s886ms 2s221ms 12 4 8s686ms 2s171ms 13 7 14s387ms 2s55ms 14 18 43s39ms 2s391ms 15 4 9s264ms 2s316ms 16 6 13s671ms 2s278ms 17 4 9s936ms 2s484ms 18 3 6s149ms 2s49ms 19 8 18s227ms 2s278ms 20 7 16s24ms 2s289ms 21 3 6s662ms 2s220ms 22 2 3s987ms 1s993ms 23 1 1s898ms 1s898ms Mar 15 00 2 4s452ms 2s226ms 01 1 2s255ms 2s255ms 02 3 6s323ms 2s107ms 03 5 11s631ms 2s326ms 04 5 10s423ms 2s84ms 05 6 13s179ms 2s196ms 06 10 22s897ms 2s289ms 07 11 27s318ms 2s483ms 08 16 41s223ms 2s576ms 09 9 19s538ms 2s170ms 10 7 14s884ms 2s126ms 11 10 21s533ms 2s153ms 12 4 10s568ms 2s642ms 13 5 11s520ms 2s304ms 14 3 7s170ms 2s390ms 16 1 2s212ms 2s212ms 17 2 5s110ms 2s555ms 19 3 7s456ms 2s485ms 20 1 2s852ms 2s852ms 22 2 4s527ms 2s263ms 23 2 5s657ms 2s828ms Mar 16 00 3 6s833ms 2s277ms 01 5 12s799ms 2s559ms 02 17 40s619ms 2s389ms 03 6 15s269ms 2s544ms 04 8 19s359ms 2s419ms 05 6 12s797ms 2s132ms 06 7 16s704ms 2s386ms 07 2 4s384ms 2s192ms 09 3 6s730ms 2s243ms 10 2 4s256ms 2s128ms 11 2 4s530ms 2s265ms 12 6 14s359ms 2s393ms 13 6 14s75ms 2s345ms 14 6 13s220ms 2s203ms 15 2 5s816ms 2s908ms 16 3 6s835ms 2s278ms 17 6 14s326ms 2s387ms 18 3 7s545ms 2s515ms 19 1 3s324ms 3s324ms 20 1 2s229ms 2s229ms 21 1 2s257ms 2s257ms 22 3 7s292ms 2s430ms [ User: pubeu - Total duration: 4m25s - Times executed: 117 ]
-
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 = '646767' 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 = '646767') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50 OFFSET 50;
Date: 2024-03-14 14:14:43 Duration: 5s232ms 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 = '646442' 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 = '646442') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50 OFFSET 390300;
Date: 2024-03-14 02:13:24 Duration: 4s433ms 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 = '646442' 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 = '646442') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50 OFFSET 390300;
Date: 2024-03-15 07:03:42 Duration: 4s169ms Bind query: yes
9 13m18s 230 1s4ms 12s738ms 3s470ms 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 #9
Day Hour Count Duration Avg duration Mar 10 03 1 1s75ms 1s75ms 04 4 19s774ms 4s943ms 05 2 3s814ms 1s907ms 06 2 5s986ms 2s993ms 07 1 5s731ms 5s731ms 09 1 3s860ms 3s860ms 10 1 1s54ms 1s54ms 12 1 1s136ms 1s136ms 13 3 21s500ms 7s166ms 15 1 2s234ms 2s234ms 16 1 1s241ms 1s241ms 17 1 1s31ms 1s31ms 18 4 31s944ms 7s986ms 19 1 2s266ms 2s266ms 21 2 13s884ms 6s942ms 22 2 10s106ms 5s53ms 23 1 1s118ms 1s118ms Mar 11 00 3 7s120ms 2s373ms 02 1 2s226ms 2s226ms 03 3 5s663ms 1s887ms 05 2 8s896ms 4s448ms 06 1 2s700ms 2s700ms 07 4 11s677ms 2s919ms 09 3 6s334ms 2s111ms 10 1 1s53ms 1s53ms 14 1 5s204ms 5s204ms 15 1 5s578ms 5s578ms 17 1 2s127ms 2s127ms 18 1 1s5ms 1s5ms 20 2 4s971ms 2s485ms 21 1 4s724ms 4s724ms 22 1 1s27ms 1s27ms 23 1 5s187ms 5s187ms Mar 12 01 1 3s134ms 3s134ms 03 1 8s332ms 8s332ms 06 4 10s331ms 2s582ms 07 3 4s653ms 1s551ms 08 1 1s112ms 1s112ms 10 3 8s5ms 2s668ms 11 2 3s445ms 1s722ms 12 1 5s96ms 5s96ms 13 2 6s751ms 3s375ms 14 3 15s37ms 5s12ms 15 1 1s203ms 1s203ms 16 1 11s853ms 11s853ms 17 1 5s498ms 5s498ms 19 1 4s576ms 4s576ms 21 7 25s556ms 3s650ms 22 2 9s66ms 4s533ms 23 3 15s561ms 5s187ms Mar 13 01 3 7s39ms 2s346ms 03 1 1s354ms 1s354ms 04 2 5s435ms 2s717ms 05 2 5s796ms 2s898ms 06 3 14s402ms 4s800ms 07 3 8s88ms 2s696ms 08 4 9s886ms 2s471ms 11 2 4s418ms 2s209ms 12 2 3s258ms 1s629ms 15 2 3s142ms 1s571ms 17 3 7s94ms 2s364ms 18 5 13s641ms 2s728ms 19 3 10s439ms 3s479ms 20 3 16s181ms 5s393ms 21 4 21s505ms 5s376ms 22 2 2s733ms 1s366ms Mar 14 00 3 10s165ms 3s388ms 01 4 13s43ms 3s260ms 02 1 2s205ms 2s205ms 03 3 12s629ms 4s209ms 04 7 46s906ms 6s700ms 05 1 1s165ms 1s165ms 06 2 8s849ms 4s424ms 09 2 3s849ms 1s924ms 10 2 4s327ms 2s163ms 11 1 1s4ms 1s4ms 12 1 5s48ms 5s48ms 14 3 10s976ms 3s658ms 16 1 4s724ms 4s724ms 17 1 1s109ms 1s109ms 19 1 2s482ms 2s482ms 22 2 7s502ms 3s751ms 23 2 13s950ms 6s975ms Mar 15 02 1 5s251ms 5s251ms 03 1 2s37ms 2s37ms 04 1 1s313ms 1s313ms 05 1 1s396ms 1s396ms 06 1 3s275ms 3s275ms 07 1 3s323ms 3s323ms 08 3 10s756ms 3s585ms 10 1 4s765ms 4s765ms 13 2 9s416ms 4s708ms 14 1 2s513ms 2s513ms 15 2 5s908ms 2s954ms 16 2 4s258ms 2s129ms 17 1 1s785ms 1s785ms 18 1 1s602ms 1s602ms 19 1 2s122ms 2s122ms 20 2 9s92ms 4s546ms 22 1 1s7ms 1s7ms 23 2 2s863ms 1s431ms Mar 16 00 2 14s241ms 7s120ms 01 2 7s15ms 3s507ms 02 2 3s793ms 1s896ms 04 3 11s250ms 3s750ms 05 3 3s984ms 1s328ms 07 1 2s103ms 2s103ms 08 3 10s964ms 3s654ms 09 1 6s257ms 6s257ms 12 1 2s64ms 2s64ms 14 2 2s460ms 1s230ms 15 2 4s406ms 2s203ms 16 6 24s222ms 4s37ms 19 2 3s886ms 1s943ms 23 1 2s108ms 2s108ms [ User: pubeu - Total duration: 4m50s - Times executed: 90 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2048764') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-03-14 23:04:04 Duration: 12s738ms 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 = '2048764') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-03-10 21:41:24 Duration: 12s473ms 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 = '2052710') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-03-14 04:04:56 Duration: 12s202ms Database: ctdprd51 User: pubeu Bind query: yes
10 12m43s 25 30s159ms 30s683ms 30s524ms 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 Mar 10 06 1 30s653ms 30s653ms 10 1 30s486ms 30s486ms 14 1 30s496ms 30s496ms 18 1 30s542ms 30s542ms Mar 11 06 1 30s499ms 30s499ms 10 1 30s498ms 30s498ms 14 1 30s641ms 30s641ms 18 1 30s562ms 30s562ms Mar 12 06 1 30s562ms 30s562ms 10 1 30s559ms 30s559ms 14 1 30s433ms 30s433ms 18 1 30s541ms 30s541ms Mar 13 06 1 30s545ms 30s545ms 10 1 30s595ms 30s595ms 14 1 30s494ms 30s494ms 18 1 30s514ms 30s514ms Mar 14 06 1 30s677ms 30s677ms 10 1 30s549ms 30s549ms 14 1 30s683ms 30s683ms 18 1 30s447ms 30s447ms Mar 15 06 1 30s523ms 30s523ms 10 1 30s475ms 30s475ms 14 1 30s486ms 30s486ms 18 1 30s493ms 30s493ms Mar 16 19 1 30s159ms 30s159ms [ User: postgres - Total duration: 12m12s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 12m12s - Times executed: 24 ]
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-03-14 14:05:32 Duration: 30s683ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-03-14 06:05:32 Duration: 30s677ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-03-10 06:05:32 Duration: 30s653ms Database: ctdprd51 User: postgres Application: pg_dump
11 12m5s 657 1s44ms 1s237ms 1s104ms 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 #11
Day Hour Count Duration Avg duration Mar 10 03 3 3s334ms 1s111ms 04 4 4s429ms 1s107ms 05 8 9s121ms 1s140ms 06 3 3s353ms 1s117ms 07 5 5s458ms 1s91ms 09 2 2s213ms 1s106ms 10 5 5s594ms 1s118ms 11 3 3s306ms 1s102ms 12 4 4s425ms 1s106ms 13 1 1s133ms 1s133ms 14 3 3s349ms 1s116ms 15 1 1s99ms 1s99ms 16 2 2s263ms 1s131ms 17 3 3s326ms 1s108ms 18 3 3s323ms 1s107ms 19 1 1s109ms 1s109ms 20 4 4s378ms 1s94ms 21 7 7s798ms 1s114ms 22 5 5s577ms 1s115ms 23 7 7s863ms 1s123ms Mar 11 00 6 6s705ms 1s117ms 01 3 3s387ms 1s129ms 02 4 4s395ms 1s98ms 03 6 6s667ms 1s111ms 04 1 1s110ms 1s110ms 05 3 3s580ms 1s193ms 06 4 4s420ms 1s105ms 07 3 3s385ms 1s128ms 08 2 2s206ms 1s103ms 09 4 4s496ms 1s124ms 10 5 5s620ms 1s124ms 12 2 2s308ms 1s154ms 13 5 5s555ms 1s111ms 14 7 7s879ms 1s125ms 15 8 8s834ms 1s104ms 16 3 3s375ms 1s125ms 17 5 5s510ms 1s102ms 18 2 2s216ms 1s108ms 19 6 6s664ms 1s110ms 20 4 4s444ms 1s111ms 21 5 5s576ms 1s115ms 22 4 4s443ms 1s110ms 23 4 4s461ms 1s115ms Mar 12 00 4 4s418ms 1s104ms 01 4 4s405ms 1s101ms 02 2 2s228ms 1s114ms 03 2 2s233ms 1s116ms 04 2 2s231ms 1s115ms 05 5 5s752ms 1s150ms 06 3 3s330ms 1s110ms 07 1 1s138ms 1s138ms 08 1 1s131ms 1s131ms 09 2 2s241ms 1s120ms 10 2 2s237ms 1s118ms 11 4 4s573ms 1s143ms 12 1 1s122ms 1s122ms 13 8 8s903ms 1s112ms 14 4 4s401ms 1s100ms 15 8 8s747ms 1s93ms 16 4 4s360ms 1s90ms 17 4 4s323ms 1s80ms 18 4 4s361ms 1s90ms 19 2 2s164ms 1s82ms 20 5 5s416ms 1s83ms 21 3 3s297ms 1s99ms 22 5 5s494ms 1s98ms 23 5 5s494ms 1s98ms Mar 13 00 2 2s191ms 1s95ms 01 1 1s94ms 1s94ms 02 6 6s709ms 1s118ms 03 7 7s721ms 1s103ms 04 4 4s430ms 1s107ms 05 7 7s945ms 1s135ms 06 4 4s487ms 1s121ms 07 5 5s588ms 1s117ms 08 3 3s282ms 1s94ms 09 3 3s320ms 1s106ms 10 3 3s260ms 1s86ms 12 6 6s488ms 1s81ms 13 4 4s366ms 1s91ms 14 4 4s352ms 1s88ms 15 4 4s425ms 1s106ms 16 9 9s792ms 1s88ms 17 6 6s550ms 1s91ms 18 5 5s440ms 1s88ms 19 8 8s760ms 1s95ms 20 8 8s724ms 1s90ms 21 7 7s615ms 1s87ms 22 8 8s956ms 1s119ms 23 4 4s463ms 1s115ms Mar 14 00 6 6s614ms 1s102ms 01 9 10s47ms 1s116ms 02 11 12s146ms 1s104ms 03 4 4s385ms 1s96ms 04 4 4s455ms 1s113ms 05 6 6s876ms 1s146ms 06 3 3s273ms 1s91ms 07 2 2s206ms 1s103ms 08 2 2s180ms 1s90ms 09 6 6s612ms 1s102ms 10 7 7s660ms 1s94ms 11 3 3s252ms 1s84ms 12 4 4s347ms 1s86ms 13 9 9s748ms 1s83ms 14 8 8s652ms 1s81ms 15 4 4s330ms 1s82ms 16 7 7s765ms 1s109ms 17 4 4s369ms 1s92ms 18 3 3s247ms 1s82ms 19 7 7s608ms 1s86ms 20 6 6s533ms 1s88ms 21 4 4s397ms 1s99ms 22 3 3s324ms 1s108ms 23 2 2s229ms 1s114ms Mar 15 00 1 1s147ms 1s147ms 01 2 2s215ms 1s107ms 02 3 3s350ms 1s116ms 03 2 2s202ms 1s101ms 04 2 2s154ms 1s77ms 05 6 6s730ms 1s121ms 06 6 6s476ms 1s79ms 07 11 12s257ms 1s114ms 08 3 3s251ms 1s83ms 09 6 6s420ms 1s70ms 10 5 5s493ms 1s98ms 11 7 7s734ms 1s104ms 12 4 4s434ms 1s108ms 13 1 1s91ms 1s91ms 14 2 2s142ms 1s71ms 15 2 2s174ms 1s87ms 18 1 1s90ms 1s90ms 19 2 2s172ms 1s86ms 20 1 1s91ms 1s91ms 21 4 4s311ms 1s77ms 22 1 1s76ms 1s76ms 23 2 2s131ms 1s65ms Mar 16 00 2 2s177ms 1s88ms 01 1 1s101ms 1s101ms 02 4 4s424ms 1s106ms 03 5 5s570ms 1s114ms 04 4 4s441ms 1s110ms 05 5 5s704ms 1s140ms 06 6 6s613ms 1s102ms 07 2 2s176ms 1s88ms 08 3 3s265ms 1s88ms 09 7 7s672ms 1s96ms 10 6 6s438ms 1s73ms 11 4 4s466ms 1s116ms 12 1 1s87ms 1s87ms 14 1 1s81ms 1s81ms 15 4 4s296ms 1s74ms 16 11 12s13ms 1s92ms 17 6 6s530ms 1s88ms 18 4 4s308ms 1s77ms 19 2 2s235ms 1s117ms 20 1 1s113ms 1s113ms 21 4 4s409ms 1s102ms 22 1 1s115ms 1s115ms 23 2 2s188ms 1s94ms [ User: pubeu - Total duration: 4m32s - Times executed: 247 ]
-
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 = '1422989' or receptorTerm.id = '1422989' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-03-11 05:43:36 Duration: 1s237ms 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 = '1963544' or receptorTerm.id = '1963544' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-03-12 11:31:41 Duration: 1s234ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where exposureMarkerTerm.id = '1422989' or receptorTerm.id = '1422989' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-03-14 05:38:33 Duration: 1s233ms Bind query: yes
12 10m24s 18 26s568ms 47s120ms 34s689ms select ? "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casrn "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" from ( with sq as ( select distinct c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casrn, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort from term c inner join gene_chem_reference gcr on c.id = gcr.chem_id inner join term g on gcr.gene_id = g.id where (c.id = ?)) select distinct sq.chem_nm, sq.chem_acc_txt, sq.casrn, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm from sq inner join gene_go_annot gga on sq.gene_id = gga.gene_id inner join dag_node gt on gga.go_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where gga.is_not = false and (d.id = ?) order by sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Mar 13 13 6 3m28s 34s764ms 14 3 1m42s 34s154ms 15 3 1m39s 33s184ms Mar 15 18 6 3m33s 35s634ms [ User: pubeu - Total duration: 5m26s - Times executed: 10 ]
-
SELECT /* BatchChemGODAO */ 'd000082' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1328314)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 5) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-03-15 18:20:01 Duration: 47s120ms Bind query: yes
-
SELECT /* BatchChemGODAO */ 'd000082' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1328314)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 5) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-03-13 13:54:16 Duration: 41s798ms Bind query: yes
-
SELECT /* BatchChemGODAO */ 'd000082' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1328314)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 4) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-03-15 18:19:55 Duration: 40s801ms Database: ctdprd51 User: pubeu Bind query: yes
13 10m3s 568 1s2ms 1s207ms 1s61ms select g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, i.id ixnid, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where gcr.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by g.nm_sort, c.nm_sort, i.sort_txt limit ? offset ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Mar 14 02 130 2m15s 1s39ms 03 12 12s663ms 1s55ms 04 15 15s885ms 1s59ms 07 78 1m23s 1s76ms 08 78 1m23s 1s71ms 09 255 4m31s 1s66ms [ User: pubeu - Total duration: 31s732ms - Times executed: 30 ]
-
SELECT /* ChemGeneIxnsDAO */ g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, i.id ixnId, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE gcr.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1249416') GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY g.nm_sort, c.nm_sort, i.sort_txt LIMIT 50 OFFSET 67650;
Date: 2024-03-14 07:50:04 Duration: 1s207ms Bind query: yes
-
SELECT /* ChemGeneIxnsDAO */ g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, i.id ixnId, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE gcr.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1249416') GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY g.nm_sort, c.nm_sort, i.sort_txt LIMIT 50 OFFSET 64050;
Date: 2024-03-14 07:49:14 Duration: 1s140ms Bind query: yes
-
SELECT /* ChemGeneIxnsDAO */ g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, i.id ixnId, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE gcr.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1249416') GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY g.nm_sort, c.nm_sort, i.sort_txt LIMIT 50 OFFSET 123150;
Date: 2024-03-14 09:43:30 Duration: 1s131ms Bind query: yes
14 9m1s 1 9m1s 9m1s 9m1s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?)) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by c.nm_sort, g.nm_sort, i.sort_txt limit ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Mar 10 06 1 9m1s 9m1s -
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'A') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'R-HSA-73930' AND tp.pathway_acc_db_cd = 'REACT'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'BIOLOGICAL FACTORS' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-03-10 06:10:00 Duration: 9m1s Bind query: yes
15 8m59s 201 1s1ms 4s991ms 2s686ms 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 #15
Day Hour Count Duration Avg duration Mar 10 04 2 2s224ms 1s112ms 06 1 1s785ms 1s785ms 11 2 4s888ms 2s444ms 12 1 4s768ms 4s768ms 14 4 15s73ms 3s768ms 15 1 2s710ms 2s710ms 16 2 2s331ms 1s165ms 17 4 12s255ms 3s63ms 19 3 6s598ms 2s199ms 20 5 12s17ms 2s403ms 21 1 3s657ms 3s657ms 23 1 2s95ms 2s95ms Mar 11 00 2 8s355ms 4s177ms 01 3 5s111ms 1s703ms 02 6 14s169ms 2s361ms 03 1 1s593ms 1s593ms 05 1 1s366ms 1s366ms 08 2 8s282ms 4s141ms 13 3 6s912ms 2s304ms 14 1 1s350ms 1s350ms 15 2 6s146ms 3s73ms 16 1 1s76ms 1s76ms 17 1 2s238ms 2s238ms 18 1 2s386ms 2s386ms 19 2 3s387ms 1s693ms 21 1 2s266ms 2s266ms 23 3 10s6ms 3s335ms Mar 12 00 1 3s566ms 3s566ms 01 2 6s95ms 3s47ms 03 3 7s297ms 2s432ms 04 1 1s6ms 1s6ms 05 3 9s943ms 3s314ms 06 3 8s171ms 2s723ms 07 4 15s732ms 3s933ms 09 2 6s365ms 3s182ms 11 1 2s793ms 2s793ms 14 2 7s41ms 3s520ms 15 1 1s279ms 1s279ms 16 1 1s247ms 1s247ms 17 1 4s762ms 4s762ms 18 2 2s592ms 1s296ms 23 1 1s420ms 1s420ms Mar 13 02 1 3s500ms 3s500ms 03 1 1s723ms 1s723ms 06 2 3s423ms 1s711ms 08 1 3s529ms 3s529ms 09 1 4s882ms 4s882ms 10 1 3s509ms 3s509ms 11 2 4s825ms 2s412ms 12 3 11s37ms 3s679ms 13 3 4s985ms 1s661ms 14 3 7s14ms 2s338ms 17 2 7s338ms 3s669ms 18 2 5s705ms 2s852ms 19 3 5s37ms 1s679ms 20 1 1s159ms 1s159ms 21 1 3s529ms 3s529ms 22 1 1s358ms 1s358ms Mar 14 00 1 4s737ms 4s737ms 01 2 2s103ms 1s51ms 03 3 7s535ms 2s511ms 07 4 4s893ms 1s223ms 08 1 2s743ms 2s743ms 10 2 6s208ms 3s104ms 11 3 3s440ms 1s146ms 13 1 1s405ms 1s405ms 16 2 5s994ms 2s997ms 17 1 3s522ms 3s522ms 18 2 6s105ms 3s52ms 20 1 1s201ms 1s201ms 21 1 1s234ms 1s234ms 22 1 1s112ms 1s112ms 23 2 3s889ms 1s944ms Mar 15 02 2 3s993ms 1s996ms 03 1 2s437ms 2s437ms 04 2 8s288ms 4s144ms 07 1 1s541ms 1s541ms 08 1 2s731ms 2s731ms 09 2 5s835ms 2s917ms 10 2 8s377ms 4s188ms 13 1 2s230ms 2s230ms 14 3 11s75ms 3s691ms 16 3 9s457ms 3s152ms 17 1 4s906ms 4s906ms 19 2 3s892ms 1s946ms 21 2 5s271ms 2s635ms Mar 16 00 1 1s204ms 1s204ms 01 1 1s204ms 1s204ms 04 1 1s638ms 1s638ms 05 3 9s987ms 3s329ms 06 3 13s173ms 4s391ms 07 1 1s217ms 1s217ms 08 2 4s852ms 2s426ms 09 2 6s562ms 3s281ms 10 1 4s888ms 4s888ms 11 4 13s573ms 3s393ms 12 2 4s848ms 2s424ms 13 2 4s825ms 2s412ms 14 1 2s93ms 2s93ms 15 2 8s566ms 4s283ms 16 7 25s644ms 3s663ms 17 1 1s501ms 1s501ms 18 2 2s463ms 1s231ms 20 1 3s563ms 3s563ms 21 1 4s991ms 4s991ms [ User: pubeu - Total duration: 3m32s - Times executed: 79 ]
-
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 = '1379157') 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 = '1379157') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-03-16 21:02:54 Duration: 4s991ms 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 = '1379157') 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 = '1379157') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-03-14 03:48:12 Duration: 4s943ms 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 = '1379157') 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 = '1379157') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-03-13 17:57:05 Duration: 4s936ms Bind query: yes
16 8m29s 128 1s4ms 5s985ms 3s981ms 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 #16
Day Hour Count Duration Avg duration Mar 10 03 1 1s57ms 1s57ms 05 1 5s334ms 5s334ms 07 2 10s159ms 5s79ms 11 1 1s39ms 1s39ms 13 1 5s43ms 5s43ms 14 1 5s320ms 5s320ms 16 1 5s789ms 5s789ms 17 1 5s500ms 5s500ms 18 1 1s21ms 1s21ms 19 1 5s573ms 5s573ms 22 3 15s375ms 5s125ms Mar 11 00 4 21s125ms 5s281ms 05 2 6s274ms 3s137ms 09 1 1s13ms 1s13ms 10 3 15s534ms 5s178ms 13 1 5s295ms 5s295ms 15 1 5s144ms 5s144ms 16 3 11s236ms 3s745ms 22 2 6s243ms 3s121ms Mar 12 01 2 10s303ms 5s151ms 02 1 1s17ms 1s17ms 03 2 10s564ms 5s282ms 04 1 1s26ms 1s26ms 05 2 10s17ms 5s8ms 09 1 1s82ms 1s82ms 10 2 2s34ms 1s17ms 11 1 1s25ms 1s25ms 13 1 5s159ms 5s159ms 14 4 12s929ms 3s232ms 19 1 1s14ms 1s14ms 20 1 4s924ms 4s924ms 21 1 5s463ms 5s463ms 22 1 1s13ms 1s13ms 23 6 30s972ms 5s162ms Mar 13 00 3 15s552ms 5s184ms 01 1 4s962ms 4s962ms 02 1 5s361ms 5s361ms 03 1 1s7ms 1s7ms 05 4 16s215ms 4s53ms 07 1 5s251ms 5s251ms 11 2 7s8ms 3s504ms 13 2 6s39ms 3s19ms 14 2 10s89ms 5s44ms 15 1 5s178ms 5s178ms 16 1 1s16ms 1s16ms 19 1 5s177ms 5s177ms 21 1 5s1ms 5s1ms 22 2 6s595ms 3s297ms 23 1 4s998ms 4s998ms Mar 14 01 2 6s336ms 3s168ms 02 1 5s469ms 5s469ms 05 1 5s170ms 5s170ms 06 5 13s123ms 2s624ms 07 1 1s38ms 1s38ms 10 1 1s5ms 1s5ms 11 3 15s391ms 5s130ms 12 3 11s236ms 3s745ms 17 1 1s17ms 1s17ms 18 1 5s80ms 5s80ms 19 1 1s40ms 1s40ms 21 2 10s436ms 5s218ms 22 1 5s46ms 5s46ms Mar 15 00 1 5s23ms 5s23ms 03 7 32s273ms 4s610ms 05 1 5s224ms 5s224ms 08 1 1s17ms 1s17ms 09 1 5s98ms 5s98ms 13 3 7s84ms 2s361ms 14 1 4s937ms 4s937ms 16 1 1s10ms 1s10ms 18 1 4s989ms 4s989ms Mar 16 03 1 4s969ms 4s969ms 06 3 15s163ms 5s54ms 11 1 5s203ms 5s203ms 22 1 5s165ms 5s165ms [ User: pubeu - Total duration: 3m10s - Times executed: 50 ]
-
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 = '1384571' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-03-13 11:47:43 Duration: 5s985ms 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 = '1326662' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-03-10 16:43:25 Duration: 5s789ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1379157' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-03-12 14:00:14 Duration: 5s774ms Database: ctdprd51 User: pubeu Bind query: yes
17 8m10s 409 1s132ms 1s358ms 1s199ms 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 #17
Day Hour Count Duration Avg duration Mar 10 03 1 1s189ms 1s189ms 05 2 2s654ms 1s327ms 10 2 2s399ms 1s199ms 11 3 3s717ms 1s239ms 12 5 5s991ms 1s198ms 13 4 4s839ms 1s209ms 14 6 7s279ms 1s213ms 15 6 7s263ms 1s210ms 16 4 4s834ms 1s208ms 17 4 4s788ms 1s197ms 18 2 2s462ms 1s231ms 19 2 2s389ms 1s194ms 20 4 4s832ms 1s208ms 21 3 3s665ms 1s221ms 22 3 3s551ms 1s183ms 23 3 3s635ms 1s211ms Mar 11 00 4 4s833ms 1s208ms 01 4 4s840ms 1s210ms 02 8 9s488ms 1s186ms 03 6 7s174ms 1s195ms 04 2 2s359ms 1s179ms 05 6 7s524ms 1s254ms 06 3 3s597ms 1s199ms 07 1 1s178ms 1s178ms 08 1 1s216ms 1s216ms 09 1 1s182ms 1s182ms 10 1 1s196ms 1s196ms 11 2 2s372ms 1s186ms 12 4 4s764ms 1s191ms 13 4 4s802ms 1s200ms 14 5 5s958ms 1s191ms 15 5 5s977ms 1s195ms 16 4 4s788ms 1s197ms 17 5 5s981ms 1s196ms 18 4 4s747ms 1s186ms 19 2 2s378ms 1s189ms 20 5 5s912ms 1s182ms 21 4 5s2ms 1s250ms 22 5 6s25ms 1s205ms 23 3 3s585ms 1s195ms Mar 12 00 2 2s410ms 1s205ms 01 2 2s458ms 1s229ms 02 1 1s196ms 1s196ms 04 1 1s190ms 1s190ms 05 7 8s610ms 1s230ms 06 8 9s600ms 1s200ms 08 1 1s212ms 1s212ms 09 1 1s187ms 1s187ms 11 3 3s667ms 1s222ms 12 1 1s200ms 1s200ms 13 13 15s613ms 1s201ms 14 10 11s960ms 1s196ms 15 8 9s397ms 1s174ms 16 7 8s358ms 1s194ms 17 3 3s540ms 1s180ms 18 8 9s342ms 1s167ms 19 10 11s714ms 1s171ms 21 6 6s991ms 1s165ms 22 5 6s23ms 1s204ms 23 5 5s988ms 1s197ms Mar 13 00 6 7s166ms 1s194ms 01 6 7s190ms 1s198ms 02 4 4s784ms 1s196ms 03 6 7s179ms 1s196ms 04 6 7s249ms 1s208ms 05 9 10s983ms 1s220ms 06 3 3s613ms 1s204ms 08 2 2s399ms 1s199ms 09 2 2s473ms 1s236ms 10 5 5s888ms 1s177ms 11 8 9s457ms 1s182ms 12 6 7s147ms 1s191ms 14 3 3s512ms 1s170ms 15 3 3s524ms 1s174ms 17 3 3s513ms 1s171ms 18 7 8s209ms 1s172ms 19 1 1s199ms 1s199ms 20 6 7s28ms 1s171ms 21 3 3s470ms 1s156ms 22 5 6s83ms 1s216ms 23 8 9s721ms 1s215ms Mar 14 00 2 2s400ms 1s200ms 01 1 1s216ms 1s216ms 02 3 3s702ms 1s234ms 03 4 4s788ms 1s197ms 05 7 8s660ms 1s237ms 06 4 4s907ms 1s226ms 07 1 1s183ms 1s183ms 10 2 2s398ms 1s199ms 11 2 2s319ms 1s159ms 13 2 2s369ms 1s184ms 14 1 1s152ms 1s152ms 15 1 1s159ms 1s159ms 17 1 1s174ms 1s174ms 18 1 1s168ms 1s168ms 19 1 1s195ms 1s195ms 23 1 1s198ms 1s198ms Mar 15 01 2 2s430ms 1s215ms 04 1 1s177ms 1s177ms 05 3 3s798ms 1s266ms 07 2 2s338ms 1s169ms 10 1 1s161ms 1s161ms 12 3 3s506ms 1s168ms 13 1 1s196ms 1s196ms 20 1 1s171ms 1s171ms 22 1 1s147ms 1s147ms 23 2 2s334ms 1s167ms Mar 16 01 1 1s132ms 1s132ms 05 2 2s607ms 1s303ms 08 1 1s208ms 1s208ms 09 1 1s219ms 1s219ms 10 1 1s226ms 1s226ms 11 2 2s332ms 1s166ms 17 1 1s174ms 1s174ms 21 1 1s193ms 1s193ms 23 1 1s264ms 1s264ms [ User: pubeu - Total duration: 2m52s - Times executed: 144 ]
-
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 = '1204162') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1204162') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-03-14 05:43:35 Duration: 1s358ms 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 = '1204162') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1204162') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-03-12 05:38:33 Duration: 1s344ms 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 = '1204162') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1204162') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-03-12 05:43:35 Duration: 1s331ms Bind query: yes
18 6m42s 1 6m42s 6m42s 6m42s copy pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Mar 16 19 1 6m42s 6m42s -
COPY pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-03-16 19:11:07 Duration: 6m42s
19 6m40s 1 6m40s 6m40s 6m40s copy pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Mar 16 19 1 6m40s 6m40s -
COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-03-16 19:51:47 Duration: 6m40s
20 5m34s 24 13s869ms 14s11ms 13s930ms copy edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Mar 10 06 1 13s947ms 13s947ms 10 1 13s938ms 13s938ms 14 1 13s941ms 13s941ms 18 1 13s934ms 13s934ms Mar 11 06 1 13s943ms 13s943ms 10 1 13s934ms 13s934ms 14 1 13s942ms 13s942ms 18 1 13s884ms 13s884ms Mar 12 06 1 13s923ms 13s923ms 10 1 14s11ms 14s11ms 14 1 13s956ms 13s956ms 18 1 13s936ms 13s936ms Mar 13 06 1 13s911ms 13s911ms 10 1 13s917ms 13s917ms 14 1 13s993ms 13s993ms 18 1 13s932ms 13s932ms Mar 14 06 1 13s982ms 13s982ms 10 1 13s896ms 13s896ms 14 1 13s869ms 13s869ms Mar 15 06 1 13s941ms 13s941ms 10 1 13s878ms 13s878ms 14 1 13s923ms 13s923ms 18 1 13s887ms 13s887ms Mar 16 18 1 13s896ms 13s896ms -
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-03-12 10:00:56 Duration: 14s11ms
-
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-03-13 14:00:56 Duration: 13s993ms
-
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-03-14 06:00:56 Duration: 13s982ms
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 1,365 59m34s 1s8ms 5s477ms 2s618ms 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 #1
Day Hour Count Duration Avg duration Mar 10 19 1 1s479ms 1s479ms Mar 11 10 1 2s39ms 2s39ms 11 1 2s49ms 2s49ms Mar 12 00 1 2s88ms 2s88ms 03 3 9s275ms 3s91ms 06 1 1s493ms 1s493ms 08 4 11s305ms 2s826ms 09 9 20s889ms 2s321ms 10 3 9s180ms 3s60ms 11 16 38s121ms 2s382ms 12 9 21s664ms 2s407ms 13 2 3s992ms 1s996ms 14 7 14s20ms 2s2ms 15 10 23s681ms 2s368ms 16 12 27s906ms 2s325ms 17 7 14s24ms 2s3ms 18 1 1s976ms 1s976ms Mar 13 01 1 2s35ms 2s35ms 02 3 8s523ms 2s841ms 03 3 7s938ms 2s646ms 04 5 15s543ms 3s108ms 05 2 7s487ms 3s743ms 06 3 7s322ms 2s440ms 08 2 7s487ms 3s743ms 09 5 11s841ms 2s368ms 10 8 16s957ms 2s119ms 11 9 20s754ms 2s306ms 12 14 33s946ms 2s424ms 13 10 35s267ms 3s526ms 14 4 14s509ms 3s627ms 15 6 16s584ms 2s764ms 16 6 13s812ms 2s302ms 17 7 17s427ms 2s489ms 18 14 31s526ms 2s251ms 19 31 1m22s 2s662ms 20 13 31s108ms 2s392ms 21 28 1m7s 2s410ms 22 28 1m15s 2s681ms 23 24 58s897ms 2s454ms Mar 14 00 9 17s725ms 1s969ms 01 24 57s921ms 2s413ms 02 20 49s292ms 2s464ms 03 39 1m34s 2s424ms 04 17 42s486ms 2s499ms 05 28 1m18s 2s789ms 06 16 37s88ms 2s318ms 07 7 19s377ms 2s768ms 08 7 20s262ms 2s894ms 09 20 48s986ms 2s449ms 10 36 1m36s 2s692ms 11 8 17s909ms 2s238ms 12 16 41s146ms 2s571ms 13 26 1m5s 2s516ms 14 30 1m12s 2s430ms 15 18 49s304ms 2s739ms 16 21 47s820ms 2s277ms 17 27 1m18s 2s890ms 18 11 29s53ms 2s641ms 19 20 46s444ms 2s322ms 20 20 53s258ms 2s662ms 21 15 40s903ms 2s726ms 22 6 12s752ms 2s125ms 23 2 5s291ms 2s645ms Mar 15 00 8 22s957ms 2s869ms 01 5 11s932ms 2s386ms 02 8 24s458ms 3s57ms 03 8 21s614ms 2s701ms 04 12 34s137ms 2s844ms 05 14 45s75ms 3s219ms 06 29 1m10s 2s427ms 07 35 1m29s 2s565ms 08 58 2m31s 2s605ms 09 54 2m30s 2s784ms 10 28 1m17s 2s767ms 11 21 46s711ms 2s224ms 12 25 1m9s 2s775ms 13 22 57s820ms 2s628ms 14 8 25s304ms 3s163ms 15 4 10s540ms 2s635ms 16 6 17s679ms 2s946ms 17 2 8s109ms 4s54ms 18 5 17s79ms 3s415ms 19 2 5s10ms 2s505ms 20 4 11s558ms 2s889ms 22 6 18s413ms 3s68ms 23 6 20s61ms 3s343ms Mar 16 00 8 22s305ms 2s788ms 01 12 35s789ms 2s982ms 02 13 30s244ms 2s326ms 03 14 34s794ms 2s485ms 04 12 31s536ms 2s628ms 05 16 46s707ms 2s919ms 06 14 46s800ms 3s342ms 07 10 30s85ms 3s8ms 08 11 32s396ms 2s945ms 09 6 16s377ms 2s729ms 10 10 25s297ms 2s529ms 11 20 48s791ms 2s439ms 12 15 38s303ms 2s553ms 13 13 36s441ms 2s803ms 14 8 24s842ms 3s105ms 15 3 6s256ms 2s85ms 16 8 24s331ms 3s41ms 17 15 46s262ms 3s84ms 18 7 17s150ms 2s450ms 19 4 9s471ms 2s367ms 20 5 14s570ms 2s914ms 21 6 13s441ms 2s240ms 22 2 5s79ms 2s539ms 23 6 17s671ms 2s945ms [ User: pubeu - Total duration: 18m46s - Times executed: 413 ]
-
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 = '646767' 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 = '646767') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-03-16 09:19:05 Duration: 5s477ms 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 = '646767' 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 = '646767') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-03-14 10:30:05 Duration: 5s450ms 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 = '646767' 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 = '646767') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-03-15 05:48:01 Duration: 5s446ms Database: ctdprd51 User: pubeu Bind query: yes
2 859 37m1s 1s10ms 3s513ms 2s585ms 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 #2
Day Hour Count Duration Avg duration Mar 10 05 4 8s838ms 2s209ms Mar 11 05 4 8s840ms 2s210ms 16 1 3s367ms 3s367ms Mar 12 03 1 3s298ms 3s298ms 05 4 8s842ms 2s210ms 08 1 3s293ms 3s293ms 11 1 3s292ms 3s292ms 12 1 3s265ms 3s265ms 13 1 3s322ms 3s322ms 14 1 3s300ms 3s300ms 15 2 6s468ms 3s234ms 17 1 3s288ms 3s288ms Mar 13 02 1 3s327ms 3s327ms 03 3 8s82ms 2s694ms 04 6 13s928ms 2s321ms 05 5 11s255ms 2s251ms 06 2 5s755ms 2s877ms 08 7 18s494ms 2s642ms 09 2 4s656ms 2s328ms 10 5 13s923ms 2s784ms 11 2 5s408ms 2s704ms 12 6 15s392ms 2s565ms 13 2 4s729ms 2s364ms 14 1 2s439ms 2s439ms 15 4 11s50ms 2s762ms 16 4 9s94ms 2s273ms 17 1 2s384ms 2s384ms 18 4 12s367ms 3s91ms 19 11 31s154ms 2s832ms 20 8 23s335ms 2s916ms 21 6 14s884ms 2s480ms 22 8 22s497ms 2s812ms 23 13 34s880ms 2s683ms Mar 14 00 5 13s461ms 2s692ms 01 8 22s823ms 2s852ms 02 6 19s18ms 3s169ms 03 16 42s430ms 2s651ms 04 11 30s457ms 2s768ms 05 15 39s171ms 2s611ms 06 9 22s415ms 2s490ms 07 6 15s955ms 2s659ms 08 3 8s432ms 2s810ms 09 8 19s769ms 2s471ms 10 18 51s225ms 2s845ms 11 12 30s529ms 2s544ms 12 8 18s435ms 2s304ms 13 12 29s2ms 2s416ms 14 13 34s894ms 2s684ms 15 4 11s357ms 2s839ms 16 19 49s726ms 2s617ms 17 11 28s233ms 2s566ms 18 6 17s182ms 2s863ms 19 15 37s700ms 2s513ms 20 15 37s478ms 2s498ms 21 4 10s292ms 2s573ms 22 6 17s191ms 2s865ms 23 4 10s504ms 2s626ms Mar 15 00 2 4s950ms 2s475ms 01 4 11s943ms 2s985ms 02 7 16s931ms 2s418ms 03 4 10s725ms 2s681ms 04 7 17s676ms 2s525ms 05 17 44s159ms 2s597ms 06 25 1m2s 2s516ms 07 33 1m24s 2s563ms 08 40 1m42s 2s569ms 09 28 1m11s 2s548ms 10 24 1m 2s535ms 11 31 1m17s 2s484ms 12 30 1m19s 2s634ms 13 12 28s916ms 2s409ms 14 10 25s382ms 2s538ms 15 3 7s105ms 2s368ms 16 6 15s368ms 2s561ms 17 3 7s920ms 2s640ms 18 5 11s604ms 2s320ms 19 6 15s51ms 2s508ms 20 2 4s325ms 2s162ms 21 1 2s500ms 2s500ms 22 4 10s9ms 2s502ms 23 5 13s215ms 2s643ms Mar 16 00 11 29s359ms 2s669ms 01 12 31s558ms 2s629ms 02 13 31s236ms 2s402ms 03 11 27s240ms 2s476ms 04 11 29s466ms 2s678ms 05 20 48s776ms 2s438ms 06 11 27s171ms 2s470ms 07 6 14s534ms 2s422ms 08 12 28s481ms 2s373ms 09 10 25s84ms 2s508ms 10 10 26s58ms 2s605ms 11 17 41s877ms 2s463ms 12 12 30s269ms 2s522ms 13 13 34s228ms 2s632ms 14 4 11s123ms 2s780ms 16 3 7s893ms 2s631ms 17 3 8s755ms 2s918ms 18 2 5s24ms 2s512ms 19 1 2s724ms 2s724ms 20 4 11s301ms 2s825ms 21 2 4s925ms 2s462ms 22 2 4s676ms 2s338ms 23 3 6s891ms 2s297ms [ User: pubeu - Total duration: 10m24s - Times executed: 237 ]
[ User: qaeu - Total duration: 23s631ms - 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 = '646767' 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: 2024-03-16 20:02:29 Duration: 3s513ms Database: ctdprd51 User: pubeu Bind query: yes
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '646767' 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: 2024-03-14 18:48:30 Duration: 3s413ms 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 = '587019' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2024-03-12 05:35:12 Duration: 3s405ms Database: ctdprd51 User: pubeu Bind query: yes
3 657 12m5s 1s44ms 1s237ms 1s104ms 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 #3
Day Hour Count Duration Avg duration Mar 10 03 3 3s334ms 1s111ms 04 4 4s429ms 1s107ms 05 8 9s121ms 1s140ms 06 3 3s353ms 1s117ms 07 5 5s458ms 1s91ms 09 2 2s213ms 1s106ms 10 5 5s594ms 1s118ms 11 3 3s306ms 1s102ms 12 4 4s425ms 1s106ms 13 1 1s133ms 1s133ms 14 3 3s349ms 1s116ms 15 1 1s99ms 1s99ms 16 2 2s263ms 1s131ms 17 3 3s326ms 1s108ms 18 3 3s323ms 1s107ms 19 1 1s109ms 1s109ms 20 4 4s378ms 1s94ms 21 7 7s798ms 1s114ms 22 5 5s577ms 1s115ms 23 7 7s863ms 1s123ms Mar 11 00 6 6s705ms 1s117ms 01 3 3s387ms 1s129ms 02 4 4s395ms 1s98ms 03 6 6s667ms 1s111ms 04 1 1s110ms 1s110ms 05 3 3s580ms 1s193ms 06 4 4s420ms 1s105ms 07 3 3s385ms 1s128ms 08 2 2s206ms 1s103ms 09 4 4s496ms 1s124ms 10 5 5s620ms 1s124ms 12 2 2s308ms 1s154ms 13 5 5s555ms 1s111ms 14 7 7s879ms 1s125ms 15 8 8s834ms 1s104ms 16 3 3s375ms 1s125ms 17 5 5s510ms 1s102ms 18 2 2s216ms 1s108ms 19 6 6s664ms 1s110ms 20 4 4s444ms 1s111ms 21 5 5s576ms 1s115ms 22 4 4s443ms 1s110ms 23 4 4s461ms 1s115ms Mar 12 00 4 4s418ms 1s104ms 01 4 4s405ms 1s101ms 02 2 2s228ms 1s114ms 03 2 2s233ms 1s116ms 04 2 2s231ms 1s115ms 05 5 5s752ms 1s150ms 06 3 3s330ms 1s110ms 07 1 1s138ms 1s138ms 08 1 1s131ms 1s131ms 09 2 2s241ms 1s120ms 10 2 2s237ms 1s118ms 11 4 4s573ms 1s143ms 12 1 1s122ms 1s122ms 13 8 8s903ms 1s112ms 14 4 4s401ms 1s100ms 15 8 8s747ms 1s93ms 16 4 4s360ms 1s90ms 17 4 4s323ms 1s80ms 18 4 4s361ms 1s90ms 19 2 2s164ms 1s82ms 20 5 5s416ms 1s83ms 21 3 3s297ms 1s99ms 22 5 5s494ms 1s98ms 23 5 5s494ms 1s98ms Mar 13 00 2 2s191ms 1s95ms 01 1 1s94ms 1s94ms 02 6 6s709ms 1s118ms 03 7 7s721ms 1s103ms 04 4 4s430ms 1s107ms 05 7 7s945ms 1s135ms 06 4 4s487ms 1s121ms 07 5 5s588ms 1s117ms 08 3 3s282ms 1s94ms 09 3 3s320ms 1s106ms 10 3 3s260ms 1s86ms 12 6 6s488ms 1s81ms 13 4 4s366ms 1s91ms 14 4 4s352ms 1s88ms 15 4 4s425ms 1s106ms 16 9 9s792ms 1s88ms 17 6 6s550ms 1s91ms 18 5 5s440ms 1s88ms 19 8 8s760ms 1s95ms 20 8 8s724ms 1s90ms 21 7 7s615ms 1s87ms 22 8 8s956ms 1s119ms 23 4 4s463ms 1s115ms Mar 14 00 6 6s614ms 1s102ms 01 9 10s47ms 1s116ms 02 11 12s146ms 1s104ms 03 4 4s385ms 1s96ms 04 4 4s455ms 1s113ms 05 6 6s876ms 1s146ms 06 3 3s273ms 1s91ms 07 2 2s206ms 1s103ms 08 2 2s180ms 1s90ms 09 6 6s612ms 1s102ms 10 7 7s660ms 1s94ms 11 3 3s252ms 1s84ms 12 4 4s347ms 1s86ms 13 9 9s748ms 1s83ms 14 8 8s652ms 1s81ms 15 4 4s330ms 1s82ms 16 7 7s765ms 1s109ms 17 4 4s369ms 1s92ms 18 3 3s247ms 1s82ms 19 7 7s608ms 1s86ms 20 6 6s533ms 1s88ms 21 4 4s397ms 1s99ms 22 3 3s324ms 1s108ms 23 2 2s229ms 1s114ms Mar 15 00 1 1s147ms 1s147ms 01 2 2s215ms 1s107ms 02 3 3s350ms 1s116ms 03 2 2s202ms 1s101ms 04 2 2s154ms 1s77ms 05 6 6s730ms 1s121ms 06 6 6s476ms 1s79ms 07 11 12s257ms 1s114ms 08 3 3s251ms 1s83ms 09 6 6s420ms 1s70ms 10 5 5s493ms 1s98ms 11 7 7s734ms 1s104ms 12 4 4s434ms 1s108ms 13 1 1s91ms 1s91ms 14 2 2s142ms 1s71ms 15 2 2s174ms 1s87ms 18 1 1s90ms 1s90ms 19 2 2s172ms 1s86ms 20 1 1s91ms 1s91ms 21 4 4s311ms 1s77ms 22 1 1s76ms 1s76ms 23 2 2s131ms 1s65ms Mar 16 00 2 2s177ms 1s88ms 01 1 1s101ms 1s101ms 02 4 4s424ms 1s106ms 03 5 5s570ms 1s114ms 04 4 4s441ms 1s110ms 05 5 5s704ms 1s140ms 06 6 6s613ms 1s102ms 07 2 2s176ms 1s88ms 08 3 3s265ms 1s88ms 09 7 7s672ms 1s96ms 10 6 6s438ms 1s73ms 11 4 4s466ms 1s116ms 12 1 1s87ms 1s87ms 14 1 1s81ms 1s81ms 15 4 4s296ms 1s74ms 16 11 12s13ms 1s92ms 17 6 6s530ms 1s88ms 18 4 4s308ms 1s77ms 19 2 2s235ms 1s117ms 20 1 1s113ms 1s113ms 21 4 4s409ms 1s102ms 22 1 1s115ms 1s115ms 23 2 2s188ms 1s94ms [ User: pubeu - Total duration: 4m32s - Times executed: 247 ]
-
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 = '1422989' or receptorTerm.id = '1422989' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-03-11 05:43:36 Duration: 1s237ms 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 = '1963544' or receptorTerm.id = '1963544' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-03-12 11:31:41 Duration: 1s234ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where exposureMarkerTerm.id = '1422989' or receptorTerm.id = '1422989' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-03-14 05:38:33 Duration: 1s233ms Bind query: yes
4 568 10m3s 1s2ms 1s207ms 1s61ms select g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, i.id ixnid, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where gcr.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by g.nm_sort, c.nm_sort, i.sort_txt limit ? offset ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Mar 14 02 130 2m15s 1s39ms 03 12 12s663ms 1s55ms 04 15 15s885ms 1s59ms 07 78 1m23s 1s76ms 08 78 1m23s 1s71ms 09 255 4m31s 1s66ms [ User: pubeu - Total duration: 31s732ms - Times executed: 30 ]
-
SELECT /* ChemGeneIxnsDAO */ g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, i.id ixnId, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE gcr.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1249416') GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY g.nm_sort, c.nm_sort, i.sort_txt LIMIT 50 OFFSET 67650;
Date: 2024-03-14 07:50:04 Duration: 1s207ms Bind query: yes
-
SELECT /* ChemGeneIxnsDAO */ g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, i.id ixnId, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE gcr.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1249416') GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY g.nm_sort, c.nm_sort, i.sort_txt LIMIT 50 OFFSET 64050;
Date: 2024-03-14 07:49:14 Duration: 1s140ms Bind query: yes
-
SELECT /* ChemGeneIxnsDAO */ g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, i.id ixnId, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE gcr.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1249416') GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY g.nm_sort, c.nm_sort, i.sort_txt LIMIT 50 OFFSET 123150;
Date: 2024-03-14 09:43:30 Duration: 1s131ms Bind query: yes
5 409 8m10s 1s132ms 1s358ms 1s199ms 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 Mar 10 03 1 1s189ms 1s189ms 05 2 2s654ms 1s327ms 10 2 2s399ms 1s199ms 11 3 3s717ms 1s239ms 12 5 5s991ms 1s198ms 13 4 4s839ms 1s209ms 14 6 7s279ms 1s213ms 15 6 7s263ms 1s210ms 16 4 4s834ms 1s208ms 17 4 4s788ms 1s197ms 18 2 2s462ms 1s231ms 19 2 2s389ms 1s194ms 20 4 4s832ms 1s208ms 21 3 3s665ms 1s221ms 22 3 3s551ms 1s183ms 23 3 3s635ms 1s211ms Mar 11 00 4 4s833ms 1s208ms 01 4 4s840ms 1s210ms 02 8 9s488ms 1s186ms 03 6 7s174ms 1s195ms 04 2 2s359ms 1s179ms 05 6 7s524ms 1s254ms 06 3 3s597ms 1s199ms 07 1 1s178ms 1s178ms 08 1 1s216ms 1s216ms 09 1 1s182ms 1s182ms 10 1 1s196ms 1s196ms 11 2 2s372ms 1s186ms 12 4 4s764ms 1s191ms 13 4 4s802ms 1s200ms 14 5 5s958ms 1s191ms 15 5 5s977ms 1s195ms 16 4 4s788ms 1s197ms 17 5 5s981ms 1s196ms 18 4 4s747ms 1s186ms 19 2 2s378ms 1s189ms 20 5 5s912ms 1s182ms 21 4 5s2ms 1s250ms 22 5 6s25ms 1s205ms 23 3 3s585ms 1s195ms Mar 12 00 2 2s410ms 1s205ms 01 2 2s458ms 1s229ms 02 1 1s196ms 1s196ms 04 1 1s190ms 1s190ms 05 7 8s610ms 1s230ms 06 8 9s600ms 1s200ms 08 1 1s212ms 1s212ms 09 1 1s187ms 1s187ms 11 3 3s667ms 1s222ms 12 1 1s200ms 1s200ms 13 13 15s613ms 1s201ms 14 10 11s960ms 1s196ms 15 8 9s397ms 1s174ms 16 7 8s358ms 1s194ms 17 3 3s540ms 1s180ms 18 8 9s342ms 1s167ms 19 10 11s714ms 1s171ms 21 6 6s991ms 1s165ms 22 5 6s23ms 1s204ms 23 5 5s988ms 1s197ms Mar 13 00 6 7s166ms 1s194ms 01 6 7s190ms 1s198ms 02 4 4s784ms 1s196ms 03 6 7s179ms 1s196ms 04 6 7s249ms 1s208ms 05 9 10s983ms 1s220ms 06 3 3s613ms 1s204ms 08 2 2s399ms 1s199ms 09 2 2s473ms 1s236ms 10 5 5s888ms 1s177ms 11 8 9s457ms 1s182ms 12 6 7s147ms 1s191ms 14 3 3s512ms 1s170ms 15 3 3s524ms 1s174ms 17 3 3s513ms 1s171ms 18 7 8s209ms 1s172ms 19 1 1s199ms 1s199ms 20 6 7s28ms 1s171ms 21 3 3s470ms 1s156ms 22 5 6s83ms 1s216ms 23 8 9s721ms 1s215ms Mar 14 00 2 2s400ms 1s200ms 01 1 1s216ms 1s216ms 02 3 3s702ms 1s234ms 03 4 4s788ms 1s197ms 05 7 8s660ms 1s237ms 06 4 4s907ms 1s226ms 07 1 1s183ms 1s183ms 10 2 2s398ms 1s199ms 11 2 2s319ms 1s159ms 13 2 2s369ms 1s184ms 14 1 1s152ms 1s152ms 15 1 1s159ms 1s159ms 17 1 1s174ms 1s174ms 18 1 1s168ms 1s168ms 19 1 1s195ms 1s195ms 23 1 1s198ms 1s198ms Mar 15 01 2 2s430ms 1s215ms 04 1 1s177ms 1s177ms 05 3 3s798ms 1s266ms 07 2 2s338ms 1s169ms 10 1 1s161ms 1s161ms 12 3 3s506ms 1s168ms 13 1 1s196ms 1s196ms 20 1 1s171ms 1s171ms 22 1 1s147ms 1s147ms 23 2 2s334ms 1s167ms Mar 16 01 1 1s132ms 1s132ms 05 2 2s607ms 1s303ms 08 1 1s208ms 1s208ms 09 1 1s219ms 1s219ms 10 1 1s226ms 1s226ms 11 2 2s332ms 1s166ms 17 1 1s174ms 1s174ms 21 1 1s193ms 1s193ms 23 1 1s264ms 1s264ms [ User: pubeu - Total duration: 2m52s - Times executed: 144 ]
-
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 = '1204162') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1204162') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-03-14 05:43:35 Duration: 1s358ms 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 = '1204162') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1204162') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-03-12 05:38:33 Duration: 1s344ms 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 = '1204162') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1204162') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-03-12 05:43:35 Duration: 1s331ms Bind query: yes
6 383 14m28s 1s92ms 5s232ms 2s267ms 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 ? offset ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Mar 12 11 1 1s950ms 1s950ms 12 1 1s962ms 1s962ms Mar 13 02 1 1s92ms 1s92ms 03 3 6s30ms 2s10ms 04 3 6s7ms 2s2ms 05 2 4s921ms 2s460ms 06 3 6s31ms 2s10ms 08 2 4s899ms 2s449ms 09 2 4s397ms 2s198ms 10 3 6s228ms 2s76ms 11 7 14s487ms 2s69ms 12 6 12s734ms 2s122ms 13 3 6s267ms 2s89ms 14 1 1s508ms 1s508ms 15 2 4s66ms 2s33ms 17 1 2s7ms 2s7ms 18 1 2s139ms 2s139ms 19 3 5s774ms 1s924ms 20 1 3s374ms 3s374ms 21 1 1s986ms 1s986ms 22 3 5s902ms 1s967ms 23 1 2s404ms 2s404ms Mar 14 01 3 7s773ms 2s591ms 02 5 13s45ms 2s609ms 03 14 26s909ms 1s922ms 04 9 17s297ms 1s921ms 05 4 8s158ms 2s39ms 06 4 8s602ms 2s150ms 07 1 1s473ms 1s473ms 08 1 2s61ms 2s61ms 09 7 15s49ms 2s149ms 10 6 12s744ms 2s124ms 11 4 8s886ms 2s221ms 12 4 8s686ms 2s171ms 13 7 14s387ms 2s55ms 14 18 43s39ms 2s391ms 15 4 9s264ms 2s316ms 16 6 13s671ms 2s278ms 17 4 9s936ms 2s484ms 18 3 6s149ms 2s49ms 19 8 18s227ms 2s278ms 20 7 16s24ms 2s289ms 21 3 6s662ms 2s220ms 22 2 3s987ms 1s993ms 23 1 1s898ms 1s898ms Mar 15 00 2 4s452ms 2s226ms 01 1 2s255ms 2s255ms 02 3 6s323ms 2s107ms 03 5 11s631ms 2s326ms 04 5 10s423ms 2s84ms 05 6 13s179ms 2s196ms 06 10 22s897ms 2s289ms 07 11 27s318ms 2s483ms 08 16 41s223ms 2s576ms 09 9 19s538ms 2s170ms 10 7 14s884ms 2s126ms 11 10 21s533ms 2s153ms 12 4 10s568ms 2s642ms 13 5 11s520ms 2s304ms 14 3 7s170ms 2s390ms 16 1 2s212ms 2s212ms 17 2 5s110ms 2s555ms 19 3 7s456ms 2s485ms 20 1 2s852ms 2s852ms 22 2 4s527ms 2s263ms 23 2 5s657ms 2s828ms Mar 16 00 3 6s833ms 2s277ms 01 5 12s799ms 2s559ms 02 17 40s619ms 2s389ms 03 6 15s269ms 2s544ms 04 8 19s359ms 2s419ms 05 6 12s797ms 2s132ms 06 7 16s704ms 2s386ms 07 2 4s384ms 2s192ms 09 3 6s730ms 2s243ms 10 2 4s256ms 2s128ms 11 2 4s530ms 2s265ms 12 6 14s359ms 2s393ms 13 6 14s75ms 2s345ms 14 6 13s220ms 2s203ms 15 2 5s816ms 2s908ms 16 3 6s835ms 2s278ms 17 6 14s326ms 2s387ms 18 3 7s545ms 2s515ms 19 1 3s324ms 3s324ms 20 1 2s229ms 2s229ms 21 1 2s257ms 2s257ms 22 3 7s292ms 2s430ms [ User: pubeu - Total duration: 4m25s - Times executed: 117 ]
-
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 = '646767' 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 = '646767') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50 OFFSET 50;
Date: 2024-03-14 14:14:43 Duration: 5s232ms 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 = '646442' 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 = '646442') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50 OFFSET 390300;
Date: 2024-03-14 02:13:24 Duration: 4s433ms 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 = '646442' 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 = '646442') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50 OFFSET 390300;
Date: 2024-03-15 07:03:42 Duration: 4s169ms Bind query: yes
7 230 13m18s 1s4ms 12s738ms 3s470ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Mar 10 03 1 1s75ms 1s75ms 04 4 19s774ms 4s943ms 05 2 3s814ms 1s907ms 06 2 5s986ms 2s993ms 07 1 5s731ms 5s731ms 09 1 3s860ms 3s860ms 10 1 1s54ms 1s54ms 12 1 1s136ms 1s136ms 13 3 21s500ms 7s166ms 15 1 2s234ms 2s234ms 16 1 1s241ms 1s241ms 17 1 1s31ms 1s31ms 18 4 31s944ms 7s986ms 19 1 2s266ms 2s266ms 21 2 13s884ms 6s942ms 22 2 10s106ms 5s53ms 23 1 1s118ms 1s118ms Mar 11 00 3 7s120ms 2s373ms 02 1 2s226ms 2s226ms 03 3 5s663ms 1s887ms 05 2 8s896ms 4s448ms 06 1 2s700ms 2s700ms 07 4 11s677ms 2s919ms 09 3 6s334ms 2s111ms 10 1 1s53ms 1s53ms 14 1 5s204ms 5s204ms 15 1 5s578ms 5s578ms 17 1 2s127ms 2s127ms 18 1 1s5ms 1s5ms 20 2 4s971ms 2s485ms 21 1 4s724ms 4s724ms 22 1 1s27ms 1s27ms 23 1 5s187ms 5s187ms Mar 12 01 1 3s134ms 3s134ms 03 1 8s332ms 8s332ms 06 4 10s331ms 2s582ms 07 3 4s653ms 1s551ms 08 1 1s112ms 1s112ms 10 3 8s5ms 2s668ms 11 2 3s445ms 1s722ms 12 1 5s96ms 5s96ms 13 2 6s751ms 3s375ms 14 3 15s37ms 5s12ms 15 1 1s203ms 1s203ms 16 1 11s853ms 11s853ms 17 1 5s498ms 5s498ms 19 1 4s576ms 4s576ms 21 7 25s556ms 3s650ms 22 2 9s66ms 4s533ms 23 3 15s561ms 5s187ms Mar 13 01 3 7s39ms 2s346ms 03 1 1s354ms 1s354ms 04 2 5s435ms 2s717ms 05 2 5s796ms 2s898ms 06 3 14s402ms 4s800ms 07 3 8s88ms 2s696ms 08 4 9s886ms 2s471ms 11 2 4s418ms 2s209ms 12 2 3s258ms 1s629ms 15 2 3s142ms 1s571ms 17 3 7s94ms 2s364ms 18 5 13s641ms 2s728ms 19 3 10s439ms 3s479ms 20 3 16s181ms 5s393ms 21 4 21s505ms 5s376ms 22 2 2s733ms 1s366ms Mar 14 00 3 10s165ms 3s388ms 01 4 13s43ms 3s260ms 02 1 2s205ms 2s205ms 03 3 12s629ms 4s209ms 04 7 46s906ms 6s700ms 05 1 1s165ms 1s165ms 06 2 8s849ms 4s424ms 09 2 3s849ms 1s924ms 10 2 4s327ms 2s163ms 11 1 1s4ms 1s4ms 12 1 5s48ms 5s48ms 14 3 10s976ms 3s658ms 16 1 4s724ms 4s724ms 17 1 1s109ms 1s109ms 19 1 2s482ms 2s482ms 22 2 7s502ms 3s751ms 23 2 13s950ms 6s975ms Mar 15 02 1 5s251ms 5s251ms 03 1 2s37ms 2s37ms 04 1 1s313ms 1s313ms 05 1 1s396ms 1s396ms 06 1 3s275ms 3s275ms 07 1 3s323ms 3s323ms 08 3 10s756ms 3s585ms 10 1 4s765ms 4s765ms 13 2 9s416ms 4s708ms 14 1 2s513ms 2s513ms 15 2 5s908ms 2s954ms 16 2 4s258ms 2s129ms 17 1 1s785ms 1s785ms 18 1 1s602ms 1s602ms 19 1 2s122ms 2s122ms 20 2 9s92ms 4s546ms 22 1 1s7ms 1s7ms 23 2 2s863ms 1s431ms Mar 16 00 2 14s241ms 7s120ms 01 2 7s15ms 3s507ms 02 2 3s793ms 1s896ms 04 3 11s250ms 3s750ms 05 3 3s984ms 1s328ms 07 1 2s103ms 2s103ms 08 3 10s964ms 3s654ms 09 1 6s257ms 6s257ms 12 1 2s64ms 2s64ms 14 2 2s460ms 1s230ms 15 2 4s406ms 2s203ms 16 6 24s222ms 4s37ms 19 2 3s886ms 1s943ms 23 1 2s108ms 2s108ms [ User: pubeu - Total duration: 4m50s - Times executed: 90 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2048764') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-03-14 23:04:04 Duration: 12s738ms 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 = '2048764') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-03-10 21:41:24 Duration: 12s473ms 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 = '2052710') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-03-14 04:04:56 Duration: 12s202ms Database: ctdprd51 User: pubeu Bind query: yes
8 226 15m47s 3s812ms 16s671ms 4s192ms 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 #8
Day Hour Count Duration Avg duration Mar 10 03 1 3s990ms 3s990ms 04 2 7s943ms 3s971ms 05 1 4s169ms 4s169ms 06 2 8s197ms 4s98ms 07 2 8s258ms 4s129ms 08 2 8s99ms 4s49ms 09 2 8s151ms 4s75ms 10 2 8s29ms 4s14ms 11 2 7s945ms 3s972ms 12 1 4s127ms 4s127ms 13 2 8s87ms 4s43ms 15 1 4s68ms 4s68ms 16 2 9s598ms 4s799ms 18 2 8s25ms 4s12ms 21 1 4s118ms 4s118ms 22 2 8s55ms 4s27ms 23 2 8s236ms 4s118ms Mar 11 00 10 40s913ms 4s91ms 01 5 20s776ms 4s155ms 04 1 3s978ms 3s978ms 05 2 8s112ms 4s56ms 07 2 8s68ms 4s34ms 08 1 4s104ms 4s104ms 09 2 7s957ms 3s978ms 10 3 12s221ms 4s73ms 12 2 7s972ms 3s986ms 13 4 16s164ms 4s41ms 14 6 24s68ms 4s11ms 15 3 12s221ms 4s73ms 16 5 20s311ms 4s62ms 17 1 4s73ms 4s73ms 18 1 3s977ms 3s977ms 22 2 7s883ms 3s941ms Mar 12 00 2 8s69ms 4s34ms 01 4 16s149ms 4s37ms 02 2 7s972ms 3s986ms 03 5 20s9ms 4s1ms 04 2 8s125ms 4s62ms 05 1 3s994ms 3s994ms 06 2 8s250ms 4s125ms 07 2 8s79ms 4s39ms 08 3 11s979ms 3s993ms 09 1 4s179ms 4s179ms 10 1 3s844ms 3s844ms 11 1 3s952ms 3s952ms 13 2 8s87ms 4s43ms 14 3 11s994ms 3s998ms 15 3 12s36ms 4s12ms 16 3 12s642ms 4s214ms 20 1 3s916ms 3s916ms 22 2 7s962ms 3s981ms 23 1 3s984ms 3s984ms Mar 13 01 3 11s895ms 3s965ms 02 1 4s138ms 4s138ms 03 2 7s968ms 3s984ms 04 4 16s342ms 4s85ms 05 3 15s190ms 5s63ms 06 1 4s84ms 4s84ms 07 3 12s412ms 4s137ms 08 2 8s32ms 4s16ms 09 2 7s917ms 3s958ms 10 3 12s110ms 4s36ms 11 1 3s961ms 3s961ms 12 1 4s331ms 4s331ms 15 1 3s962ms 3s962ms 16 1 3s947ms 3s947ms 21 3 12s295ms 4s98ms 22 1 4s465ms 4s465ms 23 1 3s982ms 3s982ms Mar 14 00 1 16s671ms 16s671ms 02 1 3s986ms 3s986ms 05 1 3s991ms 3s991ms 06 2 8s9ms 4s4ms 08 1 3s934ms 3s934ms 09 3 12s283ms 4s94ms 10 2 8s49ms 4s24ms 11 1 4s132ms 4s132ms 12 1 4s643ms 4s643ms 13 2 20s729ms 10s364ms 14 1 3s956ms 3s956ms 15 1 5s574ms 5s574ms 16 1 3s949ms 3s949ms 17 2 8s38ms 4s19ms 19 1 4s7ms 4s7ms 23 2 8s98ms 4s49ms Mar 15 00 3 12s54ms 4s18ms 03 3 12s807ms 4s269ms 04 1 4s45ms 4s45ms 05 2 8s27ms 4s13ms 06 2 7s921ms 3s960ms 07 7 27s859ms 3s979ms 09 4 16s98ms 4s24ms 10 1 3s981ms 3s981ms 11 1 3s975ms 3s975ms 12 1 4s37ms 4s37ms 15 1 3s997ms 3s997ms 16 2 8s316ms 4s158ms 18 2 8s29ms 4s14ms 20 1 4s25ms 4s25ms 21 1 3s975ms 3s975ms 22 1 4s10ms 4s10ms Mar 16 03 1 3s933ms 3s933ms 08 2 8s179ms 4s89ms 09 4 17s881ms 4s470ms 10 2 7s937ms 3s968ms 12 1 4s29ms 4s29ms 13 3 12s33ms 4s11ms 14 1 4s41ms 4s41ms 15 1 4s125ms 4s125ms 18 1 3s986ms 3s986ms 23 1 4s9ms 4s9ms [ User: pubeu - Total duration: 6m50s - Times executed: 101 ]
-
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 = '1379157') 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 = '1379157') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-03-14 00:05:41 Duration: 16s671ms 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 = '1379157') 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 = '1379157') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-03-14 13:04:48 Duration: 16s539ms 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 = '1310295') 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 = '1310295') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-03-13 05:37:59 Duration: 7s170ms Bind query: yes
9 201 8m59s 1s1ms 4s991ms 2s686ms select e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, ( select string_agg(distinct stressorterm.nm || ? || ( select cd from object_type where id = stressorterm.object_type_id) || ? || stressorterm.nm_html || ? || stressorterm.acc_txt || ? || stressorterm.acc_db_cd, ?)) as stressoragents, ( select string_agg(distinct coalesce(receptorterm.nm, ?) || ? || coalesce(( select cd from object_type where id = receptorterm.object_type_id), ?) || ? || coalesce(receptorterm.nm_html, ?) || ? || coalesce(receptorterm.acc_txt, ?) || ? || coalesce(receptorterm.acc_db_cd, ?) || ? || receptor.description, ?)) as receptors, ( select string_agg(distinct country.nm, ?)) as studycountries, ( select string_agg(distinct location.locality_txt, ?)) as localities, ( select string_agg(distinct event.medium_nm || ? || coalesce(event.medium_term_acc_txt, ?), ?)) as assaymediums, ( select string_agg(distinct exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd, ?)) as assayedmarkers, ( select string_agg(distinct diseaseterm.nm || ? || ( select cd from object_type where id = diseaseterm.object_type_id) || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd, ?)) as diseases, ( select string_agg(distinct phenotypeterm.nm || ? || ( select cd from object_type where id = phenotypeterm.object_type_id) || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd, ?)) as phenotypes, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, re.author_summary summary, count(*) over () fullrowcount from exposure e inner join reference r on e.reference_id = r.id inner join exp_stressor stressor on e.exp_stressor_id = stressor.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join term receptorterm on receptor.term_id = receptorterm.id left outer join exp_event event on e.exp_event_id = event.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join exp_event_location location on e.exp_event_id = location.exp_event_id left outer join country on location.country_id = country.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id inner join reference_exp re on e.reference_id = re.reference_id left outer join exp_study_factor expstudyfactor on re.id = expstudyfactor.reference_exp_id where e.reference_id = any (array ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like ?) and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressoragents limit ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Mar 10 04 2 2s224ms 1s112ms 06 1 1s785ms 1s785ms 11 2 4s888ms 2s444ms 12 1 4s768ms 4s768ms 14 4 15s73ms 3s768ms 15 1 2s710ms 2s710ms 16 2 2s331ms 1s165ms 17 4 12s255ms 3s63ms 19 3 6s598ms 2s199ms 20 5 12s17ms 2s403ms 21 1 3s657ms 3s657ms 23 1 2s95ms 2s95ms Mar 11 00 2 8s355ms 4s177ms 01 3 5s111ms 1s703ms 02 6 14s169ms 2s361ms 03 1 1s593ms 1s593ms 05 1 1s366ms 1s366ms 08 2 8s282ms 4s141ms 13 3 6s912ms 2s304ms 14 1 1s350ms 1s350ms 15 2 6s146ms 3s73ms 16 1 1s76ms 1s76ms 17 1 2s238ms 2s238ms 18 1 2s386ms 2s386ms 19 2 3s387ms 1s693ms 21 1 2s266ms 2s266ms 23 3 10s6ms 3s335ms Mar 12 00 1 3s566ms 3s566ms 01 2 6s95ms 3s47ms 03 3 7s297ms 2s432ms 04 1 1s6ms 1s6ms 05 3 9s943ms 3s314ms 06 3 8s171ms 2s723ms 07 4 15s732ms 3s933ms 09 2 6s365ms 3s182ms 11 1 2s793ms 2s793ms 14 2 7s41ms 3s520ms 15 1 1s279ms 1s279ms 16 1 1s247ms 1s247ms 17 1 4s762ms 4s762ms 18 2 2s592ms 1s296ms 23 1 1s420ms 1s420ms Mar 13 02 1 3s500ms 3s500ms 03 1 1s723ms 1s723ms 06 2 3s423ms 1s711ms 08 1 3s529ms 3s529ms 09 1 4s882ms 4s882ms 10 1 3s509ms 3s509ms 11 2 4s825ms 2s412ms 12 3 11s37ms 3s679ms 13 3 4s985ms 1s661ms 14 3 7s14ms 2s338ms 17 2 7s338ms 3s669ms 18 2 5s705ms 2s852ms 19 3 5s37ms 1s679ms 20 1 1s159ms 1s159ms 21 1 3s529ms 3s529ms 22 1 1s358ms 1s358ms Mar 14 00 1 4s737ms 4s737ms 01 2 2s103ms 1s51ms 03 3 7s535ms 2s511ms 07 4 4s893ms 1s223ms 08 1 2s743ms 2s743ms 10 2 6s208ms 3s104ms 11 3 3s440ms 1s146ms 13 1 1s405ms 1s405ms 16 2 5s994ms 2s997ms 17 1 3s522ms 3s522ms 18 2 6s105ms 3s52ms 20 1 1s201ms 1s201ms 21 1 1s234ms 1s234ms 22 1 1s112ms 1s112ms 23 2 3s889ms 1s944ms Mar 15 02 2 3s993ms 1s996ms 03 1 2s437ms 2s437ms 04 2 8s288ms 4s144ms 07 1 1s541ms 1s541ms 08 1 2s731ms 2s731ms 09 2 5s835ms 2s917ms 10 2 8s377ms 4s188ms 13 1 2s230ms 2s230ms 14 3 11s75ms 3s691ms 16 3 9s457ms 3s152ms 17 1 4s906ms 4s906ms 19 2 3s892ms 1s946ms 21 2 5s271ms 2s635ms Mar 16 00 1 1s204ms 1s204ms 01 1 1s204ms 1s204ms 04 1 1s638ms 1s638ms 05 3 9s987ms 3s329ms 06 3 13s173ms 4s391ms 07 1 1s217ms 1s217ms 08 2 4s852ms 2s426ms 09 2 6s562ms 3s281ms 10 1 4s888ms 4s888ms 11 4 13s573ms 3s393ms 12 2 4s848ms 2s424ms 13 2 4s825ms 2s412ms 14 1 2s93ms 2s93ms 15 2 8s566ms 4s283ms 16 7 25s644ms 3s663ms 17 1 1s501ms 1s501ms 18 2 2s463ms 1s231ms 20 1 3s563ms 3s563ms 21 1 4s991ms 4s991ms [ User: pubeu - Total duration: 3m32s - Times executed: 79 ]
-
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 = '1379157') 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 = '1379157') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-03-16 21:02:54 Duration: 4s991ms 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 = '1379157') 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 = '1379157') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-03-14 03:48:12 Duration: 4s943ms 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 = '1379157') 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 = '1379157') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-03-13 17:57:05 Duration: 4s936ms Bind query: yes
10 174 3m35s 1s124ms 1s874ms 1s240ms 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 #10
Day Hour Count Duration Avg duration Mar 10 05 3 3s917ms 1s305ms 06 1 1s182ms 1s182ms 07 2 2s472ms 1s236ms 08 1 1s181ms 1s181ms 09 1 1s326ms 1s326ms 11 2 2s479ms 1s239ms 13 2 2s425ms 1s212ms 15 1 1s220ms 1s220ms 16 1 1s215ms 1s215ms 18 3 3s559ms 1s186ms 20 2 2s560ms 1s280ms 21 3 3s741ms 1s247ms Mar 11 00 1 1s193ms 1s193ms 01 1 1s208ms 1s208ms 03 2 2s428ms 1s214ms 04 3 3s735ms 1s245ms 05 2 2s670ms 1s335ms 07 2 2s482ms 1s241ms 08 2 2s471ms 1s235ms 10 3 3s728ms 1s242ms 11 1 1s198ms 1s198ms 15 2 2s553ms 1s276ms 16 1 1s212ms 1s212ms 19 2 2s463ms 1s231ms 20 1 1s186ms 1s186ms 21 1 1s229ms 1s229ms 22 2 2s535ms 1s267ms Mar 12 00 1 1s355ms 1s355ms 01 1 1s195ms 1s195ms 04 2 2s456ms 1s228ms 05 3 3s962ms 1s320ms 06 2 2s487ms 1s243ms 08 1 1s259ms 1s259ms 10 1 1s258ms 1s258ms 11 4 4s959ms 1s239ms 12 1 1s226ms 1s226ms 13 1 1s271ms 1s271ms 14 5 6s112ms 1s222ms 15 1 1s170ms 1s170ms 16 1 1s215ms 1s215ms 17 1 1s244ms 1s244ms 18 2 2s325ms 1s162ms 19 2 2s361ms 1s180ms 20 1 1s165ms 1s165ms 21 4 4s943ms 1s235ms 22 2 2s410ms 1s205ms Mar 13 01 5 6s43ms 1s208ms 02 2 2s416ms 1s208ms 03 1 1s246ms 1s246ms 04 2 2s442ms 1s221ms 05 8 10s45ms 1s255ms 08 1 1s219ms 1s219ms 10 1 1s267ms 1s267ms 12 2 2s324ms 1s162ms 16 1 1s150ms 1s150ms 17 2 2s333ms 1s166ms 21 1 1s168ms 1s168ms 22 2 2s593ms 1s296ms 23 4 4s964ms 1s241ms Mar 14 01 4 4s907ms 1s226ms 02 2 3s21ms 1s510ms 05 3 3s930ms 1s310ms 11 1 1s224ms 1s224ms 17 2 2s384ms 1s192ms 18 1 1s154ms 1s154ms 20 1 1s177ms 1s177ms 21 1 1s874ms 1s874ms 22 1 1s302ms 1s302ms 23 2 2s479ms 1s239ms Mar 15 01 1 1s289ms 1s289ms 02 1 1s290ms 1s290ms 03 2 2s355ms 1s177ms 05 2 2s635ms 1s317ms 06 5 6s295ms 1s259ms 07 2 2s366ms 1s183ms 09 1 1s224ms 1s224ms 10 2 2s538ms 1s269ms 11 1 1s233ms 1s233ms 13 1 1s315ms 1s315ms 14 1 1s226ms 1s226ms 18 1 1s205ms 1s205ms 20 1 1s173ms 1s173ms 22 1 1s203ms 1s203ms Mar 16 02 1 1s208ms 1s208ms 05 2 2s645ms 1s322ms 06 2 2s280ms 1s140ms 08 2 2s430ms 1s215ms 11 1 1s182ms 1s182ms 13 1 1s262ms 1s262ms 15 1 1s199ms 1s199ms 16 3 3s610ms 1s203ms 17 1 1s201ms 1s201ms 18 1 1s185ms 1s185ms 21 2 2s398ms 1s199ms 23 1 1s184ms 1s184ms [ User: pubeu - Total duration: 1m14s - Times executed: 61 ]
-
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 = '2050715') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2050715') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-03-14 21:25:11 Duration: 1s874ms 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 = '2054163') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2054163') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-03-14 02:14:58 Duration: 1s826ms 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 = '2049098') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2049098') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-03-14 05:38:35 Duration: 1s394ms Bind query: yes
11 128 8m29s 1s4ms 5s985ms 3s981ms select d.abbr dagabbr, d.nm dagnm, gt.level_min_no daglevelmin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pvalcorrected, te.raw_p_val pvalraw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, count(*) over () fullrowcount from term_enrichment te inner join dag_node gt on te.enriched_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, d.abbr, gt.nm_sort limit ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Mar 10 03 1 1s57ms 1s57ms 05 1 5s334ms 5s334ms 07 2 10s159ms 5s79ms 11 1 1s39ms 1s39ms 13 1 5s43ms 5s43ms 14 1 5s320ms 5s320ms 16 1 5s789ms 5s789ms 17 1 5s500ms 5s500ms 18 1 1s21ms 1s21ms 19 1 5s573ms 5s573ms 22 3 15s375ms 5s125ms Mar 11 00 4 21s125ms 5s281ms 05 2 6s274ms 3s137ms 09 1 1s13ms 1s13ms 10 3 15s534ms 5s178ms 13 1 5s295ms 5s295ms 15 1 5s144ms 5s144ms 16 3 11s236ms 3s745ms 22 2 6s243ms 3s121ms Mar 12 01 2 10s303ms 5s151ms 02 1 1s17ms 1s17ms 03 2 10s564ms 5s282ms 04 1 1s26ms 1s26ms 05 2 10s17ms 5s8ms 09 1 1s82ms 1s82ms 10 2 2s34ms 1s17ms 11 1 1s25ms 1s25ms 13 1 5s159ms 5s159ms 14 4 12s929ms 3s232ms 19 1 1s14ms 1s14ms 20 1 4s924ms 4s924ms 21 1 5s463ms 5s463ms 22 1 1s13ms 1s13ms 23 6 30s972ms 5s162ms Mar 13 00 3 15s552ms 5s184ms 01 1 4s962ms 4s962ms 02 1 5s361ms 5s361ms 03 1 1s7ms 1s7ms 05 4 16s215ms 4s53ms 07 1 5s251ms 5s251ms 11 2 7s8ms 3s504ms 13 2 6s39ms 3s19ms 14 2 10s89ms 5s44ms 15 1 5s178ms 5s178ms 16 1 1s16ms 1s16ms 19 1 5s177ms 5s177ms 21 1 5s1ms 5s1ms 22 2 6s595ms 3s297ms 23 1 4s998ms 4s998ms Mar 14 01 2 6s336ms 3s168ms 02 1 5s469ms 5s469ms 05 1 5s170ms 5s170ms 06 5 13s123ms 2s624ms 07 1 1s38ms 1s38ms 10 1 1s5ms 1s5ms 11 3 15s391ms 5s130ms 12 3 11s236ms 3s745ms 17 1 1s17ms 1s17ms 18 1 5s80ms 5s80ms 19 1 1s40ms 1s40ms 21 2 10s436ms 5s218ms 22 1 5s46ms 5s46ms Mar 15 00 1 5s23ms 5s23ms 03 7 32s273ms 4s610ms 05 1 5s224ms 5s224ms 08 1 1s17ms 1s17ms 09 1 5s98ms 5s98ms 13 3 7s84ms 2s361ms 14 1 4s937ms 4s937ms 16 1 1s10ms 1s10ms 18 1 4s989ms 4s989ms Mar 16 03 1 4s969ms 4s969ms 06 3 15s163ms 5s54ms 11 1 5s203ms 5s203ms 22 1 5s165ms 5s165ms [ User: pubeu - Total duration: 3m10s - Times executed: 50 ]
-
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 = '1384571' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-03-13 11:47:43 Duration: 5s985ms 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 = '1326662' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-03-10 16:43:25 Duration: 5s789ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1379157' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-03-12 14:00:14 Duration: 5s774ms Database: ctdprd51 User: pubeu Bind query: yes
12 87 2m1s 1s342ms 1s491ms 1s397ms 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 #12
Day Hour Count Duration Avg duration Mar 10 05 2 2s897ms 1s448ms 06 1 1s379ms 1s379ms 08 1 1s376ms 1s376ms 09 1 1s383ms 1s383ms 22 1 1s387ms 1s387ms Mar 11 01 1 1s348ms 1s348ms 03 1 1s373ms 1s373ms 04 1 1s388ms 1s388ms 05 2 2s756ms 1s378ms 06 2 2s777ms 1s388ms 16 1 1s462ms 1s462ms 22 1 1s395ms 1s395ms Mar 12 03 1 1s416ms 1s416ms 05 3 4s213ms 1s404ms 06 1 1s358ms 1s358ms 08 2 2s790ms 1s395ms 14 1 1s361ms 1s361ms 18 1 1s406ms 1s406ms 23 1 1s415ms 1s415ms Mar 13 00 4 5s613ms 1s403ms 03 3 4s212ms 1s404ms 05 3 4s120ms 1s373ms 08 2 2s779ms 1s389ms 09 1 1s363ms 1s363ms 10 1 1s364ms 1s364ms 12 2 2s811ms 1s405ms 14 2 2s783ms 1s391ms 16 2 2s792ms 1s396ms 19 1 1s398ms 1s398ms 21 1 1s417ms 1s417ms 22 1 1s414ms 1s414ms 23 2 2s790ms 1s395ms Mar 14 00 1 1s398ms 1s398ms 05 2 2s806ms 1s403ms 10 2 2s763ms 1s381ms 11 1 1s399ms 1s399ms 15 1 1s387ms 1s387ms 17 1 1s412ms 1s412ms 20 1 1s409ms 1s409ms 21 2 2s804ms 1s402ms 22 1 1s380ms 1s380ms Mar 15 00 1 1s384ms 1s384ms 01 4 5s586ms 1s396ms 04 1 1s371ms 1s371ms 05 3 4s250ms 1s416ms 09 1 1s406ms 1s406ms Mar 16 01 3 4s63ms 1s354ms 05 2 2s852ms 1s426ms 07 2 2s822ms 1s411ms 08 1 1s377ms 1s377ms 11 1 1s440ms 1s440ms 12 1 1s418ms 1s418ms 14 1 1s363ms 1s363ms 16 1 1s407ms 1s407ms 17 1 1s400ms 1s400ms 18 1 1s455ms 1s455ms 19 1 1s459ms 1s459ms [ User: pubeu - Total duration: 44s783ms - Times executed: 32 ]
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2024-03-10 05:42:09 Duration: 1s491ms Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2024-03-15 05:13:15 Duration: 1s464ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2024-03-11 16:10:20 Duration: 1s462ms Bind query: yes
13 78 3m58s 1s177ms 6s235ms 3s51ms 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 #13
Day Hour Count Duration Avg duration Mar 10 08 1 5s919ms 5s919ms 14 1 2s111ms 2s111ms 18 1 2s759ms 2s759ms 19 1 2s751ms 2s751ms Mar 11 01 2 7s724ms 3s862ms 04 2 7s892ms 3s946ms 07 2 5s584ms 2s792ms 08 1 6s20ms 6s20ms 16 1 2s809ms 2s809ms 17 1 1s639ms 1s639ms 20 1 1s954ms 1s954ms 21 2 7s662ms 3s831ms Mar 12 04 2 7s183ms 3s591ms 05 1 1s316ms 1s316ms 10 1 5s889ms 5s889ms 12 1 2s114ms 2s114ms 15 1 1s843ms 1s843ms 20 1 1s825ms 1s825ms Mar 13 04 1 1s797ms 1s797ms 09 1 1s327ms 1s327ms 11 1 1s198ms 1s198ms 12 2 11s780ms 5s890ms 13 1 1s178ms 1s178ms 14 1 5s846ms 5s846ms 15 1 5s852ms 5s852ms 16 1 1s177ms 1s177ms 17 3 13s708ms 4s569ms 19 1 5s891ms 5s891ms 20 2 4s952ms 2s476ms 22 1 3s252ms 3s252ms Mar 14 00 2 8s674ms 4s337ms 02 5 10s76ms 2s15ms 05 2 7s311ms 3s655ms 06 1 1s809ms 1s809ms 07 1 5s907ms 5s907ms 14 1 1s950ms 1s950ms 15 1 5s882ms 5s882ms 16 1 1s310ms 1s310ms 18 1 1s596ms 1s596ms 19 1 3s304ms 3s304ms 20 1 1s348ms 1s348ms Mar 15 05 1 5s939ms 5s939ms 06 1 1s751ms 1s751ms 07 1 2s754ms 2s754ms 08 1 1s764ms 1s764ms 16 1 3s209ms 3s209ms 19 1 6s101ms 6s101ms Mar 16 03 1 1s211ms 1s211ms 11 1 1s710ms 1s710ms 13 1 2s108ms 2s108ms 14 1 1s322ms 1s322ms 16 7 13s656ms 1s950ms 18 1 1s824ms 1s824ms 19 1 3s254ms 3s254ms 21 1 6s235ms 6s235ms 23 2 3s65ms 1s532ms [ User: pubeu - Total duration: 1m25s - Times executed: 28 ]
-
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 = '1379157'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-03-16 21:40:08 Duration: 6s235ms 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 = '1379157'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-03-15 19:18:34 Duration: 6s101ms 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 = '1379157'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-03-13 17:39:27 Duration: 6s55ms Bind query: yes
14 78 2m4s 1s225ms 1s873ms 1s596ms 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 #14
Day Hour Count Duration Avg duration Mar 10 05 1 1s796ms 1s796ms 09 2 3s594ms 1s797ms 12 1 1s226ms 1s226ms 15 1 1s800ms 1s800ms 17 1 1s234ms 1s234ms 18 4 6s80ms 1s520ms 19 2 3s609ms 1s804ms 21 1 1s776ms 1s776ms 22 1 1s258ms 1s258ms 23 1 1s233ms 1s233ms Mar 11 01 1 1s818ms 1s818ms 07 2 3s570ms 1s785ms 08 1 1s797ms 1s797ms 15 1 1s231ms 1s231ms 16 2 3s612ms 1s806ms 17 1 1s773ms 1s773ms 19 1 1s245ms 1s245ms 20 2 3s47ms 1s523ms 21 1 1s257ms 1s257ms 22 1 1s225ms 1s225ms Mar 12 01 1 1s873ms 1s873ms 02 2 3s31ms 1s515ms 05 1 1s240ms 1s240ms 06 1 1s776ms 1s776ms 07 1 1s781ms 1s781ms 09 1 1s252ms 1s252ms 13 1 1s796ms 1s796ms 16 1 1s301ms 1s301ms Mar 13 05 1 1s809ms 1s809ms 10 1 1s822ms 1s822ms 11 1 1s810ms 1s810ms 18 1 1s268ms 1s268ms 20 1 1s776ms 1s776ms 22 2 3s625ms 1s812ms Mar 14 00 6 10s815ms 1s802ms 06 1 1s226ms 1s226ms 09 1 1s225ms 1s225ms 11 1 1s262ms 1s262ms 13 1 1s809ms 1s809ms 23 1 1s248ms 1s248ms Mar 15 01 1 1s241ms 1s241ms 02 1 1s806ms 1s806ms 04 1 1s791ms 1s791ms 10 1 1s257ms 1s257ms 14 1 1s808ms 1s808ms 21 2 3s618ms 1s809ms 23 1 1s234ms 1s234ms Mar 16 01 1 1s261ms 1s261ms 04 2 2s531ms 1s265ms 09 2 3s593ms 1s796ms 10 3 5s428ms 1s809ms 14 2 3s611ms 1s805ms 18 1 1s248ms 1s248ms 19 1 1s805ms 1s805ms 21 2 3s38ms 1s519ms 23 1 1s268ms 1s268ms [ User: pubeu - Total duration: 50s684ms - Times executed: 32 ]
-
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 = '1379157') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2024-03-12 01:18:22 Duration: 1s873ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1379157') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2024-03-14 00:05:20 Duration: 1s832ms 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 = '1379157') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2024-03-10 19:53:43 Duration: 1s827ms Database: ctdprd51 User: pubeu Bind query: yes
15 78 1m37s 1s234ms 1s296ms 1s249ms 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 Mar 10 04 1 1s246ms 1s246ms 05 3 3s770ms 1s256ms 16 1 1s249ms 1s249ms 17 1 1s245ms 1s245ms 21 1 1s246ms 1s246ms 22 1 1s243ms 1s243ms Mar 11 03 1 1s245ms 1s245ms 05 2 2s490ms 1s245ms 06 1 1s261ms 1s261ms 07 2 2s496ms 1s248ms 09 1 1s240ms 1s240ms 15 1 1s245ms 1s245ms 16 1 1s245ms 1s245ms 18 1 1s249ms 1s249ms 19 1 1s234ms 1s234ms 21 1 1s249ms 1s249ms 23 1 1s260ms 1s260ms Mar 12 00 1 1s245ms 1s245ms 03 1 1s241ms 1s241ms 05 2 2s495ms 1s247ms 07 1 1s264ms 1s264ms 08 3 3s739ms 1s246ms 10 1 1s255ms 1s255ms 11 1 1s246ms 1s246ms Mar 13 05 3 3s753ms 1s251ms 17 3 3s752ms 1s250ms 20 1 1s241ms 1s241ms 21 1 1s242ms 1s242ms 23 2 2s501ms 1s250ms Mar 14 01 1 1s251ms 1s251ms 04 2 2s491ms 1s245ms 05 4 5s36ms 1s259ms 06 2 2s498ms 1s249ms 10 1 1s241ms 1s241ms 13 1 1s281ms 1s281ms 14 2 2s488ms 1s244ms 15 1 1s238ms 1s238ms 17 1 1s254ms 1s254ms Mar 15 00 1 1s254ms 1s254ms 02 1 1s243ms 1s243ms 05 3 3s746ms 1s248ms 06 1 1s296ms 1s296ms 09 1 1s234ms 1s234ms 12 1 1s239ms 1s239ms 13 1 1s258ms 1s258ms 16 1 1s235ms 1s235ms 19 1 1s249ms 1s249ms 22 1 1s245ms 1s245ms Mar 16 01 1 1s246ms 1s246ms 05 3 3s730ms 1s243ms 09 1 1s262ms 1s262ms 11 1 1s240ms 1s240ms 12 1 1s256ms 1s256ms 17 1 1s248ms 1s248ms 18 1 1s253ms 1s253ms 19 1 1s260ms 1s260ms [ User: pubeu - Total duration: 37s463ms - Times executed: 30 ]
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2024-03-15 06:04:22 Duration: 1s296ms Bind query: yes
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2024-03-14 05:51:10 Duration: 1s283ms Bind query: yes
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2024-03-14 13:30:08 Duration: 1s281ms Bind query: yes
16 71 4m5s 1s19ms 38s931ms 3s461ms 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 #16
Day Hour Count Duration Avg duration Mar 10 04 1 4s689ms 4s689ms 18 1 1s356ms 1s356ms Mar 11 02 1 1s314ms 1s314ms 12 1 1s366ms 1s366ms 13 1 4s688ms 4s688ms 17 1 1s351ms 1s351ms Mar 12 07 3 5s162ms 1s720ms 13 13 14s672ms 1s128ms 14 13 1m27s 6s740ms 18 1 11s823ms 11s823ms 19 1 1s225ms 1s225ms 20 1 4s679ms 4s679ms Mar 13 08 1 2s397ms 2s397ms 11 1 1s643ms 1s643ms 12 1 1s385ms 1s385ms 17 1 11s214ms 11s214ms 19 1 2s297ms 2s297ms 21 2 2s498ms 1s249ms 22 6 8s462ms 1s410ms 23 1 11s289ms 11s289ms Mar 14 00 1 1s290ms 1s290ms 01 2 41s56ms 20s528ms 03 2 2s48ms 1s24ms 05 5 6s315ms 1s263ms 06 1 1s192ms 1s192ms 09 1 2s393ms 2s393ms 11 1 1s35ms 1s35ms 22 2 2s193ms 1s96ms Mar 15 08 1 1s201ms 1s201ms 12 1 1s509ms 1s509ms Mar 16 05 1 1s196ms 1s196ms 07 1 3s177ms 3s177ms [ User: pubeu - Total duration: 1m14s - Times executed: 15 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2052235') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 6204000;
Date: 2024-03-14 01:04:35 Duration: 38s931ms 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 = '2052710') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 50;
Date: 2024-03-12 18:06:49 Duration: 11s823ms 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 = '2050202') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 1912350;
Date: 2024-03-13 23:13:21 Duration: 11s289ms Bind query: yes
17 45 1h56m15s 1s260ms 18m15s 2m35s 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 #17
Day Hour Count Duration Avg duration Mar 10 05 1 1s490ms 1s490ms 15 1 1s500ms 1s500ms 19 1 3s62ms 3s62ms 20 1 1s616ms 1s616ms 22 1 1m17s 1m17s Mar 11 03 1 1s480ms 1s480ms 07 1 3m4s 3m4s 08 1 3s257ms 3s257ms 12 1 1s659ms 1s659ms 21 1 1s893ms 1s893ms 22 1 1s973ms 1s973ms Mar 12 01 1 1m36s 1m36s 03 1 8m49s 8m49s 04 1 1s465ms 1s465ms 07 1 1s318ms 1s318ms 12 1 3s33ms 3s33ms 13 1 11m 11m 18 1 1s648ms 1s648ms 22 1 1m18s 1m18s 23 1 2s864ms 2s864ms Mar 13 03 1 1s461ms 1s461ms 04 1 2s813ms 2s813ms 11 1 2s270ms 2s270ms 13 1 17m39s 17m39s 21 1 1s541ms 1s541ms Mar 14 01 1 18m15s 18m15s 03 1 1s429ms 1s429ms 09 1 1m17s 1m17s 13 1 1s423ms 1s423ms 14 2 4s318ms 2s159ms 19 2 8m23s 4m11s Mar 15 03 1 8m23s 8m23s 13 2 4s483ms 2s241ms 17 1 17m11s 17m11s Mar 16 05 1 5m16s 5m16s 10 2 3m23s 1m41s 11 1 1s485ms 1s485ms 14 1 1s875ms 1s875ms 15 1 3s96ms 3s96ms 16 1 8m21s 8m21s 22 1 1s290ms 1s290ms [ User: pubeu - Total duration: 39m22s - Times executed: 19 ]
-
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 = '1227971') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-03-14 01:05:15 Duration: 18m15s 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 = '1227971') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-03-13 13:25:05 Duration: 17m39s 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 = '1227971') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-03-15 17:46:44 Duration: 17m11s Bind query: yes
18 38 45s154ms 1s11ms 1s465ms 1s188ms select fg.nm fromgenesymbol, fg.acc_txt fromgeneacc, tg.nm togenesymbol, tg.acc_txt togeneacc, ft.nm fromtaxonnm, ft.secondary_nm fromtaxoncommonnm, ft.acc_txt fromtaxonacc, tt.nm totaxonnm, tt.secondary_nm totaxoncommonnm, tt.acc_txt totaxonacc, ggr.experimental_sys_nm, ggr.experimental_sys_type, ( select string_agg(ggt.throughput_txt, ? order by ggt.throughput_txt) from gene_gene_ref_throughput ggt where ggt.gene_gene_reference_id = ggr.id) throughput, count(*) over () fullrowcount from gene_gene_reference ggr inner join term fg on ggr.from_gene_id = fg.id inner join term tg on ggr.to_gene_id = tg.id inner join term ft on ggr.from_taxon_id = ft.id inner join term tt on ggr.to_taxon_id = tt.id where ggr.reference_id = ? order by fg.nm_sort, tg.nm_sort limit ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Mar 10 05 4 4s928ms 1s232ms 17 1 1s56ms 1s56ms Mar 11 03 1 1s29ms 1s29ms 05 4 5s176ms 1s294ms 16 1 1s58ms 1s58ms Mar 12 05 4 4s945ms 1s236ms 15 1 1s61ms 1s61ms 17 1 1s67ms 1s67ms 22 1 1s11ms 1s11ms Mar 13 00 1 1s74ms 1s74ms 05 5 6s192ms 1s238ms 14 1 1s42ms 1s42ms Mar 14 00 1 1s20ms 1s20ms 05 4 4s956ms 1s239ms Mar 15 05 4 4s670ms 1s167ms Mar 16 05 4 4s859ms 1s214ms [ User: pubeu - Total duration: 9s809ms - Times executed: 9 ]
[ User: qaeu - Total duration: 3s602ms - Times executed: 3 ]
-
SELECT /* ReferenceGeneGeneIxnsDAO */ fg.nm fromGeneSymbol, fg.acc_txt fromGeneAcc, tg.nm toGeneSymbol, tg.acc_txt toGeneAcc, ft.nm fromTaxonNm, ft.secondary_nm fromTaxonCommonNm, ft.acc_txt fromTaxonAcc, tt.nm toTaxonNm, tt.secondary_nm toTaxonCommonNm, tt.acc_txt toTaxonAcc, ggr.experimental_sys_nm, ggr.experimental_sys_type, ( SELECT STRING_AGG(ggt.throughput_txt, ', ' ORDER BY ggt.throughput_txt) FROM gene_gene_ref_throughput ggt WHERE ggt.gene_gene_reference_id = ggr.id) throughput, COUNT(*) OVER () fullRowCount FROM gene_gene_reference ggr INNER JOIN term fg ON ggr.from_gene_id = fg.id INNER JOIN term tg ON ggr.to_gene_id = tg.id INNER JOIN term ft ON ggr.from_taxon_id = ft.id INNER JOIN term tt ON ggr.to_taxon_id = tt.id WHERE ggr.reference_id = '111363' ORDER BY fg.nm_sort, tg.nm_sort LIMIT 50;
Date: 2024-03-11 05:38:02 Duration: 1s465ms Bind query: yes
-
SELECT /* ReferenceGeneGeneIxnsDAO */ fg.nm fromGeneSymbol, fg.acc_txt fromGeneAcc, tg.nm toGeneSymbol, tg.acc_txt toGeneAcc, ft.nm fromTaxonNm, ft.secondary_nm fromTaxonCommonNm, ft.acc_txt fromTaxonAcc, tt.nm toTaxonNm, tt.secondary_nm toTaxonCommonNm, tt.acc_txt toTaxonAcc, ggr.experimental_sys_nm, ggr.experimental_sys_type, ( SELECT STRING_AGG(ggt.throughput_txt, ', ' ORDER BY ggt.throughput_txt) FROM gene_gene_ref_throughput ggt WHERE ggt.gene_gene_reference_id = ggr.id) throughput, COUNT(*) OVER () fullRowCount FROM gene_gene_reference ggr INNER JOIN term fg ON ggr.from_gene_id = fg.id INNER JOIN term tg ON ggr.to_gene_id = tg.id INNER JOIN term ft ON ggr.from_taxon_id = ft.id INNER JOIN term tt ON ggr.to_taxon_id = tt.id WHERE ggr.reference_id = '111363' ORDER BY fg.nm_sort, tg.nm_sort LIMIT 50;
Date: 2024-03-16 05:38:09 Duration: 1s405ms Bind query: yes
-
SELECT /* ReferenceGeneGeneIxnsDAO */ fg.nm fromGeneSymbol, fg.acc_txt fromGeneAcc, tg.nm toGeneSymbol, tg.acc_txt toGeneAcc, ft.nm fromTaxonNm, ft.secondary_nm fromTaxonCommonNm, ft.acc_txt fromTaxonAcc, tt.nm toTaxonNm, tt.secondary_nm toTaxonCommonNm, tt.acc_txt toTaxonAcc, ggr.experimental_sys_nm, ggr.experimental_sys_type, ( SELECT STRING_AGG(ggt.throughput_txt, ', ' ORDER BY ggt.throughput_txt) FROM gene_gene_ref_throughput ggt WHERE ggt.gene_gene_reference_id = ggr.id) throughput, COUNT(*) OVER () fullRowCount FROM gene_gene_reference ggr INNER JOIN term fg ON ggr.from_gene_id = fg.id INNER JOIN term tg ON ggr.to_gene_id = tg.id INNER JOIN term ft ON ggr.from_taxon_id = ft.id INNER JOIN term tt ON ggr.to_taxon_id = tt.id WHERE ggr.reference_id = '111363' ORDER BY fg.nm_sort, tg.nm_sort LIMIT 50;
Date: 2024-03-10 05:38:02 Duration: 1s397ms Bind query: yes
19 33 3m26s 1s23ms 18s82ms 6s260ms select sq.*, count(*) over () fullrowcount from ( select distinct gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid from dag_node gt inner join gene_go_annot gga on gt.object_id = gga.go_term_id inner join term g on gga.gene_id = g.id where gt.id in ( select p.descendant_dag_node_id from dag_path p where p.ancestor_object_id = ?) and gga.is_not = false) sq order by sq.gonmsort, sq.genesymbolsort limit ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Mar 10 06 1 2s649ms 2s649ms 09 1 8s309ms 8s309ms 10 1 1s785ms 1s785ms 15 1 8s350ms 8s350ms 18 1 1s40ms 1s40ms Mar 11 04 1 14s294ms 14s294ms 09 1 18s82ms 18s82ms 16 1 1s69ms 1s69ms 22 1 1s826ms 1s826ms 23 1 3s246ms 3s246ms Mar 12 02 1 8s932ms 8s932ms 06 1 6s85ms 6s85ms 10 1 8s68ms 8s68ms 16 1 1s759ms 1s759ms 17 1 1s186ms 1s186ms 22 2 34s751ms 17s375ms Mar 13 04 1 1s750ms 1s750ms 16 1 2s854ms 2s854ms 19 1 1s736ms 1s736ms Mar 14 02 1 2s912ms 2s912ms 04 1 14s302ms 14s302ms 06 1 8s104ms 8s104ms 07 1 6s72ms 6s72ms 08 1 6s62ms 6s62ms 12 1 6s199ms 6s199ms 13 1 6s469ms 6s469ms 14 1 3s222ms 3s222ms 16 1 17s372ms 17s372ms Mar 15 16 1 1s23ms 1s23ms 21 1 3s260ms 3s260ms Mar 16 10 1 1s64ms 1s64ms 11 1 2s752ms 2s752ms [ User: pubeu - Total duration: 1m42s - Times executed: 17 ]
-
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 = '1204159') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-03-11 09:51:26 Duration: 18s82ms 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 = '1204159') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-03-12 22:09:20 Duration: 17s382ms 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 = '1204159') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-03-14 16:12:26 Duration: 17s372ms Bind query: yes
20 30 1m48s 1s65ms 14s976ms 3s611ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Mar 10 06 1 14s976ms 14s976ms 21 1 1s173ms 1s173ms 22 1 2s154ms 2s154ms Mar 11 01 1 1s983ms 1s983ms 07 5 13s878ms 2s775ms 09 4 7s885ms 1s971ms 22 2 5s455ms 2s727ms Mar 12 00 1 2s603ms 2s603ms 04 2 2s233ms 1s116ms 07 1 2s945ms 2s945ms 08 1 1s394ms 1s394ms 10 1 7s253ms 7s253ms 13 1 2s938ms 2s938ms 16 1 14s858ms 14s858ms Mar 14 05 2 6s422ms 3s211ms 23 2 3s109ms 1s554ms Mar 15 07 1 1s587ms 1s587ms Mar 16 09 2 15s487ms 7s743ms [ User: pubeu - Total duration: 38s387ms - Times executed: 12 ]
-
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 = '2047552') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-03-10 06:09:54 Duration: 14s976ms 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 = '2047552') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-03-12 16:29:47 Duration: 14s858ms 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 = '2057461') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-03-16 09:00:00 Duration: 7s753ms Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 23m5s 23m5s 23m5s 1 23m5s copy pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Mar 16 18 1 23m5s 23m5s -
COPY pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2024-03-16 18:59:48 Duration: 23m5s
2 23m 23m 23m 1 23m copy pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Mar 16 19 1 23m 23m -
COPY pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2024-03-16 19:40:26 Duration: 23m
3 14m50s 15m1s 14m54s 6 1h29m28s select maint_query_logs_archive ();Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Mar 11 00 1 14m54s 14m54s Mar 12 00 1 14m50s 14m50s Mar 13 00 1 14m52s 14m52s Mar 14 00 1 15m1s 15m1s Mar 15 00 1 14m57s 14m57s Mar 16 00 1 14m52s 14m52s -
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-03-14 00:15:03 Duration: 15m1s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-03-15 00:14:59 Duration: 14m57s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-03-11 00:14:55 Duration: 14m54s
4 9m1s 9m1s 9m1s 1 9m1s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?)) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by c.nm_sort, g.nm_sort, i.sort_txt limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Mar 10 06 1 9m1s 9m1s -
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'A') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'R-HSA-73930' AND tp.pathway_acc_db_cd = 'REACT'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'BIOLOGICAL FACTORS' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-03-10 06:10:00 Duration: 9m1s Bind query: yes
5 6m42s 6m42s 6m42s 1 6m42s copy pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Mar 16 19 1 6m42s 6m42s -
COPY pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-03-16 19:11:07 Duration: 6m42s
6 6m40s 6m40s 6m40s 1 6m40s copy pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Mar 16 19 1 6m40s 6m40s -
COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-03-16 19:51:47 Duration: 6m40s
7 1s260ms 18m15s 2m35s 45 1h56m15s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Mar 10 05 1 1s490ms 1s490ms 15 1 1s500ms 1s500ms 19 1 3s62ms 3s62ms 20 1 1s616ms 1s616ms 22 1 1m17s 1m17s Mar 11 03 1 1s480ms 1s480ms 07 1 3m4s 3m4s 08 1 3s257ms 3s257ms 12 1 1s659ms 1s659ms 21 1 1s893ms 1s893ms 22 1 1s973ms 1s973ms Mar 12 01 1 1m36s 1m36s 03 1 8m49s 8m49s 04 1 1s465ms 1s465ms 07 1 1s318ms 1s318ms 12 1 3s33ms 3s33ms 13 1 11m 11m 18 1 1s648ms 1s648ms 22 1 1m18s 1m18s 23 1 2s864ms 2s864ms Mar 13 03 1 1s461ms 1s461ms 04 1 2s813ms 2s813ms 11 1 2s270ms 2s270ms 13 1 17m39s 17m39s 21 1 1s541ms 1s541ms Mar 14 01 1 18m15s 18m15s 03 1 1s429ms 1s429ms 09 1 1m17s 1m17s 13 1 1s423ms 1s423ms 14 2 4s318ms 2s159ms 19 2 8m23s 4m11s Mar 15 03 1 8m23s 8m23s 13 2 4s483ms 2s241ms 17 1 17m11s 17m11s Mar 16 05 1 5m16s 5m16s 10 2 3m23s 1m41s 11 1 1s485ms 1s485ms 14 1 1s875ms 1s875ms 15 1 3s96ms 3s96ms 16 1 8m21s 8m21s 22 1 1s290ms 1s290ms [ User: pubeu - Total duration: 39m22s - Times executed: 19 ]
-
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 = '1227971') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-03-14 01:05:15 Duration: 18m15s 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 = '1227971') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-03-13 13:25:05 Duration: 17m39s 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 = '1227971') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-03-15 17:46:44 Duration: 17m11s Bind query: yes
8 26s568ms 47s120ms 34s689ms 18 10m24s select ? "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casrn "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" from ( with sq as ( select distinct c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casrn, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort from term c inner join gene_chem_reference gcr on c.id = gcr.chem_id inner join term g on gcr.gene_id = g.id where (c.id = ?)) select distinct sq.chem_nm, sq.chem_acc_txt, sq.casrn, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm from sq inner join gene_go_annot gga on sq.gene_id = gga.gene_id inner join dag_node gt on gga.go_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where gga.is_not = false and (d.id = ?) order by sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Mar 13 13 6 3m28s 34s764ms 14 3 1m42s 34s154ms 15 3 1m39s 33s184ms Mar 15 18 6 3m33s 35s634ms [ User: pubeu - Total duration: 5m26s - Times executed: 10 ]
-
SELECT /* BatchChemGODAO */ 'd000082' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1328314)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 5) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-03-15 18:20:01 Duration: 47s120ms Bind query: yes
-
SELECT /* BatchChemGODAO */ 'd000082' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1328314)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 5) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-03-13 13:54:16 Duration: 41s798ms Bind query: yes
-
SELECT /* BatchChemGODAO */ 'd000082' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1328314)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 4) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-03-15 18:19:55 Duration: 40s801ms Database: ctdprd51 User: pubeu Bind query: yes
9 30s159ms 30s683ms 30s524ms 25 12m43s 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 #9
Day Hour Count Duration Avg duration Mar 10 06 1 30s653ms 30s653ms 10 1 30s486ms 30s486ms 14 1 30s496ms 30s496ms 18 1 30s542ms 30s542ms Mar 11 06 1 30s499ms 30s499ms 10 1 30s498ms 30s498ms 14 1 30s641ms 30s641ms 18 1 30s562ms 30s562ms Mar 12 06 1 30s562ms 30s562ms 10 1 30s559ms 30s559ms 14 1 30s433ms 30s433ms 18 1 30s541ms 30s541ms Mar 13 06 1 30s545ms 30s545ms 10 1 30s595ms 30s595ms 14 1 30s494ms 30s494ms 18 1 30s514ms 30s514ms Mar 14 06 1 30s677ms 30s677ms 10 1 30s549ms 30s549ms 14 1 30s683ms 30s683ms 18 1 30s447ms 30s447ms Mar 15 06 1 30s523ms 30s523ms 10 1 30s475ms 30s475ms 14 1 30s486ms 30s486ms 18 1 30s493ms 30s493ms Mar 16 19 1 30s159ms 30s159ms [ User: postgres - Total duration: 12m12s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 12m12s - Times executed: 24 ]
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-03-14 14:05:32 Duration: 30s683ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-03-14 06:05:32 Duration: 30s677ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-03-10 06:05:32 Duration: 30s653ms Database: ctdprd51 User: postgres Application: pg_dump
10 13s869ms 14s11ms 13s930ms 24 5m34s copy edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Mar 10 06 1 13s947ms 13s947ms 10 1 13s938ms 13s938ms 14 1 13s941ms 13s941ms 18 1 13s934ms 13s934ms Mar 11 06 1 13s943ms 13s943ms 10 1 13s934ms 13s934ms 14 1 13s942ms 13s942ms 18 1 13s884ms 13s884ms Mar 12 06 1 13s923ms 13s923ms 10 1 14s11ms 14s11ms 14 1 13s956ms 13s956ms 18 1 13s936ms 13s936ms Mar 13 06 1 13s911ms 13s911ms 10 1 13s917ms 13s917ms 14 1 13s993ms 13s993ms 18 1 13s932ms 13s932ms Mar 14 06 1 13s982ms 13s982ms 10 1 13s896ms 13s896ms 14 1 13s869ms 13s869ms Mar 15 06 1 13s941ms 13s941ms 10 1 13s878ms 13s878ms 14 1 13s923ms 13s923ms 18 1 13s887ms 13s887ms Mar 16 18 1 13s896ms 13s896ms -
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-03-12 10:00:56 Duration: 14s11ms
-
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-03-13 14:00:56 Duration: 13s993ms
-
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-03-14 06:00:56 Duration: 13s982ms
11 1s23ms 18s82ms 6s260ms 33 3m26s 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 Mar 10 06 1 2s649ms 2s649ms 09 1 8s309ms 8s309ms 10 1 1s785ms 1s785ms 15 1 8s350ms 8s350ms 18 1 1s40ms 1s40ms Mar 11 04 1 14s294ms 14s294ms 09 1 18s82ms 18s82ms 16 1 1s69ms 1s69ms 22 1 1s826ms 1s826ms 23 1 3s246ms 3s246ms Mar 12 02 1 8s932ms 8s932ms 06 1 6s85ms 6s85ms 10 1 8s68ms 8s68ms 16 1 1s759ms 1s759ms 17 1 1s186ms 1s186ms 22 2 34s751ms 17s375ms Mar 13 04 1 1s750ms 1s750ms 16 1 2s854ms 2s854ms 19 1 1s736ms 1s736ms Mar 14 02 1 2s912ms 2s912ms 04 1 14s302ms 14s302ms 06 1 8s104ms 8s104ms 07 1 6s72ms 6s72ms 08 1 6s62ms 6s62ms 12 1 6s199ms 6s199ms 13 1 6s469ms 6s469ms 14 1 3s222ms 3s222ms 16 1 17s372ms 17s372ms Mar 15 16 1 1s23ms 1s23ms 21 1 3s260ms 3s260ms Mar 16 10 1 1s64ms 1s64ms 11 1 2s752ms 2s752ms [ User: pubeu - Total duration: 1m42s - Times executed: 17 ]
-
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 = '1204159') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-03-11 09:51:26 Duration: 18s82ms 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 = '1204159') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-03-12 22:09:20 Duration: 17s382ms 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 = '1204159') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-03-14 16:12:26 Duration: 17s372ms Bind query: yes
12 3s812ms 16s671ms 4s192ms 226 15m47s 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 Mar 10 03 1 3s990ms 3s990ms 04 2 7s943ms 3s971ms 05 1 4s169ms 4s169ms 06 2 8s197ms 4s98ms 07 2 8s258ms 4s129ms 08 2 8s99ms 4s49ms 09 2 8s151ms 4s75ms 10 2 8s29ms 4s14ms 11 2 7s945ms 3s972ms 12 1 4s127ms 4s127ms 13 2 8s87ms 4s43ms 15 1 4s68ms 4s68ms 16 2 9s598ms 4s799ms 18 2 8s25ms 4s12ms 21 1 4s118ms 4s118ms 22 2 8s55ms 4s27ms 23 2 8s236ms 4s118ms Mar 11 00 10 40s913ms 4s91ms 01 5 20s776ms 4s155ms 04 1 3s978ms 3s978ms 05 2 8s112ms 4s56ms 07 2 8s68ms 4s34ms 08 1 4s104ms 4s104ms 09 2 7s957ms 3s978ms 10 3 12s221ms 4s73ms 12 2 7s972ms 3s986ms 13 4 16s164ms 4s41ms 14 6 24s68ms 4s11ms 15 3 12s221ms 4s73ms 16 5 20s311ms 4s62ms 17 1 4s73ms 4s73ms 18 1 3s977ms 3s977ms 22 2 7s883ms 3s941ms Mar 12 00 2 8s69ms 4s34ms 01 4 16s149ms 4s37ms 02 2 7s972ms 3s986ms 03 5 20s9ms 4s1ms 04 2 8s125ms 4s62ms 05 1 3s994ms 3s994ms 06 2 8s250ms 4s125ms 07 2 8s79ms 4s39ms 08 3 11s979ms 3s993ms 09 1 4s179ms 4s179ms 10 1 3s844ms 3s844ms 11 1 3s952ms 3s952ms 13 2 8s87ms 4s43ms 14 3 11s994ms 3s998ms 15 3 12s36ms 4s12ms 16 3 12s642ms 4s214ms 20 1 3s916ms 3s916ms 22 2 7s962ms 3s981ms 23 1 3s984ms 3s984ms Mar 13 01 3 11s895ms 3s965ms 02 1 4s138ms 4s138ms 03 2 7s968ms 3s984ms 04 4 16s342ms 4s85ms 05 3 15s190ms 5s63ms 06 1 4s84ms 4s84ms 07 3 12s412ms 4s137ms 08 2 8s32ms 4s16ms 09 2 7s917ms 3s958ms 10 3 12s110ms 4s36ms 11 1 3s961ms 3s961ms 12 1 4s331ms 4s331ms 15 1 3s962ms 3s962ms 16 1 3s947ms 3s947ms 21 3 12s295ms 4s98ms 22 1 4s465ms 4s465ms 23 1 3s982ms 3s982ms Mar 14 00 1 16s671ms 16s671ms 02 1 3s986ms 3s986ms 05 1 3s991ms 3s991ms 06 2 8s9ms 4s4ms 08 1 3s934ms 3s934ms 09 3 12s283ms 4s94ms 10 2 8s49ms 4s24ms 11 1 4s132ms 4s132ms 12 1 4s643ms 4s643ms 13 2 20s729ms 10s364ms 14 1 3s956ms 3s956ms 15 1 5s574ms 5s574ms 16 1 3s949ms 3s949ms 17 2 8s38ms 4s19ms 19 1 4s7ms 4s7ms 23 2 8s98ms 4s49ms Mar 15 00 3 12s54ms 4s18ms 03 3 12s807ms 4s269ms 04 1 4s45ms 4s45ms 05 2 8s27ms 4s13ms 06 2 7s921ms 3s960ms 07 7 27s859ms 3s979ms 09 4 16s98ms 4s24ms 10 1 3s981ms 3s981ms 11 1 3s975ms 3s975ms 12 1 4s37ms 4s37ms 15 1 3s997ms 3s997ms 16 2 8s316ms 4s158ms 18 2 8s29ms 4s14ms 20 1 4s25ms 4s25ms 21 1 3s975ms 3s975ms 22 1 4s10ms 4s10ms Mar 16 03 1 3s933ms 3s933ms 08 2 8s179ms 4s89ms 09 4 17s881ms 4s470ms 10 2 7s937ms 3s968ms 12 1 4s29ms 4s29ms 13 3 12s33ms 4s11ms 14 1 4s41ms 4s41ms 15 1 4s125ms 4s125ms 18 1 3s986ms 3s986ms 23 1 4s9ms 4s9ms [ User: pubeu - Total duration: 6m50s - Times executed: 101 ]
-
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 = '1379157') 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 = '1379157') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-03-14 00:05:41 Duration: 16s671ms 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 = '1379157') 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 = '1379157') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-03-14 13:04:48 Duration: 16s539ms 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 = '1310295') 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 = '1310295') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-03-13 05:37:59 Duration: 7s170ms Bind query: yes
13 1s4ms 5s985ms 3s981ms 128 8m29s 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 Mar 10 03 1 1s57ms 1s57ms 05 1 5s334ms 5s334ms 07 2 10s159ms 5s79ms 11 1 1s39ms 1s39ms 13 1 5s43ms 5s43ms 14 1 5s320ms 5s320ms 16 1 5s789ms 5s789ms 17 1 5s500ms 5s500ms 18 1 1s21ms 1s21ms 19 1 5s573ms 5s573ms 22 3 15s375ms 5s125ms Mar 11 00 4 21s125ms 5s281ms 05 2 6s274ms 3s137ms 09 1 1s13ms 1s13ms 10 3 15s534ms 5s178ms 13 1 5s295ms 5s295ms 15 1 5s144ms 5s144ms 16 3 11s236ms 3s745ms 22 2 6s243ms 3s121ms Mar 12 01 2 10s303ms 5s151ms 02 1 1s17ms 1s17ms 03 2 10s564ms 5s282ms 04 1 1s26ms 1s26ms 05 2 10s17ms 5s8ms 09 1 1s82ms 1s82ms 10 2 2s34ms 1s17ms 11 1 1s25ms 1s25ms 13 1 5s159ms 5s159ms 14 4 12s929ms 3s232ms 19 1 1s14ms 1s14ms 20 1 4s924ms 4s924ms 21 1 5s463ms 5s463ms 22 1 1s13ms 1s13ms 23 6 30s972ms 5s162ms Mar 13 00 3 15s552ms 5s184ms 01 1 4s962ms 4s962ms 02 1 5s361ms 5s361ms 03 1 1s7ms 1s7ms 05 4 16s215ms 4s53ms 07 1 5s251ms 5s251ms 11 2 7s8ms 3s504ms 13 2 6s39ms 3s19ms 14 2 10s89ms 5s44ms 15 1 5s178ms 5s178ms 16 1 1s16ms 1s16ms 19 1 5s177ms 5s177ms 21 1 5s1ms 5s1ms 22 2 6s595ms 3s297ms 23 1 4s998ms 4s998ms Mar 14 01 2 6s336ms 3s168ms 02 1 5s469ms 5s469ms 05 1 5s170ms 5s170ms 06 5 13s123ms 2s624ms 07 1 1s38ms 1s38ms 10 1 1s5ms 1s5ms 11 3 15s391ms 5s130ms 12 3 11s236ms 3s745ms 17 1 1s17ms 1s17ms 18 1 5s80ms 5s80ms 19 1 1s40ms 1s40ms 21 2 10s436ms 5s218ms 22 1 5s46ms 5s46ms Mar 15 00 1 5s23ms 5s23ms 03 7 32s273ms 4s610ms 05 1 5s224ms 5s224ms 08 1 1s17ms 1s17ms 09 1 5s98ms 5s98ms 13 3 7s84ms 2s361ms 14 1 4s937ms 4s937ms 16 1 1s10ms 1s10ms 18 1 4s989ms 4s989ms Mar 16 03 1 4s969ms 4s969ms 06 3 15s163ms 5s54ms 11 1 5s203ms 5s203ms 22 1 5s165ms 5s165ms [ User: pubeu - Total duration: 3m10s - Times executed: 50 ]
-
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 = '1384571' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-03-13 11:47:43 Duration: 5s985ms 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 = '1326662' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-03-10 16:43:25 Duration: 5s789ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1379157' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-03-12 14:00:14 Duration: 5s774ms Database: ctdprd51 User: pubeu Bind query: yes
14 1s65ms 14s976ms 3s611ms 30 1m48s select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Mar 10 06 1 14s976ms 14s976ms 21 1 1s173ms 1s173ms 22 1 2s154ms 2s154ms Mar 11 01 1 1s983ms 1s983ms 07 5 13s878ms 2s775ms 09 4 7s885ms 1s971ms 22 2 5s455ms 2s727ms Mar 12 00 1 2s603ms 2s603ms 04 2 2s233ms 1s116ms 07 1 2s945ms 2s945ms 08 1 1s394ms 1s394ms 10 1 7s253ms 7s253ms 13 1 2s938ms 2s938ms 16 1 14s858ms 14s858ms Mar 14 05 2 6s422ms 3s211ms 23 2 3s109ms 1s554ms Mar 15 07 1 1s587ms 1s587ms Mar 16 09 2 15s487ms 7s743ms [ User: pubeu - Total duration: 38s387ms - Times executed: 12 ]
-
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 = '2047552') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-03-10 06:09:54 Duration: 14s976ms 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 = '2047552') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-03-12 16:29:47 Duration: 14s858ms 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 = '2057461') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-03-16 09:00:00 Duration: 7s753ms Bind query: yes
15 1s4ms 12s738ms 3s470ms 230 13m18s select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Mar 10 03 1 1s75ms 1s75ms 04 4 19s774ms 4s943ms 05 2 3s814ms 1s907ms 06 2 5s986ms 2s993ms 07 1 5s731ms 5s731ms 09 1 3s860ms 3s860ms 10 1 1s54ms 1s54ms 12 1 1s136ms 1s136ms 13 3 21s500ms 7s166ms 15 1 2s234ms 2s234ms 16 1 1s241ms 1s241ms 17 1 1s31ms 1s31ms 18 4 31s944ms 7s986ms 19 1 2s266ms 2s266ms 21 2 13s884ms 6s942ms 22 2 10s106ms 5s53ms 23 1 1s118ms 1s118ms Mar 11 00 3 7s120ms 2s373ms 02 1 2s226ms 2s226ms 03 3 5s663ms 1s887ms 05 2 8s896ms 4s448ms 06 1 2s700ms 2s700ms 07 4 11s677ms 2s919ms 09 3 6s334ms 2s111ms 10 1 1s53ms 1s53ms 14 1 5s204ms 5s204ms 15 1 5s578ms 5s578ms 17 1 2s127ms 2s127ms 18 1 1s5ms 1s5ms 20 2 4s971ms 2s485ms 21 1 4s724ms 4s724ms 22 1 1s27ms 1s27ms 23 1 5s187ms 5s187ms Mar 12 01 1 3s134ms 3s134ms 03 1 8s332ms 8s332ms 06 4 10s331ms 2s582ms 07 3 4s653ms 1s551ms 08 1 1s112ms 1s112ms 10 3 8s5ms 2s668ms 11 2 3s445ms 1s722ms 12 1 5s96ms 5s96ms 13 2 6s751ms 3s375ms 14 3 15s37ms 5s12ms 15 1 1s203ms 1s203ms 16 1 11s853ms 11s853ms 17 1 5s498ms 5s498ms 19 1 4s576ms 4s576ms 21 7 25s556ms 3s650ms 22 2 9s66ms 4s533ms 23 3 15s561ms 5s187ms Mar 13 01 3 7s39ms 2s346ms 03 1 1s354ms 1s354ms 04 2 5s435ms 2s717ms 05 2 5s796ms 2s898ms 06 3 14s402ms 4s800ms 07 3 8s88ms 2s696ms 08 4 9s886ms 2s471ms 11 2 4s418ms 2s209ms 12 2 3s258ms 1s629ms 15 2 3s142ms 1s571ms 17 3 7s94ms 2s364ms 18 5 13s641ms 2s728ms 19 3 10s439ms 3s479ms 20 3 16s181ms 5s393ms 21 4 21s505ms 5s376ms 22 2 2s733ms 1s366ms Mar 14 00 3 10s165ms 3s388ms 01 4 13s43ms 3s260ms 02 1 2s205ms 2s205ms 03 3 12s629ms 4s209ms 04 7 46s906ms 6s700ms 05 1 1s165ms 1s165ms 06 2 8s849ms 4s424ms 09 2 3s849ms 1s924ms 10 2 4s327ms 2s163ms 11 1 1s4ms 1s4ms 12 1 5s48ms 5s48ms 14 3 10s976ms 3s658ms 16 1 4s724ms 4s724ms 17 1 1s109ms 1s109ms 19 1 2s482ms 2s482ms 22 2 7s502ms 3s751ms 23 2 13s950ms 6s975ms Mar 15 02 1 5s251ms 5s251ms 03 1 2s37ms 2s37ms 04 1 1s313ms 1s313ms 05 1 1s396ms 1s396ms 06 1 3s275ms 3s275ms 07 1 3s323ms 3s323ms 08 3 10s756ms 3s585ms 10 1 4s765ms 4s765ms 13 2 9s416ms 4s708ms 14 1 2s513ms 2s513ms 15 2 5s908ms 2s954ms 16 2 4s258ms 2s129ms 17 1 1s785ms 1s785ms 18 1 1s602ms 1s602ms 19 1 2s122ms 2s122ms 20 2 9s92ms 4s546ms 22 1 1s7ms 1s7ms 23 2 2s863ms 1s431ms Mar 16 00 2 14s241ms 7s120ms 01 2 7s15ms 3s507ms 02 2 3s793ms 1s896ms 04 3 11s250ms 3s750ms 05 3 3s984ms 1s328ms 07 1 2s103ms 2s103ms 08 3 10s964ms 3s654ms 09 1 6s257ms 6s257ms 12 1 2s64ms 2s64ms 14 2 2s460ms 1s230ms 15 2 4s406ms 2s203ms 16 6 24s222ms 4s37ms 19 2 3s886ms 1s943ms 23 1 2s108ms 2s108ms [ User: pubeu - Total duration: 4m50s - Times executed: 90 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2048764') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-03-14 23:04:04 Duration: 12s738ms 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 = '2048764') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-03-10 21:41:24 Duration: 12s473ms 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 = '2052710') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-03-14 04:04:56 Duration: 12s202ms Database: ctdprd51 User: pubeu Bind query: yes
16 1s19ms 38s931ms 3s461ms 71 4m5s 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 #16
Day Hour Count Duration Avg duration Mar 10 04 1 4s689ms 4s689ms 18 1 1s356ms 1s356ms Mar 11 02 1 1s314ms 1s314ms 12 1 1s366ms 1s366ms 13 1 4s688ms 4s688ms 17 1 1s351ms 1s351ms Mar 12 07 3 5s162ms 1s720ms 13 13 14s672ms 1s128ms 14 13 1m27s 6s740ms 18 1 11s823ms 11s823ms 19 1 1s225ms 1s225ms 20 1 4s679ms 4s679ms Mar 13 08 1 2s397ms 2s397ms 11 1 1s643ms 1s643ms 12 1 1s385ms 1s385ms 17 1 11s214ms 11s214ms 19 1 2s297ms 2s297ms 21 2 2s498ms 1s249ms 22 6 8s462ms 1s410ms 23 1 11s289ms 11s289ms Mar 14 00 1 1s290ms 1s290ms 01 2 41s56ms 20s528ms 03 2 2s48ms 1s24ms 05 5 6s315ms 1s263ms 06 1 1s192ms 1s192ms 09 1 2s393ms 2s393ms 11 1 1s35ms 1s35ms 22 2 2s193ms 1s96ms Mar 15 08 1 1s201ms 1s201ms 12 1 1s509ms 1s509ms Mar 16 05 1 1s196ms 1s196ms 07 1 3s177ms 3s177ms [ User: pubeu - Total duration: 1m14s - Times executed: 15 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2052235') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 6204000;
Date: 2024-03-14 01:04:35 Duration: 38s931ms 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 = '2052710') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 50;
Date: 2024-03-12 18:06:49 Duration: 11s823ms 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 = '2050202') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 1912350;
Date: 2024-03-13 23:13:21 Duration: 11s289ms Bind query: yes
17 1s177ms 6s235ms 3s51ms 78 3m58s 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 #17
Day Hour Count Duration Avg duration Mar 10 08 1 5s919ms 5s919ms 14 1 2s111ms 2s111ms 18 1 2s759ms 2s759ms 19 1 2s751ms 2s751ms Mar 11 01 2 7s724ms 3s862ms 04 2 7s892ms 3s946ms 07 2 5s584ms 2s792ms 08 1 6s20ms 6s20ms 16 1 2s809ms 2s809ms 17 1 1s639ms 1s639ms 20 1 1s954ms 1s954ms 21 2 7s662ms 3s831ms Mar 12 04 2 7s183ms 3s591ms 05 1 1s316ms 1s316ms 10 1 5s889ms 5s889ms 12 1 2s114ms 2s114ms 15 1 1s843ms 1s843ms 20 1 1s825ms 1s825ms Mar 13 04 1 1s797ms 1s797ms 09 1 1s327ms 1s327ms 11 1 1s198ms 1s198ms 12 2 11s780ms 5s890ms 13 1 1s178ms 1s178ms 14 1 5s846ms 5s846ms 15 1 5s852ms 5s852ms 16 1 1s177ms 1s177ms 17 3 13s708ms 4s569ms 19 1 5s891ms 5s891ms 20 2 4s952ms 2s476ms 22 1 3s252ms 3s252ms Mar 14 00 2 8s674ms 4s337ms 02 5 10s76ms 2s15ms 05 2 7s311ms 3s655ms 06 1 1s809ms 1s809ms 07 1 5s907ms 5s907ms 14 1 1s950ms 1s950ms 15 1 5s882ms 5s882ms 16 1 1s310ms 1s310ms 18 1 1s596ms 1s596ms 19 1 3s304ms 3s304ms 20 1 1s348ms 1s348ms Mar 15 05 1 5s939ms 5s939ms 06 1 1s751ms 1s751ms 07 1 2s754ms 2s754ms 08 1 1s764ms 1s764ms 16 1 3s209ms 3s209ms 19 1 6s101ms 6s101ms Mar 16 03 1 1s211ms 1s211ms 11 1 1s710ms 1s710ms 13 1 2s108ms 2s108ms 14 1 1s322ms 1s322ms 16 7 13s656ms 1s950ms 18 1 1s824ms 1s824ms 19 1 3s254ms 3s254ms 21 1 6s235ms 6s235ms 23 2 3s65ms 1s532ms [ User: pubeu - Total duration: 1m25s - Times executed: 28 ]
-
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 = '1379157'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-03-16 21:40:08 Duration: 6s235ms 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 = '1379157'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-03-15 19:18:34 Duration: 6s101ms 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 = '1379157'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-03-13 17:39:27 Duration: 6s55ms Bind query: yes
18 1s1ms 4s991ms 2s686ms 201 8m59s select e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, ( select string_agg(distinct stressorterm.nm || ? || ( select cd from object_type where id = stressorterm.object_type_id) || ? || stressorterm.nm_html || ? || stressorterm.acc_txt || ? || stressorterm.acc_db_cd, ?)) as stressoragents, ( select string_agg(distinct coalesce(receptorterm.nm, ?) || ? || coalesce(( select cd from object_type where id = receptorterm.object_type_id), ?) || ? || coalesce(receptorterm.nm_html, ?) || ? || coalesce(receptorterm.acc_txt, ?) || ? || coalesce(receptorterm.acc_db_cd, ?) || ? || receptor.description, ?)) as receptors, ( select string_agg(distinct country.nm, ?)) as studycountries, ( select string_agg(distinct location.locality_txt, ?)) as localities, ( select string_agg(distinct event.medium_nm || ? || coalesce(event.medium_term_acc_txt, ?), ?)) as assaymediums, ( select string_agg(distinct exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd, ?)) as assayedmarkers, ( select string_agg(distinct diseaseterm.nm || ? || ( select cd from object_type where id = diseaseterm.object_type_id) || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd, ?)) as diseases, ( select string_agg(distinct phenotypeterm.nm || ? || ( select cd from object_type where id = phenotypeterm.object_type_id) || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd, ?)) as phenotypes, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, re.author_summary summary, count(*) over () fullrowcount from exposure e inner join reference r on e.reference_id = r.id inner join exp_stressor stressor on e.exp_stressor_id = stressor.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join term receptorterm on receptor.term_id = receptorterm.id left outer join exp_event event on e.exp_event_id = event.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join exp_event_location location on e.exp_event_id = location.exp_event_id left outer join country on location.country_id = country.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id inner join reference_exp re on e.reference_id = re.reference_id left outer join exp_study_factor expstudyfactor on re.id = expstudyfactor.reference_exp_id where e.reference_id = any (array ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like ?) and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressoragents limit ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Mar 10 04 2 2s224ms 1s112ms 06 1 1s785ms 1s785ms 11 2 4s888ms 2s444ms 12 1 4s768ms 4s768ms 14 4 15s73ms 3s768ms 15 1 2s710ms 2s710ms 16 2 2s331ms 1s165ms 17 4 12s255ms 3s63ms 19 3 6s598ms 2s199ms 20 5 12s17ms 2s403ms 21 1 3s657ms 3s657ms 23 1 2s95ms 2s95ms Mar 11 00 2 8s355ms 4s177ms 01 3 5s111ms 1s703ms 02 6 14s169ms 2s361ms 03 1 1s593ms 1s593ms 05 1 1s366ms 1s366ms 08 2 8s282ms 4s141ms 13 3 6s912ms 2s304ms 14 1 1s350ms 1s350ms 15 2 6s146ms 3s73ms 16 1 1s76ms 1s76ms 17 1 2s238ms 2s238ms 18 1 2s386ms 2s386ms 19 2 3s387ms 1s693ms 21 1 2s266ms 2s266ms 23 3 10s6ms 3s335ms Mar 12 00 1 3s566ms 3s566ms 01 2 6s95ms 3s47ms 03 3 7s297ms 2s432ms 04 1 1s6ms 1s6ms 05 3 9s943ms 3s314ms 06 3 8s171ms 2s723ms 07 4 15s732ms 3s933ms 09 2 6s365ms 3s182ms 11 1 2s793ms 2s793ms 14 2 7s41ms 3s520ms 15 1 1s279ms 1s279ms 16 1 1s247ms 1s247ms 17 1 4s762ms 4s762ms 18 2 2s592ms 1s296ms 23 1 1s420ms 1s420ms Mar 13 02 1 3s500ms 3s500ms 03 1 1s723ms 1s723ms 06 2 3s423ms 1s711ms 08 1 3s529ms 3s529ms 09 1 4s882ms 4s882ms 10 1 3s509ms 3s509ms 11 2 4s825ms 2s412ms 12 3 11s37ms 3s679ms 13 3 4s985ms 1s661ms 14 3 7s14ms 2s338ms 17 2 7s338ms 3s669ms 18 2 5s705ms 2s852ms 19 3 5s37ms 1s679ms 20 1 1s159ms 1s159ms 21 1 3s529ms 3s529ms 22 1 1s358ms 1s358ms Mar 14 00 1 4s737ms 4s737ms 01 2 2s103ms 1s51ms 03 3 7s535ms 2s511ms 07 4 4s893ms 1s223ms 08 1 2s743ms 2s743ms 10 2 6s208ms 3s104ms 11 3 3s440ms 1s146ms 13 1 1s405ms 1s405ms 16 2 5s994ms 2s997ms 17 1 3s522ms 3s522ms 18 2 6s105ms 3s52ms 20 1 1s201ms 1s201ms 21 1 1s234ms 1s234ms 22 1 1s112ms 1s112ms 23 2 3s889ms 1s944ms Mar 15 02 2 3s993ms 1s996ms 03 1 2s437ms 2s437ms 04 2 8s288ms 4s144ms 07 1 1s541ms 1s541ms 08 1 2s731ms 2s731ms 09 2 5s835ms 2s917ms 10 2 8s377ms 4s188ms 13 1 2s230ms 2s230ms 14 3 11s75ms 3s691ms 16 3 9s457ms 3s152ms 17 1 4s906ms 4s906ms 19 2 3s892ms 1s946ms 21 2 5s271ms 2s635ms Mar 16 00 1 1s204ms 1s204ms 01 1 1s204ms 1s204ms 04 1 1s638ms 1s638ms 05 3 9s987ms 3s329ms 06 3 13s173ms 4s391ms 07 1 1s217ms 1s217ms 08 2 4s852ms 2s426ms 09 2 6s562ms 3s281ms 10 1 4s888ms 4s888ms 11 4 13s573ms 3s393ms 12 2 4s848ms 2s424ms 13 2 4s825ms 2s412ms 14 1 2s93ms 2s93ms 15 2 8s566ms 4s283ms 16 7 25s644ms 3s663ms 17 1 1s501ms 1s501ms 18 2 2s463ms 1s231ms 20 1 3s563ms 3s563ms 21 1 4s991ms 4s991ms [ User: pubeu - Total duration: 3m32s - Times executed: 79 ]
-
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 = '1379157') 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 = '1379157') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-03-16 21:02:54 Duration: 4s991ms 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 = '1379157') 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 = '1379157') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-03-14 03:48:12 Duration: 4s943ms 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 = '1379157') 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 = '1379157') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-03-13 17:57:05 Duration: 4s936ms Bind query: yes
19 1s8ms 5s477ms 2s618ms 1,365 59m34s 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 #19
Day Hour Count Duration Avg duration Mar 10 19 1 1s479ms 1s479ms Mar 11 10 1 2s39ms 2s39ms 11 1 2s49ms 2s49ms Mar 12 00 1 2s88ms 2s88ms 03 3 9s275ms 3s91ms 06 1 1s493ms 1s493ms 08 4 11s305ms 2s826ms 09 9 20s889ms 2s321ms 10 3 9s180ms 3s60ms 11 16 38s121ms 2s382ms 12 9 21s664ms 2s407ms 13 2 3s992ms 1s996ms 14 7 14s20ms 2s2ms 15 10 23s681ms 2s368ms 16 12 27s906ms 2s325ms 17 7 14s24ms 2s3ms 18 1 1s976ms 1s976ms Mar 13 01 1 2s35ms 2s35ms 02 3 8s523ms 2s841ms 03 3 7s938ms 2s646ms 04 5 15s543ms 3s108ms 05 2 7s487ms 3s743ms 06 3 7s322ms 2s440ms 08 2 7s487ms 3s743ms 09 5 11s841ms 2s368ms 10 8 16s957ms 2s119ms 11 9 20s754ms 2s306ms 12 14 33s946ms 2s424ms 13 10 35s267ms 3s526ms 14 4 14s509ms 3s627ms 15 6 16s584ms 2s764ms 16 6 13s812ms 2s302ms 17 7 17s427ms 2s489ms 18 14 31s526ms 2s251ms 19 31 1m22s 2s662ms 20 13 31s108ms 2s392ms 21 28 1m7s 2s410ms 22 28 1m15s 2s681ms 23 24 58s897ms 2s454ms Mar 14 00 9 17s725ms 1s969ms 01 24 57s921ms 2s413ms 02 20 49s292ms 2s464ms 03 39 1m34s 2s424ms 04 17 42s486ms 2s499ms 05 28 1m18s 2s789ms 06 16 37s88ms 2s318ms 07 7 19s377ms 2s768ms 08 7 20s262ms 2s894ms 09 20 48s986ms 2s449ms 10 36 1m36s 2s692ms 11 8 17s909ms 2s238ms 12 16 41s146ms 2s571ms 13 26 1m5s 2s516ms 14 30 1m12s 2s430ms 15 18 49s304ms 2s739ms 16 21 47s820ms 2s277ms 17 27 1m18s 2s890ms 18 11 29s53ms 2s641ms 19 20 46s444ms 2s322ms 20 20 53s258ms 2s662ms 21 15 40s903ms 2s726ms 22 6 12s752ms 2s125ms 23 2 5s291ms 2s645ms Mar 15 00 8 22s957ms 2s869ms 01 5 11s932ms 2s386ms 02 8 24s458ms 3s57ms 03 8 21s614ms 2s701ms 04 12 34s137ms 2s844ms 05 14 45s75ms 3s219ms 06 29 1m10s 2s427ms 07 35 1m29s 2s565ms 08 58 2m31s 2s605ms 09 54 2m30s 2s784ms 10 28 1m17s 2s767ms 11 21 46s711ms 2s224ms 12 25 1m9s 2s775ms 13 22 57s820ms 2s628ms 14 8 25s304ms 3s163ms 15 4 10s540ms 2s635ms 16 6 17s679ms 2s946ms 17 2 8s109ms 4s54ms 18 5 17s79ms 3s415ms 19 2 5s10ms 2s505ms 20 4 11s558ms 2s889ms 22 6 18s413ms 3s68ms 23 6 20s61ms 3s343ms Mar 16 00 8 22s305ms 2s788ms 01 12 35s789ms 2s982ms 02 13 30s244ms 2s326ms 03 14 34s794ms 2s485ms 04 12 31s536ms 2s628ms 05 16 46s707ms 2s919ms 06 14 46s800ms 3s342ms 07 10 30s85ms 3s8ms 08 11 32s396ms 2s945ms 09 6 16s377ms 2s729ms 10 10 25s297ms 2s529ms 11 20 48s791ms 2s439ms 12 15 38s303ms 2s553ms 13 13 36s441ms 2s803ms 14 8 24s842ms 3s105ms 15 3 6s256ms 2s85ms 16 8 24s331ms 3s41ms 17 15 46s262ms 3s84ms 18 7 17s150ms 2s450ms 19 4 9s471ms 2s367ms 20 5 14s570ms 2s914ms 21 6 13s441ms 2s240ms 22 2 5s79ms 2s539ms 23 6 17s671ms 2s945ms [ User: pubeu - Total duration: 18m46s - Times executed: 413 ]
-
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 = '646767' 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 = '646767') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-03-16 09:19:05 Duration: 5s477ms 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 = '646767' 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 = '646767') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-03-14 10:30:05 Duration: 5s450ms 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 = '646767' 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 = '646767') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-03-15 05:48:01 Duration: 5s446ms Database: ctdprd51 User: pubeu Bind query: yes
20 1s10ms 3s513ms 2s585ms 859 37m1s with recursive sub_node ( object_id, id, path, lvl ) as ( select n.object_id, n.id, array[n.nm_sort], ? from dag_node n where n.object_id = ? union all select n.object_id, n.id, cast(path || n.nm_sort as varchar(?)[]), sn.lvl + ? from dag_node n inner join sub_node sn on (n.parent_id = sn.id)) select distinct t.nm prinm, t.nm_html prinmhtml, t.secondary_nm secondarynm, t.acc_db_cd accdbcd, t.acc_txt termacc, t.is_leaf isleaf, t.has_chems haschems, t.has_diseases hasdiseases, t.has_exposures hasexposures, t.has_genes hasgenes, sn.lvl, sn.path, max(sn.lvl) over () maxlvl, t.has_phenotypes hasphenotypes from sub_node sn inner join term t on sn.object_id = t.id where sn.lvl <= ? order by sn.path;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Mar 10 05 4 8s838ms 2s209ms Mar 11 05 4 8s840ms 2s210ms 16 1 3s367ms 3s367ms Mar 12 03 1 3s298ms 3s298ms 05 4 8s842ms 2s210ms 08 1 3s293ms 3s293ms 11 1 3s292ms 3s292ms 12 1 3s265ms 3s265ms 13 1 3s322ms 3s322ms 14 1 3s300ms 3s300ms 15 2 6s468ms 3s234ms 17 1 3s288ms 3s288ms Mar 13 02 1 3s327ms 3s327ms 03 3 8s82ms 2s694ms 04 6 13s928ms 2s321ms 05 5 11s255ms 2s251ms 06 2 5s755ms 2s877ms 08 7 18s494ms 2s642ms 09 2 4s656ms 2s328ms 10 5 13s923ms 2s784ms 11 2 5s408ms 2s704ms 12 6 15s392ms 2s565ms 13 2 4s729ms 2s364ms 14 1 2s439ms 2s439ms 15 4 11s50ms 2s762ms 16 4 9s94ms 2s273ms 17 1 2s384ms 2s384ms 18 4 12s367ms 3s91ms 19 11 31s154ms 2s832ms 20 8 23s335ms 2s916ms 21 6 14s884ms 2s480ms 22 8 22s497ms 2s812ms 23 13 34s880ms 2s683ms Mar 14 00 5 13s461ms 2s692ms 01 8 22s823ms 2s852ms 02 6 19s18ms 3s169ms 03 16 42s430ms 2s651ms 04 11 30s457ms 2s768ms 05 15 39s171ms 2s611ms 06 9 22s415ms 2s490ms 07 6 15s955ms 2s659ms 08 3 8s432ms 2s810ms 09 8 19s769ms 2s471ms 10 18 51s225ms 2s845ms 11 12 30s529ms 2s544ms 12 8 18s435ms 2s304ms 13 12 29s2ms 2s416ms 14 13 34s894ms 2s684ms 15 4 11s357ms 2s839ms 16 19 49s726ms 2s617ms 17 11 28s233ms 2s566ms 18 6 17s182ms 2s863ms 19 15 37s700ms 2s513ms 20 15 37s478ms 2s498ms 21 4 10s292ms 2s573ms 22 6 17s191ms 2s865ms 23 4 10s504ms 2s626ms Mar 15 00 2 4s950ms 2s475ms 01 4 11s943ms 2s985ms 02 7 16s931ms 2s418ms 03 4 10s725ms 2s681ms 04 7 17s676ms 2s525ms 05 17 44s159ms 2s597ms 06 25 1m2s 2s516ms 07 33 1m24s 2s563ms 08 40 1m42s 2s569ms 09 28 1m11s 2s548ms 10 24 1m 2s535ms 11 31 1m17s 2s484ms 12 30 1m19s 2s634ms 13 12 28s916ms 2s409ms 14 10 25s382ms 2s538ms 15 3 7s105ms 2s368ms 16 6 15s368ms 2s561ms 17 3 7s920ms 2s640ms 18 5 11s604ms 2s320ms 19 6 15s51ms 2s508ms 20 2 4s325ms 2s162ms 21 1 2s500ms 2s500ms 22 4 10s9ms 2s502ms 23 5 13s215ms 2s643ms Mar 16 00 11 29s359ms 2s669ms 01 12 31s558ms 2s629ms 02 13 31s236ms 2s402ms 03 11 27s240ms 2s476ms 04 11 29s466ms 2s678ms 05 20 48s776ms 2s438ms 06 11 27s171ms 2s470ms 07 6 14s534ms 2s422ms 08 12 28s481ms 2s373ms 09 10 25s84ms 2s508ms 10 10 26s58ms 2s605ms 11 17 41s877ms 2s463ms 12 12 30s269ms 2s522ms 13 13 34s228ms 2s632ms 14 4 11s123ms 2s780ms 16 3 7s893ms 2s631ms 17 3 8s755ms 2s918ms 18 2 5s24ms 2s512ms 19 1 2s724ms 2s724ms 20 4 11s301ms 2s825ms 21 2 4s925ms 2s462ms 22 2 4s676ms 2s338ms 23 3 6s891ms 2s297ms [ User: pubeu - Total duration: 10m24s - Times executed: 237 ]
[ User: qaeu - Total duration: 23s631ms - 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 = '646767' 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: 2024-03-16 20:02:29 Duration: 3s513ms Database: ctdprd51 User: pubeu Bind query: yes
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '646767' 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: 2024-03-14 18:48:30 Duration: 3s413ms 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 = '587019' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2024-03-12 05:35:12 Duration: 3s405ms Database: ctdprd51 User: pubeu Bind query: yes
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query NO DATASET
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 0ms 304 0ms 0ms 0ms ;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration Mar 10 08 4 0ms 0ms 13 2 0ms 0ms Mar 11 06 4 0ms 0ms 08 2 0ms 0ms 09 4 0ms 0ms 14 2 0ms 0ms Mar 12 06 6 0ms 0ms 07 4 0ms 0ms 10 2 0ms 0ms 11 2 0ms 0ms 12 2 0ms 0ms 16 2 0ms 0ms Mar 13 04 2 0ms 0ms 06 2 0ms 0ms 09 4 0ms 0ms 10 2 0ms 0ms 11 2 0ms 0ms 13 4 0ms 0ms 17 2 0ms 0ms Mar 14 01 1 0ms 0ms 06 6 0ms 0ms 07 18 0ms 0ms 08 6 0ms 0ms 09 22 0ms 0ms 10 4 0ms 0ms 11 10 0ms 0ms 16 4 0ms 0ms 17 2 0ms 0ms 18 2 0ms 0ms Mar 15 00 1 0ms 0ms 06 9 0ms 0ms 07 39 0ms 0ms 08 15 0ms 0ms 09 18 0ms 0ms 10 27 0ms 0ms 11 24 0ms 0ms 12 39 0ms 0ms 13 3 0ms 0ms [ User: pubeu - Total duration: 4m40s - Times executed: 108 ]
-
;
Date: Duration: 0ms Database: postgres parameters: $1 = '889473', $2 = '889473'
-
Events
Log levels
Key values
- 384,230 Log entries
Events distribution
Key values
- 0 PANIC entries
- 28 FATAL entries
- 27 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 23 Max number of times the same event was reported
- 55 Total events found
Rank Times reported Error 1 23 FATAL: password authentication failed for user "..."
Times Reported Most Frequent Error / Event #1
Day Hour Count Mar 10 14 23 - FATAL: password authentication failed for user "5432"
Detail: Role "5432" does not exist. Connection matched pg_hba.conf line 35: "host all all 127.0.0.1/32 md5 "
Date: 2024-03-10 14:08:38
2 11 LOG: could not receive data from client: Connection timed out
Times Reported Most Frequent Error / Event #2
Day Hour Count Mar 14 18 5 19 1 20 1 Mar 15 20 1 22 3 3 5 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #3
Day Hour Count Mar 12 13 1 Mar 13 13 1 Mar 14 01 1 Mar 15 17 1 Mar 16 05 1 4 5 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #4
Day Hour Count Mar 12 13 1 Mar 13 13 1 Mar 14 01 1 Mar 15 17 1 Mar 16 05 1 5 4 ERROR: invalid byte sequence for encoding
Times Reported Most Frequent Error / Event #5
Day Hour Count Mar 12 23 4 - ERROR: invalid byte sequence for encoding "UTF8": 0x00
Context: unnamed portal parameter $1
Statement: SELECT /* GeneIdBySymbolAccDAO */ 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 INNER JOIN term_label_type lti ON li.term_label_type_id = lti.id AND li.object_type_id = lti.object_type_id AND UPPER(li.nm) = $1 AND lti.object_type_id = 4 AND lti.nm = 'SYMBOL' UNION SELECT l.object_id FROM db_link l WHERE l.acc_txt = $2 AND l.object_type_id = 4 AND l.type_cd = 'A') ids WHERE t.id = ids.term_id ORDER BY CASE WHEN UPPER(t.nm) = $3 THEN 1 ELSE 2 END ,t.nm_sortDate: 2024-03-12 23:14:35 Database: ctdprd51 Application: User: pubeu Remote:
6 3 ERROR: syntax error in ts"..."
Times Reported Most Frequent Error / Event #6
Day Hour Count Mar 11 17 1 23 1 Mar 12 01 1 - ERROR: syntax error in ts"DIRECT EVIDENCE"
- ERROR: syntax error in ts"P34<CDC2>"
- ERROR: syntax error in ts"RDVX & VDKHWN< & >IJRDFH"
Statement: SELECT /* BasicCountsDAO gen */ ii.cd ,COUNT(ii.id) cnt FROM (SELECT ot.cd ,tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops',$1) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',$2) OR r.id IN (SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $3 ) ) UNION SELECT ot.cd ,l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper( l.acc_txt ) LIKE $4 ) ) ii GROUP BY ii.cd
Date: 2024-03-11 17:16:40
Statement: SELECT /* GeneBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Symbol' THEN true ELSE false END isNameMatch ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper( l.acc_txt ) = $3 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2024-03-11 23:29:08
Statement: SELECT /* BasicCountsDAO gen */ ii.cd ,COUNT(ii.id) cnt FROM (SELECT ot.cd ,tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops',$1) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',$2) OR r.id IN (SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $3 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $4 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $5 ) ) UNION SELECT ot.cd ,l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper( l.acc_txt ) LIKE $6 OR upper( l.acc_txt ) LIKE $7 OR upper( l.acc_txt ) LIKE $8 ) ) ii GROUP BY ii.cd
Date: 2024-03-12 01:04:48 Database: ctdprd51 Application: User: pubeu Remote:
7 2 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #7
Day Hour Count Mar 15 10 2 - ERROR: syntax error at or near "where" at character 57
- ERROR: syntax error at or near "and" at character 60
Statement: select * from pub2.term where acc_txt like 'D00225%' where object_type_id = 10 order by
Date: 2024-03-15 10:30:50 Database: ctdprd51 Application: pgAdmin 4 - CONN:270784 User: edit Remote:
Statement: select * from pub2.term -- where acc_txt like 'D00225%' and object_type_id = 10 from pub2.term -- where acc_txt like 'D00225%' where object_type_id = 10
Date: 2024-03-15 10:31:28
8 1 ERROR: syntax error at end of input
Times Reported Most Frequent Error / Event #8
Day Hour Count Mar 15 10 1 - ERROR: syntax error at end of input at character 90
Statement: select * from pub2.term where acc_txt like 'D00225%' and object_type_id = 10 order by select * from pub2.term -- where acc_txt like 'D00225%' and object_type_id = 10
Date: 2024-03-15 10:30:55
9 1 ERROR: column "..." does not exist
Times Reported Most Frequent Error / Event #9
Day Hour Count Mar 14 14 1 - ERROR: column "acc_txt" does not exist at character 32
Statement: select * from exposure where acc_txt in ('37741207','37611859','37134253','38385684','37560165','37545493','37141245', '37162236','37167483','37224071','36657687','37120575') order by create_tm desc
Date: 2024-03-14 14:40:52 Database: ctdprd51 Application: pgAdmin 4 - CONN:2677685 User: edit Remote: