-
Global information
- Generated on Sun May 12 04:15:14 2024
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20240511
- Parsed 177,489 log entries in 13s
- Log start from 2024-05-05 00:00:00 to 2024-05-11 23:58:57
-
Overview
Global Stats
- 306 Number of unique normalized queries
- 11,674 Number of queries
- 21h10m Total query duration
- 2024-05-05 00:00:00 First query
- 2024-05-11 23:48:04 Last query
- 4 queries/s at 2024-05-11 03:55:00 Query peak
- 21h10m Total query duration
- 0ms Prepare/parse total duration
- 1s98ms Bind total duration
- 21h9m59s Execute total duration
- 37 Number of events
- 11 Number of unique normalized events
- 8 Max number of times the same event was reported
- 0 Number of cancellation
- 30 Total number of automatic vacuums
- 142 Total number of automatic analyzes
- 0 Number temporary file
- 0 Max size of temporary file
- 0.00 B Average size of temporary file
- 16,233 Total number of sessions
- 79 sessions at 2024-05-08 00:34:20 Session peak
- 379d13h19m51s Total duration of sessions
- 33m40s Average duration of sessions
- 0 Average queries per session
- 4s694ms Average queries duration per session
- 33m35s Average idle time per session
- 16,233 Total number of connections
- 41 connections/s at 2024-05-07 02:02:49 Connection peak
- 2 Total number of databases
SQL Traffic
Key values
- 4 queries/s Query Peak
- 2024-05-11 03:55:00 Date
SELECT Traffic
Key values
- 4 queries/s Query Peak
- 2024-05-11 03:55:00 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1 queries/s Query Peak
- 2024-05-06 10:00:28 Date
Queries duration
Key values
- 21h10m 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) May 05 00 21 0ms 15m43s 48s441ms 6s800ms 8s700ms 15m52s 01 16 0ms 27s272ms 4s971ms 3s675ms 4s931ms 27s272ms 02 25 0ms 3s56ms 1s699ms 2s659ms 3s659ms 5s358ms 03 13 0ms 6s807ms 2s843ms 3s227ms 5s41ms 6s807ms 04 18 0ms 12s583ms 2s911ms 3s261ms 5s649ms 12s583ms 05 55 0ms 11s841ms 2s577ms 11s841ms 13s817ms 25s288ms 06 25 0ms 32s201ms 5s836ms 6s774ms 9s446ms 52s221ms 07 10 0ms 4s886ms 2s133ms 1s589ms 3s221ms 4s886ms 08 14 0ms 3s241ms 1s671ms 1s779ms 2s324ms 4s289ms 09 16 0ms 5s116ms 2s30ms 2s310ms 4s900ms 5s842ms 10 26 0ms 32s101ms 4s879ms 3s488ms 10s584ms 53s556ms 11 19 0ms 5s971ms 2s768ms 5s128ms 5s971ms 6s580ms 12 23 0ms 17m6s 46s857ms 5s3ms 7s4ms 17m6s 13 12 0ms 5s211ms 2s291ms 2s383ms 2s744ms 7s261ms 14 27 0ms 32s138ms 5s221ms 6s107ms 9s430ms 52s334ms 15 17 0ms 2m50s 17s270ms 5s120ms 5s451ms 2m50s 16 15 0ms 15s560ms 4s116ms 3s998ms 6s296ms 16s79ms 17 13 0ms 15s652ms 3s58ms 3s212ms 5s129ms 15s652ms 18 28 0ms 32s244ms 6s472ms 8s744ms 15s304ms 52s509ms 19 17 0ms 5s274ms 2s161ms 3s235ms 5s52ms 5s274ms 20 19 0ms 14s785ms 2s725ms 2s754ms 5s29ms 15s945ms 21 21 0ms 17m14s 52s182ms 5s39ms 8s906ms 17m14s 22 33 0ms 15s332ms 2s942ms 6s274ms 10s834ms 15s332ms 23 19 0ms 6s415ms 2s935ms 5s127ms 6s3ms 7s888ms May 06 00 28 0ms 15m43s 38s18ms 10s65ms 19s731ms 15m48s 01 15 0ms 8s323ms 2s343ms 2s550ms 2s780ms 8s323ms 02 31 0ms 5s759ms 2s66ms 3s125ms 4s172ms 15s950ms 03 24 0ms 5s863ms 2s684ms 5s96ms 5s835ms 8s166ms 04 18 0ms 5s449ms 2s704ms 4s48ms 6s112ms 8s141ms 05 63 0ms 5s40ms 2s278ms 8s696ms 13s633ms 25s646ms 06 26 0ms 32s130ms 4s800ms 2s439ms 10s599ms 52s489ms 07 23 0ms 4s802ms 2s367ms 3s947ms 4s802ms 5s468ms 08 27 0ms 5s81ms 2s262ms 3s398ms 3s883ms 9s131ms 09 33 0ms 8m33s 18s86ms 6s327ms 8s480ms 8m33s 10 32 0ms 32s161ms 6s52ms 9s390ms 24s273ms 52s220ms 11 323 0ms 4m47s 2s776ms 24s856ms 32s714ms 4m47s 12 244 0ms 19s534ms 2s104ms 24s844ms 30s409ms 47s521ms 13 41 0ms 7s10ms 2s15ms 3s859ms 6s833ms 11s352ms 14 26 0ms 32s68ms 4s697ms 3s943ms 9s440ms 39s151ms 15 16 0ms 4s748ms 2s229ms 2s309ms 3s180ms 9s435ms 16 21 0ms 5s935ms 2s274ms 3s912ms 5s190ms 5s935ms 17 18 0ms 6s195ms 2s520ms 3s889ms 5s150ms 6s202ms 18 25 0ms 32s296ms 5s270ms 4s903ms 9s421ms 52s225ms 19 13 0ms 11s704ms 4s180ms 5s155ms 5s893ms 11s704ms 20 16 0ms 5s273ms 1s979ms 1s985ms 3s258ms 9s147ms 21 24 0ms 10s339ms 2s909ms 5s788ms 6s357ms 10s339ms 22 42 0ms 3m13s 9s178ms 12s585ms 26s379ms 3m13s 23 31 0ms 1m16s 5s786ms 5s591ms 6s968ms 1m21s May 07 00 20 0ms 15m51s 52s799ms 11s225ms 23s577ms 15m56s 01 22 0ms 3m36s 18s799ms 20s911ms 35s355ms 3m40s 02 7 0ms 23s798ms 7s301ms 0ms 16s637ms 34s470ms 03 0 0ms 0ms 0ms 0ms 0ms 0ms 04 0 0ms 0ms 0ms 0ms 0ms 0ms 05 46 0ms 6s12ms 2s446ms 10s486ms 13s704ms 25s70ms 06 37 0ms 32s197ms 4s184ms 10s537ms 17s155ms 38s851ms 07 23 0ms 15s233ms 3s214ms 4s677ms 6s588ms 15s233ms 08 39 0ms 27s349ms 3s931ms 8s803ms 14s326ms 29s653ms 09 122 0ms 14s651ms 3s386ms 11s318ms 23s941ms 3m2s 10 54 0ms 32s187ms 3s892ms 7s793ms 14s640ms 1m8s 11 64 0ms 51s404ms 2s881ms 7s680ms 12s329ms 57s634ms 12 29 0ms 7s907ms 1s882ms 4s234ms 5s149ms 7s914ms 13 56 0ms 5s988ms 2s474ms 7s842ms 8s900ms 16s341ms 14 73 0ms 32s118ms 4s633ms 14s943ms 38s758ms 1m35s 15 41 0ms 6s890ms 2s245ms 6s424ms 7s605ms 11s523ms 16 26 0ms 15s267ms 3s546ms 5s909ms 14s619ms 15s267ms 17 22 0ms 15s3ms 3s710ms 5s37ms 14s499ms 15s3ms 18 33 0ms 32s339ms 6s905ms 16s250ms 41s812ms 52s536ms 19 99 0ms 17m5s 18s676ms 29s272ms 50s220ms 17m8s 20 41 0ms 30s972ms 5s308ms 5s992ms 28s497ms 37s685ms 21 65 0ms 46s159ms 5s44ms 18s380ms 36s259ms 1m3s 22 27 0ms 5s331ms 2s474ms 3s968ms 5s83ms 5s331ms 23 42 0ms 28s122ms 5s283ms 13s548ms 26s990ms 28s561ms May 08 00 34 0ms 15m50s 45s420ms 27s253ms 58s461ms 16m 01 0 0ms 0ms 0ms 0ms 0ms 0ms 02 0 0ms 0ms 0ms 0ms 0ms 0ms 03 0 0ms 0ms 0ms 0ms 0ms 0ms 04 0 0ms 0ms 0ms 0ms 0ms 0ms 05 104 0ms 31s90ms 2s804ms 26s272ms 37s73ms 54s1ms 06 94 0ms 17m24s 20s335ms 30s485ms 1m24s 17m25s 07 34 0ms 3m21s 8s16ms 4s864ms 8s179ms 3m21s 08 148 0ms 2m9s 2s436ms 8s531ms 10s823ms 2m9s 09 223 1s105ms 9s331ms 1s468ms 9s325ms 13s552ms 16s245ms 10 187 0ms 3m58s 4s452ms 11s861ms 42s233ms 8m 11 193 0ms 12s140ms 1s613ms 11s971ms 15s465ms 24s272ms 12 117 0ms 11s807ms 1s567ms 5s731ms 8s464ms 14s151ms 13 87 0ms 5s540ms 2s119ms 8s470ms 9s534ms 13s661ms 14 93 0ms 32s261ms 2s322ms 5s943ms 35s257ms 57s824ms 15 9 0ms 3s945ms 2s313ms 2s841ms 3s945ms 5s3ms 16 29 0ms 15s717ms 3s969ms 8s625ms 19s687ms 41s784ms 17 10 0ms 56s439ms 9s778ms 3s932ms 5s 56s439ms 18 30 0ms 17m23s 40s24ms 13s960ms 38s832ms 17m23s 19 13 0ms 13s712ms 3s156ms 3s889ms 5s179ms 13s712ms 20 55 0ms 8s240ms 1s952ms 6s481ms 12s159ms 28s728ms 21 41 0ms 4s770ms 1s662ms 5s779ms 10s289ms 17s524ms 22 42 0ms 7s525ms 1s528ms 4s156ms 5s406ms 17s486ms 23 67 0ms 9s365ms 2s547ms 8s910ms 18s401ms 46s302ms May 09 00 26 0ms 15m52s 39s871ms 5s255ms 15s222ms 16m 01 33 0ms 44s70ms 4s34ms 5s350ms 9s198ms 45s518ms 02 86 0ms 46s652ms 5s487ms 29s321ms 45s884ms 1m41s 03 57 0ms 15s249ms 2s262ms 7s610ms 15s249ms 25s683ms 04 40 0ms 18s250ms 3s434ms 7s819ms 9s607ms 29s736ms 05 50 0ms 17s563ms 3s6ms 13s719ms 23s510ms 29s249ms 06 42 0ms 32s440ms 6s793ms 11s628ms 55s950ms 1m 07 76 0ms 15s360ms 4s547ms 18s400ms 43s579ms 46s721ms 08 56 0ms 7s709ms 2s315ms 5s548ms 13s554ms 21s496ms 09 21 0ms 3s902ms 1s929ms 3s869ms 3s902ms 5s726ms 10 56 0ms 32s279ms 4s377ms 17s740ms 38s931ms 52s389ms 11 14 0ms 18m22s 1m20s 2s337ms 3s888ms 18m22s 12 19 0ms 13s472ms 7s189ms 2s277ms 2s914ms 1m46s 13 14 0ms 17s963ms 3s496ms 3s978ms 4s762ms 17s963ms 14 56 0ms 4m8s 7s857ms 38s887ms 52s346ms 4m8s 15 20 0ms 3s972ms 1s322ms 2s283ms 2s302ms 4s696ms 16 11 0ms 6s738ms 2s817ms 2s324ms 5s144ms 6s948ms 17 23 0ms 43s916ms 3s696ms 2s490ms 6s589ms 43s916ms 18 21 0ms 32s498ms 5s939ms 2s254ms 11s710ms 52s184ms 19 19 0ms 6s45ms 2s344ms 3s806ms 7s191ms 10s90ms 20 20 0ms 58s413ms 6s697ms 2s451ms 8s553ms 58s413ms 21 22 0ms 38s753ms 5s402ms 7s580ms 14s609ms 39s933ms 22 321 0ms 15s497ms 2s781ms 41s58ms 42s610ms 49s989ms 23 18 0ms 15s293ms 2s322ms 2s395ms 3s924ms 15s293ms May 10 00 279 0ms 15m46s 6s204ms 20s868ms 23s53ms 15m51s 01 380 1s97ms 5s165ms 3s341ms 23s523ms 26s426ms 28s514ms 02 386 1s8ms 4s359ms 3s751ms 31s928ms 33s180ms 40s770ms 03 357 1s26ms 16s48ms 4s131ms 27s728ms 30s885ms 42s98ms 04 333 1s163ms 7s829ms 4s553ms 28s595ms 33s726ms 36s290ms 05 234 0ms 2m58s 5s145ms 29s956ms 33s995ms 2m58s 06 16 0ms 32s170ms 6s995ms 1s737ms 9s386ms 52s582ms 07 15 0ms 4s852ms 2s266ms 3s927ms 4s852ms 6s185ms 08 12 0ms 3s887ms 1s812ms 2s112ms 2s289ms 3s887ms 09 38 0ms 15s89ms 2s656ms 9s36ms 10s549ms 17s835ms 10 24 0ms 32s141ms 7s213ms 14s635ms 16s399ms 54s684ms 11 23 0ms 15s172ms 3s608ms 5s761ms 10s669ms 15s172ms 12 17 0ms 2s789ms 1s480ms 2s376ms 2s789ms 6s409ms 13 4 0ms 1s477ms 1s326ms 0ms 1s283ms 1s477ms 14 19 0ms 32s141ms 6s152ms 3s883ms 4s778ms 52s324ms 15 9 0ms 7s712ms 3s364ms 2s136ms 3s944ms 7s712ms 16 7 0ms 3s949ms 1s986ms 1s52ms 2s405ms 3s949ms 17 9 0ms 3m6s 22s762ms 2s303ms 6s195ms 3m6s 18 22 0ms 8m37s 37s209ms 9s441ms 52s391ms 8m37s 19 2 0ms 6s194ms 5s444ms 0ms 4s694ms 6s194ms 20 4 0ms 2s175ms 1s553ms 0ms 1s379ms 2s175ms 21 5 0ms 4s812ms 2s656ms 1s2ms 2s255ms 4s812ms 22 18 0ms 4s793ms 1s961ms 2s412ms 3s812ms 9s574ms 23 14 0ms 8s181ms 2s656ms 3s845ms 4s472ms 8s181ms May 11 00 13 0ms 15m44s 1m16s 2s826ms 14s625ms 15m49s 01 4 0ms 14s341ms 5s432ms 0ms 1s558ms 14s341ms 02 127 0ms 3m35s 6s571ms 26s147ms 36s453ms 3m35s 03 147 0ms 28s672ms 5s443ms 31s298ms 51s253ms 59s595ms 04 25 0ms 3s911ms 1s635ms 2s512ms 3s911ms 6s371ms 05 47 0ms 26s122ms 3s161ms 13s667ms 24s524ms 26s122ms 06 100 0ms 5s678ms 5s15ms 27s392ms 27s558ms 33s149ms 07 323 1s127ms 6s45ms 5s344ms 31s57ms 31s508ms 33s200ms 08 204 0ms 1m40s 5s789ms 32s435ms 36s815ms 2m11s 09 10 0ms 4s773ms 2s18ms 2s346ms 2s593ms 4s773ms 10 13 0ms 5s890ms 1s939ms 2s435ms 3s934ms 5s890ms 11 8 0ms 3s947ms 1s514ms 1s169ms 3s535ms 3s947ms 12 199 0ms 3m35s 6s979ms 43s935ms 44s286ms 3m35s 13 406 1s155ms 7s91ms 6s449ms 47s531ms 48s89ms 48s963ms 14 389 1s60ms 7s694ms 6s928ms 50s653ms 52s353ms 54s196ms 15 365 1s76ms 20s533ms 7s542ms 46s845ms 51s947ms 1m26s 16 366 1s43ms 8s906ms 7s631ms 50s21ms 52s709ms 55s606ms 17 349 1s69ms 4m14s 8s739ms 52s89ms 54s22ms 4m55s 18 355 1s13ms 23m13s 13s84ms 1m34s 1m54s 24m7s 19 358 1s106ms 23m9s 17s33ms 2m19s 7m29s 23m57s 20 233 0ms 10s158ms 9s14ms 50s377ms 52s514ms 56s299ms 21 9 0ms 10s351ms 3s585ms 2s530ms 10s351ms 11s271ms 22 7 0ms 3s281ms 1s785ms 1s695ms 2s717ms 3s281ms 23 9 0ms 15s242ms 3s276ms 2s55ms 2s732ms 15s242ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) May 05 00 20 0 50s608ms 2s866ms 6s800ms 15m47s 01 16 0 4s971ms 1s254ms 3s675ms 27s272ms 02 25 0 1s699ms 1s819ms 2s659ms 4s686ms 03 13 0 2s843ms 1s231ms 3s227ms 6s807ms 04 18 0 2s911ms 1s602ms 3s261ms 12s583ms 05 53 0 2s548ms 3s943ms 11s841ms 25s288ms 06 14 10 6s 2s260ms 6s774ms 52s221ms 07 10 0 2s133ms 1s55ms 1s589ms 4s886ms 08 13 0 1s550ms 1s301ms 1s522ms 2s581ms 09 16 0 2s30ms 1s369ms 2s310ms 5s842ms 10 16 10 4s879ms 1s544ms 3s488ms 52s297ms 11 19 0 2s768ms 1s501ms 5s128ms 6s580ms 12 23 0 46s857ms 1s957ms 5s3ms 17m6s 13 12 0 2s291ms 1s188ms 2s383ms 7s261ms 14 17 10 5s221ms 2s896ms 6s107ms 52s334ms 15 17 0 17s270ms 1s290ms 5s120ms 2m50s 16 15 0 4s116ms 1s179ms 3s998ms 15s560ms 17 13 0 3s58ms 1s200ms 3s212ms 15s652ms 18 19 9 6s472ms 5s517ms 8s744ms 52s509ms 19 17 0 2s161ms 1s580ms 3s235ms 5s274ms 20 19 0 2s725ms 1s332ms 2s754ms 15s945ms 21 21 0 52s182ms 2s932ms 5s39ms 17m14s 22 32 0 2s933ms 3s894ms 6s274ms 15s332ms 23 19 0 2s935ms 2s311ms 5s127ms 7s888ms May 06 00 27 0 39s240ms 3s775ms 10s65ms 15m43s 01 15 0 2s343ms 1s751ms 2s550ms 8s323ms 02 31 0 2s66ms 2s369ms 3s125ms 15s950ms 03 24 0 2s684ms 3s20ms 5s96ms 8s166ms 04 18 0 2s704ms 2s291ms 4s48ms 8s141ms 05 59 0 2s283ms 4s122ms 8s696ms 25s646ms 06 16 10 4s800ms 1s302ms 2s439ms 38s803ms 07 23 0 2s367ms 2s416ms 3s947ms 5s345ms 08 27 0 2s262ms 2s770ms 3s398ms 9s131ms 09 33 0 18s86ms 3s885ms 6s327ms 8m33s 10 23 9 6s52ms 5s68ms 9s390ms 52s220ms 11 323 0 2s776ms 22s619ms 24s856ms 42s932ms 12 244 0 2s104ms 18s998ms 24s844ms 35s786ms 13 40 0 2s18ms 2s274ms 3s859ms 7s10ms 14 17 9 4s697ms 2s877ms 3s943ms 39s151ms 15 16 0 2s229ms 1s301ms 2s309ms 4s748ms 16 21 0 2s274ms 1s645ms 3s912ms 5s935ms 17 18 0 2s520ms 2s408ms 3s889ms 6s202ms 18 15 10 5s270ms 2s99ms 4s903ms 52s225ms 19 13 0 4s180ms 1s981ms 5s155ms 11s704ms 20 16 0 1s979ms 1s242ms 1s985ms 9s147ms 21 24 0 2s909ms 3s141ms 5s788ms 10s339ms 22 42 0 9s178ms 5s759ms 12s585ms 29s139ms 23 31 0 5s786ms 3s847ms 5s591ms 1m21s May 07 00 19 0 55s311ms 2s520ms 11s225ms 15m51s 01 22 0 18s799ms 7s28ms 20s911ms 3m40s 02 7 0 7s301ms 0ms 0ms 34s470ms 03 0 0 0ms 0ms 0ms 0ms 04 0 0 0ms 0ms 0ms 0ms 05 42 0 2s460ms 2s96ms 9s809ms 25s70ms 06 29 8 4s184ms 4s617ms 9s407ms 38s851ms 07 23 0 3s214ms 2s553ms 4s677ms 15s233ms 08 39 0 3s931ms 4s541ms 8s803ms 29s653ms 09 122 0 3s386ms 5s615ms 11s318ms 53s825ms 10 44 10 3s892ms 3s259ms 9s463ms 38s824ms 11 64 0 2s881ms 4s884ms 7s680ms 57s634ms 12 29 0 1s882ms 2s553ms 4s234ms 7s914ms 13 55 0 2s460ms 5s834ms 7s842ms 16s341ms 14 63 10 4s633ms 4s635ms 14s943ms 52s680ms 15 41 0 2s245ms 3s876ms 6s424ms 11s523ms 16 26 0 3s546ms 2s770ms 5s909ms 15s267ms 17 22 0 3s710ms 2s369ms 5s37ms 15s3ms 18 23 10 6s905ms 5s81ms 16s250ms 52s536ms 19 98 0 18s833ms 15s23ms 29s272ms 8m26s 20 41 0 5s308ms 3s960ms 5s992ms 30s972ms 21 63 0 5s131ms 11s135ms 18s380ms 1m3s 22 27 0 2s474ms 3s876ms 3s968ms 5s331ms 23 42 0 5s283ms 5s276ms 13s548ms 28s122ms May 08 00 33 0 46s642ms 6s432ms 27s253ms 15m55s 01 0 0 0ms 0ms 0ms 0ms 02 0 0 0ms 0ms 0ms 0ms 03 0 0 0ms 0ms 0ms 0ms 04 0 0 0ms 0ms 0ms 0ms 05 100 0 2s826ms 18s221ms 26s272ms 54s1ms 06 83 10 20s518ms 9s446ms 30s829ms 8m27s 07 34 0 8s16ms 3s703ms 4s864ms 9s602ms 08 148 0 2s436ms 6s760ms 8s531ms 15s849ms 09 223 0 1s468ms 7s496ms 9s325ms 13s618ms 10 177 10 4s452ms 7s400ms 11s367ms 52s388ms 11 193 0 1s613ms 7s291ms 11s971ms 20s684ms 12 117 0 1s567ms 5s38ms 5s731ms 12s933ms 13 87 0 2s119ms 5s15ms 8s470ms 12s68ms 14 84 9 2s322ms 4s104ms 6s998ms 38s918ms 15 9 0 2s313ms 0ms 2s841ms 5s3ms 16 29 0 3s969ms 2s421ms 8s625ms 41s784ms 17 10 0 9s778ms 0ms 3s932ms 56s439ms 18 20 10 40s24ms 1s724ms 13s960ms 17m23s 19 13 0 3s156ms 0ms 3s889ms 13s712ms 20 55 0 1s952ms 2s649ms 6s481ms 28s728ms 21 41 0 1s662ms 2s293ms 5s779ms 17s524ms 22 42 0 1s528ms 2s29ms 4s156ms 17s486ms 23 67 0 2s547ms 3s859ms 8s910ms 46s302ms May 09 00 25 0 41s262ms 2s564ms 5s255ms 15s301ms 01 33 0 4s34ms 3s880ms 5s350ms 45s518ms 02 86 0 5s487ms 7s941ms 29s321ms 46s652ms 03 57 0 2s262ms 2s646ms 7s610ms 16s996ms 04 40 0 3s434ms 5s576ms 7s819ms 29s736ms 05 47 0 3s34ms 4s67ms 13s719ms 29s249ms 06 32 10 6s793ms 9s823ms 17s871ms 55s950ms 07 76 0 4s547ms 9s654ms 18s400ms 43s806ms 08 56 0 2s315ms 4s902ms 5s548ms 14s684ms 09 21 0 1s929ms 2s297ms 3s869ms 5s726ms 10 46 10 4s377ms 7s415ms 17s127ms 52s389ms 11 14 0 1m20s 1s184ms 2s337ms 18m22s 12 19 0 7s189ms 0ms 2s277ms 1m46s 13 14 0 3s496ms 2s238ms 3s978ms 17s963ms 14 46 10 7s857ms 4s729ms 38s887ms 4m8s 15 20 0 1s322ms 1s268ms 2s283ms 4s696ms 16 10 0 2s781ms 0ms 2s318ms 6s738ms 17 23 0 3s696ms 2s289ms 2s490ms 43s916ms 18 11 10 5s939ms 1s184ms 2s254ms 52s184ms 19 19 0 2s344ms 2s387ms 3s806ms 10s90ms 20 20 0 6s697ms 2s285ms 2s451ms 58s413ms 21 22 0 5s402ms 2s157ms 7s580ms 39s933ms 22 321 0 2s781ms 39s37ms 41s58ms 43s116ms 23 18 0 2s322ms 1s723ms 2s395ms 15s293ms May 10 00 278 0 6s209ms 19s706ms 20s868ms 24s401ms 01 380 0 3s341ms 22s133ms 23s523ms 28s322ms 02 384 0 3s759ms 28s67ms 31s928ms 38s747ms 03 357 0 4s131ms 26s271ms 27s728ms 33s608ms 04 333 0 4s553ms 27s603ms 28s595ms 34s420ms 05 230 0 5s192ms 26s943ms 29s956ms 38s371ms 06 5 10 7s346ms 0ms 1s662ms 52s582ms 07 15 0 2s266ms 1s285ms 3s927ms 6s185ms 08 12 0 1s812ms 1s206ms 2s112ms 3s887ms 09 38 0 2s656ms 3s754ms 9s36ms 17s835ms 10 14 10 7s213ms 2s351ms 14s635ms 52s332ms 11 23 0 3s608ms 2s873ms 5s761ms 15s172ms 12 17 0 1s480ms 1s143ms 2s376ms 6s409ms 13 4 0 1s326ms 0ms 0ms 1s477ms 14 9 9 6s390ms 1s160ms 3s617ms 38s784ms 15 9 0 3s364ms 0ms 2s136ms 6s391ms 16 7 0 1s986ms 0ms 1s52ms 3s924ms 17 9 0 22s762ms 0ms 2s303ms 3m6s 18 12 10 37s209ms 2s268ms 9s441ms 8m37s 19 2 0 5s444ms 0ms 0ms 6s194ms 20 4 0 1s553ms 0ms 0ms 2s175ms 21 5 0 2s656ms 0ms 1s2ms 4s812ms 22 18 0 1s961ms 1s121ms 2s412ms 9s574ms 23 14 0 2s656ms 1s219ms 3s845ms 8s181ms May 11 00 12 0 1m22s 1s135ms 2s826ms 15m44s 01 4 0 5s432ms 0ms 0ms 14s341ms 02 127 0 6s571ms 26s13ms 26s147ms 41s985ms 03 146 0 5s472ms 28s838ms 31s298ms 52s58ms 04 25 0 1s635ms 1s946ms 2s512ms 6s371ms 05 44 0 3s200ms 3s942ms 13s667ms 26s122ms 06 100 0 5s15ms 27s172ms 27s392ms 33s149ms 07 323 0 5s344ms 29s917ms 31s57ms 33s145ms 08 204 0 5s789ms 31s505ms 32s435ms 50s996ms 09 10 0 2s18ms 0ms 2s346ms 4s773ms 10 13 0 1s939ms 0ms 2s435ms 5s890ms 11 8 0 1s514ms 0ms 1s169ms 3s947ms 12 198 0 6s997ms 43s332ms 43s935ms 46s212ms 13 406 0 6s449ms 46s325ms 47s531ms 48s304ms 14 389 0 6s928ms 48s923ms 50s653ms 53s349ms 15 365 0 7s542ms 46s587ms 46s845ms 52s38ms 16 366 0 7s631ms 48s808ms 50s21ms 54s178ms 17 349 0 8s739ms 50s687ms 52s89ms 55s227ms 18 329 26 13s84ms 53s626ms 56s166ms 1m21s 19 314 44 17s33ms 1m1s 1m26s 7m1s 20 233 0 9s14ms 48s292ms 50s377ms 55s519ms 21 9 0 3s585ms 0ms 2s530ms 11s271ms 22 7 0 1s785ms 0ms 1s695ms 3s281ms 23 9 0 3s276ms 0ms 2s55ms 15s242ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) May 05 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 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 May 06 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 May 07 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 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 May 08 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 May 09 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms May 10 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms May 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 Day Hour Prepare Bind Bind/Prepare Percentage of prepare May 05 00 0 19 19.00 0.00% 01 0 16 16.00 0.00% 02 0 25 25.00 0.00% 03 0 13 13.00 0.00% 04 0 18 18.00 0.00% 05 0 55 55.00 0.00% 06 0 15 15.00 0.00% 07 0 13 13.00 0.00% 08 0 14 14.00 0.00% 09 0 16 16.00 0.00% 10 0 16 16.00 0.00% 11 0 19 19.00 0.00% 12 0 23 23.00 0.00% 13 0 12 12.00 0.00% 14 0 17 17.00 0.00% 15 0 17 17.00 0.00% 16 0 17 17.00 0.00% 17 0 13 13.00 0.00% 18 0 19 19.00 0.00% 19 0 17 17.00 0.00% 20 0 19 19.00 0.00% 21 0 21 21.00 0.00% 22 0 33 33.00 0.00% 23 0 19 19.00 0.00% May 06 00 0 26 26.00 0.00% 01 0 15 15.00 0.00% 02 0 31 31.00 0.00% 03 0 24 24.00 0.00% 04 0 18 18.00 0.00% 05 0 63 63.00 0.00% 06 0 18 18.00 0.00% 07 0 30 30.00 0.00% 08 0 27 27.00 0.00% 09 0 33 33.00 0.00% 10 0 23 23.00 0.00% 11 0 338 338.00 0.00% 12 0 244 244.00 0.00% 13 0 55 55.00 0.00% 14 0 17 17.00 0.00% 15 0 19 19.00 0.00% 16 0 21 21.00 0.00% 17 0 19 19.00 0.00% 18 0 15 15.00 0.00% 19 0 13 13.00 0.00% 20 0 16 16.00 0.00% 21 0 24 24.00 0.00% 22 0 42 42.00 0.00% 23 0 31 31.00 0.00% May 07 00 0 18 18.00 0.00% 01 0 22 22.00 0.00% 02 0 7 7.00 0.00% 03 0 0 0.00 0.00% 04 0 0 0.00 0.00% 05 0 49 49.00 0.00% 06 0 34 34.00 0.00% 07 0 23 23.00 0.00% 08 0 39 39.00 0.00% 09 0 122 122.00 0.00% 10 0 45 45.00 0.00% 11 0 64 64.00 0.00% 12 0 29 29.00 0.00% 13 0 53 53.00 0.00% 14 0 62 62.00 0.00% 15 0 41 41.00 0.00% 16 0 27 27.00 0.00% 17 0 22 22.00 0.00% 18 0 23 23.00 0.00% 19 0 99 99.00 0.00% 20 0 41 41.00 0.00% 21 0 65 65.00 0.00% 22 0 27 27.00 0.00% 23 0 42 42.00 0.00% May 08 00 0 32 32.00 0.00% 01 0 0 0.00 0.00% 02 0 0 0.00 0.00% 03 0 0 0.00 0.00% 04 0 0 0.00 0.00% 05 0 104 104.00 0.00% 06 0 94 94.00 0.00% 07 0 42 42.00 0.00% 08 0 155 155.00 0.00% 09 0 223 223.00 0.00% 10 0 186 186.00 0.00% 11 0 211 211.00 0.00% 12 0 121 121.00 0.00% 13 0 87 87.00 0.00% 14 0 84 84.00 0.00% 15 0 9 9.00 0.00% 16 0 30 30.00 0.00% 17 0 10 10.00 0.00% 18 0 20 20.00 0.00% 19 0 13 13.00 0.00% 20 0 55 55.00 0.00% 21 0 41 41.00 0.00% 22 0 42 42.00 0.00% 23 0 67 67.00 0.00% May 09 00 0 24 24.00 0.00% 01 0 33 33.00 0.00% 02 0 86 86.00 0.00% 03 0 57 57.00 0.00% 04 0 40 40.00 0.00% 05 0 50 50.00 0.00% 06 0 32 32.00 0.00% 07 0 83 83.00 0.00% 08 0 62 62.00 0.00% 09 0 21 21.00 0.00% 10 0 46 46.00 0.00% 11 0 15 15.00 0.00% 12 0 19 19.00 0.00% 13 0 14 14.00 0.00% 14 0 46 46.00 0.00% 15 0 20 20.00 0.00% 16 0 13 13.00 0.00% 17 0 25 25.00 0.00% 18 0 11 11.00 0.00% 19 0 19 19.00 0.00% 20 0 20 20.00 0.00% 21 0 22 22.00 0.00% 22 0 321 321.00 0.00% 23 0 18 18.00 0.00% May 10 00 0 277 277.00 0.00% 01 0 380 380.00 0.00% 02 0 386 386.00 0.00% 03 0 357 357.00 0.00% 04 0 333 333.00 0.00% 05 0 234 234.00 0.00% 06 0 6 6.00 0.00% 07 0 15 15.00 0.00% 08 0 12 12.00 0.00% 09 0 38 38.00 0.00% 10 0 14 14.00 0.00% 11 0 22 22.00 0.00% 12 0 22 22.00 0.00% 13 0 6 6.00 0.00% 14 0 11 11.00 0.00% 15 0 10 10.00 0.00% 16 0 9 9.00 0.00% 17 0 9 9.00 0.00% 18 0 12 12.00 0.00% 19 0 2 2.00 0.00% 20 0 4 4.00 0.00% 21 0 5 5.00 0.00% 22 0 18 18.00 0.00% 23 0 14 14.00 0.00% May 11 00 0 11 11.00 0.00% 01 0 4 4.00 0.00% 02 0 127 127.00 0.00% 03 0 147 147.00 0.00% 04 0 25 25.00 0.00% 05 0 47 47.00 0.00% 06 0 100 100.00 0.00% 07 0 323 323.00 0.00% 08 0 204 204.00 0.00% 09 0 10 10.00 0.00% 10 0 13 13.00 0.00% 11 0 8 8.00 0.00% 12 0 201 201.00 0.00% 13 0 406 406.00 0.00% 14 0 389 389.00 0.00% 15 0 365 365.00 0.00% 16 0 366 366.00 0.00% 17 0 349 349.00 0.00% 18 0 329 329.00 0.00% 19 0 314 314.00 0.00% 20 0 233 233.00 0.00% 21 0 9 9.00 0.00% 22 0 7 7.00 0.00% 23 0 9 9.00 0.00% Day Hour Count Average / Second May 05 00 86 0.02/s 01 75 0.02/s 02 123 0.03/s 03 77 0.02/s 04 79 0.02/s 05 86 0.02/s 06 80 0.02/s 07 75 0.02/s 08 79 0.02/s 09 75 0.02/s 10 81 0.02/s 11 76 0.02/s 12 77 0.02/s 13 76 0.02/s 14 77 0.02/s 15 82 0.02/s 16 74 0.02/s 17 73 0.02/s 18 83 0.02/s 19 77 0.02/s 20 83 0.02/s 21 75 0.02/s 22 81 0.02/s 23 92 0.03/s May 06 00 86 0.02/s 01 80 0.02/s 02 81 0.02/s 03 72 0.02/s 04 79 0.02/s 05 97 0.03/s 06 107 0.03/s 07 75 0.02/s 08 80 0.02/s 09 79 0.02/s 10 79 0.02/s 11 94 0.03/s 12 100 0.03/s 13 79 0.02/s 14 77 0.02/s 15 79 0.02/s 16 81 0.02/s 17 77 0.02/s 18 79 0.02/s 19 78 0.02/s 20 77 0.02/s 21 77 0.02/s 22 175 0.05/s 23 99 0.03/s May 07 00 84 0.02/s 01 190 0.05/s 02 172 0.05/s 03 78 0.02/s 04 78 0.02/s 05 109 0.03/s 06 77 0.02/s 07 83 0.02/s 08 181 0.05/s 09 142 0.04/s 10 97 0.03/s 11 94 0.03/s 12 74 0.02/s 13 82 0.02/s 14 112 0.03/s 15 77 0.02/s 16 82 0.02/s 17 78 0.02/s 18 83 0.02/s 19 117 0.03/s 20 181 0.05/s 21 148 0.04/s 22 89 0.02/s 23 224 0.06/s May 08 00 133 0.04/s 01 59 0.02/s 02 61 0.02/s 03 64 0.02/s 04 63 0.02/s 05 98 0.03/s 06 96 0.03/s 07 89 0.02/s 08 90 0.03/s 09 107 0.03/s 10 106 0.03/s 11 95 0.03/s 12 89 0.02/s 13 113 0.03/s 14 84 0.02/s 15 76 0.02/s 16 69 0.02/s 17 84 0.02/s 18 88 0.02/s 19 87 0.02/s 20 92 0.03/s 21 77 0.02/s 22 86 0.02/s 23 136 0.04/s May 09 00 83 0.02/s 01 76 0.02/s 02 131 0.04/s 03 94 0.03/s 04 76 0.02/s 05 94 0.03/s 06 86 0.02/s 07 259 0.07/s 08 96 0.03/s 09 85 0.02/s 10 124 0.03/s 11 82 0.02/s 12 80 0.02/s 13 79 0.02/s 14 79 0.02/s 15 75 0.02/s 16 76 0.02/s 17 76 0.02/s 18 79 0.02/s 19 71 0.02/s 20 80 0.02/s 21 74 0.02/s 22 105 0.03/s 23 72 0.02/s May 10 00 98 0.03/s 01 124 0.03/s 02 134 0.04/s 03 133 0.04/s 04 130 0.04/s 05 129 0.04/s 06 81 0.02/s 07 75 0.02/s 08 84 0.02/s 09 95 0.03/s 10 92 0.03/s 11 101 0.03/s 12 74 0.02/s 13 70 0.02/s 14 80 0.02/s 15 71 0.02/s 16 71 0.02/s 17 78 0.02/s 18 79 0.02/s 19 76 0.02/s 20 77 0.02/s 21 71 0.02/s 22 73 0.02/s 23 75 0.02/s May 11 00 77 0.02/s 01 78 0.02/s 02 100 0.03/s 03 186 0.05/s 04 108 0.03/s 05 102 0.03/s 06 94 0.03/s 07 136 0.04/s 08 116 0.03/s 09 81 0.02/s 10 77 0.02/s 11 74 0.02/s 12 122 0.03/s 13 166 0.05/s 14 172 0.05/s 15 179 0.05/s 16 171 0.05/s 17 168 0.05/s 18 181 0.05/s 19 175 0.05/s 20 152 0.04/s 21 66 0.02/s 22 72 0.02/s 23 74 0.02/s Day Hour Count Average Duration Average idle time May 05 00 86 29m12s 29m 01 75 31m37s 31m36s 02 123 20m4s 20m4s 03 77 31m44s 31m43s 04 79 29m27s 29m26s 05 86 26m10s 26m8s 06 80 29m59s 29m57s 07 75 32m16s 32m16s 08 79 30m52s 30m52s 09 75 32m14s 32m14s 10 81 30m14s 30m13s 11 75 30m46s 30m45s 12 78 31m57s 31m44s 13 76 31m38s 31m38s 14 77 30m35s 30m33s 15 82 29m20s 29m17s 16 74 31m50s 31m50s 17 73 32m13s 32m13s 18 83 29m49s 29m47s 19 77 31m9s 31m8s 20 83 29m47s 29m46s 21 75 30m20s 30m5s 22 81 30m44s 30m43s 23 92 27m18s 27m17s May 06 00 86 28m14s 28m2s 01 80 30m28s 30m28s 02 81 30m9s 30m8s 03 72 29m42s 29m41s 04 79 30m46s 30m45s 05 97 24m38s 24m36s 06 107 23m39s 23m38s 07 75 29m21s 29m21s 08 80 32m 32m 09 79 30m39s 30m31s 10 79 30m42s 30m40s 11 94 25m47s 25m37s 12 100 24m46s 24m40s 13 79 28m 27m59s 14 77 31m22s 31m20s 15 79 31m42s 31m42s 16 81 29m34s 29m34s 17 77 30m55s 30m55s 18 79 30m36s 30m34s 19 78 30m42s 30m41s 20 77 30m23s 30m23s 21 77 29m18s 29m17s 22 175 14m24s 14m22s 23 99 23m30s 23m28s May 07 00 84 29m34s 29m21s 01 186 12m55s 12m52s 02 176 14m55s 14m55s 03 78 32m34s 32m34s 04 78 30m40s 30m40s 05 109 21m49s 21m48s 06 77 29m10s 29m8s 07 83 30m6s 30m5s 08 181 13m49s 13m48s 09 142 17m43s 17m40s 10 97 24m28s 24m26s 11 93 25m36s 25m34s 12 74 31m42s 31m41s 13 82 29m53s 29m51s 14 112 21m19s 21m16s 15 77 31m34s 31m32s 16 82 30m2s 30m1s 17 78 31m6s 31m5s 18 83 28m59s 28m56s 19 118 20h16m41s 20h16m25s 20 181 13m45s 13m44s 21 148 14m29s 14m27s 22 89 27m6s 27m5s 23 224 11m16s 11m15s May 08 00 133 17m36s 17m25s 01 59 30m41s 30m41s 02 61 30m39s 30m39s 03 64 30m39s 30m39s 04 63 30m41s 30m41s 05 98 45m 44m57s 06 96 24m57s 24m37s 07 89 27m12s 27m9s 08 90 28m3s 27m59s 09 107 22m18s 22m15s 10 106 23m12s 23m4s 11 95 25m7s 25m3s 12 89 27m4s 27m2s 13 113 22m12s 22m11s 14 84 26m54s 26m51s 15 76 30m57s 30m57s 16 69 31m57s 31m56s 17 84 31m59s 31m58s 18 88 28m32s 28m19s 19 87 26m51s 26m51s 20 92 26m22s 26m21s 21 77 28m10s 28m9s 22 86 28m53s 28m53s 23 136 18m11s 18m10s May 09 00 83 26m54s 26m42s 01 76 30m34s 30m33s 02 131 18m57s 18m54s 03 94 26m21s 26m20s 04 76 29m21s 29m19s 05 94 26m19s 26m17s 06 86 27m56s 27m53s 07 259 9m36s 9m35s 08 96 24m37s 24m35s 09 85 28m56s 28m56s 10 124 19m54s 19m52s 11 82 30m31s 30m17s 12 80 29m38s 29m36s 13 78 31m7s 31m6s 14 80 28m44s 28m39s 15 75 32m28s 32m27s 16 76 31m35s 31m34s 17 76 31m59s 31m58s 18 79 30m20s 30m18s 19 71 32m41s 32m40s 20 80 30m41s 30m40s 21 74 30m57s 30m56s 22 105 22m58s 22m49s 23 72 31m28s 31m28s May 10 00 98 24m40s 24m22s 01 124 19m29s 19m19s 02 134 18m44s 18m33s 03 133 17m51s 17m40s 04 130 18m44s 18m32s 05 129 18m11s 18m2s 06 81 29m52s 29m51s 07 75 32m25s 32m25s 08 84 29m2s 29m2s 09 95 25m29s 25m28s 10 92 26m8s 26m6s 11 98 25m15s 25m14s 12 74 31m46s 31m45s 13 70 34m6s 34m6s 14 80 31m31s 31m30s 15 71 32m52s 32m52s 16 71 33m6s 33m6s 17 80 39m54s 39m51s 18 80 35m54s 35m44s 19 76 31m25s 31m25s 20 77 31m5s 31m5s 21 71 32m16s 32m16s 22 73 32m1s 32m1s 23 75 31m29s 31m28s May 11 00 77 31m8s 30m56s 01 78 30m23s 30m22s 02 100 24m31s 24m22s 03 186 14m7s 14m3s 04 108 22m1s 22m1s 05 102 23m2s 23m1s 06 94 25m23s 25m18s 07 136 18m47s 18m34s 08 116 20m15s 20m5s 09 81 30m11s 30m10s 10 77 30m51s 30m51s 11 74 32m10s 32m10s 12 122 20m7s 19m56s 13 166 14m35s 14m20s 14 172 14m13s 13m57s 15 179 13m29s 13m14s 16 171 14m11s 13m54s 17 168 14m36s 14m18s 18 180 13m38s 13m12s 19 176 14m3s 13m28s 20 152 15m38s 15m24s 21 66 31m38s 31m38s 22 72 32m20s 32m19s 23 74 32m36s 32m35s -
Connections
Established Connections
Key values
- 41 connections Connection Peak
- 2024-05-07 02:02:49 Date
Connections per database
Key values
- ctdprd51 Main Database
- 16,233 connections Total
Connections per user
Key values
- pubeu Main User
- 16,233 connections Total
-
Sessions
Simultaneous sessions
Key values
- 79 sessions Session Peak
- 2024-05-08 00:34:20 Date
Histogram of session times
Key values
- 11,885 1800000-3600000ms duration
Sessions per database
Key values
- ctdprd51 Main Database
- 16,233 sessions Total
Sessions per user
Key values
- pubeu Main User
- 16,233 sessions Total
Sessions per host
Key values
- 10.12.5.37 Main Host
- 16,233 sessions Total
Host Count Total Duration Average Duration 10.12.5.122 30 97d16h23m12s 3d6h8m46s 10.12.5.37 5,595 56d16h34m22s 14m35s 10.12.5.38 2,634 55d23h24m45s 30m36s 10.12.5.39 2,591 56d28m38s 31m8s 10.12.5.40 36 45s705ms 1s269ms 10.12.5.45 2,666 55d23h53m39s 30m14s 10.12.5.46 2,625 55d21h42m26s 30m40s 192.168.201.10 1 8h13m9s 8h13m9s 192.168.201.18 4 20h30m7s 5h7m31s ::1 51 2h8m43s 2m31s -
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 111,665 buffers Checkpoint Peak
- 2024-05-08 06:39:52 Date
- 1619.926 seconds Highest write time
- 0.007 seconds Sync time
Checkpoints Wal files
Key values
- 46 files Wal files usage Peak
- 2024-05-08 06:39:52 Date
Checkpoints distance
Key values
- 1,461.92 Mo Distance Peak
- 2024-05-08 06:39:52 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time May 05 00 557 56.111s 0.003s 56.185s 01 178 18.015s 0.002s 18.046s 02 168 17.013s 0.002s 17.043s 03 202 20.416s 0.002s 20.446s 04 213 21.521s 0.002s 21.552s 05 1,078 108.244s 0.002s 108.317s 06 338 34.054s 0.002s 34.086s 07 1,913 191.756s 0.003s 191.832s 08 183 18.521s 0.002s 18.55s 09 1,053 105.688s 0.003s 105.719s 10 67 6.852s 0.001s 6.868s 11 49,269 1,639.044s 0.004s 1,639.219s 12 206 20.818s 0.002s 20.849s 13 169 17.117s 0.002s 17.148s 14 147 14.931s 0.002s 14.961s 15 310 31.289s 0.002s 31.319s 16 453 45.586s 0.002s 45.617s 17 249 25.134s 0.002s 25.164s 18 189 19.125s 0.002s 19.156s 19 129 13.111s 0.002s 13.143s 20 153 15.534s 0.002s 15.564s 21 69,196 1,629.466s 0.002s 1,629.62s 22 253 25.53s 0.002s 25.561s 23 159 16.115s 0.002s 16.146s May 06 00 2,033 203.783s 0.004s 203.857s 01 191 19.359s 0.002s 19.388s 02 191 19.315s 0.002s 19.345s 03 282 28.353s 0.002s 28.383s 04 9,998 961.791s 0.003s 961.955s 05 53,754 2,154.681s 0.003s 2,154.787s 06 5,773 578.449s 0.004s 578.519s 07 566 56.828s 0.002s 56.914s 08 75,848 1,640.917s 0.003s 1,641.374s 09 286 28.835s 0.002s 28.867s 10 896 89.955s 0.002s 89.984s 11 373 37.625s 0.002s 37.656s 12 512 51.448s 0.002s 51.481s 13 514 51.703s 0.002s 51.786s 14 955 95.869s 0.003s 95.899s 15 438 44.102s 0.002s 44.131s 16 248 25.041s 0.002s 25.072s 17 308 30.946s 0.002s 30.976s 18 152 15.413s 0.002s 15.444s 19 148 15.009s 0.002s 15.041s 20 169 17.145s 0.002s 17.176s 21 327 32.958s 0.002s 32.989s 22 240 24.144s 0.001s 24.16s 23 58,944 1,633.688s 0.004s 1,634.239s May 07 00 1,106 111.024s 0.004s 111.109s 01 161 16.352s 0.002s 16.382s 02 16 1.724s 0.001s 1.74s 03 0 0s 0s 0s 04 0 0s 0s 0s 05 241 24.261s 0.001s 24.276s 06 50,062 1,692.095s 0.004s 1,692.565s 07 635 63.822s 0.003s 63.853s 08 561 56.457s 0.002s 56.487s 09 406 40.873s 0.002s 40.904s 10 417 41.876s 0.003s 41.907s 11 1,059 106.319s 0.003s 106.35s 12 765 76.839s 0.003s 76.871s 13 150 15.22s 0.002s 15.252s 14 820 82.352s 0.002s 82.435s 15 132 13.403s 0.002s 13.433s 16 285 28.787s 0.003s 28.818s 17 249 25.136s 0.002s 25.166s 18 166 16.815s 0.002s 16.845s 19 657 66.021s 0.003s 66.058s 20 413 41.583s 0.002s 41.612s 21 328 33.077s 0.002s 33.107s 22 1,004 100.804s 0.004s 100.886s 23 310 31.154s 0.002s 31.186s May 08 00 1,858 186.439s 0.002s 186.473s 01 0 0s 0s 0s 02 0 0s 0s 0s 03 0 0s 0s 0s 04 0 0s 0s 0s 05 121 12.26s 0.001s 12.277s 06 111,928 1,645.896s 0.003s 1,646.512s 07 493 49.635s 0.002s 49.667s 08 1,063 106.617s 0.002s 106.7s 09 67,281 1,629.56s 0.003s 1,630.096s 10 4,631 464.084s 0.003s 464.188s 11 676 67.99s 0.002s 68.021s 12 665 66.861s 0.004s 66.891s 13 432 43.381s 0.002s 43.412s 14 711 71.371s 0.004s 71.401s 15 258 25.94s 0.001s 25.955s 16 58,513 2,165.151s 0.005s 2,165.701s 17 176 17.815s 0.002s 17.845s 18 156 15.815s 0.002s 15.846s 19 183 18.563s 0.002s 18.595s 20 66 6.702s 0.001s 6.718s 21 105,886 1,630.823s 0.004s 1,631.304s 22 1,131 113.504s 0.003s 113.535s 23 152 15.422s 0.002s 15.454s May 09 00 1,106 111.027s 0.005s 111.112s 01 110 11.207s 0.002s 11.238s 02 2,951 295.811s 0.003s 295.895s 03 816 81.947s 0.003s 82.027s 04 5,829 583.958s 0.003s 584.068s 05 1,680 168.553s 0.004s 168.585s 06 1,056 105.993s 0.002s 106.09s 07 347 34.953s 0.002s 34.983s 08 426 42.885s 0.003s 42.916s 09 181 18.361s 0.002s 18.393s 10 140 14.214s 0.002s 14.243s 11 326 32.848s 0.002s 32.88s 12 205 20.729s 0.002s 20.76s 13 280 28.138s 0.002s 28.17s 14 189 19.145s 0.002s 19.176s 15 146 14.81s 0.002s 14.842s 16 322 32.455s 0.002s 32.536s 17 383 38.564s 0.003s 38.595s 18 218 22.069s 0.002s 22.099s 19 118 12.008s 0.002s 12.038s 20 134 13.602s 0.002s 13.633s 21 135 13.712s 0.002s 13.744s 22 1,962 196.83s 0.003s 196.918s 23 4,867 487.674s 0.006s 487.773s May 10 00 1,274 127.852s 0.003s 127.977s 01 111 11.304s 0.002s 11.335s 02 194 19.683s 0.004s 19.72s 03 6,975 698.99s 0.003s 699.116s 04 150 15.252s 0.002s 15.315s 05 4,526 453.595s 0.003s 453.721s 06 2,659 266.532s 0.003s 266.562s 07 497 50.025s 0.003s 50.057s 08 421 42.38s 0.003s 42.412s 09 227 22.942s 0.002s 22.972s 10 270 27.274s 0.002s 27.305s 11 112 11.302s 0.002s 11.334s 12 245 24.766s 0.002s 24.797s 13 3,644 365.129s 0.004s 365.226s 14 395 39.775s 0.002s 39.806s 15 355 35.756s 0.002s 35.787s 16 1,055 105.956s 0.003s 106.038s 17 169 17.121s 0.002s 17.151s 18 192 19.421s 0.002s 19.449s 19 73 7.496s 0.002s 7.527s 20 81 8.309s 0.002s 8.339s 21 88 9.018s 0.002s 9.048s 22 197 19.924s 0.002s 19.956s 23 112 11.399s 0.002s 11.43s May 11 00 658 66.144s 0.003s 66.178s 01 165 16.722s 0.002s 16.753s 02 166 16.861s 0.002s 16.892s 03 5,413 542.657s 0.003s 542.747s 04 136 13.817s 0.002s 13.846s 05 1,703 170.878s 0.002s 170.909s 06 158 16.071s 0.002s 16.106s 07 180 18.255s 0.002s 18.287s 08 160 16.227s 0.002s 16.315s 09 162 16.43s 0.002s 16.46s 10 196 19.816s 0.002s 19.846s 11 5,481 549.271s 0.003s 549.339s 12 336 33.765s 0.003s 33.798s 13 122 12.431s 0.002s 12.463s 14 192 19.451s 0.002s 19.487s 15 121 12.327s 0.002s 12.358s 16 108 11.023s 0.002s 11.056s 17 123 12.513s 0.002s 12.546s 18 190 19.25s 0.008s 19.291s 19 116 11.808s 0.005s 11.858s 20 13,307 1,333.411s 0.002s 1,333.427s 21 112 11.401s 0.002s 11.433s 22 194 19.676s 0.002s 19.709s 23 10,745 1,076.587s 0.003s 1,076.743s Day Hour Added Removed Recycled Synced files Longest sync Average sync May 05 00 0 0 0 70 0.001s 0.002s 01 0 0 0 27 0.001s 0.002s 02 0 0 0 25 0.001s 0.002s 03 0 0 0 25 0.001s 0.002s 04 0 0 0 23 0.001s 0.002s 05 0 1 0 46 0.001s 0.002s 06 0 0 0 42 0.001s 0.002s 07 0 1 0 79 0.002s 0.002s 08 0 0 0 59 0.001s 0.002s 09 0 0 0 37 0.001s 0.002s 10 0 0 0 12 0.001s 0.001s 11 0 33 0 47 0.001s 0.003s 12 0 0 0 25 0.001s 0.002s 13 0 0 0 17 0.001s 0.002s 14 0 0 0 18 0.001s 0.002s 15 0 0 0 69 0.001s 0.002s 16 0 0 0 116 0.001s 0.002s 17 0 0 0 28 0.001s 0.002s 18 0 0 0 23 0.001s 0.002s 19 0 0 0 16 0.001s 0.002s 20 0 0 0 17 0.001s 0.002s 21 0 33 0 43 0.001s 0.002s 22 0 0 0 28 0.001s 0.002s 23 0 0 0 19 0.001s 0.002s May 06 00 0 1 0 70 0.001s 0.002s 01 0 0 0 26 0.001s 0.002s 02 0 0 0 29 0.001s 0.002s 03 0 0 0 39 0.001s 0.002s 04 0 38 0 46 0.001s 0.002s 05 0 3 2 52 0.001s 0.002s 06 0 0 3 132 0.001s 0.002s 07 0 0 1 128 0.001s 0.002s 08 0 0 32 109 0.001s 0.002s 09 0 0 0 33 0.001s 0.002s 10 0 0 0 39 0.001s 0.002s 11 0 0 0 70 0.001s 0.002s 12 0 0 0 74 0.001s 0.002s 13 0 0 1 118 0.001s 0.002s 14 0 0 0 75 0.001s 0.002s 15 0 0 0 114 0.001s 0.002s 16 0 0 0 62 0.001s 0.002s 17 0 0 0 109 0.001s 0.002s 18 0 0 0 24 0.001s 0.002s 19 0 0 0 18 0.001s 0.002s 20 0 0 0 18 0.001s 0.002s 21 0 0 0 28 0.001s 0.002s 22 0 0 0 26 0.001s 0.001s 23 0 0 39 48 0.001s 0.003s May 07 00 0 0 1 72 0.001s 0.002s 01 0 0 0 24 0.001s 0.002s 02 0 0 0 8 0.001s 0.001s 03 0 0 0 0 0s 0s 04 0 0 0 0 0s 0s 05 0 0 0 71 0.001s 0.001s 06 0 1 33 149 0.001s 0.002s 07 0 0 0 70 0.001s 0.002s 08 0 0 0 34 0.001s 0.002s 09 0 0 0 27 0.001s 0.002s 10 0 0 0 87 0.001s 0.002s 11 0 0 0 42 0.001s 0.002s 12 0 0 0 44 0.001s 0.002s 13 0 0 0 19 0.001s 0.002s 14 0 0 1 40 0.001s 0.002s 15 0 0 0 20 0.001s 0.002s 16 0 0 0 71 0.001s 0.002s 17 0 0 0 67 0.001s 0.002s 18 0 0 0 21 0.001s 0.002s 19 0 0 0 28 0.001s 0.002s 20 0 0 0 34 0.001s 0.002s 21 0 0 0 26 0.001s 0.002s 22 0 0 1 32 0.001s 0.002s 23 0 0 0 28 0.001s 0.002s May 08 00 0 0 0 79 0.001s 0.002s 01 0 0 0 0 0s 0s 02 0 0 0 0 0s 0s 03 0 0 0 0 0s 0s 04 0 0 0 0 0s 0s 05 0 0 0 19 0.001s 0.001s 06 0 0 46 149 0.001s 0.002s 07 0 0 0 123 0.001s 0.002s 08 0 0 1 91 0.001s 0.002s 09 0 0 39 86 0.001s 0.002s 10 0 0 3 86 0.001s 0.002s 11 0 0 0 140 0.001s 0.002s 12 0 0 0 132 0.001s 0.002s 13 0 0 0 37 0.001s 0.002s 14 0 0 0 53 0.001s 0.002s 15 0 0 0 19 0.001s 0.001s 16 0 0 39 55 0.001s 0.003s 17 0 0 0 63 0.001s 0.002s 18 0 0 0 21 0.001s 0.002s 19 0 0 0 17 0.001s 0.002s 20 0 0 0 9 0.001s 0.001s 21 0 0 33 46 0.001s 0.003s 22 0 0 0 27 0.001s 0.002s 23 0 0 0 18 0.001s 0.002s May 09 00 0 0 1 67 0.001s 0.002s 01 0 0 0 18 0.001s 0.002s 02 0 0 1 30 0.001s 0.002s 03 0 0 1 34 0.001s 0.002s 04 0 0 3 39 0.001s 0.002s 05 0 0 0 55 0.001s 0.002s 06 0 0 1 37 0.001s 0.002s 07 0 0 0 111 0.001s 0.002s 08 0 0 0 121 0.001s 0.002s 09 0 0 0 63 0.001s 0.002s 10 0 0 0 23 0.001s 0.002s 11 0 0 0 116 0.001s 0.002s 12 0 0 0 63 0.001s 0.002s 13 0 0 0 107 0.001s 0.002s 14 0 0 0 61 0.001s 0.002s 15 0 0 0 25 0.001s 0.002s 16 0 0 1 116 0.001s 0.002s 17 0 0 0 132 0.001s 0.002s 18 0 0 0 32 0.001s 0.002s 19 0 0 0 18 0.001s 0.002s 20 0 0 0 19 0.001s 0.002s 21 0 0 0 20 0.001s 0.002s 22 0 0 1 29 0.001s 0.002s 23 0 0 2 40 0.001s 0.002s May 10 00 0 0 1 69 0.001s 0.002s 01 0 0 0 25 0.001s 0.002s 02 0 0 0 32 0.002s 0.002s 03 0 0 4 61 0.001s 0.002s 04 0 0 0 28 0.001s 0.002s 05 0 0 4 44 0.001s 0.002s 06 0 0 0 82 0.001s 0.002s 07 0 0 0 128 0.001s 0.002s 08 0 0 0 122 0.001s 0.002s 09 0 0 0 30 0.001s 0.002s 10 0 0 0 106 0.001s 0.002s 11 0 0 0 24 0.001s 0.002s 12 0 0 0 71 0.001s 0.002s 13 0 0 2 217 0.001s 0.002s 14 0 0 0 121 0.001s 0.002s 15 0 0 0 113 0.001s 0.002s 16 0 0 1 131 0.001s 0.002s 17 0 0 0 64 0.001s 0.002s 18 0 0 0 35 0.001s 0.002s 19 0 0 0 16 0.001s 0.002s 20 0 0 0 19 0.001s 0.002s 21 0 0 0 18 0.001s 0.002s 22 0 0 0 26 0.001s 0.002s 23 0 0 0 18 0.001s 0.002s May 11 00 0 0 0 73 0.001s 0.002s 01 0 0 0 32 0.001s 0.002s 02 0 0 0 28 0.001s 0.002s 03 0 0 4 38 0.001s 0.002s 04 0 0 0 26 0.001s 0.002s 05 0 0 0 45 0.001s 0.002s 06 0 0 0 26 0.001s 0.002s 07 0 0 0 29 0.001s 0.002s 08 0 0 1 27 0.001s 0.002s 09 0 0 0 21 0.001s 0.002s 10 0 0 0 30 0.001s 0.002s 11 0 0 3 38 0.001s 0.002s 12 0 0 0 110 0.001s 0.002s 13 0 0 0 23 0.001s 0.002s 14 0 0 0 24 0.001s 0.002s 15 0 0 0 20 0.001s 0.002s 16 0 0 0 17 0.001s 0.002s 17 0 0 0 17 0.001s 0.002s 18 0 0 0 31 0.007s 0.002s 19 0 0 0 18 0.004s 0.002s 20 0 0 0 12 0.001s 0.001s 21 0 0 0 17 0.001s 0.002s 22 0 0 0 25 0.001s 0.002s 23 0 0 7 34 0.001s 0.002s Day Hour Count Avg time (sec) May 05 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s May 06 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s May 07 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s May 08 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 May 09 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s May 10 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s May 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 Day Hour Mean distance Mean estimate May 05 00 1,391.00 kB 8,502.50 kB 01 186.50 kB 6,980.50 kB 02 178.50 kB 5,677.00 kB 03 194.00 kB 4,647.00 kB 04 197.00 kB 3,788.00 kB 05 3,336.00 kB 5,778.50 kB 06 471.00 kB 4,778.00 kB 07 7,172.50 kB 12,511.00 kB 08 245.50 kB 10,232.50 kB 09 3,239.00 kB 8,637.50 kB 10 151.00 kB 7,664.00 kB 11 179,558.33 kB 486,383.00 kB 12 346.00 kB 372,962.50 kB 13 108.00 kB 302,121.00 kB 14 125.00 kB 244,741.50 kB 15 710.00 kB 198,340.00 kB 16 1,098.50 kB 160,864.00 kB 17 346.50 kB 130,382.50 kB 18 150.00 kB 105,655.50 kB 19 124.50 kB 85,606.00 kB 20 165.00 kB 69,370.00 kB 21 270,284.00 kB 513,203.00 kB 22 429.00 kB 415,781.50 kB 23 174.00 kB 336,818.00 kB May 06 00 6,950.50 kB 274,091.50 kB 01 216.50 kB 222,114.00 kB 02 200.50 kB 179,937.00 kB 03 565.50 kB 145,840.50 kB 04 49,793.00 kB 123,164.50 kB 05 298,372.00 kB 515,359.50 kB 06 29,730.50 kB 425,603.50 kB 07 1,516.50 kB 345,022.00 kB 08 264,679.50 kB 502,083.50 kB 09 545.50 kB 406,802.00 kB 10 2,275.50 kB 329,779.00 kB 11 732.00 kB 267,403.50 kB 12 1,026.50 kB 216,798.50 kB 13 1,205.00 kB 175,836.00 kB 14 2,639.50 kB 142,964.00 kB 15 962.50 kB 115,933.50 kB 16 346.50 kB 94,022.50 kB 17 711.50 kB 76,267.00 kB 18 143.50 kB 61,830.00 kB 19 194.50 kB 50,117.00 kB 20 180.00 kB 40,631.00 kB 21 626.00 kB 33,026.00 kB 22 1,102.00 kB 28,281.00 kB 23 213,678.00 kB 578,717.33 kB May 07 00 3,156.00 kB 444,232.00 kB 01 184.00 kB 359,925.50 kB 02 31.00 kB 306,889.00 kB 03 0.00 kB 0.00 kB 04 0.00 kB 0.00 kB 05 1,467.00 kB 276,347.00 kB 06 274,501.50 kB 517,248.00 kB 07 409.50 kB 419,258.50 kB 08 477.00 kB 339,672.50 kB 09 332.50 kB 275,212.50 kB 10 901.00 kB 223,042.00 kB 11 2,892.00 kB 181,262.00 kB 12 1,997.50 kB 147,039.50 kB 13 187.00 kB 119,302.50 kB 14 2,497.50 kB 96,905.50 kB 15 149.00 kB 78,727.00 kB 16 480.00 kB 63,830.00 kB 17 453.00 kB 51,819.00 kB 18 156.50 kB 42,004.50 kB 19 1,666.00 kB 34,200.50 kB 20 950.50 kB 28,021.50 kB 21 619.00 kB 22,772.50 kB 22 2,903.00 kB 19,035.00 kB 23 485.50 kB 15,488.50 kB May 08 00 5,895.50 kB 13,571.50 kB 01 0.00 kB 0.00 kB 02 0.00 kB 0.00 kB 03 0.00 kB 0.00 kB 04 0.00 kB 0.00 kB 05 505.00 kB 11,756.00 kB 06 374,905.50 kB 711,142.50 kB 07 1,329.50 kB 576,279.00 kB 08 2,210.50 kB 467,219.50 kB 09 320,629.00 kB 609,026.00 kB 10 22,636.50 kB 495,606.00 kB 11 1,433.00 kB 403,664.50 kB 12 1,491.00 kB 327,232.00 kB 13 534.50 kB 265,226.00 kB 14 1,947.50 kB 215,089.00 kB 15 1,133.00 kB 183,642.00 kB 16 212,241.67 kB 531,180.00 kB 17 399.50 kB 410,335.00 kB 18 141.00 kB 332,395.00 kB 19 154.50 kB 269,268.00 kB 20 155.00 kB 229,609.00 kB 21 181,007.67 kB 490,221.00 kB 22 662.00 kB 375,968.00 kB 23 180.50 kB 304,566.50 kB May 09 00 3,229.50 kB 247,186.00 kB 01 76.50 kB 200,367.50 kB 02 11,583.50 kB 164,498.00 kB 03 2,102.50 kB 133,462.50 kB 04 27,354.00 kB 113,479.50 kB 05 4,723.50 kB 92,637.00 kB 06 3,678.00 kB 75,912.00 kB 07 902.00 kB 61,617.00 kB 08 1,186.50 kB 50,152.50 kB 09 402.50 kB 40,724.50 kB 10 199.50 kB 33,026.00 kB 11 752.00 kB 26,866.00 kB 12 366.50 kB 21,842.50 kB 13 575.00 kB 17,806.00 kB 14 380.50 kB 14,508.50 kB 15 205.50 kB 11,790.50 kB 16 825.00 kB 9,685.50 kB 17 1,022.00 kB 8,029.00 kB 18 353.50 kB 6,586.00 kB 19 149.00 kB 5,379.00 kB 20 142.00 kB 4,386.50 kB 21 158.50 kB 3,580.50 kB 22 6,339.50 kB 7,778.00 kB 23 22,734.50 kB 40,055.50 kB May 10 00 3,699.50 kB 33,230.50 kB 01 164.00 kB 27,020.50 kB 02 343.50 kB 21,937.00 kB 03 32,835.00 kB 37,780.00 kB 04 287.50 kB 47,807.50 kB 05 22,847.50 kB 43,050.00 kB 06 9,289.50 kB 40,464.00 kB 07 1,351.00 kB 33,005.50 kB 08 1,108.50 kB 26,932.00 kB 09 422.00 kB 21,932.50 kB 10 612.50 kB 17,887.00 kB 11 184.50 kB 14,537.50 kB 12 589.00 kB 11,871.50 kB 13 13,851.50 kB 24,052.50 kB 14 1,068.50 kB 19,752.00 kB 15 990.50 kB 16,190.50 kB 16 3,350.50 kB 13,724.50 kB 17 401.00 kB 11,257.00 kB 18 333.00 kB 9,180.50 kB 19 146.50 kB 7,464.50 kB 20 147.00 kB 6,073.50 kB 21 171.00 kB 4,950.50 kB 22 391.00 kB 4,065.00 kB 23 185.00 kB 3,348.50 kB May 11 00 1,812.50 kB 2,998.00 kB 01 307.00 kB 2,538.00 kB 02 207.50 kB 2,094.00 kB 03 28,740.50 kB 54,533.00 kB 04 227.00 kB 44,216.00 kB 05 5,249.50 kB 36,360.50 kB 06 307.50 kB 29,960.00 kB 07 325.00 kB 24,328.00 kB 08 327.00 kB 19,750.00 kB 09 270.50 kB 16,054.00 kB 10 429.00 kB 13,093.00 kB 11 28,948.50 kB 34,270.00 kB 12 811.50 kB 49,108.50 kB 13 171.50 kB 39,846.00 kB 14 336.50 kB 32,322.50 kB 15 156.00 kB 26,228.00 kB 16 147.00 kB 21,272.00 kB 17 113.00 kB 17,253.00 kB 18 326.00 kB 14,038.50 kB 19 141.00 kB 11,396.00 kB 20 175.00 kB 9,741.00 kB 21 131.00 kB 8,347.50 kB 22 342.00 kB 6,809.00 kB 23 50,075.50 kB 94,996.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 May 05 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 May 06 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 May 07 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 May 08 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 May 09 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 May 10 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 May 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 -
Vacuums
Vacuums / Analyzes Distribution
Key values
- 13.60 sec Highest CPU-cost vacuum
Table pub2.term_set_enrichment_agent
Database ctdprd51 - 2024-05-08 20:33:26 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 13.60 sec Highest CPU-cost vacuum
Table pub2.term_set_enrichment_agent
Database ctdprd51 - 2024-05-08 20:33:26 Date
Analyzes per table
Key values
- pubc.log_query (122) Main table analyzed (database ctdprd51)
- 142 analyzes Total
Vacuums per table
Key values
- pubc.log_query (18) Main table vacuumed on database ctdprd51
- 30 vacuums Total
Index Buffer usage Skipped WAL usage Table Vacuums scans hits misses dirtied pins frozen records full page bytes ctdprd51.pubc.log_query 18 16 6,959 0 1,460 0 3 2,499 525 3,595,486 ctdprd51.pub2.term_set_enrichment_agent 4 0 445,956 0 149,578 0 0 222,727 13 13,242,180 ctdprd51.pub2.term_set_enrichment 4 0 9,484 0 3,662 0 0 4,529 8 321,351 ctdprd51.pg_catalog.pg_type 1 1 135 0 27 0 0 45 21 82,707 ctdprd51.pg_toast.pg_toast_2619 1 1 3,733 0 1,530 0 9,943 3,433 1,125 580,762 ctdprd51.pg_catalog.pg_statistic 1 1 698 0 141 0 0 407 129 548,588 ctdprd51.pg_toast.pg_toast_486223 1 0 38 0 4 0 0 6 1 8,680 Total 30 19 467,003 1,236 156,402 0 9,946 233,646 1,822 18,379,754 Tuples removed per table
Key values
- pg_toast.pg_toast_2619 (4251) Main table with removed tuples on database ctdprd51
- 8124 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain ctdprd51.pg_toast.pg_toast_2619 1 1 4,251 20,690 0 0 12,592 ctdprd51.pubc.log_query 18 16 3,386 45,576 0 0 1,740 ctdprd51.pg_catalog.pg_statistic 1 1 410 2,224 0 0 290 ctdprd51.pg_catalog.pg_type 1 1 77 1,151 0 0 35 ctdprd51.pub2.term_set_enrichment_agent 4 0 0 87,083,070 0 0 989,582 ctdprd51.pub2.term_set_enrichment 4 0 0 1,369,841 0 0 22,669 ctdprd51.pg_toast.pg_toast_486223 1 0 0 25 0 0 5 Total 30 19 8,124 88,522,577 0 0 1,026,913 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 18 16 3386 0 ctdprd51.pg_catalog.pg_type 1 1 77 0 ctdprd51.pg_toast.pg_toast_2619 1 1 4251 0 ctdprd51.pg_catalog.pg_statistic 1 1 410 0 ctdprd51.pub2.term_set_enrichment_agent 4 0 0 0 ctdprd51.pub2.term_set_enrichment 4 0 0 0 ctdprd51.pg_toast.pg_toast_486223 1 0 0 0 Total 30 19 8,124 0 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs May 05 00 0 0 01 0 1 02 0 1 03 0 1 04 0 1 05 0 4 06 0 1 07 0 0 08 0 1 09 0 0 10 0 3 11 0 1 12 0 0 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 1 22 0 1 23 0 0 May 06 00 0 1 01 0 1 02 0 1 03 0 5 04 0 5 05 0 5 06 0 3 07 0 2 08 0 3 09 0 1 10 0 1 11 0 1 12 0 1 13 0 1 14 0 0 15 0 1 16 0 0 17 0 0 18 0 0 19 0 0 20 0 0 21 0 0 22 0 3 23 0 0 May 07 00 0 0 01 0 1 02 0 0 03 0 0 04 0 0 05 0 3 06 0 1 07 0 1 08 0 2 09 0 1 10 0 2 11 0 0 12 0 2 13 0 0 14 0 1 15 0 0 16 0 1 17 0 0 18 0 0 19 0 1 20 0 0 21 0 1 22 0 0 23 0 1 May 08 00 0 1 01 0 0 02 0 0 03 0 0 04 0 0 05 0 6 06 0 2 07 0 0 08 0 2 09 0 3 10 0 1 11 0 2 12 0 1 13 0 2 14 0 6 15 0 1 16 0 0 17 0 0 18 0 0 19 0 0 20 0 2 21 0 1 22 0 0 23 0 0 May 09 00 0 1 01 0 0 02 0 0 03 0 1 04 0 0 05 0 1 06 0 0 07 0 0 08 0 1 09 0 0 10 0 0 11 0 1 12 0 0 13 0 0 14 0 0 15 0 0 16 0 0 17 0 0 18 0 1 19 0 0 20 0 0 21 0 0 22 0 0 23 0 0 May 10 00 0 0 01 0 2 02 0 1 03 0 3 04 0 1 05 0 4 06 0 0 07 0 1 08 0 1 09 0 1 10 0 0 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 1 23 0 0 May 11 00 0 1 01 0 1 02 0 1 03 0 2 04 0 1 05 0 3 06 0 0 07 0 1 08 0 1 09 0 0 10 0 2 11 0 0 12 0 1 13 0 0 14 0 1 15 0 0 16 0 0 17 0 0 18 0 1 19 0 0 20 0 0 21 0 0 22 0 1 23 0 0 - 13.60 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- unknown Main Lock Type
- 0 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query NO DATASET
Queries that waited the most
Rank Wait time Query NO DATASET
-
Queries
Queries by type
Key values
- 11,324 Total read queries
- 343 Total write queries
Queries by database
Key values
- unknown Main database
- 8,347 Requests
- 15h34m41s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 19,188 Requests
User Request type Count Duration edit Total 3 17s285ms select 3 17s285ms editeu Total 32 1m32s select 32 1m32s postgres Total 108 40m16s copy to 108 40m16s pub1 Total 2 5s305ms select 2 5s305ms pub2 Total 2 2s374ms select 2 2s374ms pubeu Total 7,652 13h24m8s cte 42 1m59s select 7,610 13h22m9s qaeu Total 82 3m25s cte 17 57s599ms select 65 2m28s unknown Total 19,188 1d13h59m18s copy to 679 6h21m54s cte 35 54s494ms others 9 45s615ms select 18,465 1d7h35m44s Duration by user
Key values
- 1d13h59m18s (unknown) Main time consuming user
User Request type Count Duration edit Total 3 17s285ms select 3 17s285ms editeu Total 32 1m32s select 32 1m32s postgres Total 108 40m16s copy to 108 40m16s pub1 Total 2 5s305ms select 2 5s305ms pub2 Total 2 2s374ms select 2 2s374ms pubeu Total 7,652 13h24m8s cte 42 1m59s select 7,610 13h22m9s qaeu Total 82 3m25s cte 17 57s599ms select 65 2m28s unknown Total 19,188 1d13h59m18s copy to 679 6h21m54s cte 35 54s494ms others 9 45s615ms select 18,465 1d7h35m44s Queries by host
Key values
- unknown Main host
- 27,069 Requests
- 2d4h9m7s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 11,622 Requests
- 20h51m25s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2024-05-08 09:24:52 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 11,441 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 23m13s 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-05-11 18:59:56 ]
2 23m9s 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-05-11 19:41:34 ]
3 18m22s 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 = '1232823') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-05-09 11:42:43 - Bind query: yes ]
4 17m24s 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 = '1232823') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-05-08 06:21:19 - Bind query: yes ]
5 17m23s 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 = '1232823') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-05-08 18:43:44 - Bind query: yes ]
6 17m14s 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 = '1232823') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-05-05 21:37:08 - Bind query: yes ]
7 17m6s 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 = '1232823') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-05-05 12:00:48 - Bind query: yes ]
8 17m5s 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 = '1232823') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-05-07 19:36:45 - Bind query: yes ]
9 15m52s /* * 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-05-09 00:15:54 ]
10 15m51s /* * 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-05-07 00:15:52 ]
11 15m50s /* * 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-05-08 00:15:52 ]
12 15m46s /* * 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-05-10 00:15:48 ]
13 15m44s /* * 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-05-11 00:15:46 ]
14 15m43s /* * 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-05-06 00:15:44 ]
15 15m43s /* * 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-05-05 00:15:45 ]
16 8m37s 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 = '1250638') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-05-10 18:33:47 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
17 8m33s 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 = '1250638') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-05-06 09:58:54 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
18 8m26s 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 = '1250638') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-05-07 19:25:56 - Bind query: yes ]
19 8m25s 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 = '1250638') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-05-08 06:10:09 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
20 6m41s COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;[ Date: 2024-05-11 19:52:56 ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 9h37m53s 5,746 1s18ms 38s753ms 6s34ms 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 #1
Day Hour Count Duration Avg duration May 05 05 1 11s841ms 11s841ms 21 1 2s158ms 2s158ms 22 9 24s101ms 2s677ms 23 3 7s965ms 2s655ms May 06 03 2 5s572ms 2s786ms 10 1 11s692ms 11s692ms 22 2 4s301ms 2s150ms 23 1 3s30ms 3s30ms May 07 06 1 4s743ms 4s743ms 14 1 1s18ms 1s18ms May 08 05 1 1s998ms 1s998ms 06 13 14s880ms 1s144ms 10 14 22s235ms 1s588ms 11 1 12s140ms 12s140ms 19 1 1s99ms 1s99ms 22 3 3s784ms 1s261ms May 09 01 1 4s246ms 4s246ms 02 2 15s454ms 7s727ms 08 5 13s31ms 2s606ms 11 1 1s145ms 1s145ms 21 3 43s8ms 14s336ms 22 274 13m4s 2s862ms May 10 00 262 12m31s 2s869ms 01 368 20m37s 3s362ms 02 338 21m26s 3s806ms 03 333 23m31s 4s240ms 04 316 24m30s 4s652ms 05 180 14m52s 4s956ms 07 1 2s613ms 2s613ms May 11 02 103 8m55s 5s195ms 03 118 10m20s 5s257ms 06 89 8m3s 5s437ms 07 300 28m15s 5s653ms 08 168 16m44s 5s977ms 12 182 18m45s 6s182ms 13 395 43m18s 6s578ms 14 375 44m19s 7s92ms 15 358 45m3s 7s551ms 16 344 45m40s 7s965ms 17 331 46m4s 8s351ms 18 319 46m52s 8s817ms 19 306 46m55s 9s201ms 20 219 34m26s 9s437ms [ User: pubeu - Total duration: 2h28m44s - Times executed: 1344 ]
-
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 = '2069554') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 6214600;
Date: 2024-05-09 21:16:29 Duration: 38s753ms 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 = '2069797') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 1765600;
Date: 2024-05-09 02:48:51 Duration: 13s263ms 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 = '2070029') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 50;
Date: 2024-05-08 11:34:12 Duration: 12s140ms Bind query: yes
2 3h12m35s 61 1s152ms 18m22s 3m9s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration May 05 05 1 1s272ms 1s272ms 06 1 1s808ms 1s808ms 11 1 3s202ms 3s202ms 12 1 17m6s 17m6s 13 1 2s209ms 2s209ms 15 1 2m50s 2m50s 18 1 2s239ms 2s239ms 20 1 1s496ms 1s496ms 21 2 17m17s 8m38s May 06 00 1 1s796ms 1s796ms 01 1 3s55ms 3s55ms 03 1 2s302ms 2s302ms 05 1 1s629ms 1s629ms 09 3 8m36s 2m52s 11 2 4m49s 2m24s 15 1 3s180ms 3s180ms 16 1 2s275ms 2s275ms 21 1 1s851ms 1s851ms 22 1 3m13s 3m13s May 07 01 1 3m36s 3m36s 13 1 3s143ms 3s143ms 15 1 1s926ms 1s926ms 17 1 1s436ms 1s436ms 19 4 25m37s 6m24s 20 2 3s4ms 1s502ms May 08 06 3 25m52s 8m37s 07 1 3m21s 3m21s 08 1 2m9s 2m9s 10 3 7m57s 2m39s 16 1 3s28ms 3s28ms 18 1 17m23s 17m23s May 09 01 1 3s181ms 3s181ms 04 1 3s172ms 3s172ms 07 1 3s130ms 3s130ms 10 1 1s379ms 1s379ms 11 1 18m22s 18m22s 14 1 4m8s 4m8s 20 1 1s152ms 1s152ms May 10 03 1 1s553ms 1s553ms 05 1 2m58s 2m58s 10 2 2s892ms 1s446ms 17 1 3m6s 3m6s 18 2 11m43s 5m51s 20 1 1s482ms 1s482ms May 11 02 1 3m35s 3m35s 12 1 3m35s 3m35s 17 1 4m14s 4m14s [ User: pubeu - Total duration: 1h6m16s - Times executed: 31 ]
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1232823') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-05-09 11:42:43 Duration: 18m22s 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 = '1232823') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-05-08 06:21:19 Duration: 17m24s 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 = '1232823') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-05-08 18:43:44 Duration: 17m23s Bind query: yes
3 1h50m33s 7 15m43s 15m52s 15m47s select maint_query_logs_archive ();Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration May 05 00 1 15m43s 15m43s May 06 00 1 15m43s 15m43s May 07 00 1 15m51s 15m51s May 08 00 1 15m50s 15m50s May 09 00 1 15m52s 15m52s May 10 00 1 15m46s 15m46s May 11 00 1 15m44s 15m44s -
/* * 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-05-09 00:15:54 Duration: 15m52s
-
/* * 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-05-07 00:15:52 Duration: 15m51s
-
/* * 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-05-08 00:15:52 Duration: 15m50s
4 30m34s 129 1s45ms 5m53s 14s221ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration May 06 05 4 6s528ms 1s632ms 08 1 2s704ms 2s704ms 11 1 2s206ms 2s206ms 22 4 55s679ms 13s919ms 23 1 20s305ms 20s305ms May 07 01 9 2m23s 15s975ms 02 1 23s798ms 23s798ms 07 1 1s53ms 1s53ms 08 4 56s403ms 14s100ms 09 12 41s109ms 3s425ms 10 9 14s172ms 1s574ms 11 4 5s277ms 1s319ms 12 1 1s78ms 1s78ms 20 3 1m13s 24s554ms 21 11 2m32s 13s889ms 22 1 1s528ms 1s528ms 23 6 2m1s 20s184ms May 08 00 11 9m2s 49s359ms 20 1 4s518ms 4s518ms 22 5 7s259ms 1s451ms May 09 01 1 44s70ms 44s70ms 02 8 4m17s 32s234ms 10 5 37s671ms 7s534ms 20 1 44s45ms 44s45ms May 10 07 1 1s76ms 1s76ms 08 1 1s648ms 1s648ms 09 1 2s691ms 2s691ms May 11 00 1 1s135ms 1s135ms 01 1 1s558ms 1s558ms 03 10 2m2s 12s262ms 04 8 16s108ms 2s13ms 05 1 26s122ms 26s122ms [ User: pubeu - Total duration: 10m5s - Times executed: 59 ]
-
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 = '2076831') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-05-08 00:53:28 Duration: 5m53s 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 = '2069554') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-05-09 02:26:21 Duration: 46s652ms 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 = '2069554') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-05-07 21:27:07 Duration: 46s159ms Bind query: yes
5 25m35s 806 1s171ms 2s590ms 1s904ms 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 d.nm_sort, g.nm_sort limit ? offset ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration May 06 11 299 9m30s 1s906ms 12 219 6m56s 1s902ms 13 23 43s272ms 1s881ms 14 1 1s873ms 1s873ms May 07 09 42 1m21s 1s930ms 10 12 22s889ms 1s907ms 11 20 38s467ms 1s923ms 13 23 43s419ms 1s887ms 14 11 21s144ms 1s922ms 15 5 9s428ms 1s885ms 16 5 9s441ms 1s888ms May 08 05 20 38s181ms 1s909ms 06 6 11s403ms 1s900ms 07 19 35s928ms 1s890ms 08 7 13s219ms 1s888ms 09 24 45s684ms 1s903ms 10 10 19s250ms 1s925ms 11 39 1m14s 1s913ms 13 9 17s115ms 1s901ms 14 11 21s5ms 1s909ms May 11 03 1 1s171ms 1s171ms [ User: pubeu - Total duration: 4m13s - Times executed: 133 ]
-
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 = '2068530') ORDER BY d.nm_sort, g.nm_sort LIMIT 50 OFFSET 217700;
Date: 2024-05-07 09:20:11 Duration: 2s590ms 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 = '2068530') ORDER BY d.nm_sort, g.nm_sort LIMIT 50 OFFSET 220700;
Date: 2024-05-07 11:20:45 Duration: 2s199ms 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 = '2068530') ORDER BY d.nm_sort, g.nm_sort LIMIT 50 OFFSET 293500;
Date: 2024-05-06 11:35:01 Duration: 2s141ms Bind query: yes
6 24m13s 402 1s 13s472ms 3s616ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration May 05 00 4 26s143ms 6s535ms 02 3 5s837ms 1s945ms 03 1 1s200ms 1s200ms 04 1 2s723ms 2s723ms 05 1 2s2ms 2s2ms 06 1 2s260ms 2s260ms 09 1 1s68ms 1s68ms 10 1 3s94ms 3s94ms 12 1 1s18ms 1s18ms 13 2 5s412ms 2s706ms 14 3 9s183ms 3s61ms 17 1 4s205ms 4s205ms 18 2 7s487ms 3s743ms 21 3 8s219ms 2s739ms 22 1 2s546ms 2s546ms 23 3 10s566ms 3s522ms May 06 00 1 1s293ms 1s293ms 01 3 7s654ms 2s551ms 02 4 5s688ms 1s422ms 03 2 6s212ms 3s106ms 04 3 10s260ms 3s420ms 05 3 10s325ms 3s441ms 08 1 1s75ms 1s75ms 10 2 6s577ms 3s288ms 13 1 2s274ms 2s274ms 14 1 5s118ms 5s118ms 15 2 7s869ms 3s934ms 16 2 4s938ms 2s469ms 17 1 6s195ms 6s195ms 18 2 4s257ms 2s128ms 19 1 11s704ms 11s704ms 21 1 2s385ms 2s385ms 22 8 24s529ms 3s66ms 23 5 19s144ms 3s828ms May 07 00 1 2s488ms 2s488ms 01 6 25s422ms 4s237ms 02 2 11s986ms 5s993ms 06 2 5s192ms 2s596ms 07 4 13s544ms 3s386ms 08 11 29s435ms 2s675ms 09 33 3m17s 5s994ms 10 1 1s16ms 1s16ms 11 1 1s74ms 1s74ms 12 1 1s130ms 1s130ms 13 3 12s696ms 4s232ms 14 2 3s814ms 1s907ms 16 1 1s543ms 1s543ms 19 21 1m17s 3s690ms 20 15 49s958ms 3s330ms 21 13 41s184ms 3s168ms 23 9 35s352ms 3s928ms May 08 00 7 20s302ms 2s900ms 05 20 1m15s 3s769ms 06 6 16s625ms 2s770ms 07 1 2s344ms 2s344ms 08 5 11s708ms 2s341ms 09 1 1s340ms 1s340ms 10 9 28s718ms 3s190ms 11 15 50s894ms 3s392ms 12 14 47s232ms 3s373ms 13 6 12s219ms 2s36ms 14 4 5s899ms 1s474ms 17 1 1s354ms 1s354ms 18 1 1s437ms 1s437ms 20 3 12s592ms 4s197ms 21 1 2s170ms 2s170ms 22 2 3s752ms 1s876ms May 09 00 1 4s194ms 4s194ms 01 5 9s999ms 1s999ms 02 7 14s935ms 2s133ms 03 3 7s152ms 2s384ms 04 1 4s687ms 4s687ms 06 1 2s282ms 2s282ms 07 3 6s530ms 2s176ms 08 2 5s123ms 2s561ms 09 1 2s549ms 2s549ms 10 3 12s641ms 4s213ms 12 9 1m54s 12s729ms 16 1 2s548ms 2s548ms 18 1 11s710ms 11s710ms 19 2 5s423ms 2s711ms 20 1 2s156ms 2s156ms 21 2 4s353ms 2s176ms 22 18 38s100ms 2s116ms May 10 00 4 9s141ms 2s285ms 01 1 1s97ms 1s97ms 02 2 3s486ms 1s743ms 04 1 4s788ms 4s788ms 05 1 1s18ms 1s18ms 06 1 4s163ms 4s163ms 07 1 2s350ms 2s350ms 09 1 1s62ms 1s62ms 11 3 13s611ms 4s537ms 19 1 6s194ms 6s194ms 21 1 2s255ms 2s255ms 22 3 10s616ms 3s538ms 23 1 4s472ms 4s472ms May 11 02 3 7s468ms 2s489ms 03 4 21s760ms 5s440ms 05 3 22s93ms 7s364ms 06 1 3s86ms 3s86ms 09 1 1s229ms 1s229ms 12 5 25s173ms 5s34ms 13 1 1s210ms 1s210ms 14 2 7s523ms 3s761ms 15 1 3s181ms 3s181ms 16 1 1s188ms 1s188ms 17 1 1s406ms 1s406ms 21 1 6s439ms 6s439ms 22 1 1s74ms 1s74ms 23 1 2s270ms 2s270ms [ User: pubeu - Total duration: 11m39s - Times executed: 183 ]
-
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 = '2070029') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-09 12:18:57 Duration: 13s472ms 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 = '2070029') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-09 12:18:54 Duration: 13s276ms 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 = '2070029') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-09 12:18:57 Duration: 13s249ms Database: ctdprd51 User: pubeu Bind query: yes
7 23m53s 1,224 1s105ms 3s776ms 1s171ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where exposuremarkerterm.id = ? or receptorterm.id = ? group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration May 05 00 5 5s850ms 1s170ms 01 4 4s754ms 1s188ms 02 1 1s228ms 1s228ms 03 2 2s338ms 1s169ms 04 3 3s571ms 1s190ms 05 5 6s103ms 1s220ms 06 3 3s627ms 1s209ms 07 2 2s440ms 1s220ms 08 2 2s319ms 1s159ms 09 4 4s692ms 1s173ms 10 6 7s173ms 1s195ms 11 6 7s83ms 1s180ms 12 3 3s569ms 1s189ms 13 4 4s778ms 1s194ms 14 2 2s465ms 1s232ms 15 5 6s13ms 1s202ms 16 3 3s502ms 1s167ms 17 5 5s887ms 1s177ms 19 4 4s794ms 1s198ms 20 2 2s327ms 1s163ms 21 4 4s680ms 1s170ms 22 6 7s121ms 1s186ms 23 2 2s391ms 1s195ms May 06 00 2 2s365ms 1s182ms 01 4 4s688ms 1s172ms 02 9 10s707ms 1s189ms 03 3 3s588ms 1s196ms 04 2 2s326ms 1s163ms 05 2 2s626ms 1s313ms 06 1 1s186ms 1s186ms 07 4 4s658ms 1s164ms 09 3 3s552ms 1s184ms 11 4 4s798ms 1s199ms 12 3 3s531ms 1s177ms 13 4 4s710ms 1s177ms 14 5 5s862ms 1s172ms 15 2 2s351ms 1s175ms 16 2 2s397ms 1s198ms 17 5 5s939ms 1s187ms 18 4 4s735ms 1s183ms 19 1 1s167ms 1s167ms 20 3 3s562ms 1s187ms 21 4 4s731ms 1s182ms 22 6 7s200ms 1s200ms May 07 00 1 1s169ms 1s169ms 05 3 3s831ms 1s277ms 06 1 1s219ms 1s219ms 07 1 1s211ms 1s211ms 08 1 1s235ms 1s235ms 09 3 3s502ms 1s167ms 10 3 3s564ms 1s188ms 11 3 3s538ms 1s179ms 12 2 2s475ms 1s237ms 13 6 7s22ms 1s170ms 14 7 8s282ms 1s183ms 15 7 8s44ms 1s149ms 16 6 6s896ms 1s149ms 17 3 3s486ms 1s162ms 19 1 1s178ms 1s178ms 20 7 8s352ms 1s193ms 21 10 11s877ms 1s187ms 22 2 2s350ms 1s175ms 23 4 4s675ms 1s168ms May 08 00 4 4s777ms 1s194ms 05 2 2s559ms 1s279ms 06 3 3s491ms 1s163ms 07 2 2s335ms 1s167ms 08 94 1m49s 1s167ms 09 163 3m8s 1s157ms 10 126 2m25s 1s155ms 11 115 2m13s 1s157ms 12 71 1m21s 1s151ms 13 20 22s909ms 1s145ms 14 14 16s38ms 1s145ms 16 3 3s630ms 1s210ms 18 3 3s517ms 1s172ms 19 1 1s152ms 1s152ms 20 14 16s219ms 1s158ms 21 5 5s836ms 1s167ms 22 12 14s375ms 1s197ms 23 4 4s692ms 1s173ms May 09 00 5 5s995ms 1s199ms 01 3 3s498ms 1s166ms 02 4 4s758ms 1s189ms 03 7 8s286ms 1s183ms 04 2 2s354ms 1s177ms 05 4 5s7ms 1s251ms 06 1 1s146ms 1s146ms 07 13 14s948ms 1s149ms 08 5 5s750ms 1s150ms 09 5 5s807ms 1s161ms 10 5 5s918ms 1s183ms 11 5 5s813ms 1s162ms 12 2 2s277ms 1s138ms 13 5 5s680ms 1s136ms 14 10 11s486ms 1s148ms 15 3 3s456ms 1s152ms 16 4 4s643ms 1s160ms 17 7 8s18ms 1s145ms 18 7 8s133ms 1s161ms 19 3 3s582ms 1s194ms 20 4 4s596ms 1s149ms 21 7 8s165ms 1s166ms 22 14 16s847ms 1s203ms 23 6 7s53ms 1s175ms May 10 00 6 7s323ms 1s220ms 01 3 3s558ms 1s186ms 02 2 2s420ms 1s210ms 03 2 2s352ms 1s176ms 04 4 4s758ms 1s189ms 05 5 6s137ms 1s227ms 06 2 2s344ms 1s172ms 07 2 2s297ms 1s148ms 08 4 4s611ms 1s152ms 09 2 2s299ms 1s149ms 10 3 3s473ms 1s157ms 11 5 5s694ms 1s138ms 12 10 11s542ms 1s154ms 14 3 3s537ms 1s179ms 15 1 1s168ms 1s168ms 16 2 2s405ms 1s202ms 17 5 5s760ms 1s152ms 18 8 9s300ms 1s162ms 20 1 1s175ms 1s175ms 22 7 8s357ms 1s193ms 23 4 4s811ms 1s202ms May 11 00 3 3s530ms 1s176ms 01 1 1s166ms 1s166ms 02 4 4s664ms 1s166ms 03 1 3s776ms 3s776ms 04 6 7s 1s166ms 05 5 6s82ms 1s216ms 06 9 10s636ms 1s181ms 07 21 25s181ms 1s199ms 08 28 32s852ms 1s173ms 09 3 3s511ms 1s170ms 10 4 4s789ms 1s197ms 11 5 5s868ms 1s173ms 12 6 6s974ms 1s162ms 13 4 4s799ms 1s199ms 14 6 7s196ms 1s199ms 16 3 3s578ms 1s192ms 18 3 3s477ms 1s159ms 19 2 2s409ms 1s204ms 20 7 8s483ms 1s211ms 21 4 4s701ms 1s175ms 22 2 2s355ms 1s177ms 23 2 2s357ms 1s178ms [ User: pubeu - Total duration: 6m57s - Times executed: 353 ]
[ User: qaeu - Total duration: 6s392ms - Times executed: 5 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where exposureMarkerTerm.id = '1974722' or receptorTerm.id = '1974722' 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-05-11 03:55:02 Duration: 3s776ms 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 = '1427909' or receptorTerm.id = '1427909' 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-05-07 05:38:44 Duration: 1s347ms 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 = '2020164' or receptorTerm.id = '2020164' 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-05-11 07:30:40 Duration: 1s347ms Database: ctdprd51 User: pubeu Bind query: yes
8 23m13s 1 23m13s 23m13s 23m13s copy pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration May 11 18 1 23m13s 23m13s -
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-05-11 18:59:56 Duration: 23m13s
9 23m9s 1 23m9s 23m9s 23m9s copy pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration May 11 19 1 23m9s 23m9s -
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-05-11 19:41:34 Duration: 23m9s
10 17m7s 258 3s754ms 5s579ms 3s981ms 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 #10
Day Hour Count Duration Avg duration May 05 00 2 7s813ms 3s906ms 05 2 8s34ms 4s17ms 06 2 9s487ms 4s743ms 07 1 3s902ms 3s902ms 10 1 3s851ms 3s851ms 11 1 4s113ms 4s113ms 12 4 15s827ms 3s956ms 14 1 4s25ms 4s25ms 15 1 4s19ms 4s19ms 16 1 3s998ms 3s998ms 18 1 3s865ms 3s865ms 21 1 3s857ms 3s857ms 22 4 15s702ms 3s925ms May 06 02 2 8s133ms 4s66ms 03 1 3s878ms 3s878ms 04 2 7s937ms 3s968ms 05 1 3s928ms 3s928ms 07 5 19s873ms 3s974ms 08 3 11s783ms 3s927ms 09 5 19s359ms 3s871ms 10 3 11s727ms 3s909ms 11 2 7s754ms 3s877ms 12 2 7s825ms 3s912ms 13 1 3s926ms 3s926ms 14 1 3s943ms 3s943ms 17 2 7s814ms 3s907ms 20 1 3s826ms 3s826ms 21 1 3s937ms 3s937ms 22 1 3s888ms 3s888ms 23 1 3s847ms 3s847ms May 07 00 1 3s960ms 3s960ms 01 1 5s214ms 5s214ms 06 2 8s296ms 4s148ms 07 1 4s4ms 4s4ms 08 1 3s989ms 3s989ms 10 1 4s106ms 4s106ms 11 6 24s353ms 4s58ms 12 1 4s234ms 4s234ms 13 2 7s849ms 3s924ms 14 3 11s812ms 3s937ms 15 4 15s487ms 3s871ms 18 1 3s903ms 3s903ms 20 1 3s960ms 3s960ms 21 2 8s30ms 4s15ms 22 4 15s713ms 3s928ms 23 5 19s466ms 3s893ms May 08 05 2 7s748ms 3s874ms 06 5 19s624ms 3s924ms 07 1 3s934ms 3s934ms 08 10 39s718ms 3s971ms 09 5 19s702ms 3s940ms 10 1 3s892ms 3s892ms 11 1 3s910ms 3s910ms 12 2 7s852ms 3s926ms 15 3 11s683ms 3s894ms 16 1 3s970ms 3s970ms 17 1 3s932ms 3s932ms 20 2 7s778ms 3s889ms 23 1 3s859ms 3s859ms May 09 00 1 3s896ms 3s896ms 01 5 19s633ms 3s926ms 02 4 16s655ms 4s163ms 04 13 51s67ms 3s928ms 05 3 12s62ms 4s20ms 06 4 15s380ms 3s845ms 07 1 4s62ms 4s62ms 09 2 7s771ms 3s885ms 11 3 11s690ms 3s896ms 13 3 11s896ms 3s965ms 15 1 3s972ms 3s972ms 17 1 3s910ms 3s910ms 22 2 7s644ms 3s822ms 23 2 7s775ms 3s887ms May 10 01 4 16s166ms 4s41ms 02 34 2m19s 4s95ms 03 3 12s192ms 4s64ms 04 3 11s857ms 3s952ms 05 3 11s695ms 3s898ms 07 2 7s817ms 3s908ms 08 1 3s887ms 3s887ms 09 3 11s791ms 3s930ms 10 2 8s205ms 4s102ms 11 1 3s918ms 3s918ms 14 2 7s774ms 3s887ms 15 3 11s662ms 3s887ms 16 2 7s873ms 3s936ms 18 1 3s842ms 3s842ms 21 1 3s874ms 3s874ms 22 2 7s712ms 3s856ms 23 2 7s714ms 3s857ms May 11 04 1 3s911ms 3s911ms 05 3 12s288ms 4s96ms 06 1 3s898ms 3s898ms 07 1 4s23ms 4s23ms 08 4 16s592ms 4s148ms 09 1 3s892ms 3s892ms 11 1 3s947ms 3s947ms 12 2 7s896ms 3s948ms 14 2 8s74ms 4s37ms 16 1 4s57ms 4s57ms [ User: pubeu - Total duration: 6m40s - 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 = '1329725') 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 = '1329725') 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-05-05 06:25:10 Duration: 5s579ms 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 = '1402841') 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 = '1402841') 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-05-07 01:32:06 Duration: 5s214ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1289995') 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 = '1289995') 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-05-09 02:13:13 Duration: 4s551ms Database: ctdprd51 User: pubeu Bind query: yes
11 14m45s 332 1s8ms 5s433ms 2s668ms select e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, ( select string_agg(distinct stressorterm.nm || ? || ( select cd from object_type where id = stressorterm.object_type_id) || ? || stressorterm.nm_html || ? || stressorterm.acc_txt || ? || stressorterm.acc_db_cd, ?)) as stressoragents, ( select string_agg(distinct coalesce(receptorterm.nm, ?) || ? || coalesce(( select cd from object_type where id = receptorterm.object_type_id), ?) || ? || coalesce(receptorterm.nm_html, ?) || ? || coalesce(receptorterm.acc_txt, ?) || ? || coalesce(receptorterm.acc_db_cd, ?) || ? || receptor.description, ?)) as receptors, ( select string_agg(distinct country.nm, ?)) as studycountries, ( select string_agg(distinct location.locality_txt, ?)) as localities, ( select string_agg(distinct event.medium_nm || ? || coalesce(event.medium_term_acc_txt, ?), ?)) as assaymediums, ( select string_agg(distinct exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd, ?)) as assayedmarkers, ( select string_agg(distinct diseaseterm.nm || ? || ( select cd from object_type where id = diseaseterm.object_type_id) || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd, ?)) as diseases, ( select string_agg(distinct phenotypeterm.nm || ? || ( select cd from object_type where id = phenotypeterm.object_type_id) || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd, ?)) as phenotypes, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, re.author_summary summary, count(*) over () fullrowcount from exposure e inner join reference r on e.reference_id = r.id inner join exp_stressor stressor on e.exp_stressor_id = stressor.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join term receptorterm on receptor.term_id = receptorterm.id left outer join exp_event event on e.exp_event_id = event.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join exp_event_location location on e.exp_event_id = location.exp_event_id left outer join country on location.country_id = country.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id inner join reference_exp re on e.reference_id = re.reference_id left outer join exp_study_factor expstudyfactor on re.id = expstudyfactor.reference_exp_id where e.reference_id = any (array ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like ?) and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressoragents limit ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration May 05 00 2 3s919ms 1s959ms 01 3 7s645ms 2s548ms 02 3 7s413ms 2s471ms 03 2 3s512ms 1s756ms 04 4 10s485ms 2s621ms 05 3 8s541ms 2s847ms 06 1 5s119ms 5s119ms 07 1 1s55ms 1s55ms 08 6 9s735ms 1s622ms 09 2 7s957ms 3s978ms 10 1 1s81ms 1s81ms 11 7 22s838ms 3s262ms 12 6 13s70ms 2s178ms 13 4 13s559ms 3s389ms 15 3 12s722ms 4s240ms 16 2 6s193ms 3s96ms 17 1 5s129ms 5s129ms 18 6 11s445ms 1s907ms 19 4 12s602ms 3s150ms 20 6 11s958ms 1s993ms 21 6 21s330ms 3s555ms 22 2 4s874ms 2s437ms 23 3 11s716ms 3s905ms May 06 00 4 13s181ms 3s295ms 01 2 3s948ms 1s974ms 02 4 13s912ms 3s478ms 03 3 8s2ms 2s667ms 05 5 16s533ms 3s306ms 06 2 2s264ms 1s132ms 08 13 32s710ms 2s516ms 09 5 13s552ms 2s710ms 11 2 2s750ms 1s375ms 12 7 20s240ms 2s891ms 13 2 7s565ms 3s782ms 14 4 10s946ms 2s736ms 15 1 1s413ms 1s413ms 16 2 6s187ms 3s93ms 17 4 12s825ms 3s206ms 18 2 6s879ms 3s439ms 19 3 15s627ms 5s209ms 21 4 10s190ms 2s547ms 22 3 6s226ms 2s75ms 23 9 27s897ms 3s99ms May 07 02 1 3s851ms 3s851ms 05 1 5s54ms 5s54ms 07 4 9s206ms 2s301ms 08 5 15s300ms 3s60ms 09 5 17s176ms 3s435ms 10 2 2s648ms 1s324ms 11 4 14s312ms 3s578ms 12 2 3s665ms 1s832ms 13 3 4s916ms 1s638ms 14 4 11s980ms 2s995ms 15 1 1s319ms 1s319ms 16 2 5s695ms 2s847ms 17 3 11s414ms 3s804ms 18 3 10s169ms 3s389ms 19 9 19s928ms 2s214ms 20 3 10s607ms 3s535ms 22 6 19s29ms 3s171ms 23 4 13s51ms 3s262ms May 08 00 3 6s531ms 2s177ms 05 7 18s105ms 2s586ms 06 5 7s494ms 1s498ms 07 1 3s621ms 3s621ms 08 4 10s273ms 2s568ms 09 3 7s488ms 2s496ms 11 2 10s293ms 5s146ms 12 1 5s104ms 5s104ms 13 16 30s80ms 1s880ms 14 3 4s462ms 1s487ms 15 1 2s841ms 2s841ms 16 5 9s764ms 1s952ms 17 2 6s826ms 3s413ms 18 1 1s300ms 1s300ms 19 1 1s217ms 1s217ms 20 2 2s762ms 1s381ms 21 1 1s437ms 1s437ms 22 1 1s319ms 1s319ms 23 4 5s159ms 1s289ms May 09 00 3 5s390ms 1s796ms 01 3 8s800ms 2s933ms 02 2 6s428ms 3s214ms 03 3 4s983ms 1s661ms 04 1 5s155ms 5s155ms 05 1 5s93ms 5s93ms 06 1 1s92ms 1s92ms 07 1 5s128ms 5s128ms 09 1 1s109ms 1s109ms 10 2 8s214ms 4s107ms 11 2 3s649ms 1s824ms 13 1 1s63ms 1s63ms 14 1 1s11ms 1s11ms 16 1 5s144ms 5s144ms 19 2 6s601ms 3s300ms 20 1 1s274ms 1s274ms 21 1 1s428ms 1s428ms 22 1 3s702ms 3s702ms May 10 01 1 3s742ms 3s742ms 03 2 2s800ms 1s400ms 07 3 6s167ms 2s55ms 08 1 2s285ms 2s285ms 09 1 1s338ms 1s338ms 11 1 1s232ms 1s232ms 13 1 1s415ms 1s415ms 23 1 3s692ms 3s692ms May 11 00 1 2s973ms 2s973ms 08 1 5s86ms 5s86ms 13 2 4s814ms 2s407ms 14 1 5s150ms 5s150ms 15 1 1s336ms 1s336ms 17 1 1s72ms 1s72ms 20 2 5s341ms 2s670ms [ User: pubeu - Total duration: 6m17s - Times executed: 147 ]
-
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 = '1384112') 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 = '1384112') 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-05-07 20:03:55 Duration: 5s433ms 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 = '1384112') 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 = '1384112') 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-05-07 09:19:12 Duration: 5s377ms 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 = '1384112') 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 = '1384112') 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-05-05 23:07:11 Duration: 5s298ms Bind query: yes
12 13m25s 25 31s819ms 32s498ms 32s200ms 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 #12
Day Hour Count Duration Avg duration May 05 06 1 32s201ms 32s201ms 10 1 32s101ms 32s101ms 14 1 32s138ms 32s138ms 18 1 32s244ms 32s244ms May 06 06 1 32s130ms 32s130ms 10 1 32s161ms 32s161ms 14 1 32s68ms 32s68ms 18 1 32s296ms 32s296ms May 07 06 1 32s197ms 32s197ms 10 1 32s187ms 32s187ms 14 1 32s118ms 32s118ms 18 1 32s339ms 32s339ms May 08 06 1 32s288ms 32s288ms 10 1 32s96ms 32s96ms 14 1 32s261ms 32s261ms 18 1 32s174ms 32s174ms May 09 06 1 32s440ms 32s440ms 10 1 32s279ms 32s279ms 14 1 32s183ms 32s183ms 18 1 32s498ms 32s498ms May 10 06 1 32s170ms 32s170ms 10 1 32s141ms 32s141ms 14 1 32s141ms 32s141ms 18 1 32s334ms 32s334ms May 11 19 1 31s819ms 31s819ms [ User: postgres - Total duration: 12m53s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 12m53s - 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-05-09 18:05:34 Duration: 32s498ms 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-05-09 06:05:34 Duration: 32s440ms 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-05-07 18:05:34 Duration: 32s339ms Database: ctdprd51 User: postgres Application: pg_dump
13 10m38s 19 1s884ms 1m40s 33s597ms select r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refacc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, count(*) over () fullrowcount from reference r where r.id in ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?)) order by r.sort_txt limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration May 05 15 2 1m29s 44s907ms May 06 23 1 1m16s 1m16s May 07 11 1 51s404ms 51s404ms 18 1 29s165ms 29s165ms 20 2 53s738ms 26s869ms 21 1 29s258ms 29s258ms May 08 05 1 31s90ms 31s90ms 06 1 29s290ms 29s290ms 17 1 56s439ms 56s439ms 21 1 2s37ms 2s37ms May 09 03 1 1s884ms 1s884ms 17 1 43s916ms 43s916ms May 11 02 1 2s 2s 08 2 1m43s 51s609ms 18 1 36s701ms 36s701ms 23 1 2s55ms 2s55ms [ User: pubeu - Total duration: 4m39s - Times executed: 8 ]
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1423262')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-05-11 08:13:37 Duration: 1m40s Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1423261')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-05-06 23:10:59 Duration: 1m16s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1329725')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-05-08 17:14:50 Duration: 56s439ms Bind query: yes
14 10m6s 45 1s161ms 16s250ms 13s483ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration May 05 14 2 2s847ms 1s423ms 16 2 30s287ms 15s143ms 17 1 15s652ms 15s652ms 18 1 13s758ms 13s758ms 20 1 14s785ms 14s785ms 22 1 15s332ms 15s332ms May 07 07 1 15s233ms 15s233ms 08 1 14s326ms 14s326ms 09 1 14s651ms 14s651ms 10 2 29s906ms 14s953ms 11 1 15s163ms 15s163ms 16 3 44s882ms 14s960ms 17 3 43s262ms 14s420ms 18 2 32s457ms 16s228ms 19 1 15s23ms 15s23ms 21 1 13s477ms 13s477ms May 08 06 1 15s394ms 15s394ms 09 1 3s754ms 3s754ms 16 2 31s412ms 15s706ms 17 1 15s236ms 15s236ms 18 1 13s960ms 13s960ms 19 1 13s712ms 13s712ms May 09 04 2 4s271ms 2s135ms May 10 09 2 30s24ms 15s12ms 10 2 29s428ms 14s714ms 11 2 30s97ms 15s48ms May 11 00 2 29s779ms 14s889ms 01 1 14s341ms 14s341ms 02 3 44s292ms 14s764ms [ User: pubeu - Total duration: 6m13s - Times executed: 27 ]
-
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 = '2069187') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-07 18:20:07 Duration: 16s250ms 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 = '2075109') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-07 18:34:27 Duration: 16s207ms 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 = '2066527') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-11 02:55:01 Duration: 15s935ms Bind query: yes
15 9m57s 109 1s15ms 20s533ms 5s483ms 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 #15
Day Hour Count Duration Avg duration May 05 02 1 1s58ms 1s58ms 04 1 8s239ms 8s239ms 06 1 7s620ms 7s620ms 09 1 3s324ms 3s324ms 14 2 2s766ms 1s383ms 18 1 8s144ms 8s144ms 22 1 6s695ms 6s695ms May 06 00 2 37s914ms 18s957ms 03 1 3s334ms 3s334ms 04 1 1s39ms 1s39ms 05 1 1s543ms 1s543ms 06 1 1s58ms 1s58ms 09 1 3s274ms 3s274ms 10 1 18s451ms 18s451ms 11 2 2s150ms 1s75ms 12 2 38s625ms 19s312ms 16 2 2s283ms 1s141ms 21 1 6s357ms 6s357ms 22 1 1s21ms 1s21ms 23 1 1s827ms 1s827ms May 07 00 3 5s609ms 1s869ms 07 1 2s774ms 2s774ms 10 1 7s793ms 7s793ms 11 1 3s274ms 3s274ms 12 1 7s907ms 7s907ms 14 1 19s753ms 19s753ms 15 1 1s105ms 1s105ms 18 1 1s378ms 1s378ms 19 5 40s414ms 8s82ms 21 1 9s427ms 9s427ms 22 2 2s40ms 1s20ms May 08 00 1 3s569ms 3s569ms 06 6 41s642ms 6s940ms 09 1 2s837ms 2s837ms 19 1 1s436ms 1s436ms 20 1 1s539ms 1s539ms 21 2 4s403ms 2s201ms 22 1 2s762ms 2s762ms 23 2 2s151ms 1s75ms May 09 01 1 18s15ms 18s15ms 02 1 1s548ms 1s548ms 03 1 7s610ms 7s610ms 04 1 18s250ms 18s250ms 05 2 18s579ms 9s289ms 06 1 17s871ms 17s871ms 08 1 7s709ms 7s709ms 12 2 4s286ms 2s143ms 13 1 17s963ms 17s963ms 14 1 1s31ms 1s31ms 15 1 1s42ms 1s42ms 19 1 3s257ms 3s257ms 21 2 25s860ms 12s930ms 22 3 5s592ms 1s864ms 23 3 3s423ms 1s141ms May 10 04 1 7s829ms 7s829ms 05 1 1s48ms 1s48ms 09 1 2s746ms 2s746ms 10 1 1s813ms 1s813ms 15 1 7s712ms 7s712ms 20 1 1s379ms 1s379ms 22 2 2s77ms 1s38ms 23 1 2s836ms 2s836ms May 11 02 1 2s980ms 2s980ms 08 1 19s164ms 19s164ms 11 1 1s34ms 1s34ms 12 1 3s371ms 3s371ms 14 1 1s60ms 1s60ms 15 3 41s753ms 13s917ms 16 3 10s57ms 3s352ms 17 3 3s687ms 1s229ms 18 1 1s36ms 1s36ms 19 2 2s723ms 1s361ms 20 2 10s213ms 5s106ms 21 1 2s530ms 2s530ms [ User: pubeu - Total duration: 3m49s - Times executed: 48 ]
-
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 = '1209011') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-05-11 15:24:26 Duration: 20s533ms 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 = '1209011') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-05-11 15:24:21 Duration: 20s142ms 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 = '1209011') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-05-07 14:09:52 Duration: 19s753ms Bind query: yes
16 8m55s 108 1s11ms 7s140ms 4s954ms 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 May 05 01 1 4s931ms 4s931ms 03 1 4s700ms 4s700ms 05 1 4s946ms 4s946ms 07 1 4s886ms 4s886ms 15 1 4s979ms 4s979ms 16 1 4s838ms 4s838ms 18 1 4s836ms 4s836ms 19 1 5s274ms 5s274ms 22 1 4s825ms 4s825ms May 06 00 1 4s999ms 4s999ms 03 2 9s629ms 4s814ms 04 2 10s 5s 07 1 4s802ms 4s802ms 09 2 5s912ms 2s956ms 12 1 5s86ms 5s86ms 18 1 4s903ms 4s903ms 19 2 9s922ms 4s961ms 23 1 4s999ms 4s999ms May 07 01 1 4s953ms 4s953ms 02 1 7s140ms 7s140ms 06 2 9s785ms 4s892ms 08 1 5s909ms 5s909ms 09 2 10s73ms 5s36ms 10 1 5s640ms 5s640ms 13 2 9s932ms 4s966ms 16 2 10s227ms 5s113ms 17 1 4s802ms 4s802ms 20 1 4s650ms 4s650ms 22 1 4s833ms 4s833ms May 08 05 1 5s261ms 5s261ms 08 1 5s356ms 5s356ms 10 2 10s39ms 5s19ms 13 13 1m2s 4s840ms 16 1 5s597ms 5s597ms 17 2 9s898ms 4s949ms 18 4 19s293ms 4s823ms 19 2 9s719ms 4s859ms 20 1 4s755ms 4s755ms 21 1 4s770ms 4s770ms 23 1 5s101ms 5s101ms May 09 00 1 4s933ms 4s933ms 02 1 4s860ms 4s860ms 03 2 9s595ms 4s797ms 06 4 20s491ms 5s122ms 07 5 24s935ms 4s987ms 08 1 4s902ms 4s902ms 13 2 9s572ms 4s786ms 22 2 9s858ms 4s929ms May 10 00 1 4s842ms 4s842ms 01 1 5s165ms 5s165ms 03 2 10s75ms 5s37ms 04 1 5s248ms 5s248ms 07 1 4s852ms 4s852ms 09 1 4s608ms 4s608ms 10 2 10s619ms 5s309ms 11 2 10s669ms 5s334ms 14 1 4s713ms 4s713ms 15 1 4s667ms 4s667ms 19 1 4s694ms 4s694ms 21 1 4s812ms 4s812ms May 11 01 1 4s664ms 4s664ms 09 1 4s773ms 4s773ms 13 1 5s103ms 5s103ms 14 1 5s95ms 5s95ms 16 2 10s959ms 5s479ms 18 1 4s885ms 4s885ms 20 1 5s495ms 5s495ms 21 1 4s831ms 4s831ms [ User: pubeu - Total duration: 4m31s - Times executed: 55 ]
-
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 = '1423261' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-05-07 02:02:56 Duration: 7s140ms 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 = '1281688' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-05-07 08:26:00 Duration: 5s909ms 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 = '1390425' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-05-07 10:07:10 Duration: 5s640ms Bind query: yes
17 8m15s 173 1s180ms 6s138ms 2s864ms 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 May 05 03 1 3s227ms 3s227ms 04 1 2s770ms 2s770ms 05 2 5s393ms 2s696ms 06 1 1s706ms 1s706ms 07 2 4s810ms 2s405ms 09 1 2s152ms 2s152ms 11 2 8s698ms 4s349ms 12 1 1s607ms 1s607ms 14 2 7s825ms 3s912ms 17 1 3s212ms 3s212ms 18 3 10s26ms 3s342ms 19 4 8s285ms 2s71ms 21 1 2s739ms 2s739ms 22 2 4s522ms 2s261ms 23 1 6s3ms 6s3ms May 06 00 1 2s103ms 2s103ms 01 1 2s780ms 2s780ms 02 3 10s480ms 3s493ms 03 4 15s659ms 3s914ms 04 2 4s89ms 2s44ms 05 1 1s308ms 1s308ms 06 2 3s658ms 1s829ms 07 1 3s253ms 3s253ms 08 1 1s729ms 1s729ms 10 1 2s774ms 2s774ms 11 2 4s383ms 2s191ms 12 1 2s799ms 2s799ms 15 1 1s958ms 1s958ms 16 3 13s401ms 4s467ms 17 2 4s457ms 2s228ms 18 2 3s920ms 1s960ms 19 2 7s874ms 3s937ms 20 3 6s458ms 2s152ms 21 1 5s998ms 5s998ms 22 3 7s841ms 2s613ms 23 2 6s71ms 3s35ms May 07 00 2 7s584ms 3s792ms 01 1 5s865ms 5s865ms 05 3 14s100ms 4s700ms 06 1 5s938ms 5s938ms 08 2 4s608ms 2s304ms 09 1 1s835ms 1s835ms 10 2 3s190ms 1s595ms 13 5 21s229ms 4s245ms 14 1 6s138ms 6s138ms 15 1 5s874ms 5s874ms 16 1 5s909ms 5s909ms 17 1 1s830ms 1s830ms 18 1 5s866ms 5s866ms 19 7 22s931ms 3s275ms 20 1 1s913ms 1s913ms 22 4 7s544ms 1s886ms 23 3 7s162ms 2s387ms May 08 00 1 3s449ms 3s449ms 05 4 12s596ms 3s149ms 06 2 4s82ms 2s41ms 07 1 5s857ms 5s857ms 08 3 4s787ms 1s595ms 09 3 5s744ms 1s914ms 10 1 5s914ms 5s914ms 13 6 11s463ms 1s910ms 16 2 5s147ms 2s573ms 17 1 2s740ms 2s740ms 18 1 1s713ms 1s713ms 20 2 6s413ms 3s206ms 21 2 4s444ms 2s222ms 22 1 1s835ms 1s835ms 23 1 3s246ms 3s246ms May 09 02 1 3s404ms 3s404ms 04 2 4s408ms 2s204ms 07 1 3s441ms 3s441ms 09 2 5s898ms 2s949ms 10 5 9s877ms 1s975ms 19 2 3s682ms 1s841ms 20 1 3s220ms 3s220ms 22 1 1s723ms 1s723ms 23 2 3s432ms 1s716ms May 10 04 1 3s339ms 3s339ms 08 2 3s836ms 1s918ms 09 1 1s293ms 1s293ms 12 1 1s823ms 1s823ms 14 1 1s806ms 1s806ms 15 2 3s859ms 1s929ms 22 1 3s279ms 3s279ms May 11 09 1 1s620ms 1s620ms 10 2 11s729ms 5s864ms 15 2 3s206ms 1s603ms 16 1 1s876ms 1s876ms 18 1 3s407ms 3s407ms 19 2 4s585ms 2s292ms 21 1 3s412ms 3s412ms 22 3 7s694ms 2s564ms 23 2 4s832ms 2s416ms [ User: pubeu - Total duration: 4m44s - Times executed: 100 ]
-
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 = '1384112'))) 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-05-07 14:38:51 Duration: 6s138ms 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 = '1384112'))) 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-05-05 14:02:17 Duration: 6s107ms 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 = '1384112'))) 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-05-07 19:16:46 Duration: 6s25ms Bind query: yes
18 6m41s 1 6m41s 6m41s 6m41s copy pub2.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 May 11 19 1 6m41s 6m41s -
COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-05-11 19:52:56 Duration: 6m41s
19 6m38s 1 6m38s 6m38s 6m38s copy pub1.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 May 11 19 1 6m38s 6m38s -
COPY pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-05-11 19:11:16 Duration: 6m38s
20 5m49s 25 13s947ms 14s79ms 13s991ms 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 May 05 06 1 13s966ms 13s966ms 10 1 13s947ms 13s947ms 14 1 14s52ms 14s52ms 18 1 13s949ms 13s949ms May 06 06 1 14s9ms 14s9ms 10 1 13s956ms 13s956ms 14 1 13s960ms 13s960ms 18 1 13s952ms 13s952ms May 07 06 1 13s997ms 13s997ms 10 1 13s986ms 13s986ms 14 1 14s8ms 14s8ms 18 1 14s27ms 14s27ms May 08 06 1 14s79ms 14s79ms 10 1 13s949ms 13s949ms 14 1 14s9ms 14s9ms 18 1 14s31ms 14s31ms May 09 06 1 14s19ms 14s19ms 10 1 13s955ms 13s955ms 14 1 13s982ms 13s982ms 18 1 13s968ms 13s968ms May 10 06 1 14s7ms 14s7ms 10 1 13s990ms 13s990ms 14 1 13s967ms 13s967ms 18 1 14s5ms 14s5ms May 11 18 1 14s9ms 14s9ms -
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-05-08 06:00:57 Duration: 14s79ms
-
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-05-05 14:00:56 Duration: 14s52ms
-
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-05-08 18:00:56 Duration: 14s31ms
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 5,746 9h37m53s 1s18ms 38s753ms 6s34ms 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 #1
Day Hour Count Duration Avg duration May 05 05 1 11s841ms 11s841ms 21 1 2s158ms 2s158ms 22 9 24s101ms 2s677ms 23 3 7s965ms 2s655ms May 06 03 2 5s572ms 2s786ms 10 1 11s692ms 11s692ms 22 2 4s301ms 2s150ms 23 1 3s30ms 3s30ms May 07 06 1 4s743ms 4s743ms 14 1 1s18ms 1s18ms May 08 05 1 1s998ms 1s998ms 06 13 14s880ms 1s144ms 10 14 22s235ms 1s588ms 11 1 12s140ms 12s140ms 19 1 1s99ms 1s99ms 22 3 3s784ms 1s261ms May 09 01 1 4s246ms 4s246ms 02 2 15s454ms 7s727ms 08 5 13s31ms 2s606ms 11 1 1s145ms 1s145ms 21 3 43s8ms 14s336ms 22 274 13m4s 2s862ms May 10 00 262 12m31s 2s869ms 01 368 20m37s 3s362ms 02 338 21m26s 3s806ms 03 333 23m31s 4s240ms 04 316 24m30s 4s652ms 05 180 14m52s 4s956ms 07 1 2s613ms 2s613ms May 11 02 103 8m55s 5s195ms 03 118 10m20s 5s257ms 06 89 8m3s 5s437ms 07 300 28m15s 5s653ms 08 168 16m44s 5s977ms 12 182 18m45s 6s182ms 13 395 43m18s 6s578ms 14 375 44m19s 7s92ms 15 358 45m3s 7s551ms 16 344 45m40s 7s965ms 17 331 46m4s 8s351ms 18 319 46m52s 8s817ms 19 306 46m55s 9s201ms 20 219 34m26s 9s437ms [ User: pubeu - Total duration: 2h28m44s - Times executed: 1344 ]
-
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 = '2069554') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 6214600;
Date: 2024-05-09 21:16:29 Duration: 38s753ms 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 = '2069797') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 1765600;
Date: 2024-05-09 02:48:51 Duration: 13s263ms 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 = '2070029') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 50;
Date: 2024-05-08 11:34:12 Duration: 12s140ms Bind query: yes
2 1,224 23m53s 1s105ms 3s776ms 1s171ms 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 #2
Day Hour Count Duration Avg duration May 05 00 5 5s850ms 1s170ms 01 4 4s754ms 1s188ms 02 1 1s228ms 1s228ms 03 2 2s338ms 1s169ms 04 3 3s571ms 1s190ms 05 5 6s103ms 1s220ms 06 3 3s627ms 1s209ms 07 2 2s440ms 1s220ms 08 2 2s319ms 1s159ms 09 4 4s692ms 1s173ms 10 6 7s173ms 1s195ms 11 6 7s83ms 1s180ms 12 3 3s569ms 1s189ms 13 4 4s778ms 1s194ms 14 2 2s465ms 1s232ms 15 5 6s13ms 1s202ms 16 3 3s502ms 1s167ms 17 5 5s887ms 1s177ms 19 4 4s794ms 1s198ms 20 2 2s327ms 1s163ms 21 4 4s680ms 1s170ms 22 6 7s121ms 1s186ms 23 2 2s391ms 1s195ms May 06 00 2 2s365ms 1s182ms 01 4 4s688ms 1s172ms 02 9 10s707ms 1s189ms 03 3 3s588ms 1s196ms 04 2 2s326ms 1s163ms 05 2 2s626ms 1s313ms 06 1 1s186ms 1s186ms 07 4 4s658ms 1s164ms 09 3 3s552ms 1s184ms 11 4 4s798ms 1s199ms 12 3 3s531ms 1s177ms 13 4 4s710ms 1s177ms 14 5 5s862ms 1s172ms 15 2 2s351ms 1s175ms 16 2 2s397ms 1s198ms 17 5 5s939ms 1s187ms 18 4 4s735ms 1s183ms 19 1 1s167ms 1s167ms 20 3 3s562ms 1s187ms 21 4 4s731ms 1s182ms 22 6 7s200ms 1s200ms May 07 00 1 1s169ms 1s169ms 05 3 3s831ms 1s277ms 06 1 1s219ms 1s219ms 07 1 1s211ms 1s211ms 08 1 1s235ms 1s235ms 09 3 3s502ms 1s167ms 10 3 3s564ms 1s188ms 11 3 3s538ms 1s179ms 12 2 2s475ms 1s237ms 13 6 7s22ms 1s170ms 14 7 8s282ms 1s183ms 15 7 8s44ms 1s149ms 16 6 6s896ms 1s149ms 17 3 3s486ms 1s162ms 19 1 1s178ms 1s178ms 20 7 8s352ms 1s193ms 21 10 11s877ms 1s187ms 22 2 2s350ms 1s175ms 23 4 4s675ms 1s168ms May 08 00 4 4s777ms 1s194ms 05 2 2s559ms 1s279ms 06 3 3s491ms 1s163ms 07 2 2s335ms 1s167ms 08 94 1m49s 1s167ms 09 163 3m8s 1s157ms 10 126 2m25s 1s155ms 11 115 2m13s 1s157ms 12 71 1m21s 1s151ms 13 20 22s909ms 1s145ms 14 14 16s38ms 1s145ms 16 3 3s630ms 1s210ms 18 3 3s517ms 1s172ms 19 1 1s152ms 1s152ms 20 14 16s219ms 1s158ms 21 5 5s836ms 1s167ms 22 12 14s375ms 1s197ms 23 4 4s692ms 1s173ms May 09 00 5 5s995ms 1s199ms 01 3 3s498ms 1s166ms 02 4 4s758ms 1s189ms 03 7 8s286ms 1s183ms 04 2 2s354ms 1s177ms 05 4 5s7ms 1s251ms 06 1 1s146ms 1s146ms 07 13 14s948ms 1s149ms 08 5 5s750ms 1s150ms 09 5 5s807ms 1s161ms 10 5 5s918ms 1s183ms 11 5 5s813ms 1s162ms 12 2 2s277ms 1s138ms 13 5 5s680ms 1s136ms 14 10 11s486ms 1s148ms 15 3 3s456ms 1s152ms 16 4 4s643ms 1s160ms 17 7 8s18ms 1s145ms 18 7 8s133ms 1s161ms 19 3 3s582ms 1s194ms 20 4 4s596ms 1s149ms 21 7 8s165ms 1s166ms 22 14 16s847ms 1s203ms 23 6 7s53ms 1s175ms May 10 00 6 7s323ms 1s220ms 01 3 3s558ms 1s186ms 02 2 2s420ms 1s210ms 03 2 2s352ms 1s176ms 04 4 4s758ms 1s189ms 05 5 6s137ms 1s227ms 06 2 2s344ms 1s172ms 07 2 2s297ms 1s148ms 08 4 4s611ms 1s152ms 09 2 2s299ms 1s149ms 10 3 3s473ms 1s157ms 11 5 5s694ms 1s138ms 12 10 11s542ms 1s154ms 14 3 3s537ms 1s179ms 15 1 1s168ms 1s168ms 16 2 2s405ms 1s202ms 17 5 5s760ms 1s152ms 18 8 9s300ms 1s162ms 20 1 1s175ms 1s175ms 22 7 8s357ms 1s193ms 23 4 4s811ms 1s202ms May 11 00 3 3s530ms 1s176ms 01 1 1s166ms 1s166ms 02 4 4s664ms 1s166ms 03 1 3s776ms 3s776ms 04 6 7s 1s166ms 05 5 6s82ms 1s216ms 06 9 10s636ms 1s181ms 07 21 25s181ms 1s199ms 08 28 32s852ms 1s173ms 09 3 3s511ms 1s170ms 10 4 4s789ms 1s197ms 11 5 5s868ms 1s173ms 12 6 6s974ms 1s162ms 13 4 4s799ms 1s199ms 14 6 7s196ms 1s199ms 16 3 3s578ms 1s192ms 18 3 3s477ms 1s159ms 19 2 2s409ms 1s204ms 20 7 8s483ms 1s211ms 21 4 4s701ms 1s175ms 22 2 2s355ms 1s177ms 23 2 2s357ms 1s178ms [ User: pubeu - Total duration: 6m57s - Times executed: 353 ]
[ User: qaeu - Total duration: 6s392ms - Times executed: 5 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where exposureMarkerTerm.id = '1974722' or receptorTerm.id = '1974722' 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-05-11 03:55:02 Duration: 3s776ms 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 = '1427909' or receptorTerm.id = '1427909' 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-05-07 05:38:44 Duration: 1s347ms 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 = '2020164' or receptorTerm.id = '2020164' 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-05-11 07:30:40 Duration: 1s347ms Database: ctdprd51 User: pubeu Bind query: yes
3 806 25m35s 1s171ms 2s590ms 1s904ms 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 d.nm_sort, g.nm_sort limit ? offset ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration May 06 11 299 9m30s 1s906ms 12 219 6m56s 1s902ms 13 23 43s272ms 1s881ms 14 1 1s873ms 1s873ms May 07 09 42 1m21s 1s930ms 10 12 22s889ms 1s907ms 11 20 38s467ms 1s923ms 13 23 43s419ms 1s887ms 14 11 21s144ms 1s922ms 15 5 9s428ms 1s885ms 16 5 9s441ms 1s888ms May 08 05 20 38s181ms 1s909ms 06 6 11s403ms 1s900ms 07 19 35s928ms 1s890ms 08 7 13s219ms 1s888ms 09 24 45s684ms 1s903ms 10 10 19s250ms 1s925ms 11 39 1m14s 1s913ms 13 9 17s115ms 1s901ms 14 11 21s5ms 1s909ms May 11 03 1 1s171ms 1s171ms [ User: pubeu - Total duration: 4m13s - Times executed: 133 ]
-
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 = '2068530') ORDER BY d.nm_sort, g.nm_sort LIMIT 50 OFFSET 217700;
Date: 2024-05-07 09:20:11 Duration: 2s590ms 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 = '2068530') ORDER BY d.nm_sort, g.nm_sort LIMIT 50 OFFSET 220700;
Date: 2024-05-07 11:20:45 Duration: 2s199ms 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 = '2068530') ORDER BY d.nm_sort, g.nm_sort LIMIT 50 OFFSET 293500;
Date: 2024-05-06 11:35:01 Duration: 2s141ms Bind query: yes
4 402 24m13s 1s 13s472ms 3s616ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration May 05 00 4 26s143ms 6s535ms 02 3 5s837ms 1s945ms 03 1 1s200ms 1s200ms 04 1 2s723ms 2s723ms 05 1 2s2ms 2s2ms 06 1 2s260ms 2s260ms 09 1 1s68ms 1s68ms 10 1 3s94ms 3s94ms 12 1 1s18ms 1s18ms 13 2 5s412ms 2s706ms 14 3 9s183ms 3s61ms 17 1 4s205ms 4s205ms 18 2 7s487ms 3s743ms 21 3 8s219ms 2s739ms 22 1 2s546ms 2s546ms 23 3 10s566ms 3s522ms May 06 00 1 1s293ms 1s293ms 01 3 7s654ms 2s551ms 02 4 5s688ms 1s422ms 03 2 6s212ms 3s106ms 04 3 10s260ms 3s420ms 05 3 10s325ms 3s441ms 08 1 1s75ms 1s75ms 10 2 6s577ms 3s288ms 13 1 2s274ms 2s274ms 14 1 5s118ms 5s118ms 15 2 7s869ms 3s934ms 16 2 4s938ms 2s469ms 17 1 6s195ms 6s195ms 18 2 4s257ms 2s128ms 19 1 11s704ms 11s704ms 21 1 2s385ms 2s385ms 22 8 24s529ms 3s66ms 23 5 19s144ms 3s828ms May 07 00 1 2s488ms 2s488ms 01 6 25s422ms 4s237ms 02 2 11s986ms 5s993ms 06 2 5s192ms 2s596ms 07 4 13s544ms 3s386ms 08 11 29s435ms 2s675ms 09 33 3m17s 5s994ms 10 1 1s16ms 1s16ms 11 1 1s74ms 1s74ms 12 1 1s130ms 1s130ms 13 3 12s696ms 4s232ms 14 2 3s814ms 1s907ms 16 1 1s543ms 1s543ms 19 21 1m17s 3s690ms 20 15 49s958ms 3s330ms 21 13 41s184ms 3s168ms 23 9 35s352ms 3s928ms May 08 00 7 20s302ms 2s900ms 05 20 1m15s 3s769ms 06 6 16s625ms 2s770ms 07 1 2s344ms 2s344ms 08 5 11s708ms 2s341ms 09 1 1s340ms 1s340ms 10 9 28s718ms 3s190ms 11 15 50s894ms 3s392ms 12 14 47s232ms 3s373ms 13 6 12s219ms 2s36ms 14 4 5s899ms 1s474ms 17 1 1s354ms 1s354ms 18 1 1s437ms 1s437ms 20 3 12s592ms 4s197ms 21 1 2s170ms 2s170ms 22 2 3s752ms 1s876ms May 09 00 1 4s194ms 4s194ms 01 5 9s999ms 1s999ms 02 7 14s935ms 2s133ms 03 3 7s152ms 2s384ms 04 1 4s687ms 4s687ms 06 1 2s282ms 2s282ms 07 3 6s530ms 2s176ms 08 2 5s123ms 2s561ms 09 1 2s549ms 2s549ms 10 3 12s641ms 4s213ms 12 9 1m54s 12s729ms 16 1 2s548ms 2s548ms 18 1 11s710ms 11s710ms 19 2 5s423ms 2s711ms 20 1 2s156ms 2s156ms 21 2 4s353ms 2s176ms 22 18 38s100ms 2s116ms May 10 00 4 9s141ms 2s285ms 01 1 1s97ms 1s97ms 02 2 3s486ms 1s743ms 04 1 4s788ms 4s788ms 05 1 1s18ms 1s18ms 06 1 4s163ms 4s163ms 07 1 2s350ms 2s350ms 09 1 1s62ms 1s62ms 11 3 13s611ms 4s537ms 19 1 6s194ms 6s194ms 21 1 2s255ms 2s255ms 22 3 10s616ms 3s538ms 23 1 4s472ms 4s472ms May 11 02 3 7s468ms 2s489ms 03 4 21s760ms 5s440ms 05 3 22s93ms 7s364ms 06 1 3s86ms 3s86ms 09 1 1s229ms 1s229ms 12 5 25s173ms 5s34ms 13 1 1s210ms 1s210ms 14 2 7s523ms 3s761ms 15 1 3s181ms 3s181ms 16 1 1s188ms 1s188ms 17 1 1s406ms 1s406ms 21 1 6s439ms 6s439ms 22 1 1s74ms 1s74ms 23 1 2s270ms 2s270ms [ User: pubeu - Total duration: 11m39s - Times executed: 183 ]
-
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 = '2070029') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-09 12:18:57 Duration: 13s472ms 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 = '2070029') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-09 12:18:54 Duration: 13s276ms 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 = '2070029') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-09 12:18:57 Duration: 13s249ms Database: ctdprd51 User: pubeu Bind query: yes
5 332 14m45s 1s8ms 5s433ms 2s668ms 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 #5
Day Hour Count Duration Avg duration May 05 00 2 3s919ms 1s959ms 01 3 7s645ms 2s548ms 02 3 7s413ms 2s471ms 03 2 3s512ms 1s756ms 04 4 10s485ms 2s621ms 05 3 8s541ms 2s847ms 06 1 5s119ms 5s119ms 07 1 1s55ms 1s55ms 08 6 9s735ms 1s622ms 09 2 7s957ms 3s978ms 10 1 1s81ms 1s81ms 11 7 22s838ms 3s262ms 12 6 13s70ms 2s178ms 13 4 13s559ms 3s389ms 15 3 12s722ms 4s240ms 16 2 6s193ms 3s96ms 17 1 5s129ms 5s129ms 18 6 11s445ms 1s907ms 19 4 12s602ms 3s150ms 20 6 11s958ms 1s993ms 21 6 21s330ms 3s555ms 22 2 4s874ms 2s437ms 23 3 11s716ms 3s905ms May 06 00 4 13s181ms 3s295ms 01 2 3s948ms 1s974ms 02 4 13s912ms 3s478ms 03 3 8s2ms 2s667ms 05 5 16s533ms 3s306ms 06 2 2s264ms 1s132ms 08 13 32s710ms 2s516ms 09 5 13s552ms 2s710ms 11 2 2s750ms 1s375ms 12 7 20s240ms 2s891ms 13 2 7s565ms 3s782ms 14 4 10s946ms 2s736ms 15 1 1s413ms 1s413ms 16 2 6s187ms 3s93ms 17 4 12s825ms 3s206ms 18 2 6s879ms 3s439ms 19 3 15s627ms 5s209ms 21 4 10s190ms 2s547ms 22 3 6s226ms 2s75ms 23 9 27s897ms 3s99ms May 07 02 1 3s851ms 3s851ms 05 1 5s54ms 5s54ms 07 4 9s206ms 2s301ms 08 5 15s300ms 3s60ms 09 5 17s176ms 3s435ms 10 2 2s648ms 1s324ms 11 4 14s312ms 3s578ms 12 2 3s665ms 1s832ms 13 3 4s916ms 1s638ms 14 4 11s980ms 2s995ms 15 1 1s319ms 1s319ms 16 2 5s695ms 2s847ms 17 3 11s414ms 3s804ms 18 3 10s169ms 3s389ms 19 9 19s928ms 2s214ms 20 3 10s607ms 3s535ms 22 6 19s29ms 3s171ms 23 4 13s51ms 3s262ms May 08 00 3 6s531ms 2s177ms 05 7 18s105ms 2s586ms 06 5 7s494ms 1s498ms 07 1 3s621ms 3s621ms 08 4 10s273ms 2s568ms 09 3 7s488ms 2s496ms 11 2 10s293ms 5s146ms 12 1 5s104ms 5s104ms 13 16 30s80ms 1s880ms 14 3 4s462ms 1s487ms 15 1 2s841ms 2s841ms 16 5 9s764ms 1s952ms 17 2 6s826ms 3s413ms 18 1 1s300ms 1s300ms 19 1 1s217ms 1s217ms 20 2 2s762ms 1s381ms 21 1 1s437ms 1s437ms 22 1 1s319ms 1s319ms 23 4 5s159ms 1s289ms May 09 00 3 5s390ms 1s796ms 01 3 8s800ms 2s933ms 02 2 6s428ms 3s214ms 03 3 4s983ms 1s661ms 04 1 5s155ms 5s155ms 05 1 5s93ms 5s93ms 06 1 1s92ms 1s92ms 07 1 5s128ms 5s128ms 09 1 1s109ms 1s109ms 10 2 8s214ms 4s107ms 11 2 3s649ms 1s824ms 13 1 1s63ms 1s63ms 14 1 1s11ms 1s11ms 16 1 5s144ms 5s144ms 19 2 6s601ms 3s300ms 20 1 1s274ms 1s274ms 21 1 1s428ms 1s428ms 22 1 3s702ms 3s702ms May 10 01 1 3s742ms 3s742ms 03 2 2s800ms 1s400ms 07 3 6s167ms 2s55ms 08 1 2s285ms 2s285ms 09 1 1s338ms 1s338ms 11 1 1s232ms 1s232ms 13 1 1s415ms 1s415ms 23 1 3s692ms 3s692ms May 11 00 1 2s973ms 2s973ms 08 1 5s86ms 5s86ms 13 2 4s814ms 2s407ms 14 1 5s150ms 5s150ms 15 1 1s336ms 1s336ms 17 1 1s72ms 1s72ms 20 2 5s341ms 2s670ms [ User: pubeu - Total duration: 6m17s - Times executed: 147 ]
-
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 = '1384112') 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 = '1384112') 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-05-07 20:03:55 Duration: 5s433ms 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 = '1384112') 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 = '1384112') 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-05-07 09:19:12 Duration: 5s377ms 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 = '1384112') 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 = '1384112') 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-05-05 23:07:11 Duration: 5s298ms Bind query: yes
6 258 17m7s 3s754ms 5s579ms 3s981ms 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 #6
Day Hour Count Duration Avg duration May 05 00 2 7s813ms 3s906ms 05 2 8s34ms 4s17ms 06 2 9s487ms 4s743ms 07 1 3s902ms 3s902ms 10 1 3s851ms 3s851ms 11 1 4s113ms 4s113ms 12 4 15s827ms 3s956ms 14 1 4s25ms 4s25ms 15 1 4s19ms 4s19ms 16 1 3s998ms 3s998ms 18 1 3s865ms 3s865ms 21 1 3s857ms 3s857ms 22 4 15s702ms 3s925ms May 06 02 2 8s133ms 4s66ms 03 1 3s878ms 3s878ms 04 2 7s937ms 3s968ms 05 1 3s928ms 3s928ms 07 5 19s873ms 3s974ms 08 3 11s783ms 3s927ms 09 5 19s359ms 3s871ms 10 3 11s727ms 3s909ms 11 2 7s754ms 3s877ms 12 2 7s825ms 3s912ms 13 1 3s926ms 3s926ms 14 1 3s943ms 3s943ms 17 2 7s814ms 3s907ms 20 1 3s826ms 3s826ms 21 1 3s937ms 3s937ms 22 1 3s888ms 3s888ms 23 1 3s847ms 3s847ms May 07 00 1 3s960ms 3s960ms 01 1 5s214ms 5s214ms 06 2 8s296ms 4s148ms 07 1 4s4ms 4s4ms 08 1 3s989ms 3s989ms 10 1 4s106ms 4s106ms 11 6 24s353ms 4s58ms 12 1 4s234ms 4s234ms 13 2 7s849ms 3s924ms 14 3 11s812ms 3s937ms 15 4 15s487ms 3s871ms 18 1 3s903ms 3s903ms 20 1 3s960ms 3s960ms 21 2 8s30ms 4s15ms 22 4 15s713ms 3s928ms 23 5 19s466ms 3s893ms May 08 05 2 7s748ms 3s874ms 06 5 19s624ms 3s924ms 07 1 3s934ms 3s934ms 08 10 39s718ms 3s971ms 09 5 19s702ms 3s940ms 10 1 3s892ms 3s892ms 11 1 3s910ms 3s910ms 12 2 7s852ms 3s926ms 15 3 11s683ms 3s894ms 16 1 3s970ms 3s970ms 17 1 3s932ms 3s932ms 20 2 7s778ms 3s889ms 23 1 3s859ms 3s859ms May 09 00 1 3s896ms 3s896ms 01 5 19s633ms 3s926ms 02 4 16s655ms 4s163ms 04 13 51s67ms 3s928ms 05 3 12s62ms 4s20ms 06 4 15s380ms 3s845ms 07 1 4s62ms 4s62ms 09 2 7s771ms 3s885ms 11 3 11s690ms 3s896ms 13 3 11s896ms 3s965ms 15 1 3s972ms 3s972ms 17 1 3s910ms 3s910ms 22 2 7s644ms 3s822ms 23 2 7s775ms 3s887ms May 10 01 4 16s166ms 4s41ms 02 34 2m19s 4s95ms 03 3 12s192ms 4s64ms 04 3 11s857ms 3s952ms 05 3 11s695ms 3s898ms 07 2 7s817ms 3s908ms 08 1 3s887ms 3s887ms 09 3 11s791ms 3s930ms 10 2 8s205ms 4s102ms 11 1 3s918ms 3s918ms 14 2 7s774ms 3s887ms 15 3 11s662ms 3s887ms 16 2 7s873ms 3s936ms 18 1 3s842ms 3s842ms 21 1 3s874ms 3s874ms 22 2 7s712ms 3s856ms 23 2 7s714ms 3s857ms May 11 04 1 3s911ms 3s911ms 05 3 12s288ms 4s96ms 06 1 3s898ms 3s898ms 07 1 4s23ms 4s23ms 08 4 16s592ms 4s148ms 09 1 3s892ms 3s892ms 11 1 3s947ms 3s947ms 12 2 7s896ms 3s948ms 14 2 8s74ms 4s37ms 16 1 4s57ms 4s57ms [ User: pubeu - Total duration: 6m40s - 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 = '1329725') 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 = '1329725') 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-05-05 06:25:10 Duration: 5s579ms 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 = '1402841') 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 = '1402841') 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-05-07 01:32:06 Duration: 5s214ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1289995') 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 = '1289995') 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-05-09 02:13:13 Duration: 4s551ms Database: ctdprd51 User: pubeu Bind query: yes
7 184 4m2s 1s191ms 1s692ms 1s316ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where outcome.disease_id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or receptorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration May 05 05 3 4s205ms 1s401ms 09 1 1s300ms 1s300ms 12 1 1s355ms 1s355ms 16 1 1s266ms 1s266ms May 06 02 2 2s655ms 1s327ms 05 4 5s480ms 1s370ms 07 2 2s671ms 1s335ms 09 1 1s312ms 1s312ms 11 1 1s271ms 1s271ms 12 2 2s641ms 1s320ms 16 3 4s121ms 1s373ms 22 2 2s522ms 1s261ms 23 1 1s260ms 1s260ms May 07 05 4 5s455ms 1s363ms 06 1 1s268ms 1s268ms 08 4 5s348ms 1s337ms 12 2 2s534ms 1s267ms 14 1 1s328ms 1s328ms 15 1 1s301ms 1s301ms 17 1 1s442ms 1s442ms 21 1 1s415ms 1s415ms 22 1 1s280ms 1s280ms 23 1 1s289ms 1s289ms May 08 05 3 4s211ms 1s403ms 06 4 5s205ms 1s301ms 08 5 6s802ms 1s360ms 09 2 2s669ms 1s334ms 10 3 3s892ms 1s297ms 11 9 11s727ms 1s303ms 12 22 27s961ms 1s270ms 13 9 11s506ms 1s278ms 14 24 31s18ms 1s292ms 15 1 1s290ms 1s290ms 16 3 3s933ms 1s311ms 19 3 3s889ms 1s296ms 20 1 1s289ms 1s289ms 22 2 2s603ms 1s301ms 23 1 1s283ms 1s283ms May 09 01 2 2s519ms 1s259ms 03 2 2s698ms 1s349ms 05 3 4s151ms 1s383ms 09 1 1s248ms 1s248ms 15 3 3s947ms 1s315ms 17 1 1s279ms 1s279ms 18 1 1s212ms 1s212ms May 10 00 2 2s611ms 1s305ms 01 1 1s368ms 1s368ms 02 2 2s782ms 1s391ms 03 1 1s320ms 1s320ms 04 1 1s364ms 1s364ms 05 4 5s572ms 1s393ms 08 1 1s235ms 1s235ms 09 1 1s318ms 1s318ms 11 3 3s960ms 1s320ms 12 1 1s321ms 1s321ms 13 1 1s477ms 1s477ms 14 2 2s475ms 1s237ms 15 1 1s210ms 1s210ms May 11 00 3 3s851ms 1s283ms 03 1 1s488ms 1s488ms 05 2 2s813ms 1s406ms 10 2 2s564ms 1s282ms 13 1 1s508ms 1s508ms 14 1 1s279ms 1s279ms 16 5 6s593ms 1s318ms 18 1 1s692ms 1s692ms 20 1 1s371ms 1s371ms [ User: pubeu - Total duration: 1m20s - 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 = '2070029') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2070029') 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-05-11 18:01:36 Duration: 1s692ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.disease_id in ( select descendant_object_id from dag_path where ancestor_object_id = '2067521') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2067521') 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-05-11 13:59:10 Duration: 1s508ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.disease_id in ( select descendant_object_id from dag_path where ancestor_object_id = '2066417') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2066417') 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-05-10 05:42:52 Duration: 1s500ms Database: ctdprd51 User: pubeu Bind query: yes
8 173 8m15s 1s180ms 6s138ms 2s864ms 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 #8
Day Hour Count Duration Avg duration May 05 03 1 3s227ms 3s227ms 04 1 2s770ms 2s770ms 05 2 5s393ms 2s696ms 06 1 1s706ms 1s706ms 07 2 4s810ms 2s405ms 09 1 2s152ms 2s152ms 11 2 8s698ms 4s349ms 12 1 1s607ms 1s607ms 14 2 7s825ms 3s912ms 17 1 3s212ms 3s212ms 18 3 10s26ms 3s342ms 19 4 8s285ms 2s71ms 21 1 2s739ms 2s739ms 22 2 4s522ms 2s261ms 23 1 6s3ms 6s3ms May 06 00 1 2s103ms 2s103ms 01 1 2s780ms 2s780ms 02 3 10s480ms 3s493ms 03 4 15s659ms 3s914ms 04 2 4s89ms 2s44ms 05 1 1s308ms 1s308ms 06 2 3s658ms 1s829ms 07 1 3s253ms 3s253ms 08 1 1s729ms 1s729ms 10 1 2s774ms 2s774ms 11 2 4s383ms 2s191ms 12 1 2s799ms 2s799ms 15 1 1s958ms 1s958ms 16 3 13s401ms 4s467ms 17 2 4s457ms 2s228ms 18 2 3s920ms 1s960ms 19 2 7s874ms 3s937ms 20 3 6s458ms 2s152ms 21 1 5s998ms 5s998ms 22 3 7s841ms 2s613ms 23 2 6s71ms 3s35ms May 07 00 2 7s584ms 3s792ms 01 1 5s865ms 5s865ms 05 3 14s100ms 4s700ms 06 1 5s938ms 5s938ms 08 2 4s608ms 2s304ms 09 1 1s835ms 1s835ms 10 2 3s190ms 1s595ms 13 5 21s229ms 4s245ms 14 1 6s138ms 6s138ms 15 1 5s874ms 5s874ms 16 1 5s909ms 5s909ms 17 1 1s830ms 1s830ms 18 1 5s866ms 5s866ms 19 7 22s931ms 3s275ms 20 1 1s913ms 1s913ms 22 4 7s544ms 1s886ms 23 3 7s162ms 2s387ms May 08 00 1 3s449ms 3s449ms 05 4 12s596ms 3s149ms 06 2 4s82ms 2s41ms 07 1 5s857ms 5s857ms 08 3 4s787ms 1s595ms 09 3 5s744ms 1s914ms 10 1 5s914ms 5s914ms 13 6 11s463ms 1s910ms 16 2 5s147ms 2s573ms 17 1 2s740ms 2s740ms 18 1 1s713ms 1s713ms 20 2 6s413ms 3s206ms 21 2 4s444ms 2s222ms 22 1 1s835ms 1s835ms 23 1 3s246ms 3s246ms May 09 02 1 3s404ms 3s404ms 04 2 4s408ms 2s204ms 07 1 3s441ms 3s441ms 09 2 5s898ms 2s949ms 10 5 9s877ms 1s975ms 19 2 3s682ms 1s841ms 20 1 3s220ms 3s220ms 22 1 1s723ms 1s723ms 23 2 3s432ms 1s716ms May 10 04 1 3s339ms 3s339ms 08 2 3s836ms 1s918ms 09 1 1s293ms 1s293ms 12 1 1s823ms 1s823ms 14 1 1s806ms 1s806ms 15 2 3s859ms 1s929ms 22 1 3s279ms 3s279ms May 11 09 1 1s620ms 1s620ms 10 2 11s729ms 5s864ms 15 2 3s206ms 1s603ms 16 1 1s876ms 1s876ms 18 1 3s407ms 3s407ms 19 2 4s585ms 2s292ms 21 1 3s412ms 3s412ms 22 3 7s694ms 2s564ms 23 2 4s832ms 2s416ms [ User: pubeu - Total duration: 4m44s - Times executed: 100 ]
-
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 = '1384112'))) 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-05-07 14:38:51 Duration: 6s138ms 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 = '1384112'))) 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-05-05 14:02:17 Duration: 6s107ms 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 = '1384112'))) 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-05-07 19:16:46 Duration: 6s25ms Bind query: yes
9 129 30m34s 1s45ms 5m53s 14s221ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration May 06 05 4 6s528ms 1s632ms 08 1 2s704ms 2s704ms 11 1 2s206ms 2s206ms 22 4 55s679ms 13s919ms 23 1 20s305ms 20s305ms May 07 01 9 2m23s 15s975ms 02 1 23s798ms 23s798ms 07 1 1s53ms 1s53ms 08 4 56s403ms 14s100ms 09 12 41s109ms 3s425ms 10 9 14s172ms 1s574ms 11 4 5s277ms 1s319ms 12 1 1s78ms 1s78ms 20 3 1m13s 24s554ms 21 11 2m32s 13s889ms 22 1 1s528ms 1s528ms 23 6 2m1s 20s184ms May 08 00 11 9m2s 49s359ms 20 1 4s518ms 4s518ms 22 5 7s259ms 1s451ms May 09 01 1 44s70ms 44s70ms 02 8 4m17s 32s234ms 10 5 37s671ms 7s534ms 20 1 44s45ms 44s45ms May 10 07 1 1s76ms 1s76ms 08 1 1s648ms 1s648ms 09 1 2s691ms 2s691ms May 11 00 1 1s135ms 1s135ms 01 1 1s558ms 1s558ms 03 10 2m2s 12s262ms 04 8 16s108ms 2s13ms 05 1 26s122ms 26s122ms [ User: pubeu - Total duration: 10m5s - Times executed: 59 ]
-
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 = '2076831') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-05-08 00:53:28 Duration: 5m53s 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 = '2069554') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-05-09 02:26:21 Duration: 46s652ms 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 = '2069554') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-05-07 21:27:07 Duration: 46s159ms Bind query: yes
10 110 2m25s 1s216ms 3s512ms 1s321ms 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 #10
Day Hour Count Duration Avg duration May 05 01 1 1s254ms 1s254ms 02 2 2s508ms 1s254ms 04 3 3s813ms 1s271ms 05 2 2s845ms 1s422ms 06 1 1s262ms 1s262ms 10 1 1s276ms 1s276ms 15 2 2s722ms 1s361ms 16 1 1s352ms 1s352ms 20 1 1s220ms 1s220ms May 06 00 1 1s246ms 1s246ms 02 1 1s315ms 1s315ms 05 2 2s836ms 1s418ms 13 2 2s502ms 1s251ms 15 1 1s301ms 1s301ms 20 1 1s343ms 1s343ms 21 3 3s771ms 1s257ms May 07 05 2 2s950ms 1s475ms 06 2 2s661ms 1s330ms 09 1 1s245ms 1s245ms 12 4 5s189ms 1s297ms 14 5 6s369ms 1s273ms 15 1 1s232ms 1s232ms 16 3 3s745ms 1s248ms 17 2 2s479ms 1s239ms 18 4 5s209ms 1s302ms 19 3 3s942ms 1s314ms 21 1 1s340ms 1s340ms May 08 05 2 3s47ms 1s523ms 07 1 1s242ms 1s242ms 11 2 2s446ms 1s223ms 14 1 1s239ms 1s239ms 15 2 2s478ms 1s239ms 16 2 2s474ms 1s237ms May 09 02 3 3s836ms 1s278ms 05 2 2s797ms 1s398ms 09 2 2s493ms 1s246ms 14 1 1s224ms 1s224ms 19 1 1s234ms 1s234ms 20 2 2s451ms 1s225ms 21 2 2s442ms 1s221ms 22 1 1s303ms 1s303ms May 10 02 1 1s422ms 1s422ms 03 2 2s638ms 1s319ms 04 4 5s262ms 1s315ms 05 2 2s887ms 1s443ms 07 1 1s285ms 1s285ms 09 1 1s278ms 1s278ms 13 1 1s283ms 1s283ms 16 2 2s572ms 1s286ms May 11 02 3 4s118ms 1s372ms 03 2 4s803ms 2s401ms 04 1 1s276ms 1s276ms 05 2 2s738ms 1s369ms 09 2 2s559ms 1s279ms 10 2 2s515ms 1s257ms 12 1 1s334ms 1s334ms 13 2 2s609ms 1s304ms 17 2 2s616ms 1s308ms 19 2 2s498ms 1s249ms [ User: pubeu - Total duration: 44s869ms - Times executed: 33 ]
[ User: qaeu - Total duration: 2s771ms - Times executed: 2 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1247833') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1247833') 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-05-11 03:55:02 Duration: 3s512ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1209014') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1209014') 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-05-08 05:38:40 Duration: 1s640ms 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 = '1209014') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1209014') 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-05-07 05:38:43 Duration: 1s562ms Bind query: yes
11 109 9m57s 1s15ms 20s533ms 5s483ms 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 May 05 02 1 1s58ms 1s58ms 04 1 8s239ms 8s239ms 06 1 7s620ms 7s620ms 09 1 3s324ms 3s324ms 14 2 2s766ms 1s383ms 18 1 8s144ms 8s144ms 22 1 6s695ms 6s695ms May 06 00 2 37s914ms 18s957ms 03 1 3s334ms 3s334ms 04 1 1s39ms 1s39ms 05 1 1s543ms 1s543ms 06 1 1s58ms 1s58ms 09 1 3s274ms 3s274ms 10 1 18s451ms 18s451ms 11 2 2s150ms 1s75ms 12 2 38s625ms 19s312ms 16 2 2s283ms 1s141ms 21 1 6s357ms 6s357ms 22 1 1s21ms 1s21ms 23 1 1s827ms 1s827ms May 07 00 3 5s609ms 1s869ms 07 1 2s774ms 2s774ms 10 1 7s793ms 7s793ms 11 1 3s274ms 3s274ms 12 1 7s907ms 7s907ms 14 1 19s753ms 19s753ms 15 1 1s105ms 1s105ms 18 1 1s378ms 1s378ms 19 5 40s414ms 8s82ms 21 1 9s427ms 9s427ms 22 2 2s40ms 1s20ms May 08 00 1 3s569ms 3s569ms 06 6 41s642ms 6s940ms 09 1 2s837ms 2s837ms 19 1 1s436ms 1s436ms 20 1 1s539ms 1s539ms 21 2 4s403ms 2s201ms 22 1 2s762ms 2s762ms 23 2 2s151ms 1s75ms May 09 01 1 18s15ms 18s15ms 02 1 1s548ms 1s548ms 03 1 7s610ms 7s610ms 04 1 18s250ms 18s250ms 05 2 18s579ms 9s289ms 06 1 17s871ms 17s871ms 08 1 7s709ms 7s709ms 12 2 4s286ms 2s143ms 13 1 17s963ms 17s963ms 14 1 1s31ms 1s31ms 15 1 1s42ms 1s42ms 19 1 3s257ms 3s257ms 21 2 25s860ms 12s930ms 22 3 5s592ms 1s864ms 23 3 3s423ms 1s141ms May 10 04 1 7s829ms 7s829ms 05 1 1s48ms 1s48ms 09 1 2s746ms 2s746ms 10 1 1s813ms 1s813ms 15 1 7s712ms 7s712ms 20 1 1s379ms 1s379ms 22 2 2s77ms 1s38ms 23 1 2s836ms 2s836ms May 11 02 1 2s980ms 2s980ms 08 1 19s164ms 19s164ms 11 1 1s34ms 1s34ms 12 1 3s371ms 3s371ms 14 1 1s60ms 1s60ms 15 3 41s753ms 13s917ms 16 3 10s57ms 3s352ms 17 3 3s687ms 1s229ms 18 1 1s36ms 1s36ms 19 2 2s723ms 1s361ms 20 2 10s213ms 5s106ms 21 1 2s530ms 2s530ms [ User: pubeu - Total duration: 3m49s - Times executed: 48 ]
-
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 = '1209011') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-05-11 15:24:26 Duration: 20s533ms 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 = '1209011') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-05-11 15:24:21 Duration: 20s142ms 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 = '1209011') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-05-07 14:09:52 Duration: 19s753ms Bind query: yes
12 109 2m30s 1s331ms 1s526ms 1s377ms 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 May 05 00 1 1s404ms 1s404ms 01 1 1s453ms 1s453ms 05 2 2s802ms 1s401ms 09 1 1s375ms 1s375ms 11 1 1s375ms 1s375ms 20 1 1s371ms 1s371ms 23 2 2s768ms 1s384ms May 06 03 1 1s355ms 1s355ms 05 6 8s294ms 1s382ms 06 1 1s526ms 1s526ms 08 2 2s753ms 1s376ms 10 2 2s769ms 1s384ms 11 1 1s422ms 1s422ms 13 1 1s369ms 1s369ms 14 1 1s371ms 1s371ms 15 1 1s355ms 1s355ms 17 1 1s390ms 1s390ms 22 1 1s355ms 1s355ms May 07 05 2 2s758ms 1s379ms 07 1 1s374ms 1s374ms 09 1 1s460ms 1s460ms 12 1 1s366ms 1s366ms 14 1 1s400ms 1s400ms 16 1 1s363ms 1s363ms 19 5 6s832ms 1s366ms 21 1 1s506ms 1s506ms 23 1 1s408ms 1s408ms May 08 05 3 4s114ms 1s371ms 08 2 2s783ms 1s391ms 09 1 1s394ms 1s394ms 14 19 25s683ms 1s351ms 15 1 1s369ms 1s369ms 17 1 1s355ms 1s355ms 18 1 1s401ms 1s401ms 20 1 1s389ms 1s389ms May 09 00 1 1s423ms 1s423ms 04 2 2s709ms 1s354ms 05 2 2s736ms 1s368ms 06 1 1s354ms 1s354ms 08 1 1s423ms 1s423ms 12 1 1s360ms 1s360ms 13 2 2s768ms 1s384ms 14 3 4s120ms 1s373ms 15 1 1s369ms 1s369ms 21 1 1s366ms 1s366ms 23 1 1s368ms 1s368ms May 10 02 2 2s878ms 1s439ms 03 2 2s796ms 1s398ms 05 2 2s752ms 1s376ms 07 1 1s364ms 1s364ms 21 1 1s337ms 1s337ms May 11 02 3 4s137ms 1s379ms 04 6 8s261ms 1s376ms 05 2 2s712ms 1s356ms 10 1 1s370ms 1s370ms 22 1 1s372ms 1s372ms 23 2 2s732ms 1s366ms [ User: pubeu - Total duration: 49s626ms - Times executed: 36 ]
-
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-05-06 06:57:16 Duration: 1s526ms 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-05-07 21:39:32 Duration: 1s506ms 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-05-07 09:15:11 Duration: 1s460ms Bind query: yes
13 108 8m55s 1s11ms 7s140ms 4s954ms 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 May 05 01 1 4s931ms 4s931ms 03 1 4s700ms 4s700ms 05 1 4s946ms 4s946ms 07 1 4s886ms 4s886ms 15 1 4s979ms 4s979ms 16 1 4s838ms 4s838ms 18 1 4s836ms 4s836ms 19 1 5s274ms 5s274ms 22 1 4s825ms 4s825ms May 06 00 1 4s999ms 4s999ms 03 2 9s629ms 4s814ms 04 2 10s 5s 07 1 4s802ms 4s802ms 09 2 5s912ms 2s956ms 12 1 5s86ms 5s86ms 18 1 4s903ms 4s903ms 19 2 9s922ms 4s961ms 23 1 4s999ms 4s999ms May 07 01 1 4s953ms 4s953ms 02 1 7s140ms 7s140ms 06 2 9s785ms 4s892ms 08 1 5s909ms 5s909ms 09 2 10s73ms 5s36ms 10 1 5s640ms 5s640ms 13 2 9s932ms 4s966ms 16 2 10s227ms 5s113ms 17 1 4s802ms 4s802ms 20 1 4s650ms 4s650ms 22 1 4s833ms 4s833ms May 08 05 1 5s261ms 5s261ms 08 1 5s356ms 5s356ms 10 2 10s39ms 5s19ms 13 13 1m2s 4s840ms 16 1 5s597ms 5s597ms 17 2 9s898ms 4s949ms 18 4 19s293ms 4s823ms 19 2 9s719ms 4s859ms 20 1 4s755ms 4s755ms 21 1 4s770ms 4s770ms 23 1 5s101ms 5s101ms May 09 00 1 4s933ms 4s933ms 02 1 4s860ms 4s860ms 03 2 9s595ms 4s797ms 06 4 20s491ms 5s122ms 07 5 24s935ms 4s987ms 08 1 4s902ms 4s902ms 13 2 9s572ms 4s786ms 22 2 9s858ms 4s929ms May 10 00 1 4s842ms 4s842ms 01 1 5s165ms 5s165ms 03 2 10s75ms 5s37ms 04 1 5s248ms 5s248ms 07 1 4s852ms 4s852ms 09 1 4s608ms 4s608ms 10 2 10s619ms 5s309ms 11 2 10s669ms 5s334ms 14 1 4s713ms 4s713ms 15 1 4s667ms 4s667ms 19 1 4s694ms 4s694ms 21 1 4s812ms 4s812ms May 11 01 1 4s664ms 4s664ms 09 1 4s773ms 4s773ms 13 1 5s103ms 5s103ms 14 1 5s95ms 5s95ms 16 2 10s959ms 5s479ms 18 1 4s885ms 4s885ms 20 1 5s495ms 5s495ms 21 1 4s831ms 4s831ms [ User: pubeu - Total duration: 4m31s - Times executed: 55 ]
-
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 = '1423261' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-05-07 02:02:56 Duration: 7s140ms 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 = '1281688' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-05-07 08:26:00 Duration: 5s909ms 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 = '1390425' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-05-07 10:07:10 Duration: 5s640ms Bind query: yes
14 91 2m21s 1s173ms 2s23ms 1s559ms 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 May 05 00 1 1s773ms 1s773ms 01 1 1s239ms 1s239ms 02 3 4s289ms 1s429ms 03 2 3s1ms 1s500ms 04 1 1s767ms 1s767ms 05 1 1s802ms 1s802ms 07 1 1s797ms 1s797ms 08 2 3s573ms 1s786ms 09 1 1s797ms 1s797ms 10 1 1s775ms 1s775ms 14 1 1s237ms 1s237ms 16 2 3s586ms 1s793ms 17 1 1s242ms 1s242ms 19 1 1s789ms 1s789ms 20 1 1s240ms 1s240ms 22 1 1s792ms 1s792ms 23 1 1s796ms 1s796ms May 06 00 2 3s591ms 1s795ms 01 1 1s766ms 1s766ms 04 1 1s241ms 1s241ms 05 1 1s804ms 1s804ms 06 4 5s446ms 1s361ms 09 2 2s483ms 1s241ms 10 1 1s232ms 1s232ms 11 3 3s716ms 1s238ms 13 1 1s780ms 1s780ms 14 1 1s755ms 1s755ms 15 1 1s245ms 1s245ms 16 1 1s765ms 1s765ms 18 1 1s236ms 1s236ms 19 1 1s215ms 1s215ms 20 1 1s224ms 1s224ms 21 1 1s221ms 1s221ms 22 2 3s582ms 1s791ms May 07 02 1 1s173ms 1s173ms 06 1 1s800ms 1s800ms 07 1 1s254ms 1s254ms 08 1 1s851ms 1s851ms 09 3 5s426ms 1s808ms 10 1 1s785ms 1s785ms 12 1 1s224ms 1s224ms 15 1 1s235ms 1s235ms 18 1 1s790ms 1s790ms 19 3 5s20ms 1s673ms 22 3 4s894ms 1s631ms 23 2 3s105ms 1s552ms May 08 00 1 1s939ms 1s939ms 05 2 2s988ms 1s494ms 08 3 4s817ms 1s605ms 09 2 3s72ms 1s536ms 10 2 3s590ms 1s795ms 11 1 1s792ms 1s792ms 13 1 1s369ms 1s369ms 16 2 3s16ms 1s508ms 19 1 1s250ms 1s250ms 22 1 1s231ms 1s231ms May 09 00 2 3s1ms 1s500ms 01 2 3s49ms 1s524ms 03 1 1s230ms 1s230ms 08 1 1s765ms 1s765ms 18 1 1s779ms 1s779ms May 10 00 1 1s841ms 1s841ms 03 1 1s811ms 1s811ms [ User: pubeu - Total duration: 1m8s - Times executed: 45 ]
-
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 = '1384112') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2024-05-07 19:12:28 Duration: 2s23ms 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 = '1384112') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2024-05-08 00:02:52 Duration: 1s939ms 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 = '1384112') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2024-05-07 09:22:52 Duration: 1s899ms Bind query: yes
15 90 1m52s 1s232ms 1s464ms 1s254ms 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 May 05 01 1 1s243ms 1s243ms 05 2 2s525ms 1s262ms 10 1 1s237ms 1s237ms May 06 00 2 2s480ms 1s240ms 03 2 2s489ms 1s244ms 04 1 1s261ms 1s261ms 05 2 2s486ms 1s243ms 08 1 1s243ms 1s243ms 09 1 1s251ms 1s251ms 10 1 1s252ms 1s252ms 13 1 1s247ms 1s247ms 16 2 2s494ms 1s247ms 18 1 1s242ms 1s242ms 19 1 1s253ms 1s253ms 20 3 3s722ms 1s240ms 21 1 1s256ms 1s256ms 22 1 1s256ms 1s256ms 23 3 3s942ms 1s314ms May 07 00 3 3s764ms 1s254ms 01 1 1s464ms 1s464ms 05 3 3s745ms 1s248ms 06 7 8s769ms 1s252ms 07 6 7s531ms 1s255ms 09 2 2s512ms 1s256ms 10 2 2s496ms 1s248ms 11 1 1s251ms 1s251ms 14 2 2s494ms 1s247ms 16 2 2s504ms 1s252ms 17 1 1s243ms 1s243ms 21 1 1s253ms 1s253ms 22 1 1s239ms 1s239ms 23 2 2s487ms 1s243ms May 08 00 1 1s242ms 1s242ms 05 2 2s494ms 1s247ms 06 5 6s211ms 1s242ms 12 1 1s252ms 1s252ms 13 1 1s321ms 1s321ms 14 1 1s253ms 1s253ms 22 1 1s239ms 1s239ms May 09 02 2 2s535ms 1s267ms 05 5 6s228ms 1s245ms 07 1 1s277ms 1s277ms 10 1 1s241ms 1s241ms 21 1 1s240ms 1s240ms May 10 05 2 2s505ms 1s252ms 11 2 2s478ms 1s239ms May 11 05 2 2s505ms 1s252ms 10 1 1s238ms 1s238ms [ User: pubeu - Total duration: 46s759ms - Times executed: 37 ]
-
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-05-07 01:32:33 Duration: 1s464ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2024-05-06 23:10:36 Duration: 1s450ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2024-05-08 13:11:44 Duration: 1s321ms Database: ctdprd51 User: pubeu Bind query: yes
16 61 3h12m35s 1s152ms 18m22s 3m9s 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 #16
Day Hour Count Duration Avg duration May 05 05 1 1s272ms 1s272ms 06 1 1s808ms 1s808ms 11 1 3s202ms 3s202ms 12 1 17m6s 17m6s 13 1 2s209ms 2s209ms 15 1 2m50s 2m50s 18 1 2s239ms 2s239ms 20 1 1s496ms 1s496ms 21 2 17m17s 8m38s May 06 00 1 1s796ms 1s796ms 01 1 3s55ms 3s55ms 03 1 2s302ms 2s302ms 05 1 1s629ms 1s629ms 09 3 8m36s 2m52s 11 2 4m49s 2m24s 15 1 3s180ms 3s180ms 16 1 2s275ms 2s275ms 21 1 1s851ms 1s851ms 22 1 3m13s 3m13s May 07 01 1 3m36s 3m36s 13 1 3s143ms 3s143ms 15 1 1s926ms 1s926ms 17 1 1s436ms 1s436ms 19 4 25m37s 6m24s 20 2 3s4ms 1s502ms May 08 06 3 25m52s 8m37s 07 1 3m21s 3m21s 08 1 2m9s 2m9s 10 3 7m57s 2m39s 16 1 3s28ms 3s28ms 18 1 17m23s 17m23s May 09 01 1 3s181ms 3s181ms 04 1 3s172ms 3s172ms 07 1 3s130ms 3s130ms 10 1 1s379ms 1s379ms 11 1 18m22s 18m22s 14 1 4m8s 4m8s 20 1 1s152ms 1s152ms May 10 03 1 1s553ms 1s553ms 05 1 2m58s 2m58s 10 2 2s892ms 1s446ms 17 1 3m6s 3m6s 18 2 11m43s 5m51s 20 1 1s482ms 1s482ms May 11 02 1 3m35s 3m35s 12 1 3m35s 3m35s 17 1 4m14s 4m14s [ User: pubeu - Total duration: 1h6m16s - Times executed: 31 ]
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1232823') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-05-09 11:42:43 Duration: 18m22s 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 = '1232823') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-05-08 06:21:19 Duration: 17m24s 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 = '1232823') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-05-08 18:43:44 Duration: 17m23s Bind query: yes
17 56 2m25s 1s57ms 5s299ms 2s590ms 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 ? offset ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration May 05 04 1 1s288ms 1s288ms 14 1 2s798ms 2s798ms 21 1 1s74ms 1s74ms May 06 19 1 3s738ms 3s738ms May 07 09 1 3s819ms 3s819ms May 08 06 1 1s699ms 1s699ms 12 1 5s64ms 5s64ms 20 8 12s90ms 1s511ms 21 8 11s743ms 1s467ms 23 8 10s233ms 1s279ms May 09 00 2 8s949ms 4s474ms 01 1 5s214ms 5s214ms 02 8 29s901ms 3s737ms 03 5 5s381ms 1s76ms 07 7 36s529ms 5s218ms May 10 08 1 2s771ms 2s771ms May 11 02 1 2s758ms 2s758ms [ User: pubeu - Total duration: 32s445ms - Times executed: 11 ]
-
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 = '1384112') 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 = '1384112') 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 OFFSET 350;
Date: 2024-05-09 07:53:33 Duration: 5s299ms 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 = '1384112') 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 = '1384112') 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 OFFSET 150;
Date: 2024-05-09 00:06:31 Duration: 5s255ms 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 = '1384112') 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 = '1384112') 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 OFFSET 200;
Date: 2024-05-09 07:53:15 Duration: 5s250ms Database: ctdprd51 User: pubeu Bind query: yes
18 52 2m28s 1s173ms 6s379ms 2s861ms 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 ? offset ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration May 05 03 1 1s194ms 1s194ms 05 1 1s726ms 1s726ms 06 1 2s100ms 2s100ms 12 2 4s72ms 2s36ms May 06 00 1 5s996ms 5s996ms 02 1 2s167ms 2s167ms 05 1 3s251ms 3s251ms 07 1 1s586ms 1s586ms 19 1 1s844ms 1s844ms 23 1 1s704ms 1s704ms May 07 11 1 1s610ms 1s610ms 18 1 3s291ms 3s291ms 19 1 5s971ms 5s971ms May 08 07 1 1s723ms 1s723ms 22 1 1s175ms 1s175ms 23 8 26s867ms 3s358ms May 09 02 8 15s289ms 1s911ms 07 8 50s53ms 6s256ms 08 8 10s568ms 1s321ms 17 3 5s448ms 1s816ms May 10 01 1 1s173ms 1s173ms [ User: pubeu - Total duration: 1m3s - Times executed: 18 ]
-
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 = '1384112'))) 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 OFFSET 189050;
Date: 2024-05-09 07:42:48 Duration: 6s379ms 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 = '1384112'))) 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 OFFSET 150;
Date: 2024-05-09 07:42:07 Duration: 6s329ms 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 = '1384112'))) 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 OFFSET 350;
Date: 2024-05-09 07:42:39 Duration: 6s273ms Bind query: yes
19 47 2m6s 1s5ms 10s351ms 2s701ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where stressorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or exposuremarkerterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration May 05 21 1 10s200ms 10s200ms May 06 04 1 1s5ms 1s5ms 06 1 1s252ms 1s252ms 12 1 2s245ms 2s245ms May 07 08 1 1s279ms 1s279ms 11 14 15s988ms 1s142ms 12 1 4s413ms 4s413ms 13 3 9s257ms 3s85ms 14 3 23s162ms 7s720ms May 08 06 1 1s8ms 1s8ms 08 3 4s645ms 1s548ms 13 2 2s438ms 1s219ms 19 1 2s373ms 2s373ms 20 1 2s226ms 2s226ms 21 1 1s372ms 1s372ms May 09 00 1 7s318ms 7s318ms 01 4 5s31ms 1s257ms 02 1 1s305ms 1s305ms 03 1 10s233ms 10s233ms 06 1 1s155ms 1s155ms 18 1 1s127ms 1s127ms 22 1 1s16ms 1s16ms May 10 17 1 6s552ms 6s552ms May 11 21 1 10s351ms 10s351ms [ User: pubeu - Total duration: 47s311ms - Times executed: 17 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1384112') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1384112') 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-05-11 21:51:23 Duration: 10s351ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1384112') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1384112') 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-05-07 14:03:54 Duration: 10s338ms Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1384112') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1384112') 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-05-07 14:03:58 Duration: 10s245ms Database: ctdprd51 User: pubeu Bind query: yes
20 46 1m6s 1s2ms 2s337ms 1s441ms select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where diseaseterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration May 05 02 4 6s288ms 1s572ms 09 1 1s369ms 1s369ms 12 1 2s337ms 2s337ms 13 1 1s537ms 1s537ms 19 1 1s532ms 1s532ms 20 1 1s10ms 1s10ms 22 1 1s37ms 1s37ms May 06 00 1 1s9ms 1s9ms 01 2 2s942ms 1s471ms 02 1 2s318ms 2s318ms 04 1 1s382ms 1s382ms 09 1 2s177ms 2s177ms 12 1 1s342ms 1s342ms 14 1 1s553ms 1s553ms May 07 17 1 1s542ms 1s542ms 19 4 6s254ms 1s563ms 20 2 2s143ms 1s71ms May 08 05 4 6s237ms 1s559ms 06 3 3s300ms 1s100ms 11 2 2s128ms 1s64ms 16 1 1s354ms 1s354ms 18 1 1s515ms 1s515ms 20 1 1s69ms 1s69ms 23 1 1s109ms 1s109ms May 09 01 1 1s366ms 1s366ms 03 1 1s347ms 1s347ms 12 1 1s566ms 1s566ms 19 1 2s209ms 2s209ms May 10 16 1 1s52ms 1s52ms 21 1 1s2ms 1s2ms May 11 04 2 3s271ms 1s635ms [ User: pubeu - Total duration: 33s267ms - Times executed: 22 ]
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2064774') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-05-05 12:01:26 Duration: 2s337ms Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2064774') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-05-06 02:37:52 Duration: 2s318ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2064774') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-05-05 02:33:29 Duration: 2s301ms Database: ctdprd51 User: pubeu Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 23m13s 23m13s 23m13s 1 23m13s 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 May 11 18 1 23m13s 23m13s -
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-05-11 18:59:56 Duration: 23m13s
2 23m9s 23m9s 23m9s 1 23m9s 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 May 11 19 1 23m9s 23m9s -
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-05-11 19:41:34 Duration: 23m9s
3 15m43s 15m52s 15m47s 7 1h50m33s select maint_query_logs_archive ();Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration May 05 00 1 15m43s 15m43s May 06 00 1 15m43s 15m43s May 07 00 1 15m51s 15m51s May 08 00 1 15m50s 15m50s May 09 00 1 15m52s 15m52s May 10 00 1 15m46s 15m46s May 11 00 1 15m44s 15m44s -
/* * 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-05-09 00:15:54 Duration: 15m52s
-
/* * 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-05-07 00:15:52 Duration: 15m51s
-
/* * 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-05-08 00:15:52 Duration: 15m50s
4 6m41s 6m41s 6m41s 1 6m41s copy pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration May 11 19 1 6m41s 6m41s -
COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-05-11 19:52:56 Duration: 6m41s
5 6m38s 6m38s 6m38s 1 6m38s 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 May 11 19 1 6m38s 6m38s -
COPY pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-05-11 19:11:16 Duration: 6m38s
6 1s152ms 18m22s 3m9s 61 3h12m35s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration May 05 05 1 1s272ms 1s272ms 06 1 1s808ms 1s808ms 11 1 3s202ms 3s202ms 12 1 17m6s 17m6s 13 1 2s209ms 2s209ms 15 1 2m50s 2m50s 18 1 2s239ms 2s239ms 20 1 1s496ms 1s496ms 21 2 17m17s 8m38s May 06 00 1 1s796ms 1s796ms 01 1 3s55ms 3s55ms 03 1 2s302ms 2s302ms 05 1 1s629ms 1s629ms 09 3 8m36s 2m52s 11 2 4m49s 2m24s 15 1 3s180ms 3s180ms 16 1 2s275ms 2s275ms 21 1 1s851ms 1s851ms 22 1 3m13s 3m13s May 07 01 1 3m36s 3m36s 13 1 3s143ms 3s143ms 15 1 1s926ms 1s926ms 17 1 1s436ms 1s436ms 19 4 25m37s 6m24s 20 2 3s4ms 1s502ms May 08 06 3 25m52s 8m37s 07 1 3m21s 3m21s 08 1 2m9s 2m9s 10 3 7m57s 2m39s 16 1 3s28ms 3s28ms 18 1 17m23s 17m23s May 09 01 1 3s181ms 3s181ms 04 1 3s172ms 3s172ms 07 1 3s130ms 3s130ms 10 1 1s379ms 1s379ms 11 1 18m22s 18m22s 14 1 4m8s 4m8s 20 1 1s152ms 1s152ms May 10 03 1 1s553ms 1s553ms 05 1 2m58s 2m58s 10 2 2s892ms 1s446ms 17 1 3m6s 3m6s 18 2 11m43s 5m51s 20 1 1s482ms 1s482ms May 11 02 1 3m35s 3m35s 12 1 3m35s 3m35s 17 1 4m14s 4m14s [ User: pubeu - Total duration: 1h6m16s - Times executed: 31 ]
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1232823') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-05-09 11:42:43 Duration: 18m22s 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 = '1232823') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-05-08 06:21:19 Duration: 17m24s 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 = '1232823') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-05-08 18:43:44 Duration: 17m23s Bind query: yes
7 1s884ms 1m40s 33s597ms 19 10m38s select r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refacc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, count(*) over () fullrowcount from reference r where r.id in ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?)) order by r.sort_txt limit ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration May 05 15 2 1m29s 44s907ms May 06 23 1 1m16s 1m16s May 07 11 1 51s404ms 51s404ms 18 1 29s165ms 29s165ms 20 2 53s738ms 26s869ms 21 1 29s258ms 29s258ms May 08 05 1 31s90ms 31s90ms 06 1 29s290ms 29s290ms 17 1 56s439ms 56s439ms 21 1 2s37ms 2s37ms May 09 03 1 1s884ms 1s884ms 17 1 43s916ms 43s916ms May 11 02 1 2s 2s 08 2 1m43s 51s609ms 18 1 36s701ms 36s701ms 23 1 2s55ms 2s55ms [ User: pubeu - Total duration: 4m39s - Times executed: 8 ]
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1423262')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-05-11 08:13:37 Duration: 1m40s Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1423261')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-05-06 23:10:59 Duration: 1m16s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1329725')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-05-08 17:14:50 Duration: 56s439ms Bind query: yes
8 31s819ms 32s498ms 32s200ms 25 13m25s copy pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) to stdout;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration May 05 06 1 32s201ms 32s201ms 10 1 32s101ms 32s101ms 14 1 32s138ms 32s138ms 18 1 32s244ms 32s244ms May 06 06 1 32s130ms 32s130ms 10 1 32s161ms 32s161ms 14 1 32s68ms 32s68ms 18 1 32s296ms 32s296ms May 07 06 1 32s197ms 32s197ms 10 1 32s187ms 32s187ms 14 1 32s118ms 32s118ms 18 1 32s339ms 32s339ms May 08 06 1 32s288ms 32s288ms 10 1 32s96ms 32s96ms 14 1 32s261ms 32s261ms 18 1 32s174ms 32s174ms May 09 06 1 32s440ms 32s440ms 10 1 32s279ms 32s279ms 14 1 32s183ms 32s183ms 18 1 32s498ms 32s498ms May 10 06 1 32s170ms 32s170ms 10 1 32s141ms 32s141ms 14 1 32s141ms 32s141ms 18 1 32s334ms 32s334ms May 11 19 1 31s819ms 31s819ms [ User: postgres - Total duration: 12m53s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 12m53s - 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-05-09 18:05:34 Duration: 32s498ms 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-05-09 06:05:34 Duration: 32s440ms 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-05-07 18:05:34 Duration: 32s339ms Database: ctdprd51 User: postgres Application: pg_dump
9 1s45ms 5m53s 14s221ms 129 30m34s select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration May 06 05 4 6s528ms 1s632ms 08 1 2s704ms 2s704ms 11 1 2s206ms 2s206ms 22 4 55s679ms 13s919ms 23 1 20s305ms 20s305ms May 07 01 9 2m23s 15s975ms 02 1 23s798ms 23s798ms 07 1 1s53ms 1s53ms 08 4 56s403ms 14s100ms 09 12 41s109ms 3s425ms 10 9 14s172ms 1s574ms 11 4 5s277ms 1s319ms 12 1 1s78ms 1s78ms 20 3 1m13s 24s554ms 21 11 2m32s 13s889ms 22 1 1s528ms 1s528ms 23 6 2m1s 20s184ms May 08 00 11 9m2s 49s359ms 20 1 4s518ms 4s518ms 22 5 7s259ms 1s451ms May 09 01 1 44s70ms 44s70ms 02 8 4m17s 32s234ms 10 5 37s671ms 7s534ms 20 1 44s45ms 44s45ms May 10 07 1 1s76ms 1s76ms 08 1 1s648ms 1s648ms 09 1 2s691ms 2s691ms May 11 00 1 1s135ms 1s135ms 01 1 1s558ms 1s558ms 03 10 2m2s 12s262ms 04 8 16s108ms 2s13ms 05 1 26s122ms 26s122ms [ User: pubeu - Total duration: 10m5s - Times executed: 59 ]
-
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 = '2076831') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-05-08 00:53:28 Duration: 5m53s 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 = '2069554') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-05-09 02:26:21 Duration: 46s652ms 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 = '2069554') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-05-07 21:27:07 Duration: 46s159ms Bind query: yes
10 13s947ms 14s79ms 13s991ms 25 5m49s 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 May 05 06 1 13s966ms 13s966ms 10 1 13s947ms 13s947ms 14 1 14s52ms 14s52ms 18 1 13s949ms 13s949ms May 06 06 1 14s9ms 14s9ms 10 1 13s956ms 13s956ms 14 1 13s960ms 13s960ms 18 1 13s952ms 13s952ms May 07 06 1 13s997ms 13s997ms 10 1 13s986ms 13s986ms 14 1 14s8ms 14s8ms 18 1 14s27ms 14s27ms May 08 06 1 14s79ms 14s79ms 10 1 13s949ms 13s949ms 14 1 14s9ms 14s9ms 18 1 14s31ms 14s31ms May 09 06 1 14s19ms 14s19ms 10 1 13s955ms 13s955ms 14 1 13s982ms 13s982ms 18 1 13s968ms 13s968ms May 10 06 1 14s7ms 14s7ms 10 1 13s990ms 13s990ms 14 1 13s967ms 13s967ms 18 1 14s5ms 14s5ms May 11 18 1 14s9ms 14s9ms -
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-05-08 06:00:57 Duration: 14s79ms
-
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-05-05 14:00:56 Duration: 14s52ms
-
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-05-08 18:00:56 Duration: 14s31ms
11 1s161ms 16s250ms 13s483ms 45 10m6s select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration May 05 14 2 2s847ms 1s423ms 16 2 30s287ms 15s143ms 17 1 15s652ms 15s652ms 18 1 13s758ms 13s758ms 20 1 14s785ms 14s785ms 22 1 15s332ms 15s332ms May 07 07 1 15s233ms 15s233ms 08 1 14s326ms 14s326ms 09 1 14s651ms 14s651ms 10 2 29s906ms 14s953ms 11 1 15s163ms 15s163ms 16 3 44s882ms 14s960ms 17 3 43s262ms 14s420ms 18 2 32s457ms 16s228ms 19 1 15s23ms 15s23ms 21 1 13s477ms 13s477ms May 08 06 1 15s394ms 15s394ms 09 1 3s754ms 3s754ms 16 2 31s412ms 15s706ms 17 1 15s236ms 15s236ms 18 1 13s960ms 13s960ms 19 1 13s712ms 13s712ms May 09 04 2 4s271ms 2s135ms May 10 09 2 30s24ms 15s12ms 10 2 29s428ms 14s714ms 11 2 30s97ms 15s48ms May 11 00 2 29s779ms 14s889ms 01 1 14s341ms 14s341ms 02 3 44s292ms 14s764ms [ User: pubeu - Total duration: 6m13s - Times executed: 27 ]
-
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 = '2069187') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-07 18:20:07 Duration: 16s250ms 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 = '2075109') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-07 18:34:27 Duration: 16s207ms 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 = '2066527') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-11 02:55:01 Duration: 15s935ms Bind query: yes
12 1s18ms 38s753ms 6s34ms 5,746 9h37m53s 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 #12
Day Hour Count Duration Avg duration May 05 05 1 11s841ms 11s841ms 21 1 2s158ms 2s158ms 22 9 24s101ms 2s677ms 23 3 7s965ms 2s655ms May 06 03 2 5s572ms 2s786ms 10 1 11s692ms 11s692ms 22 2 4s301ms 2s150ms 23 1 3s30ms 3s30ms May 07 06 1 4s743ms 4s743ms 14 1 1s18ms 1s18ms May 08 05 1 1s998ms 1s998ms 06 13 14s880ms 1s144ms 10 14 22s235ms 1s588ms 11 1 12s140ms 12s140ms 19 1 1s99ms 1s99ms 22 3 3s784ms 1s261ms May 09 01 1 4s246ms 4s246ms 02 2 15s454ms 7s727ms 08 5 13s31ms 2s606ms 11 1 1s145ms 1s145ms 21 3 43s8ms 14s336ms 22 274 13m4s 2s862ms May 10 00 262 12m31s 2s869ms 01 368 20m37s 3s362ms 02 338 21m26s 3s806ms 03 333 23m31s 4s240ms 04 316 24m30s 4s652ms 05 180 14m52s 4s956ms 07 1 2s613ms 2s613ms May 11 02 103 8m55s 5s195ms 03 118 10m20s 5s257ms 06 89 8m3s 5s437ms 07 300 28m15s 5s653ms 08 168 16m44s 5s977ms 12 182 18m45s 6s182ms 13 395 43m18s 6s578ms 14 375 44m19s 7s92ms 15 358 45m3s 7s551ms 16 344 45m40s 7s965ms 17 331 46m4s 8s351ms 18 319 46m52s 8s817ms 19 306 46m55s 9s201ms 20 219 34m26s 9s437ms [ User: pubeu - Total duration: 2h28m44s - Times executed: 1344 ]
-
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 = '2069554') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 6214600;
Date: 2024-05-09 21:16:29 Duration: 38s753ms 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 = '2069797') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 1765600;
Date: 2024-05-09 02:48:51 Duration: 13s263ms 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 = '2070029') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 50;
Date: 2024-05-08 11:34:12 Duration: 12s140ms Bind query: yes
13 1s15ms 20s533ms 5s483ms 109 9m57s select sq.*, count(*) over () fullrowcount from ( select distinct gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid from dag_node gt inner join gene_go_annot gga on gt.object_id = gga.go_term_id inner join term g on gga.gene_id = g.id where gt.id in ( select p.descendant_dag_node_id from dag_path p where p.ancestor_object_id = ?) and gga.is_not = false) sq order by sq.gonmsort, sq.genesymbolsort limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration May 05 02 1 1s58ms 1s58ms 04 1 8s239ms 8s239ms 06 1 7s620ms 7s620ms 09 1 3s324ms 3s324ms 14 2 2s766ms 1s383ms 18 1 8s144ms 8s144ms 22 1 6s695ms 6s695ms May 06 00 2 37s914ms 18s957ms 03 1 3s334ms 3s334ms 04 1 1s39ms 1s39ms 05 1 1s543ms 1s543ms 06 1 1s58ms 1s58ms 09 1 3s274ms 3s274ms 10 1 18s451ms 18s451ms 11 2 2s150ms 1s75ms 12 2 38s625ms 19s312ms 16 2 2s283ms 1s141ms 21 1 6s357ms 6s357ms 22 1 1s21ms 1s21ms 23 1 1s827ms 1s827ms May 07 00 3 5s609ms 1s869ms 07 1 2s774ms 2s774ms 10 1 7s793ms 7s793ms 11 1 3s274ms 3s274ms 12 1 7s907ms 7s907ms 14 1 19s753ms 19s753ms 15 1 1s105ms 1s105ms 18 1 1s378ms 1s378ms 19 5 40s414ms 8s82ms 21 1 9s427ms 9s427ms 22 2 2s40ms 1s20ms May 08 00 1 3s569ms 3s569ms 06 6 41s642ms 6s940ms 09 1 2s837ms 2s837ms 19 1 1s436ms 1s436ms 20 1 1s539ms 1s539ms 21 2 4s403ms 2s201ms 22 1 2s762ms 2s762ms 23 2 2s151ms 1s75ms May 09 01 1 18s15ms 18s15ms 02 1 1s548ms 1s548ms 03 1 7s610ms 7s610ms 04 1 18s250ms 18s250ms 05 2 18s579ms 9s289ms 06 1 17s871ms 17s871ms 08 1 7s709ms 7s709ms 12 2 4s286ms 2s143ms 13 1 17s963ms 17s963ms 14 1 1s31ms 1s31ms 15 1 1s42ms 1s42ms 19 1 3s257ms 3s257ms 21 2 25s860ms 12s930ms 22 3 5s592ms 1s864ms 23 3 3s423ms 1s141ms May 10 04 1 7s829ms 7s829ms 05 1 1s48ms 1s48ms 09 1 2s746ms 2s746ms 10 1 1s813ms 1s813ms 15 1 7s712ms 7s712ms 20 1 1s379ms 1s379ms 22 2 2s77ms 1s38ms 23 1 2s836ms 2s836ms May 11 02 1 2s980ms 2s980ms 08 1 19s164ms 19s164ms 11 1 1s34ms 1s34ms 12 1 3s371ms 3s371ms 14 1 1s60ms 1s60ms 15 3 41s753ms 13s917ms 16 3 10s57ms 3s352ms 17 3 3s687ms 1s229ms 18 1 1s36ms 1s36ms 19 2 2s723ms 1s361ms 20 2 10s213ms 5s106ms 21 1 2s530ms 2s530ms [ User: pubeu - Total duration: 3m49s - Times executed: 48 ]
-
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 = '1209011') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-05-11 15:24:26 Duration: 20s533ms 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 = '1209011') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-05-11 15:24:21 Duration: 20s142ms 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 = '1209011') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-05-07 14:09:52 Duration: 19s753ms Bind query: yes
14 1s11ms 7s140ms 4s954ms 108 8m55s 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 #14
Day Hour Count Duration Avg duration May 05 01 1 4s931ms 4s931ms 03 1 4s700ms 4s700ms 05 1 4s946ms 4s946ms 07 1 4s886ms 4s886ms 15 1 4s979ms 4s979ms 16 1 4s838ms 4s838ms 18 1 4s836ms 4s836ms 19 1 5s274ms 5s274ms 22 1 4s825ms 4s825ms May 06 00 1 4s999ms 4s999ms 03 2 9s629ms 4s814ms 04 2 10s 5s 07 1 4s802ms 4s802ms 09 2 5s912ms 2s956ms 12 1 5s86ms 5s86ms 18 1 4s903ms 4s903ms 19 2 9s922ms 4s961ms 23 1 4s999ms 4s999ms May 07 01 1 4s953ms 4s953ms 02 1 7s140ms 7s140ms 06 2 9s785ms 4s892ms 08 1 5s909ms 5s909ms 09 2 10s73ms 5s36ms 10 1 5s640ms 5s640ms 13 2 9s932ms 4s966ms 16 2 10s227ms 5s113ms 17 1 4s802ms 4s802ms 20 1 4s650ms 4s650ms 22 1 4s833ms 4s833ms May 08 05 1 5s261ms 5s261ms 08 1 5s356ms 5s356ms 10 2 10s39ms 5s19ms 13 13 1m2s 4s840ms 16 1 5s597ms 5s597ms 17 2 9s898ms 4s949ms 18 4 19s293ms 4s823ms 19 2 9s719ms 4s859ms 20 1 4s755ms 4s755ms 21 1 4s770ms 4s770ms 23 1 5s101ms 5s101ms May 09 00 1 4s933ms 4s933ms 02 1 4s860ms 4s860ms 03 2 9s595ms 4s797ms 06 4 20s491ms 5s122ms 07 5 24s935ms 4s987ms 08 1 4s902ms 4s902ms 13 2 9s572ms 4s786ms 22 2 9s858ms 4s929ms May 10 00 1 4s842ms 4s842ms 01 1 5s165ms 5s165ms 03 2 10s75ms 5s37ms 04 1 5s248ms 5s248ms 07 1 4s852ms 4s852ms 09 1 4s608ms 4s608ms 10 2 10s619ms 5s309ms 11 2 10s669ms 5s334ms 14 1 4s713ms 4s713ms 15 1 4s667ms 4s667ms 19 1 4s694ms 4s694ms 21 1 4s812ms 4s812ms May 11 01 1 4s664ms 4s664ms 09 1 4s773ms 4s773ms 13 1 5s103ms 5s103ms 14 1 5s95ms 5s95ms 16 2 10s959ms 5s479ms 18 1 4s885ms 4s885ms 20 1 5s495ms 5s495ms 21 1 4s831ms 4s831ms [ User: pubeu - Total duration: 4m31s - Times executed: 55 ]
-
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 = '1423261' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-05-07 02:02:56 Duration: 7s140ms 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 = '1281688' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-05-07 08:26:00 Duration: 5s909ms 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 = '1390425' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-05-07 10:07:10 Duration: 5s640ms Bind query: yes
15 3s754ms 5s579ms 3s981ms 258 17m7s 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 #15
Day Hour Count Duration Avg duration May 05 00 2 7s813ms 3s906ms 05 2 8s34ms 4s17ms 06 2 9s487ms 4s743ms 07 1 3s902ms 3s902ms 10 1 3s851ms 3s851ms 11 1 4s113ms 4s113ms 12 4 15s827ms 3s956ms 14 1 4s25ms 4s25ms 15 1 4s19ms 4s19ms 16 1 3s998ms 3s998ms 18 1 3s865ms 3s865ms 21 1 3s857ms 3s857ms 22 4 15s702ms 3s925ms May 06 02 2 8s133ms 4s66ms 03 1 3s878ms 3s878ms 04 2 7s937ms 3s968ms 05 1 3s928ms 3s928ms 07 5 19s873ms 3s974ms 08 3 11s783ms 3s927ms 09 5 19s359ms 3s871ms 10 3 11s727ms 3s909ms 11 2 7s754ms 3s877ms 12 2 7s825ms 3s912ms 13 1 3s926ms 3s926ms 14 1 3s943ms 3s943ms 17 2 7s814ms 3s907ms 20 1 3s826ms 3s826ms 21 1 3s937ms 3s937ms 22 1 3s888ms 3s888ms 23 1 3s847ms 3s847ms May 07 00 1 3s960ms 3s960ms 01 1 5s214ms 5s214ms 06 2 8s296ms 4s148ms 07 1 4s4ms 4s4ms 08 1 3s989ms 3s989ms 10 1 4s106ms 4s106ms 11 6 24s353ms 4s58ms 12 1 4s234ms 4s234ms 13 2 7s849ms 3s924ms 14 3 11s812ms 3s937ms 15 4 15s487ms 3s871ms 18 1 3s903ms 3s903ms 20 1 3s960ms 3s960ms 21 2 8s30ms 4s15ms 22 4 15s713ms 3s928ms 23 5 19s466ms 3s893ms May 08 05 2 7s748ms 3s874ms 06 5 19s624ms 3s924ms 07 1 3s934ms 3s934ms 08 10 39s718ms 3s971ms 09 5 19s702ms 3s940ms 10 1 3s892ms 3s892ms 11 1 3s910ms 3s910ms 12 2 7s852ms 3s926ms 15 3 11s683ms 3s894ms 16 1 3s970ms 3s970ms 17 1 3s932ms 3s932ms 20 2 7s778ms 3s889ms 23 1 3s859ms 3s859ms May 09 00 1 3s896ms 3s896ms 01 5 19s633ms 3s926ms 02 4 16s655ms 4s163ms 04 13 51s67ms 3s928ms 05 3 12s62ms 4s20ms 06 4 15s380ms 3s845ms 07 1 4s62ms 4s62ms 09 2 7s771ms 3s885ms 11 3 11s690ms 3s896ms 13 3 11s896ms 3s965ms 15 1 3s972ms 3s972ms 17 1 3s910ms 3s910ms 22 2 7s644ms 3s822ms 23 2 7s775ms 3s887ms May 10 01 4 16s166ms 4s41ms 02 34 2m19s 4s95ms 03 3 12s192ms 4s64ms 04 3 11s857ms 3s952ms 05 3 11s695ms 3s898ms 07 2 7s817ms 3s908ms 08 1 3s887ms 3s887ms 09 3 11s791ms 3s930ms 10 2 8s205ms 4s102ms 11 1 3s918ms 3s918ms 14 2 7s774ms 3s887ms 15 3 11s662ms 3s887ms 16 2 7s873ms 3s936ms 18 1 3s842ms 3s842ms 21 1 3s874ms 3s874ms 22 2 7s712ms 3s856ms 23 2 7s714ms 3s857ms May 11 04 1 3s911ms 3s911ms 05 3 12s288ms 4s96ms 06 1 3s898ms 3s898ms 07 1 4s23ms 4s23ms 08 4 16s592ms 4s148ms 09 1 3s892ms 3s892ms 11 1 3s947ms 3s947ms 12 2 7s896ms 3s948ms 14 2 8s74ms 4s37ms 16 1 4s57ms 4s57ms [ User: pubeu - Total duration: 6m40s - 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 = '1329725') 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 = '1329725') 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-05-05 06:25:10 Duration: 5s579ms 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 = '1402841') 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 = '1402841') 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-05-07 01:32:06 Duration: 5s214ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1289995') 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 = '1289995') 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-05-09 02:13:13 Duration: 4s551ms Database: ctdprd51 User: pubeu Bind query: yes
16 1s 13s472ms 3s616ms 402 24m13s 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 #16
Day Hour Count Duration Avg duration May 05 00 4 26s143ms 6s535ms 02 3 5s837ms 1s945ms 03 1 1s200ms 1s200ms 04 1 2s723ms 2s723ms 05 1 2s2ms 2s2ms 06 1 2s260ms 2s260ms 09 1 1s68ms 1s68ms 10 1 3s94ms 3s94ms 12 1 1s18ms 1s18ms 13 2 5s412ms 2s706ms 14 3 9s183ms 3s61ms 17 1 4s205ms 4s205ms 18 2 7s487ms 3s743ms 21 3 8s219ms 2s739ms 22 1 2s546ms 2s546ms 23 3 10s566ms 3s522ms May 06 00 1 1s293ms 1s293ms 01 3 7s654ms 2s551ms 02 4 5s688ms 1s422ms 03 2 6s212ms 3s106ms 04 3 10s260ms 3s420ms 05 3 10s325ms 3s441ms 08 1 1s75ms 1s75ms 10 2 6s577ms 3s288ms 13 1 2s274ms 2s274ms 14 1 5s118ms 5s118ms 15 2 7s869ms 3s934ms 16 2 4s938ms 2s469ms 17 1 6s195ms 6s195ms 18 2 4s257ms 2s128ms 19 1 11s704ms 11s704ms 21 1 2s385ms 2s385ms 22 8 24s529ms 3s66ms 23 5 19s144ms 3s828ms May 07 00 1 2s488ms 2s488ms 01 6 25s422ms 4s237ms 02 2 11s986ms 5s993ms 06 2 5s192ms 2s596ms 07 4 13s544ms 3s386ms 08 11 29s435ms 2s675ms 09 33 3m17s 5s994ms 10 1 1s16ms 1s16ms 11 1 1s74ms 1s74ms 12 1 1s130ms 1s130ms 13 3 12s696ms 4s232ms 14 2 3s814ms 1s907ms 16 1 1s543ms 1s543ms 19 21 1m17s 3s690ms 20 15 49s958ms 3s330ms 21 13 41s184ms 3s168ms 23 9 35s352ms 3s928ms May 08 00 7 20s302ms 2s900ms 05 20 1m15s 3s769ms 06 6 16s625ms 2s770ms 07 1 2s344ms 2s344ms 08 5 11s708ms 2s341ms 09 1 1s340ms 1s340ms 10 9 28s718ms 3s190ms 11 15 50s894ms 3s392ms 12 14 47s232ms 3s373ms 13 6 12s219ms 2s36ms 14 4 5s899ms 1s474ms 17 1 1s354ms 1s354ms 18 1 1s437ms 1s437ms 20 3 12s592ms 4s197ms 21 1 2s170ms 2s170ms 22 2 3s752ms 1s876ms May 09 00 1 4s194ms 4s194ms 01 5 9s999ms 1s999ms 02 7 14s935ms 2s133ms 03 3 7s152ms 2s384ms 04 1 4s687ms 4s687ms 06 1 2s282ms 2s282ms 07 3 6s530ms 2s176ms 08 2 5s123ms 2s561ms 09 1 2s549ms 2s549ms 10 3 12s641ms 4s213ms 12 9 1m54s 12s729ms 16 1 2s548ms 2s548ms 18 1 11s710ms 11s710ms 19 2 5s423ms 2s711ms 20 1 2s156ms 2s156ms 21 2 4s353ms 2s176ms 22 18 38s100ms 2s116ms May 10 00 4 9s141ms 2s285ms 01 1 1s97ms 1s97ms 02 2 3s486ms 1s743ms 04 1 4s788ms 4s788ms 05 1 1s18ms 1s18ms 06 1 4s163ms 4s163ms 07 1 2s350ms 2s350ms 09 1 1s62ms 1s62ms 11 3 13s611ms 4s537ms 19 1 6s194ms 6s194ms 21 1 2s255ms 2s255ms 22 3 10s616ms 3s538ms 23 1 4s472ms 4s472ms May 11 02 3 7s468ms 2s489ms 03 4 21s760ms 5s440ms 05 3 22s93ms 7s364ms 06 1 3s86ms 3s86ms 09 1 1s229ms 1s229ms 12 5 25s173ms 5s34ms 13 1 1s210ms 1s210ms 14 2 7s523ms 3s761ms 15 1 3s181ms 3s181ms 16 1 1s188ms 1s188ms 17 1 1s406ms 1s406ms 21 1 6s439ms 6s439ms 22 1 1s74ms 1s74ms 23 1 2s270ms 2s270ms [ User: pubeu - Total duration: 11m39s - Times executed: 183 ]
-
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 = '2070029') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-09 12:18:57 Duration: 13s472ms 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 = '2070029') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-09 12:18:54 Duration: 13s276ms 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 = '2070029') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-05-09 12:18:57 Duration: 13s249ms Database: ctdprd51 User: pubeu Bind query: yes
17 1s180ms 6s138ms 2s864ms 173 8m15s 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 May 05 03 1 3s227ms 3s227ms 04 1 2s770ms 2s770ms 05 2 5s393ms 2s696ms 06 1 1s706ms 1s706ms 07 2 4s810ms 2s405ms 09 1 2s152ms 2s152ms 11 2 8s698ms 4s349ms 12 1 1s607ms 1s607ms 14 2 7s825ms 3s912ms 17 1 3s212ms 3s212ms 18 3 10s26ms 3s342ms 19 4 8s285ms 2s71ms 21 1 2s739ms 2s739ms 22 2 4s522ms 2s261ms 23 1 6s3ms 6s3ms May 06 00 1 2s103ms 2s103ms 01 1 2s780ms 2s780ms 02 3 10s480ms 3s493ms 03 4 15s659ms 3s914ms 04 2 4s89ms 2s44ms 05 1 1s308ms 1s308ms 06 2 3s658ms 1s829ms 07 1 3s253ms 3s253ms 08 1 1s729ms 1s729ms 10 1 2s774ms 2s774ms 11 2 4s383ms 2s191ms 12 1 2s799ms 2s799ms 15 1 1s958ms 1s958ms 16 3 13s401ms 4s467ms 17 2 4s457ms 2s228ms 18 2 3s920ms 1s960ms 19 2 7s874ms 3s937ms 20 3 6s458ms 2s152ms 21 1 5s998ms 5s998ms 22 3 7s841ms 2s613ms 23 2 6s71ms 3s35ms May 07 00 2 7s584ms 3s792ms 01 1 5s865ms 5s865ms 05 3 14s100ms 4s700ms 06 1 5s938ms 5s938ms 08 2 4s608ms 2s304ms 09 1 1s835ms 1s835ms 10 2 3s190ms 1s595ms 13 5 21s229ms 4s245ms 14 1 6s138ms 6s138ms 15 1 5s874ms 5s874ms 16 1 5s909ms 5s909ms 17 1 1s830ms 1s830ms 18 1 5s866ms 5s866ms 19 7 22s931ms 3s275ms 20 1 1s913ms 1s913ms 22 4 7s544ms 1s886ms 23 3 7s162ms 2s387ms May 08 00 1 3s449ms 3s449ms 05 4 12s596ms 3s149ms 06 2 4s82ms 2s41ms 07 1 5s857ms 5s857ms 08 3 4s787ms 1s595ms 09 3 5s744ms 1s914ms 10 1 5s914ms 5s914ms 13 6 11s463ms 1s910ms 16 2 5s147ms 2s573ms 17 1 2s740ms 2s740ms 18 1 1s713ms 1s713ms 20 2 6s413ms 3s206ms 21 2 4s444ms 2s222ms 22 1 1s835ms 1s835ms 23 1 3s246ms 3s246ms May 09 02 1 3s404ms 3s404ms 04 2 4s408ms 2s204ms 07 1 3s441ms 3s441ms 09 2 5s898ms 2s949ms 10 5 9s877ms 1s975ms 19 2 3s682ms 1s841ms 20 1 3s220ms 3s220ms 22 1 1s723ms 1s723ms 23 2 3s432ms 1s716ms May 10 04 1 3s339ms 3s339ms 08 2 3s836ms 1s918ms 09 1 1s293ms 1s293ms 12 1 1s823ms 1s823ms 14 1 1s806ms 1s806ms 15 2 3s859ms 1s929ms 22 1 3s279ms 3s279ms May 11 09 1 1s620ms 1s620ms 10 2 11s729ms 5s864ms 15 2 3s206ms 1s603ms 16 1 1s876ms 1s876ms 18 1 3s407ms 3s407ms 19 2 4s585ms 2s292ms 21 1 3s412ms 3s412ms 22 3 7s694ms 2s564ms 23 2 4s832ms 2s416ms [ User: pubeu - Total duration: 4m44s - Times executed: 100 ]
-
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 = '1384112'))) 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-05-07 14:38:51 Duration: 6s138ms 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 = '1384112'))) 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-05-05 14:02:17 Duration: 6s107ms 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 = '1384112'))) 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-05-07 19:16:46 Duration: 6s25ms Bind query: yes
18 1s173ms 6s379ms 2s861ms 52 2m28s 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 ? offset ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration May 05 03 1 1s194ms 1s194ms 05 1 1s726ms 1s726ms 06 1 2s100ms 2s100ms 12 2 4s72ms 2s36ms May 06 00 1 5s996ms 5s996ms 02 1 2s167ms 2s167ms 05 1 3s251ms 3s251ms 07 1 1s586ms 1s586ms 19 1 1s844ms 1s844ms 23 1 1s704ms 1s704ms May 07 11 1 1s610ms 1s610ms 18 1 3s291ms 3s291ms 19 1 5s971ms 5s971ms May 08 07 1 1s723ms 1s723ms 22 1 1s175ms 1s175ms 23 8 26s867ms 3s358ms May 09 02 8 15s289ms 1s911ms 07 8 50s53ms 6s256ms 08 8 10s568ms 1s321ms 17 3 5s448ms 1s816ms May 10 01 1 1s173ms 1s173ms [ User: pubeu - Total duration: 1m3s - Times executed: 18 ]
-
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 = '1384112'))) 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 OFFSET 189050;
Date: 2024-05-09 07:42:48 Duration: 6s379ms 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 = '1384112'))) 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 OFFSET 150;
Date: 2024-05-09 07:42:07 Duration: 6s329ms 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 = '1384112'))) 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 OFFSET 350;
Date: 2024-05-09 07:42:39 Duration: 6s273ms Bind query: yes
19 1s5ms 10s351ms 2s701ms 47 2m6s select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where stressorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or exposuremarkerterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration May 05 21 1 10s200ms 10s200ms May 06 04 1 1s5ms 1s5ms 06 1 1s252ms 1s252ms 12 1 2s245ms 2s245ms May 07 08 1 1s279ms 1s279ms 11 14 15s988ms 1s142ms 12 1 4s413ms 4s413ms 13 3 9s257ms 3s85ms 14 3 23s162ms 7s720ms May 08 06 1 1s8ms 1s8ms 08 3 4s645ms 1s548ms 13 2 2s438ms 1s219ms 19 1 2s373ms 2s373ms 20 1 2s226ms 2s226ms 21 1 1s372ms 1s372ms May 09 00 1 7s318ms 7s318ms 01 4 5s31ms 1s257ms 02 1 1s305ms 1s305ms 03 1 10s233ms 10s233ms 06 1 1s155ms 1s155ms 18 1 1s127ms 1s127ms 22 1 1s16ms 1s16ms May 10 17 1 6s552ms 6s552ms May 11 21 1 10s351ms 10s351ms [ User: pubeu - Total duration: 47s311ms - Times executed: 17 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1384112') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1384112') 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-05-11 21:51:23 Duration: 10s351ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1384112') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1384112') 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-05-07 14:03:54 Duration: 10s338ms Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1384112') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1384112') 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-05-07 14:03:58 Duration: 10s245ms Database: ctdprd51 User: pubeu Bind query: yes
20 1s8ms 5s433ms 2s668ms 332 14m45s select e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, ( select string_agg(distinct stressorterm.nm || ? || ( select cd from object_type where id = stressorterm.object_type_id) || ? || stressorterm.nm_html || ? || stressorterm.acc_txt || ? || stressorterm.acc_db_cd, ?)) as stressoragents, ( select string_agg(distinct coalesce(receptorterm.nm, ?) || ? || coalesce(( select cd from object_type where id = receptorterm.object_type_id), ?) || ? || coalesce(receptorterm.nm_html, ?) || ? || coalesce(receptorterm.acc_txt, ?) || ? || coalesce(receptorterm.acc_db_cd, ?) || ? || receptor.description, ?)) as receptors, ( select string_agg(distinct country.nm, ?)) as studycountries, ( select string_agg(distinct location.locality_txt, ?)) as localities, ( select string_agg(distinct event.medium_nm || ? || coalesce(event.medium_term_acc_txt, ?), ?)) as assaymediums, ( select string_agg(distinct exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd, ?)) as assayedmarkers, ( select string_agg(distinct diseaseterm.nm || ? || ( select cd from object_type where id = diseaseterm.object_type_id) || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd, ?)) as diseases, ( select string_agg(distinct phenotypeterm.nm || ? || ( select cd from object_type where id = phenotypeterm.object_type_id) || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd, ?)) as phenotypes, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, re.author_summary summary, count(*) over () fullrowcount from exposure e inner join reference r on e.reference_id = r.id inner join exp_stressor stressor on e.exp_stressor_id = stressor.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join term receptorterm on receptor.term_id = receptorterm.id left outer join exp_event event on e.exp_event_id = event.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join exp_event_location location on e.exp_event_id = location.exp_event_id left outer join country on location.country_id = country.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id inner join reference_exp re on e.reference_id = re.reference_id left outer join exp_study_factor expstudyfactor on re.id = expstudyfactor.reference_exp_id where e.reference_id = any (array ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like ?) and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressoragents limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration May 05 00 2 3s919ms 1s959ms 01 3 7s645ms 2s548ms 02 3 7s413ms 2s471ms 03 2 3s512ms 1s756ms 04 4 10s485ms 2s621ms 05 3 8s541ms 2s847ms 06 1 5s119ms 5s119ms 07 1 1s55ms 1s55ms 08 6 9s735ms 1s622ms 09 2 7s957ms 3s978ms 10 1 1s81ms 1s81ms 11 7 22s838ms 3s262ms 12 6 13s70ms 2s178ms 13 4 13s559ms 3s389ms 15 3 12s722ms 4s240ms 16 2 6s193ms 3s96ms 17 1 5s129ms 5s129ms 18 6 11s445ms 1s907ms 19 4 12s602ms 3s150ms 20 6 11s958ms 1s993ms 21 6 21s330ms 3s555ms 22 2 4s874ms 2s437ms 23 3 11s716ms 3s905ms May 06 00 4 13s181ms 3s295ms 01 2 3s948ms 1s974ms 02 4 13s912ms 3s478ms 03 3 8s2ms 2s667ms 05 5 16s533ms 3s306ms 06 2 2s264ms 1s132ms 08 13 32s710ms 2s516ms 09 5 13s552ms 2s710ms 11 2 2s750ms 1s375ms 12 7 20s240ms 2s891ms 13 2 7s565ms 3s782ms 14 4 10s946ms 2s736ms 15 1 1s413ms 1s413ms 16 2 6s187ms 3s93ms 17 4 12s825ms 3s206ms 18 2 6s879ms 3s439ms 19 3 15s627ms 5s209ms 21 4 10s190ms 2s547ms 22 3 6s226ms 2s75ms 23 9 27s897ms 3s99ms May 07 02 1 3s851ms 3s851ms 05 1 5s54ms 5s54ms 07 4 9s206ms 2s301ms 08 5 15s300ms 3s60ms 09 5 17s176ms 3s435ms 10 2 2s648ms 1s324ms 11 4 14s312ms 3s578ms 12 2 3s665ms 1s832ms 13 3 4s916ms 1s638ms 14 4 11s980ms 2s995ms 15 1 1s319ms 1s319ms 16 2 5s695ms 2s847ms 17 3 11s414ms 3s804ms 18 3 10s169ms 3s389ms 19 9 19s928ms 2s214ms 20 3 10s607ms 3s535ms 22 6 19s29ms 3s171ms 23 4 13s51ms 3s262ms May 08 00 3 6s531ms 2s177ms 05 7 18s105ms 2s586ms 06 5 7s494ms 1s498ms 07 1 3s621ms 3s621ms 08 4 10s273ms 2s568ms 09 3 7s488ms 2s496ms 11 2 10s293ms 5s146ms 12 1 5s104ms 5s104ms 13 16 30s80ms 1s880ms 14 3 4s462ms 1s487ms 15 1 2s841ms 2s841ms 16 5 9s764ms 1s952ms 17 2 6s826ms 3s413ms 18 1 1s300ms 1s300ms 19 1 1s217ms 1s217ms 20 2 2s762ms 1s381ms 21 1 1s437ms 1s437ms 22 1 1s319ms 1s319ms 23 4 5s159ms 1s289ms May 09 00 3 5s390ms 1s796ms 01 3 8s800ms 2s933ms 02 2 6s428ms 3s214ms 03 3 4s983ms 1s661ms 04 1 5s155ms 5s155ms 05 1 5s93ms 5s93ms 06 1 1s92ms 1s92ms 07 1 5s128ms 5s128ms 09 1 1s109ms 1s109ms 10 2 8s214ms 4s107ms 11 2 3s649ms 1s824ms 13 1 1s63ms 1s63ms 14 1 1s11ms 1s11ms 16 1 5s144ms 5s144ms 19 2 6s601ms 3s300ms 20 1 1s274ms 1s274ms 21 1 1s428ms 1s428ms 22 1 3s702ms 3s702ms May 10 01 1 3s742ms 3s742ms 03 2 2s800ms 1s400ms 07 3 6s167ms 2s55ms 08 1 2s285ms 2s285ms 09 1 1s338ms 1s338ms 11 1 1s232ms 1s232ms 13 1 1s415ms 1s415ms 23 1 3s692ms 3s692ms May 11 00 1 2s973ms 2s973ms 08 1 5s86ms 5s86ms 13 2 4s814ms 2s407ms 14 1 5s150ms 5s150ms 15 1 1s336ms 1s336ms 17 1 1s72ms 1s72ms 20 2 5s341ms 2s670ms [ User: pubeu - Total duration: 6m17s - Times executed: 147 ]
-
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 = '1384112') 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 = '1384112') 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-05-07 20:03:55 Duration: 5s433ms 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 = '1384112') 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 = '1384112') 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-05-07 09:19:12 Duration: 5s377ms 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 = '1384112') 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 = '1384112') 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-05-05 23:07:11 Duration: 5s298ms 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 2s196ms 2 1s98ms 1s98ms 1s98ms SELECT /* ReferenceDiseasesDAO */ ;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration May 11 06 2 2s196ms 1s98ms -
SELECT /* ReferenceDiseasesDAO */ ;
Date: 2024-05-08 06:00:12 Duration: 1s98ms Database: postgres parameters: $1 = '1218305'
2 0ms 232 0ms 0ms 0ms ;Times Reported Time consuming bind #2
Day Hour Count Duration Avg duration May 05 07 4 0ms 0ms 16 2 0ms 0ms May 06 06 6 0ms 0ms 07 8 0ms 0ms 11 28 0ms 0ms 12 2 0ms 0ms 13 16 0ms 0ms 15 2 0ms 0ms 16 2 0ms 0ms May 07 05 4 0ms 0ms 06 4 0ms 0ms 10 2 0ms 0ms 15 2 0ms 0ms 16 2 0ms 0ms May 08 06 16 0ms 0ms 07 10 0ms 0ms 08 12 0ms 0ms 10 12 0ms 0ms 11 26 0ms 0ms 12 6 0ms 0ms 16 2 0ms 0ms May 09 07 12 0ms 0ms 08 10 0ms 0ms 11 2 0ms 0ms 16 2 0ms 0ms 17 2 0ms 0ms May 10 12 9 0ms 0ms 13 6 0ms 0ms 14 3 0ms 0ms 15 6 0ms 0ms 16 3 0ms 0ms May 11 07 3 0ms 0ms 12 6 0ms 0ms [ User: pubeu - Total duration: 4m - Times executed: 95 ]
-
;
Date: Duration: 0ms Database: postgres User: ctdprd51 Remote: pubeu parameters: $1 = '1232823'
-
Events
Log levels
Key values
- 103,715 Log entries
Events distribution
Key values
- 0 PANIC entries
- 17 FATAL entries
- 20 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 8 Max number of times the same event was reported
- 37 Total events found
Rank Times reported Error 1 8 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #1
Day Hour Count May 05 12 1 21 1 May 07 02 1 19 1 May 08 06 1 18 1 May 09 11 1 May 11 03 1 - FATAL: connection to client lost
- FATAL: connection to client lost
Statement: SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = $1) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort
Date: 2024-05-07 02:39:32
Statement: SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = $1) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Date: 2024-05-11 03:54:57
2 8 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #2
Day Hour Count May 05 12 1 21 1 May 07 02 1 19 1 May 08 06 1 18 1 May 09 11 1 May 11 03 1 - ERROR: could not send data to client: Broken pipe
Statement: SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = $1) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Date: 2024-05-07 02:39:32
3 7 FATAL: canceling authentication due to timeout
Times Reported Most Frequent Error / Event #3
Day Hour Count May 07 01 2 02 1 21 3 May 11 03 1 4 4 LOG: could not receive data from client: Connection timed out
Times Reported Most Frequent Error / Event #4
Day Hour Count May 07 19 1 May 10 17 2 18 1 5 2 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #5
Day Hour Count May 07 14 1 May 10 11 1 - ERROR: syntax error at or near "'EXP_STRESSOR ORPHANS '" at character 39
- ERROR: syntax error at or near "Load" at character 115
Statement: SELECT ' EDIT Orphan Records'#015 select 'EXP_STRESSOR ORPHANS ', count(*) from exp_stressor where id not in (select exp_stressor_id from exposure where exp_stressor_id is not null)#015 select 'EXP RECEPTOR ORPHANS ', count(*) from exp_receptor where id not in (select exp_receptor_id from exposure where exp_receptor_id is not null)#015 select 'EXP_EVENT OORPHANS ', count(*) from exp_event where id not in (select exp_event_id from exposure where exp_event_id is not null)#015 select 'EXP_OUTCOME ORPHANS ', count(*) from exp_outcome where id not in (select exp_outcome_id from exposure where exp_outcome_id is not null)#015 #015 #015 SELECT 'CHECKING for exposure records not loaded to PUB datbases from edit - VERIFY LOADED PUBX COUNTS ONLY'#015 SELECT 'EXPOSURE Records not loaded to PUB1 from edit'#015 select 'EXPOSURE NOT LOADED ' ,count(*) from edit.exposure e where e.id not in (select id from pub1.exposure)#015 select 'EXP_STRESSOR NOT LOADED ' , count(*) from edit.exp_stressor e where e.id not in (select id from pub1.exp_stressor)#015 select 'EXP_RECEPTOR NOT LOADED ' , count(*) from edit.exp_receptor e where e.id not in (select id from pub1.receptor_stressor)#015 select 'EXP_EVENT NOT LOADED ' , count(*) from edit.exp_event e where e.id not in (select id from pub1.exp_event)#015 select 'EXP_OUTCOME NOT LOADED ' ,count(*) from edit.exp_outcome e where e.id not in (select id from pub1.exp_outcome)#015 SELECT 'EXPOSURE Records not loaded to PUB2 from edit'#015 select 'EXPOSURE NOT LOADED ' ,count(*) from edit.exposure e where e.id not in (select id from pub2.exposure)#015 select 'EXP_STRESSOR NOT LOADED ' , count(*) from edit.exp_stressor e where e.id not in (select id from pub2.exp_stressor)#015 select 'EXP_RECEPTOR NOT LOADED ' , count(*) from edit.exp_receptor e where e.id not in (select id from pub2.receptor_stressor)#015 select 'EXP_EVENT NOT LOADED ' , count(*) from edit.exp_event e where e.id not in (select id from pub2.exp_event)#015 select 'EXP_OUTCOME NOT LOADED ' ,count(*) from edit.exp_outcome e where e.id not in (select id from pub2.exp_outcome)#015 #015
Date: 2024-05-07 14:04:38 Database: ctdprd51 Application: psql User: edit Remote:
Statement: select 'EXPOSURE REFERENCES LOADED TO reference_contact, count(*) from reference_contact where mod_by = 'Exposure Load';#015
Date: 2024-05-10 11:11:57 Database: ctdprd51 Application: psql User: edit Remote:
6 2 FATAL: password authentication failed for user "..."
Times Reported Most Frequent Error / Event #6
Day Hour Count May 06 14 2 - FATAL: password authentication failed for user "edit"
Detail: Connection matched pg_hba.conf line 85: "host all all 192.168.201.0/24 md5 "
Date: 2024-05-06 14:56:35
7 2 ERROR: relation "..." does not exist
Times Reported Most Frequent Error / Event #7
Day Hour Count May 07 14 2 - ERROR: relation "pub1.receptor_stressor" does not exist at character 105
- ERROR: relation "pub2.receptor_stressor" does not exist at character 105
Statement: select 'EXP_RECEPTOR NOT LOADED ' , count(*) from edit.exp_receptor e where e.id not in (select id from pub1.receptor_stressor) ;
Date: 2024-05-07 14:09:02 Database: ctdprd51 Application: psql User: edit Remote:
Statement: select 'EXP_RECEPTOR NOT LOADED ' , count(*) from edit.exp_receptor e where e.id not in (select id from pub2.receptor_stressor) ;
Date: 2024-05-07 14:09:02
8 1 ERROR: duplicate key value violates unique constraint "..."
Times Reported Most Frequent Error / Event #8
Day Hour Count May 08 07 1 - ERROR: duplicate key value violates unique constraint "ixn_action_pk"
Detail: Key (ixn_id, action_type_id, action_degree_type_id)=(8605991, 1, 1) already exists.
Context: SQL statement "INSERT INTO edit.ixn_action (ixn_id ,action_type_id ,action_degree_type_id ,position_seq ,create_by ,mod_by ,create_tm ,mod_tm ) VALUES (p_ixn_id ,p_action_type_id ,p_action_degree_type_id ,p_position_seq ,p_create_by ,p_mod_by ,p_create_tm ,p_mod_tm )" PL/pgSQL function ins_ixn_action(integer,integer,integer,smallint,character varying,character varying,timestamp without time zone,timestamp without time zone) line 9 at SQL statementPL/pgSQL function ins_ixn(integer,smallint,integer,character varying,character varying,integer,timestamp without time zone,timestamp without time zone) line 32 at RAISEPL/pgSQL function upd_ixn_root_id(integer,integer) line 14 at RAISEPL/pgSQL function ins_ixn_actor(integer,smallint,integer,character varying,integer,character varying,integer,integer,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 40 at RAISEPL/pgSQL function ins_ixn_action(integer,integer,integer,smallint,character varying,character varying,timestamp without time zone,timestamp without time zone) line 30 at RAISEPL/pgSQL function ins_ixn(integer,smallint,integer,character varying,character varying,integer,timestamp without time zone,timestamp without time zone) line 32 at RAISEPL/pgSQL function ins_ixn_actor(integer,smallint,integer,character varying,integer,character varying,integer,integer,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 40 at RAISEPL/pgSQL function ins_ixn_actor(integer,smallint,integer,character varying,integer,character varying,integer,integer,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 40 at RAISEPL/pgSQL function ins_ixn_actor(integer,smallint,integer,character varying,integer,character varying,integer,integer,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 40 at RAISEPL/pgSQL function ins_ixn_actor(integer,smallint,integer,character varying,integer,character varying,integer,integer,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 40 at RAISEPL/pgSQL function ins_ixn_actor(integer,smallint,integer,character varying,integer,character varying,integer,integer,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 40 at RAISEPL/pgSQL function ins_ixn_actor(integer,smallint,integer,character varying,integer,character varying,integer,integer,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 40 at RAISEPL/pgSQL function ins_ixn_actor(integer,smallint,integer,character varying,integer,character varying,integer,integer,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 40 at RAISEPL/pgSQL function ins_ixn_action(integer,integer,integer,smallint,character varying,character varying,timestamp without time zone,timestamp without time zone) line 30 at RAISEPL/pgSQL function ins_reference_ixn(character varying,integer,integer,character varying,integer,character varying,character varying,character varying,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 42 at RAISE
Statement: select * from edit.ins_ixn_action($1, $2, $3, $4, $5, $6, $7, $8) as resultDate: 2024-05-08 07:15:17
9 1 ERROR: column "..." does not exist
Times Reported Most Frequent Error / Event #9
Day Hour Count May 06 16 1 - ERROR: column "anatomytermstxt" does not exist at character 2754
Statement: 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 = $1 ) ) ) and ptr.term_object_type_id = 2 group by associatedTerm ,associatedTermNmSort ,phenotype ,casRN ,ixnId ,ixnProseHtml ,ixnProse ,ixnSort ,associatedTermId ,phenotypeId ,inferredCount order by anatomyTermsTxt LIMIT 50
Date: 2024-05-06 16:56:07
10 1 ERROR: function disstinct(...) does not exist
Times Reported Most Frequent Error / Event #10
Day Hour Count May 10 11 1 - ERROR: function disstinct(character varying) does not exist at character 65
Hint: No function matches the given name and argument types. You might need to add explicit type casts.
Statement: --select * from reference_exp where mod_by <> 'initial' select disstinct(create_by) from reference_contactDate: 2024-05-10 11:06:23
11 1 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #11
Day Hour Count May 07 21 1