-
Global information
- Generated on Sun Dec 22 04:15:15 2024
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20241221
- Parsed 205,992 log entries in 14s
- Log start from 2024-12-15 00:00:01 to 2024-12-21 23:55:31
-
Overview
Global Stats
- 494 Number of unique normalized queries
- 7,323 Number of queries
- 18h10m18s Total query duration
- 2024-12-15 00:02:48 First query
- 2024-12-21 23:52:48 Last query
- 5 queries/s at 2024-12-19 01:56:09 Query peak
- 18h10m18s Total query duration
- 0ms Prepare/parse total duration
- 1s206ms Bind total duration
- 18h10m17s Execute total duration
- 243 Number of events
- 15 Number of unique normalized events
- 73 Max number of times the same event was reported
- 0 Number of cancellation
- 67 Total number of automatic vacuums
- 193 Total number of automatic analyzes
- 6 Number temporary file
- 2.58 MiB Max size of temporary file
- 1.45 MiB Average size of temporary file
- 19,236 Total number of sessions
- 133 sessions at 2024-12-19 20:06:08 Session peak
- 317d14h5m40s Total duration of sessions
- 23m46s Average duration of sessions
- 0 Average queries per session
- 3s400ms Average queries duration per session
- 23m43s Average idle time per session
- 19,245 Total number of connections
- 92 connections/s at 2024-12-21 23:12:52 Connection peak
- 2 Total number of databases
SQL Traffic
Key values
- 5 queries/s Query Peak
- 2024-12-19 01:56:09 Date
SELECT Traffic
Key values
- 5 queries/s Query Peak
- 2024-12-19 01:56:09 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1 queries/s Query Peak
- 2024-12-15 06:05:54 Date
Queries duration
Key values
- 18h10m18s 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) Dec 15 00 22 0ms 21m34s 1m 2s612ms 3s663ms 21m41s 01 26 0ms 4s925ms 1s584ms 1s957ms 2s628ms 4s925ms 02 24 0ms 5s503ms 1s596ms 1s518ms 1s924ms 8s713ms 03 19 0ms 3s750ms 1s507ms 1s485ms 2s633ms 3s750ms 04 17 0ms 4s881ms 1s692ms 1s482ms 1s492ms 4s881ms 05 65 0ms 14s803ms 2s366ms 14s213ms 14s803ms 31s728ms 06 31 0ms 43s115ms 4s683ms 2s328ms 23s909ms 52s358ms 07 24 0ms 1s982ms 1s372ms 1s982ms 2s776ms 3s588ms 08 26 0ms 18s370ms 3s25ms 2s667ms 11s516ms 18s370ms 09 32 0ms 4s189ms 2s354ms 4s79ms 4s189ms 7s451ms 10 37 0ms 42s664ms 4s653ms 5s559ms 11s141ms 55s 11 18 0ms 1s487ms 1s379ms 1s477ms 1s487ms 3s596ms 12 49 0ms 6s807ms 2s375ms 10s311ms 14s778ms 20s369ms 13 30 0ms 5s350ms 1s932ms 2s818ms 4s99ms 14s662ms 14 32 0ms 42s957ms 4s580ms 1s476ms 23s840ms 52s319ms 15 25 0ms 10s105ms 1s940ms 2s786ms 3s833ms 10s105ms 16 32 0ms 4s888ms 1s582ms 2s744ms 3s805ms 6s452ms 17 31 0ms 17s502ms 2s600ms 3s802ms 7s192ms 17s502ms 18 27 0ms 42s624ms 5s196ms 1s498ms 9s708ms 54s904ms 19 18 0ms 3s659ms 1s509ms 1s475ms 1s479ms 3s793ms 20 26 0ms 2s645ms 1s533ms 2s559ms 3s329ms 4s113ms 21 35 0ms 4s163ms 1s770ms 3s697ms 4s939ms 8s603ms 22 24 0ms 4s69ms 1s459ms 2s468ms 2s653ms 5s330ms 23 19 0ms 4s71ms 1s541ms 1s482ms 1s513ms 4s71ms Dec 16 00 27 0ms 21m40s 50s354ms 3s947ms 4s396ms 21m48s 01 24 0ms 4s850ms 1s787ms 2s715ms 3s774ms 4s850ms 02 37 0ms 7s360ms 2s476ms 4s580ms 4s854ms 21s957ms 03 34 0ms 4s342ms 1s816ms 3s874ms 5s136ms 5s585ms 04 51 0ms 4s45ms 1s460ms 4s268ms 5s491ms 5s698ms 05 78 0ms 6s758ms 2s301ms 9s932ms 15s585ms 30s37ms 06 155 0ms 42s947ms 2s144ms 8s359ms 14s78ms 56s335ms 07 68 0ms 5s195ms 1s480ms 5s862ms 6s719ms 9s711ms 08 47 0ms 54s326ms 7s243ms 2s506ms 5s489ms 4m45s 09 52 0ms 17m36s 23s566ms 9s893ms 14s355ms 17m38s 10 38 0ms 43s140ms 4s298ms 3s813ms 9s735ms 55s76ms 11 42 0ms 20s526ms 2s406ms 5s352ms 8s22ms 21s999ms 12 38 0ms 4s600ms 1s553ms 3s127ms 4s428ms 7s414ms 13 34 0ms 19s603ms 3s151ms 4s495ms 12s544ms 19s603ms 14 36 0ms 43s201ms 3s911ms 3s460ms 20s658ms 43s201ms 15 69 0ms 5s972ms 2s9ms 5s460ms 15s872ms 25s774ms 16 33 0ms 21s477ms 2s592ms 3s949ms 5s210ms 22s951ms 17 33 0ms 7s489ms 1s770ms 1s492ms 5s905ms 14s810ms 18 52 0ms 43s192ms 3s917ms 5s627ms 25s642ms 56s318ms 19 34 0ms 5s945ms 1s798ms 3s660ms 5s92ms 13s131ms 20 42 0ms 5s320ms 2s35ms 4s989ms 7s107ms 10s317ms 21 44 0ms 10s323ms 1s805ms 4s752ms 7s328ms 10s323ms 22 43 0ms 7s704ms 1s853ms 4s380ms 5s843ms 14s896ms 23 45 0ms 9s765ms 2s216ms 6s328ms 9s763ms 12s121ms Dec 17 00 60 0ms 21m32s 23s827ms 5s913ms 11s180ms 21m40s 01 41 0ms 5s624ms 1s760ms 3s263ms 5s23ms 12s586ms 02 52 0ms 5s534ms 1s800ms 5s141ms 6s155ms 7s241ms 03 52 0ms 8s229ms 2s359ms 3s305ms 10s86ms 27s369ms 04 65 0ms 12m22s 25s295ms 11s981ms 16s237ms 24m27s 05 82 0ms 32s133ms 2s620ms 9s617ms 23s273ms 32s133ms 06 52 0ms 43s328ms 3s945ms 5s750ms 19s768ms 59s464ms 07 53 0ms 5s475ms 1s930ms 4s259ms 10s23ms 10s980ms 08 78 0ms 19s352ms 2s553ms 9s746ms 16s323ms 23s152ms 09 33 0ms 21s388ms 2s416ms 3s689ms 4s134ms 21s388ms 10 51 0ms 43s246ms 3s764ms 5s94ms 13s810ms 54s980ms 11 30 0ms 10m47s 23s290ms 4s117ms 5s275ms 10m47s 12 20 0ms 3s707ms 1s790ms 1s613ms 3s392ms 5s163ms 13 32 0ms 17s376ms 2s982ms 2s737ms 4s871ms 36s254ms 14 37 0ms 43s79ms 4s257ms 2s798ms 9s753ms 54s872ms 15 22 0ms 8s198ms 1s929ms 1s490ms 2s290ms 8s198ms 16 23 0ms 5s782ms 1s878ms 1s482ms 2s677ms 7s33ms 17 20 0ms 3s714ms 1s491ms 1s485ms 2s569ms 5s200ms 18 44 0ms 42s961ms 4s 5s415ms 9s678ms 55s200ms 19 20 0ms 4s830ms 1s784ms 1s518ms 4s809ms 5s239ms 20 28 0ms 4s739ms 1s675ms 2s639ms 3s675ms 5s941ms 21 24 0ms 11s759ms 1s890ms 2s561ms 2s828ms 11s759ms 22 48 0ms 5s982ms 2s128ms 9s843ms 13s735ms 21s62ms 23 25 0ms 14s549ms 2s331ms 2s651ms 3s997ms 14s549ms Dec 18 00 40 0ms 21m45s 35s65ms 4s748ms 9s363ms 21m54s 01 40 0ms 5s330ms 1s824ms 4s863ms 5s153ms 10s617ms 02 24 0ms 4s906ms 1s730ms 2s939ms 3s838ms 7s577ms 03 30 0ms 3s610ms 1s464ms 2s648ms 3s22ms 4s784ms 04 41 0ms 4s623ms 1s848ms 3s741ms 4s623ms 7s472ms 05 69 0ms 6s798ms 2s226ms 8s969ms 15s550ms 30s244ms 06 59 0ms 43s371ms 3s846ms 11s367ms 12s377ms 54s879ms 07 34 0ms 26s221ms 2s950ms 4s859ms 6s979ms 26s221ms 08 53 0ms 1m26s 3s506ms 6s679ms 9s449ms 1m26s 09 28 0ms 4s180ms 1s769ms 2s654ms 4s180ms 7s795ms 10 32 0ms 43s634ms 5s280ms 2s639ms 9s738ms 1m12s 11 20 0ms 4s10ms 1s713ms 1s480ms 4s10ms 5s190ms 12 24 0ms 4s756ms 1s921ms 3s709ms 3s807ms 4s923ms 13 23 0ms 5s84ms 1s827ms 2s721ms 3s402ms 6s169ms 14 35 0ms 43s203ms 4s475ms 2s683ms 9s696ms 56s385ms 15 19 0ms 3s995ms 1s674ms 1s475ms 3s581ms 5s449ms 16 23 0ms 31s192ms 3s30ms 2s403ms 3s942ms 32s375ms 17 26 0ms 4s88ms 2s52ms 3s759ms 3s913ms 6s915ms 18 33 0ms 46s840ms 6s18ms 3s738ms 46s840ms 54s908ms 19 19 0ms 3s983ms 1s889ms 2s614ms 3s705ms 4s849ms 20 135 0ms 15s151ms 10s358ms 1m45s 2m18s 2m24s 21 27 0ms 26s620ms 2s658ms 4s21ms 4s888ms 26s620ms 22 51 0ms 13s93ms 4s151ms 22s465ms 24s609ms 37s319ms 23 26 0ms 7s401ms 2s33ms 2s616ms 6s662ms 10s498ms Dec 19 00 27 0ms 21m55s 50s612ms 3s850ms 4s69ms 21m55s 01 359 0ms 17m43s 8s266ms 59s16ms 1m48s 17m55s 02 43 0ms 31s530ms 7s651ms 4s171ms 20s878ms 3m13s 03 0 0ms 0ms 0ms 0ms 0ms 0ms 04 0 0ms 0ms 0ms 0ms 0ms 0ms 05 77 0ms 37s328ms 3s403ms 16s838ms 39s42ms 1m16s 06 31 0ms 11m38s 29s780ms 30s170ms 44s842ms 11m38s 07 45 0ms 11m50s 19s784ms 3s595ms 50s55ms 11m50s 08 120 0ms 48s443ms 2s870ms 19s154ms 44s108ms 53s494ms 09 112 0ms 31s149ms 4s875ms 34s820ms 1m31s 2m8s 10 299 0ms 43s627ms 5s430ms 1m26s 2m16s 3m38s 11 107 0ms 12m3s 30s639ms 1m21s 1m44s 35m 12 73 0ms 6s731ms 2s37ms 5s522ms 24s75ms 30s858ms 13 73 0ms 30s368ms 4s906ms 11s636ms 56s328ms 1m26s 14 10 0ms 43s951ms 11s848ms 0ms 53s569ms 55s184ms 15 132 0ms 37s539ms 3s367ms 28s701ms 47s855ms 1m18s 16 75 0ms 5s635ms 1s827ms 4s393ms 6s969ms 29s685ms 17 51 0ms 10m50s 27s94ms 3s885ms 20s24ms 10m52s 18 48 0ms 43s532ms 3s664ms 3s737ms 9s821ms 54s870ms 19 31 0ms 1m14s 8s148ms 3s685ms 4s199ms 3m32s 20 8 0ms 49m1s 30m31s 0ms 1h37m9s 2h27m1s 21 77 0ms 23s32ms 2s942ms 12s408ms 18s264ms 25s461ms 22 71 0ms 9s471ms 2s273ms 5s169ms 23s284ms 28s665ms 23 34 0ms 3s973ms 1s576ms 2s515ms 3s973ms 6s299ms Dec 20 00 22 0ms 21m49s 1m1s 3s797ms 9s95ms 21m54s 01 33 0ms 20s458ms 2s328ms 4s94ms 6s449ms 20s458ms 02 35 0ms 4s74ms 2s148ms 5s238ms 5s357ms 9s142ms 03 48 0ms 20s908ms 3s966ms 5s613ms 7s533ms 1m33s 04 39 0ms 6s25ms 2s785ms 6s25ms 7s632ms 9s429ms 05 294 0ms 5m13s 11s907ms 3m16s 9m49s 11m34s 06 34 0ms 43s532ms 5s129ms 4s301ms 23s796ms 52s812ms 07 38 0ms 3s995ms 2s190ms 5s363ms 7s403ms 9s376ms 08 31 0ms 15s742ms 2s626ms 4s952ms 8s846ms 15s742ms 09 21 0ms 4s29ms 1s679ms 2s441ms 6s373ms 7s761ms 10 36 0ms 43s378ms 4s655ms 5s219ms 9s663ms 56s292ms 11 41 0ms 6s356ms 1s567ms 3s765ms 4s571ms 11s949ms 12 29 0ms 19s360ms 2s322ms 3s754ms 3s912ms 19s360ms 13 32 0ms 6s91ms 2s8ms 4s797ms 5s292ms 9s952ms 14 28 0ms 43s712ms 5s244ms 3s763ms 11s367ms 54s748ms 15 16 0ms 9s807ms 2s411ms 1s361ms 4s322ms 9s807ms 16 22 0ms 6s934ms 2s183ms 4s808ms 5s10ms 9s64ms 17 9 0ms 22s965ms 4s156ms 1s224ms 1s405ms 22s965ms 18 33 0ms 43s359ms 7s928ms 22s228ms 34s506ms 55s99ms 19 17 0ms 2s205ms 1s338ms 1s831ms 2s462ms 3s32ms 20 41 0ms 6s939ms 2s411ms 4s732ms 16s277ms 26s208ms 21 24 0ms 4s654ms 1s631ms 2s859ms 3s963ms 4s654ms 22 12 0ms 3s889ms 1s621ms 1s604ms 1s652ms 3s889ms 23 24 0ms 15s391ms 5s358ms 12s828ms 17s946ms 30s656ms Dec 21 00 19 0ms 21m39s 1m11s 4s328ms 11s140ms 21m45s 01 21 0ms 7s880ms 2s15ms 2s240ms 4s804ms 8s231ms 02 19 0ms 7s672ms 2s706ms 2s972ms 5s7ms 16s428ms 03 20 0ms 7s41ms 2s719ms 4s892ms 5s929ms 7s41ms 04 32 0ms 5s220ms 2s678ms 4s394ms 6s905ms 13s158ms 05 63 0ms 20s418ms 2s623ms 13s925ms 20s418ms 30s991ms 06 19 0ms 9s910ms 2s406ms 2s844ms 4s351ms 9s910ms 07 46 0ms 20s217ms 3s325ms 11s50ms 13s466ms 28s745ms 08 33 0ms 21s390ms 5s166ms 8s759ms 28s544ms 1m6s 09 18 0ms 7s197ms 2s625ms 2s355ms 7s73ms 14s292ms 10 36 0ms 11s765ms 4s874ms 13s319ms 22s288ms 39s685ms 11 16 0ms 6s141ms 2s585ms 4s540ms 6s141ms 15s109ms 12 10 0ms 5s62ms 2s330ms 1s317ms 7s315ms 8s290ms 13 24 0ms 5s927ms 1s740ms 2s234ms 3s490ms 7s796ms 14 19 0ms 6s958ms 2s67ms 2s251ms 4s683ms 6s958ms 15 42 0ms 6s19ms 2s418ms 5s942ms 16s718ms 26s195ms 16 19 0ms 6m5s 21s515ms 4s790ms 7s193ms 6m5s 17 23 0ms 10s564ms 2s477ms 3s831ms 7s839ms 12s864ms 18 54 0ms 1m11s 8s414ms 53s73ms 1m 1m11s 19 77 0ms 23m55s 1m3s 2m2s 7m22s 23m56s 20 19 0ms 12s875ms 2s192ms 1s950ms 7s638ms 12s875ms 21 21 0ms 1m 5s375ms 4s547ms 6s104ms 1m 22 18 0ms 4s613ms 2s86ms 3s296ms 3s905ms 6s233ms 23 45 0ms 6s563ms 3s196ms 4s952ms 7s226ms 1m42s Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Dec 15 00 21 0 1m3s 1s475ms 2s612ms 21m35s 01 26 0 1s584ms 1s485ms 1s957ms 4s925ms 02 24 0 1s596ms 1s476ms 1s518ms 8s713ms 03 19 0 1s507ms 1s471ms 1s485ms 3s750ms 04 17 0 1s692ms 1s469ms 1s482ms 4s881ms 05 61 0 2s378ms 2s670ms 14s213ms 31s728ms 06 21 10 4s683ms 1s467ms 2s328ms 40s819ms 07 24 0 1s372ms 1s478ms 1s982ms 3s588ms 08 26 0 3s25ms 1s479ms 2s667ms 18s370ms 09 32 0 2s354ms 3s691ms 4s79ms 7s451ms 10 27 10 4s653ms 2s383ms 5s559ms 55s 11 18 0 1s379ms 1s453ms 1s477ms 2s543ms 12 49 0 2s375ms 3s233ms 10s311ms 20s369ms 13 30 0 1s932ms 2s338ms 2s818ms 14s662ms 14 22 10 4s580ms 1s471ms 1s476ms 40s821ms 15 25 0 1s940ms 1s480ms 2s786ms 10s105ms 16 32 0 1s582ms 1s477ms 2s744ms 4s888ms 17 31 0 2s600ms 1s485ms 3s802ms 9s188ms 18 17 10 5s196ms 1s472ms 1s498ms 51s845ms 19 18 0 1s509ms 1s466ms 1s475ms 3s793ms 20 26 0 1s533ms 1s474ms 2s559ms 4s113ms 21 35 0 1s770ms 2s184ms 3s697ms 8s603ms 22 24 0 1s459ms 1s472ms 2s468ms 5s330ms 23 19 0 1s541ms 1s477ms 1s482ms 4s71ms Dec 16 00 26 0 52s67ms 1s483ms 3s947ms 7s170ms 01 24 0 1s787ms 1s477ms 2s715ms 4s850ms 02 37 0 2s476ms 2s917ms 4s580ms 21s957ms 03 34 0 1s816ms 2s663ms 3s874ms 5s585ms 04 51 0 1s460ms 2s806ms 4s268ms 5s698ms 05 74 0 2s305ms 5s30ms 9s932ms 23s312ms 06 145 10 2s144ms 7s13ms 8s359ms 52s223ms 07 68 0 1s480ms 4s78ms 5s862ms 8s447ms 08 47 0 7s243ms 1s473ms 2s506ms 4m45s 09 51 0 23s982ms 4s718ms 9s893ms 59s672ms 10 28 10 4s298ms 1s488ms 3s813ms 55s76ms 11 42 0 2s406ms 2s709ms 5s352ms 10s301ms 12 38 0 1s553ms 1s488ms 3s127ms 7s414ms 13 34 0 3s151ms 2s922ms 4s495ms 15s647ms 14 29 7 3s911ms 2s763ms 3s460ms 23s839ms 15 69 0 2s9ms 2s649ms 5s460ms 18s985ms 16 33 0 2s592ms 1s478ms 3s949ms 17s29ms 17 33 0 1s770ms 1s467ms 1s492ms 6s841ms 18 42 10 3s917ms 2s723ms 5s627ms 52s467ms 19 34 0 1s798ms 1s776ms 3s660ms 13s131ms 20 41 0 2s38ms 3s604ms 4s989ms 7s107ms 21 43 0 1s768ms 2s379ms 3s739ms 8s492ms 22 43 0 1s853ms 2s572ms 4s380ms 14s896ms 23 45 0 2s216ms 3s671ms 6s328ms 11s561ms Dec 17 00 59 0 24s132ms 5s86ms 5s913ms 20s541ms 01 41 0 1s760ms 2s394ms 3s263ms 5s162ms 02 52 0 1s800ms 3s691ms 5s141ms 6s978ms 03 52 0 2s359ms 2s771ms 3s305ms 21s988ms 04 65 0 25s295ms 6s736ms 11s981ms 29s125ms 05 78 0 2s637ms 4s330ms 9s617ms 30s611ms 06 43 9 3s945ms 3s724ms 5s750ms 52s702ms 07 53 0 1s930ms 3s840ms 4s259ms 10s621ms 08 78 0 2s553ms 5s290ms 9s746ms 16s422ms 09 33 0 2s416ms 2s671ms 3s689ms 21s388ms 10 41 10 3s764ms 3s826ms 5s94ms 52s503ms 11 29 0 24s26ms 1s489ms 4s117ms 10m47s 12 18 0 1s695ms 1s467ms 1s484ms 5s163ms 13 32 0 2s982ms 1s471ms 2s737ms 36s254ms 14 27 10 4s257ms 2s553ms 2s798ms 52s337ms 15 22 0 1s929ms 1s475ms 1s490ms 8s198ms 16 23 0 1s878ms 1s473ms 1s482ms 7s33ms 17 20 0 1s491ms 1s469ms 1s485ms 5s200ms 18 34 10 4s 2s672ms 5s415ms 55s200ms 19 20 0 1s784ms 1s475ms 1s518ms 5s239ms 20 28 0 1s675ms 1s479ms 2s639ms 5s941ms 21 24 0 1s890ms 1s469ms 2s561ms 11s759ms 22 48 0 2s128ms 1s520ms 9s843ms 21s62ms 23 25 0 2s331ms 1s476ms 2s651ms 14s549ms Dec 18 00 39 0 35s816ms 2s931ms 4s748ms 21m49s 01 40 0 1s824ms 2s665ms 4s863ms 10s617ms 02 24 0 1s730ms 1s479ms 2s939ms 7s577ms 03 30 0 1s464ms 1s489ms 2s648ms 4s784ms 04 40 0 1s812ms 2s303ms 3s699ms 5s306ms 05 65 0 2s225ms 3s765ms 8s969ms 30s244ms 06 49 10 3s846ms 5s667ms 10s362ms 54s879ms 07 33 0 2s962ms 2s390ms 4s859ms 8s 08 53 0 3s506ms 3s398ms 6s679ms 10s10ms 09 27 0 1s741ms 1s466ms 2s586ms 5s532ms 10 22 10 5s280ms 1s473ms 2s825ms 52s893ms 11 20 0 1s713ms 1s463ms 1s480ms 5s115ms 12 24 0 1s921ms 1s475ms 3s709ms 4s756ms 13 23 0 1s827ms 1s478ms 2s721ms 6s169ms 14 25 10 4s475ms 1s470ms 2s683ms 52s522ms 15 19 0 1s674ms 1s468ms 1s475ms 4s107ms 16 23 0 3s30ms 1s473ms 2s403ms 32s375ms 17 26 0 2s52ms 1s481ms 3s759ms 5s132ms 18 23 10 6s18ms 1s473ms 3s738ms 52s367ms 19 19 0 1s889ms 1s480ms 2s614ms 4s849ms 20 135 0 10s358ms 1m18s 1m45s 2m24s 21 27 0 2s658ms 1s483ms 4s21ms 26s620ms 22 51 0 4s151ms 2s390ms 22s465ms 37s319ms 23 26 0 2s33ms 1s472ms 2s616ms 8s886ms Dec 19 00 26 0 52s322ms 2s557ms 3s578ms 21m55s 01 358 0 8s280ms 33s56ms 59s16ms 17m46s 02 43 0 7s651ms 1s480ms 4s171ms 3m13s 03 0 0 0ms 0ms 0ms 0ms 04 0 0 0ms 0ms 0ms 0ms 05 73 0 3s464ms 5s253ms 16s838ms 1m16s 06 24 7 29s780ms 2s970ms 27s199ms 54s177ms 07 45 0 19s784ms 2s767ms 3s595ms 1m19s 08 120 0 2s870ms 5s258ms 19s154ms 48s443ms 09 108 0 4s969ms 4s225ms 30s94ms 1m34s 10 285 10 5s473ms 51s944ms 1m24s 2m50s 11 105 0 31s180ms 20s375ms 1m21s 9m21s 12 71 0 2s30ms 2s796ms 5s522ms 25s454ms 13 72 0 4s926ms 4s7ms 11s636ms 1m 14 0 10 11s848ms 0ms 0ms 55s184ms 15 128 0 3s400ms 12s275ms 28s701ms 1m18s 16 75 0 1s827ms 2s941ms 4s393ms 15s144ms 17 51 0 27s94ms 2s658ms 3s885ms 10m43s 18 38 10 3s664ms 2s919ms 3s737ms 54s870ms 19 31 0 8s148ms 2s580ms 3s685ms 3m32s 20 8 0 30m31s 0ms 0ms 2h27m1s 21 73 0 2s975ms 7s631ms 11s467ms 25s461ms 22 71 0 2s273ms 2s926ms 5s169ms 24s130ms 23 34 0 1s576ms 1s433ms 2s515ms 6s299ms Dec 20 00 21 0 1m4s 1s453ms 3s797ms 21m49s 01 33 0 2s328ms 2s110ms 4s94ms 20s458ms 02 35 0 2s148ms 3s28ms 5s238ms 9s142ms 03 48 0 3s966ms 3s909ms 5s613ms 1m33s 04 39 0 2s785ms 3s921ms 6s25ms 9s429ms 05 290 0 12s41ms 1m22s 3m16s 10m57s 06 24 10 5s129ms 2s183ms 4s301ms 52s812ms 07 38 0 2s190ms 3s695ms 5s363ms 9s376ms 08 31 0 2s626ms 3s670ms 4s952ms 15s742ms 09 21 0 1s679ms 1s432ms 2s441ms 7s761ms 10 25 10 4s697ms 1s499ms 5s219ms 54s833ms 11 41 0 1s567ms 1s431ms 3s765ms 11s949ms 12 29 0 2s322ms 1s431ms 3s754ms 19s360ms 13 32 0 2s8ms 2s435ms 4s797ms 9s952ms 14 18 10 5s244ms 1s439ms 3s763ms 54s748ms 15 16 0 2s411ms 1s142ms 1s361ms 9s807ms 16 22 0 2s183ms 1s851ms 4s808ms 9s64ms 17 9 0 4s156ms 1s2ms 1s224ms 22s965ms 18 23 10 7s928ms 3s849ms 22s228ms 55s99ms 19 17 0 1s338ms 1s150ms 1s831ms 3s32ms 20 41 0 2s411ms 2s343ms 4s732ms 26s208ms 21 24 0 1s631ms 1s601ms 2s859ms 4s654ms 22 12 0 1s621ms 1s154ms 1s604ms 3s889ms 23 24 0 5s358ms 1s262ms 12s828ms 30s656ms Dec 21 00 18 0 1m15s 1s184ms 4s328ms 21m39s 01 21 0 2s15ms 1s183ms 2s240ms 8s231ms 02 19 0 2s706ms 1s182ms 2s972ms 16s428ms 03 20 0 2s719ms 3s163ms 4s892ms 7s41ms 04 32 0 2s678ms 3s869ms 4s394ms 13s158ms 05 61 0 2s597ms 3s331ms 13s925ms 30s991ms 06 19 0 2s406ms 1s419ms 2s844ms 9s910ms 07 45 0 3s329ms 5s185ms 11s50ms 28s745ms 08 33 0 5s166ms 4s880ms 8s759ms 1m6s 09 18 0 2s625ms 1s175ms 2s355ms 14s292ms 10 36 0 4s874ms 3s687ms 13s319ms 39s685ms 11 16 0 2s585ms 1s95ms 4s540ms 15s109ms 12 10 0 2s330ms 1s3ms 1s317ms 8s290ms 13 24 0 1s740ms 1s687ms 2s234ms 7s796ms 14 19 0 2s67ms 1s191ms 2s251ms 6s958ms 15 42 0 2s418ms 2s108ms 5s942ms 26s195ms 16 19 0 21s515ms 1s638ms 4s790ms 6m5s 17 23 0 2s477ms 1s175ms 3s831ms 12s864ms 18 28 26 8s414ms 5s484ms 53s73ms 1m11s 19 28 48 1m4s 1m19s 2m1s 23m56s 20 19 0 2s192ms 1s158ms 1s950ms 12s875ms 21 21 0 5s375ms 2s90ms 4s547ms 1m 22 18 0 2s86ms 1s338ms 3s296ms 6s233ms 23 45 0 3s196ms 2s790ms 4s952ms 1m42s Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Dec 15 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Dec 16 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Dec 17 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 Dec 18 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 Dec 19 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 Dec 20 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 Dec 21 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 Dec 15 00 0 20 20.00 0.00% 01 0 26 26.00 0.00% 02 0 24 24.00 0.00% 03 0 19 19.00 0.00% 04 0 17 17.00 0.00% 05 0 65 65.00 0.00% 06 0 25 25.00 0.00% 07 0 27 27.00 0.00% 08 0 26 26.00 0.00% 09 0 32 32.00 0.00% 10 0 31 31.00 0.00% 11 0 20 20.00 0.00% 12 0 55 55.00 0.00% 13 0 30 30.00 0.00% 14 0 22 22.00 0.00% 15 0 25 25.00 0.00% 16 0 32 32.00 0.00% 17 0 31 31.00 0.00% 18 0 17 17.00 0.00% 19 0 18 18.00 0.00% 20 0 26 26.00 0.00% 21 0 35 35.00 0.00% 22 0 24 24.00 0.00% 23 0 19 19.00 0.00% Dec 16 00 0 25 25.00 0.00% 01 0 24 24.00 0.00% 02 0 37 37.00 0.00% 03 0 34 34.00 0.00% 04 0 51 51.00 0.00% 05 0 76 76.00 0.00% 06 0 147 147.00 0.00% 07 0 68 68.00 0.00% 08 0 47 47.00 0.00% 09 0 52 52.00 0.00% 10 0 28 28.00 0.00% 11 0 43 43.00 0.00% 12 0 39 39.00 0.00% 13 0 36 36.00 0.00% 14 0 37 37.00 0.00% 15 0 77 77.00 0.00% 16 0 38 38.00 0.00% 17 0 33 33.00 0.00% 18 0 42 42.00 0.00% 19 0 34 34.00 0.00% 20 0 42 42.00 0.00% 21 0 44 44.00 0.00% 22 0 43 43.00 0.00% 23 0 45 45.00 0.00% Dec 17 00 0 58 58.00 0.00% 01 0 41 41.00 0.00% 02 0 52 52.00 0.00% 03 0 52 52.00 0.00% 04 0 65 65.00 0.00% 05 0 85 85.00 0.00% 06 0 54 54.00 0.00% 07 0 57 57.00 0.00% 08 0 86 86.00 0.00% 09 0 33 33.00 0.00% 10 0 41 41.00 0.00% 11 0 32 32.00 0.00% 12 0 21 21.00 0.00% 13 0 32 32.00 0.00% 14 0 27 27.00 0.00% 15 0 22 22.00 0.00% 16 0 23 23.00 0.00% 17 0 20 20.00 0.00% 18 0 34 34.00 0.00% 19 0 20 20.00 0.00% 20 0 28 28.00 0.00% 21 0 24 24.00 0.00% 22 0 48 48.00 0.00% 23 0 25 25.00 0.00% Dec 18 00 0 38 38.00 0.00% 01 0 40 40.00 0.00% 02 0 24 24.00 0.00% 03 0 30 30.00 0.00% 04 0 41 41.00 0.00% 05 0 69 69.00 0.00% 06 0 49 49.00 0.00% 07 0 38 38.00 0.00% 08 0 55 55.00 0.00% 09 0 31 31.00 0.00% 10 0 23 23.00 0.00% 11 0 26 26.00 0.00% 12 0 28 28.00 0.00% 13 0 23 23.00 0.00% 14 0 25 25.00 0.00% 15 0 19 19.00 0.00% 16 0 23 23.00 0.00% 17 0 27 27.00 0.00% 18 0 26 26.00 0.00% 19 0 19 19.00 0.00% 20 0 135 135.00 0.00% 21 0 27 27.00 0.00% 22 0 51 51.00 0.00% 23 0 26 26.00 0.00% Dec 19 00 0 25 25.00 0.00% 01 0 363 363.00 0.00% 02 0 43 43.00 0.00% 03 0 0 0.00 0.00% 04 0 0 0.00 0.00% 05 0 78 78.00 0.00% 06 0 30 30.00 0.00% 07 0 50 50.00 0.00% 08 0 125 125.00 0.00% 09 0 112 112.00 0.00% 10 0 290 290.00 0.00% 11 0 108 108.00 0.00% 12 0 74 74.00 0.00% 13 0 73 73.00 0.00% 14 0 0 0.00 0.00% 15 0 132 132.00 0.00% 16 0 75 75.00 0.00% 17 0 51 51.00 0.00% 18 0 38 38.00 0.00% 19 0 31 31.00 0.00% 20 0 8 8.00 0.00% 21 0 77 77.00 0.00% 22 0 71 71.00 0.00% 23 0 34 34.00 0.00% Dec 20 00 0 20 20.00 0.00% 01 0 33 33.00 0.00% 02 0 35 35.00 0.00% 03 0 48 48.00 0.00% 04 0 39 39.00 0.00% 05 0 294 294.00 0.00% 06 0 24 24.00 0.00% 07 0 38 38.00 0.00% 08 0 31 31.00 0.00% 09 0 21 21.00 0.00% 10 0 26 26.00 0.00% 11 0 41 41.00 0.00% 12 0 30 30.00 0.00% 13 0 32 32.00 0.00% 14 0 18 18.00 0.00% 15 0 16 16.00 0.00% 16 0 22 22.00 0.00% 17 0 9 9.00 0.00% 18 0 23 23.00 0.00% 19 0 17 17.00 0.00% 20 0 41 41.00 0.00% 21 0 24 24.00 0.00% 22 0 12 12.00 0.00% 23 0 24 24.00 0.00% Dec 21 00 0 17 17.00 0.00% 01 0 21 21.00 0.00% 02 0 19 19.00 0.00% 03 0 20 20.00 0.00% 04 0 32 32.00 0.00% 05 0 63 63.00 0.00% 06 0 19 19.00 0.00% 07 0 46 46.00 0.00% 08 0 33 33.00 0.00% 09 0 18 18.00 0.00% 10 0 36 36.00 0.00% 11 0 16 16.00 0.00% 12 0 10 10.00 0.00% 13 0 24 24.00 0.00% 14 0 19 19.00 0.00% 15 0 42 42.00 0.00% 16 0 19 19.00 0.00% 17 0 23 23.00 0.00% 18 0 28 28.00 0.00% 19 0 29 29.00 0.00% 20 0 19 19.00 0.00% 21 0 21 21.00 0.00% 22 0 18 18.00 0.00% 23 0 45 45.00 0.00% Day Hour Count Average / Second Dec 15 00 79 0.02/s 01 88 0.02/s 02 78 0.02/s 03 79 0.02/s 04 79 0.02/s 05 105 0.03/s 06 83 0.02/s 07 77 0.02/s 08 82 0.02/s 09 85 0.02/s 10 83 0.02/s 11 69 0.02/s 12 84 0.02/s 13 81 0.02/s 14 92 0.03/s 15 83 0.02/s 16 83 0.02/s 17 101 0.03/s 18 80 0.02/s 19 83 0.02/s 20 76 0.02/s 21 75 0.02/s 22 80 0.02/s 23 78 0.02/s Dec 16 00 81 0.02/s 01 79 0.02/s 02 88 0.02/s 03 77 0.02/s 04 81 0.02/s 05 104 0.03/s 06 83 0.02/s 07 91 0.03/s 08 91 0.03/s 09 84 0.02/s 10 87 0.02/s 11 79 0.02/s 12 82 0.02/s 13 83 0.02/s 14 78 0.02/s 15 93 0.03/s 16 80 0.02/s 17 81 0.02/s 18 84 0.02/s 19 76 0.02/s 20 82 0.02/s 21 78 0.02/s 22 80 0.02/s 23 81 0.02/s Dec 17 00 85 0.02/s 01 83 0.02/s 02 88 0.02/s 03 100 0.03/s 04 91 0.03/s 05 98 0.03/s 06 81 0.02/s 07 83 0.02/s 08 87 0.02/s 09 73 0.02/s 10 90 0.03/s 11 82 0.02/s 12 81 0.02/s 13 79 0.02/s 14 99 0.03/s 15 85 0.02/s 16 92 0.03/s 17 81 0.02/s 18 86 0.02/s 19 78 0.02/s 20 86 0.02/s 21 75 0.02/s 22 83 0.02/s 23 79 0.02/s Dec 18 00 81 0.02/s 01 83 0.02/s 02 89 0.02/s 03 82 0.02/s 04 84 0.02/s 05 91 0.03/s 06 82 0.02/s 07 103 0.03/s 08 82 0.02/s 09 88 0.02/s 10 86 0.02/s 11 77 0.02/s 12 81 0.02/s 13 82 0.02/s 14 87 0.02/s 15 93 0.03/s 16 81 0.02/s 17 82 0.02/s 18 85 0.02/s 19 77 0.02/s 20 124 0.03/s 21 78 0.02/s 22 83 0.02/s 23 85 0.02/s Dec 19 00 82 0.02/s 01 130 0.04/s 02 118 0.03/s 03 63 0.02/s 04 64 0.02/s 05 347 0.10/s 06 198 0.06/s 07 452 0.13/s 08 456 0.13/s 09 934 0.26/s 10 1,017 0.28/s 11 641 0.18/s 12 117 0.03/s 13 619 0.17/s 14 66 0.02/s 15 218 0.06/s 16 91 0.03/s 17 89 0.02/s 18 85 0.02/s 19 82 0.02/s 20 187 0.05/s 21 155 0.04/s 22 92 0.03/s 23 101 0.03/s Dec 20 00 82 0.02/s 01 89 0.02/s 02 96 0.03/s 03 87 0.02/s 04 83 0.02/s 05 258 0.07/s 06 76 0.02/s 07 103 0.03/s 08 82 0.02/s 09 79 0.02/s 10 79 0.02/s 11 91 0.03/s 12 82 0.02/s 13 80 0.02/s 14 81 0.02/s 15 83 0.02/s 16 88 0.02/s 17 77 0.02/s 18 95 0.03/s 19 80 0.02/s 20 80 0.02/s 21 86 0.02/s 22 86 0.02/s 23 131 0.04/s Dec 21 00 90 0.03/s 01 83 0.02/s 02 84 0.02/s 03 79 0.02/s 04 89 0.02/s 05 90 0.03/s 06 78 0.02/s 07 82 0.02/s 08 85 0.02/s 09 84 0.02/s 10 89 0.02/s 11 88 0.02/s 12 77 0.02/s 13 91 0.03/s 14 76 0.02/s 15 87 0.02/s 16 81 0.02/s 17 82 0.02/s 18 84 0.02/s 19 97 0.03/s 20 80 0.02/s 21 82 0.02/s 22 86 0.02/s 23 546 0.15/s Day Hour Count Average Duration Average idle time Dec 15 00 79 31m21s 31m4s 01 88 27m1s 27m1s 02 78 31m1s 31m1s 03 79 30m58s 30m57s 04 79 30m39s 30m39s 05 105 22m33s 22m31s 06 83 28m20s 28m18s 07 77 31m18s 31m18s 08 82 30m35s 30m34s 09 85 29m7s 29m6s 10 83 28m57s 28m55s 11 69 31m58s 31m58s 12 84 28m52s 28m51s 13 81 29m18s 29m17s 14 92 27m3s 27m2s 15 83 29m30s 29m29s 16 81 29m44s 29m44s 17 101 24m1s 24m 18 80 29m40s 29m38s 19 83 28m45s 28m45s 20 76 30m24s 30m24s 21 75 30m38s 30m37s 22 80 30m40s 30m40s 23 78 30m43s 30m43s Dec 16 00 81 30m5s 29m49s 01 79 30m14s 30m13s 02 88 28m6s 28m5s 03 77 30m17s 30m17s 04 81 29m57s 29m56s 05 104 23m22s 23m20s 06 83 28m12s 28m8s 07 91 27m30s 27m28s 08 90 27m53s 27m49s 09 85 28m36s 28m22s 10 87 26m19s 26m17s 11 79 29m52s 29m50s 12 82 29m49s 29m49s 13 83 28m50s 28m49s 14 78 30m48s 30m46s 15 93 26m26s 26m25s 16 80 29m37s 29m36s 17 81 29m42s 29m41s 18 84 28m24s 28m22s 19 76 31m9s 31m8s 20 82 29m49s 29m48s 21 78 28m37s 28m36s 22 80 30m41s 30m40s 23 81 29m45s 29m44s Dec 17 00 85 28m12s 27m55s 01 83 29m34s 29m33s 02 88 26m54s 26m53s 03 98 24m44s 24m43s 04 93 26m41s 26m23s 05 98 24m25s 24m23s 06 81 29m21s 29m19s 07 83 30m4s 30m2s 08 87 27m39s 27m37s 09 73 30m47s 30m46s 10 90 27m17s 27m14s 11 82 29m44s 29m35s 12 81 30m14s 30m14s 13 79 30m8s 30m7s 14 99 24m34s 24m33s 15 85 26m36s 26m35s 16 92 25m52s 25m52s 17 81 29m46s 29m46s 18 86 29m8s 29m6s 19 78 30m37s 30m36s 20 86 28m19s 28m19s 21 75 30m41s 30m41s 22 83 28m47s 28m46s 23 79 30m6s 30m5s Dec 18 00 81 29m14s 28m57s 01 83 30m22s 30m21s 02 89 26m53s 26m53s 03 82 28m51s 28m50s 04 84 29m 28m59s 05 91 26m49s 26m48s 06 82 28m55s 28m52s 07 103 23m6s 23m5s 08 82 28m23s 28m20s 09 88 27m48s 27m47s 10 86 27m44s 27m42s 11 77 30m52s 30m51s 12 81 31m6s 31m5s 13 82 29m46s 29m45s 14 87 28m3s 28m2s 15 92 25m36s 25m35s 16 82 29m14s 29m13s 17 82 29m15s 29m15s 18 85 27m53s 27m51s 19 77 31m17s 31m17s 20 124 19m48s 19m36s 21 78 28m42s 28m41s 22 83 27m49s 27m47s 23 85 28m54s 28m53s Dec 19 00 82 29m54s 29m37s 01 130 19m44s 19m21s 02 117 20m18s 20m16s 03 72 32m29s 32m29s 04 64 30m39s 30m39s 05 339 6m7s 6m6s 06 183 11m27s 11m22s 07 467 6m47s 6m45s 08 456 5m35s 5m34s 09 934 14m37s 14m36s 10 1,017 2m20s 2m19s 11 626 4m26s 4m21s 12 132 19m28s 19m27s 13 610 4m14s 4m14s 14 71 30m20s 30m18s 15 222 14m50s 14m48s 16 91 25m47s 25m46s 17 89 28m14s 27m58s 18 85 28m40s 28m38s 19 73 30m7s 30m4s 20 194 15m28s 14m13s 21 150 4h46m44s 4h46m42s 22 92 26m18s 26m16s 23 101 21m44s 21m43s Dec 20 00 82 30m59s 30m42s 01 89 27m50s 27m49s 02 96 25m45s 25m44s 03 87 27m53s 27m51s 04 83 28m24s 28m23s 05 258 9m56s 9m43s 06 76 29m10s 29m8s 07 103 23m51s 23m51s 08 82 29m22s 29m21s 09 79 30m52s 30m51s 10 79 30m42s 30m39s 11 91 27m11s 27m10s 12 82 29m10s 29m10s 13 80 30m57s 30m56s 14 81 29m28s 29m26s 15 83 27m58s 27m57s 16 88 27m19s 27m18s 17 77 30m13s 30m12s 18 95 24m57s 24m54s 19 80 30m12s 30m12s 20 80 28m39s 28m38s 21 86 27m2s 27m1s 22 86 28m16s 28m16s 23 131 18m40s 18m39s Dec 21 00 90 26m46s 26m31s 01 83 29m47s 29m46s 02 84 28m29s 28m28s 03 79 30m15s 30m15s 04 89 26m46s 26m45s 05 90 25m20s 25m18s 06 78 30m20s 30m19s 07 82 30m46s 30m44s 08 85 28m45s 28m43s 09 84 29m35s 29m34s 10 89 27m36s 27m34s 11 88 28m12s 28m12s 12 77 31m25s 31m25s 13 91 26m7s 26m7s 14 76 30m13s 30m13s 15 87 28m10s 28m9s 16 81 28m39s 28m34s 17 82 28m50s 28m49s 18 83 29m29s 29m23s 19 98 24m23s 23m32s 20 80 30m44s 30m43s 21 82 26m53s 26m52s 22 86 28m13s 28m12s 23 546 4m25s 4m25s -
Connections
Established Connections
Key values
- 92 connections Connection Peak
- 2024-12-21 23:12:52 Date
Connections per database
Key values
- ctdprd51 Main Database
- 19,245 connections Total
Connections per user
Key values
- pubeu Main User
- 19,245 connections Total
-
Sessions
Simultaneous sessions
Key values
- 133 sessions Session Peak
- 2024-12-19 20:06:08 Date
Histogram of session times
Key values
- 12,053 1800000-3600000ms duration
Sessions per database
Key values
- ctdprd51 Main Database
- 19,236 sessions Total
Sessions per user
Key values
- pubeu Main User
- 19,236 sessions Total
Sessions per host
Key values
- 10.12.5.37 Main Host
- 19,236 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 212,633 buffers Checkpoint Peak
- 2024-12-18 06:57:28 Date
- 1619.789 seconds Highest write time
- 0.005 seconds Sync time
Checkpoints Wal files
Key values
- 72 files Wal files usage Peak
- 2024-12-15 02:27:18 Date
Checkpoints distance
Key values
- 2,284.47 Mo Distance Peak
- 2024-12-15 02:27:18 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Dec 15 00 10,940 1,095.335s 0.004s 1,095.544s 01 1,702 170.446s 0.004s 170.482s 02 106,675 1,657.506s 0.004s 1,658.433s 03 2,345 234.851s 0.004s 234.882s 04 1,800 180.355s 0.003s 180.431s 05 2,674 267.693s 0.003s 267.726s 06 2,014 201.698s 0.004s 201.73s 07 2,046 204.916s 0.004s 204.997s 08 56,977 1,652.057s 0.003s 1,652.577s 09 1,651 165.309s 0.004s 165.34s 10 2,278 228.121s 0.003s 228.203s 11 1,842 184.551s 0.003s 184.582s 12 1,456 145.775s 0.004s 145.856s 13 52,482 1,729.115s 0.004s 1,729.596s 14 923 92.518s 0.003s 92.551s 15 5,025 503.187s 0.003s 503.278s 16 2,646 264.966s 0.003s 265.06s 17 1,430 143.32s 0.003s 143.349s 18 1,264 126.776s 0.004s 126.806s 19 1,102 110.445s 0.002s 110.49s 20 1,750 175.33s 0.002s 175.36s 21 2,138 214.103s 0.003s 214.178s 22 3,014 301.925s 0.003s 302.003s 23 86,867 1,658.136s 0.003s 1,658.709s Dec 16 00 3,340 334.49s 0.004s 334.605s 01 381 38.246s 0.004s 38.322s 02 2,408 241.237s 0.002s 241.314s 03 10,981 1,099.314s 0.003s 1,099.45s 04 482 48.351s 0.002s 48.381s 05 6,780 679.26s 0.002s 679.37s 06 1,044 104.602s 0.002s 104.633s 07 10,472 1,048.315s 0.003s 1,048.485s 08 545 54.749s 0.003s 54.78s 09 801 80.299s 0.002s 80.378s 10 928 93.029s 0.002s 93.06s 11 1,030 103.241s 0.002s 103.271s 12 1,057 105.735s 0.003s 105.78s 13 1,378 138.109s 0.002s 138.139s 14 1,007 100.949s 0.003s 100.994s 15 1,767 176.965s 0.002s 177.04s 16 1,885 188.902s 0.002s 188.933s 17 3,358 336.323s 0.004s 336.448s 18 1,164 116.666s 0.002s 116.696s 19 1,255 125.786s 0.003s 125.817s 20 6,896 690.534s 0.002s 690.697s 21 24,542 2,210.514s 0.002s 2,210.721s 22 3,250 325.488s 0.002s 325.566s 23 1,730 173.35s 0.002s 173.38s Dec 17 00 4,054 405.903s 0.005s 406.093s 01 585 58.675s 0.002s 58.705s 02 56,708 1,803.479s 0.003s 1,804.015s 03 2,319 232.37s 0.002s 232.449s 04 1,880 188.318s 0.002s 188.394s 05 848 85.025s 0.003s 85.055s 06 65,076 1,675.421s 0.003s 1,675.973s 07 2,758 276.214s 0.003s 276.29s 08 1,426 142.915s 0.002s 142.946s 09 881 88.221s 0.002s 88.297s 10 952 95.344s 0.003s 95.375s 11 5,958 596.611s 0.003s 596.71s 12 1,388 139.119s 0.002s 139.149s 13 1,259 126.08s 0.003s 126.125s 14 1,154 115.678s 0.002s 115.709s 15 1,604 160.731s 0.003s 160.774s 16 1,135 113.764s 0.002s 113.794s 17 1,165 116.761s 0.002s 116.792s 18 1,142 114.448s 0.002s 114.49s 19 1,399 140.189s 0.003s 140.218s 20 1,761 176.444s 0.002s 176.518s 21 4,094 410.013s 0.003s 410.058s 22 1,617 162.034s 0.002s 162.112s 23 1,322 132.386s 0.002s 132.43s Dec 18 00 10,488 1,050.022s 0.004s 1,050.249s 01 6,014 602.202s 0.002s 602.314s 02 423 42.45s 0.002s 42.48s 03 1,382 138.507s 0.002s 138.538s 04 793 79.524s 0.002s 79.568s 05 705 70.703s 0.002s 70.734s 06 213,318 1,687.794s 0.003s 1,687.92s 07 6,621 663.101s 0.002s 663.187s 08 9,838 985.027s 0.002s 985.149s 09 5,437 544.439s 0.002s 544.528s 10 6,111 612.038s 0.002s 612.152s 11 1,248 124.874s 0.002s 124.904s 12 1,756 175.869s 0.002s 175.948s 13 1,342 134.491s 0.003s 134.521s 14 1,469 147.155s 0.003s 147.2s 15 1,701 170.35s 0.003s 170.381s 16 1,572 157.417s 0.002s 157.461s 17 2,335 233.841s 0.002s 233.885s 18 2,177 218.018s 0.004s 218.05s 19 1,163 116.554s 0.002s 116.598s 20 1,454 145.704s 0.002s 145.734s 21 1,507 151.026s 0.002s 151.068s 22 4,287 429.171s 0.003s 429.261s 23 4,788 479.621s 0.004s 479.708s Dec 19 00 5,765 577.358s 0.007s 577.482s 01 446 44.759s 0.002s 44.79s 02 5,341 534.612s 0.002s 534.714s 03 47 4.816s 0.001s 4.832s 04 0 0s 0s 0s 05 0 0s 0s 0s 06 2,129 213.445s 0.002s 213.525s 07 378 38.096s 0.002s 38.126s 08 3,310 331.625s 0.002s 331.7s 09 666 66.863s 0.002s 66.939s 10 488 49.163s 0.002s 49.194s 11 886 88.839s 0.002s 88.869s 12 478 48.088s 0.002s 48.118s 13 3,257 326.214s 0.003s 326.294s 14 575 57.792s 0.002s 57.824s 15 165 16.74s 0.003s 16.82s 16 222 22.416s 0.002s 22.446s 17 285 28.725s 0.002s 28.756s 18 304 30.626s 0.002s 30.655s 19 368 36.972s 0.003s 37.004s 20 87 8.917s 0.002s 8.948s 21 98 9.889s 0.002s 9.92s 22 1,674 167.823s 0.003s 167.868s 23 184 18.606s 0.002s 18.636s Dec 20 00 3,744 375.124s 0.003s 375.255s 01 139 14.102s 0.002s 14.13s 02 77 7.803s 0.001s 7.818s 03 51,022 1,638.826s 0.003s 1,639.308s 04 4,214 422.119s 0.002s 422.208s 05 184 18.618s 0.002s 18.648s 06 520 52.061s 0.002s 52.091s 07 344 34.64s 0.002s 34.67s 08 83 8.491s 0.002s 8.52s 09 172 17.406s 0.002s 17.436s 10 2,240 224.413s 0.003s 224.489s 11 5,666 567.295s 0.003s 567.398s 12 66,676 1,638.419s 0.003s 1,638.968s 13 57,585 1,656.119s 0.004s 1,656.636s 14 764 76.496s 0.003s 76.526s 15 280 28.22s 0.003s 28.251s 16 172 17.411s 0.002s 17.442s 17 345 34.733s 0.003s 34.765s 18 50,951 1,619.574s 0.002s 1,620.033s 19 4,650 465.645s 0.002s 465.714s 20 129 13.095s 0.002s 13.125s 21 169 17.101s 0.002s 17.131s 22 114 11.593s 0.002s 11.627s 23 74 7.498s 0.001s 7.513s Dec 21 00 27,733 1,788.412s 0.006s 1,788.736s 01 126 12.81s 0.002s 12.84s 02 941 94.424s 0.002s 94.499s 03 150 15.106s 0.002s 15.138s 04 3,789 379.655s 0.004s 379.702s 05 208 21.011s 0.002s 21.089s 06 288 29.024s 0.002s 29.054s 07 162 16.401s 0.002s 16.43s 08 41 4.196s 0.001s 4.214s 09 37,870 2,019.338s 0.005s 2,019.726s 10 187 18.91s 0.002s 18.938s 11 185 18.709s 0.002s 18.739s 12 180 18.204s 0.002s 18.235s 13 113 11.491s 0.002s 11.521s 14 199 20.121s 0.002s 20.151s 15 205 20.709s 0.002s 20.739s 16 105 10.69s 0.002s 10.767s 17 225 22.523s 0.002s 22.553s 18 115 11.705s 0.002s 11.735s 19 64 6.506s 0.001s 6.521s 20 85,751 1,646.644s 0.004s 1,646.692s 21 145 14.709s 0.002s 14.741s 22 263 26.522s 0.002s 26.551s 23 237 23.921s 0.002s 23.952s Day Hour Added Removed Recycled Synced files Longest sync Average sync Dec 15 00 0 0 8 84 0.001s 0.002s 01 0 0 0 37 0.001s 0.002s 02 0 0 72 51 0.001s 0.002s 03 0 0 0 45 0.001s 0.002s 04 0 0 1 35 0.001s 0.002s 05 0 0 0 41 0.001s 0.002s 06 0 0 0 90 0.001s 0.002s 07 0 0 1 131 0.001s 0.002s 08 0 0 38 48 0.001s 0.002s 09 0 0 0 34 0.001s 0.002s 10 0 0 1 93 0.001s 0.002s 11 0 0 0 86 0.001s 0.002s 12 0 0 1 111 0.001s 0.002s 13 0 0 35 41 0.001s 0.002s 14 0 0 0 30 0.001s 0.002s 15 0 0 2 29 0.001s 0.002s 16 0 0 2 35 0.001s 0.002s 17 0 0 0 26 0.001s 0.002s 18 0 0 0 18 0.001s 0.002s 19 0 0 1 17 0.001s 0.002s 20 0 0 0 27 0.001s 0.002s 21 0 0 1 27 0.001s 0.002s 22 0 0 1 49 0.001s 0.002s 23 0 0 41 42 0.001s 0.002s Dec 16 00 0 0 3 63 0.001s 0.002s 01 0 0 1 39 0.001s 0.002s 02 0 0 1 50 0.001s 0.002s 03 0 0 6 61 0.001s 0.002s 04 0 0 0 38 0.001s 0.002s 05 0 0 4 38 0.001s 0.002s 06 0 0 0 33 0.001s 0.002s 07 0 0 6 94 0.001s 0.002s 08 0 0 0 25 0.001s 0.002s 09 0 0 1 29 0.001s 0.002s 10 0 0 0 36 0.001s 0.002s 11 0 0 0 89 0.001s 0.002s 12 0 0 1 111 0.001s 0.002s 13 0 0 0 79 0.001s 0.002s 14 0 0 1 109 0.001s 0.002s 15 0 0 1 121 0.001s 0.002s 16 0 0 0 129 0.001s 0.002s 17 0 0 2 101 0.001s 0.002s 18 0 0 0 20 0.001s 0.002s 19 0 0 0 23 0.001s 0.002s 20 0 0 8 29 0.001s 0.002s 21 0 0 12 67 0.001s 0.002s 22 0 0 1 35 0.001s 0.002s 23 0 0 0 37 0.001s 0.002s Dec 17 00 0 0 4 72 0.001s 0.002s 01 0 0 0 37 0.001s 0.002s 02 0 0 36 56 0.001s 0.002s 03 0 0 1 42 0.001s 0.002s 04 0 0 1 33 0.001s 0.002s 05 0 0 0 30 0.001s 0.002s 06 0 0 41 149 0.001s 0.002s 07 0 0 1 147 0.001s 0.002s 08 0 0 0 141 0.001s 0.002s 09 0 0 1 24 0.001s 0.002s 10 0 0 0 26 0.001s 0.002s 11 0 0 3 42 0.001s 0.002s 12 0 0 0 115 0.001s 0.002s 13 0 0 1 25 0.001s 0.002s 14 0 0 0 23 0.001s 0.002s 15 0 0 1 29 0.001s 0.002s 16 0 0 0 17 0.001s 0.002s 17 0 0 0 24 0.001s 0.002s 18 0 0 1 20 0.001s 0.002s 19 0 0 0 24 0.001s 0.002s 20 0 0 1 22 0.001s 0.002s 21 0 0 1 34 0.001s 0.002s 22 0 0 1 30 0.001s 0.002s 23 0 0 1 15 0.001s 0.002s Dec 18 00 0 0 7 85 0.001s 0.002s 01 0 0 4 47 0.001s 0.002s 02 0 0 0 35 0.001s 0.002s 03 0 0 0 43 0.001s 0.002s 04 0 0 1 34 0.001s 0.002s 05 0 0 0 35 0.001s 0.002s 06 0 0 5 49 0.001s 0.002s 07 0 0 2 102 0.001s 0.002s 08 0 0 5 137 0.001s 0.002s 09 0 0 2 96 0.001s 0.002s 10 0 0 4 129 0.001s 0.002s 11 0 0 0 123 0.001s 0.002s 12 0 0 1 118 0.001s 0.002s 13 0 0 0 68 0.001s 0.002s 14 0 0 1 31 0.001s 0.002s 15 0 0 0 27 0.001s 0.002s 16 0 0 1 24 0.001s 0.002s 17 0 0 1 71 0.001s 0.002s 18 0 0 0 129 0.001s 0.002s 19 0 0 1 60 0.001s 0.002s 20 0 0 0 24 0.001s 0.002s 21 0 0 1 29 0.001s 0.002s 22 0 0 2 50 0.001s 0.002s 23 0 0 2 30 0.002s 0.002s Dec 19 00 0 0 4 69 0.005s 0.002s 01 0 0 0 33 0.001s 0.002s 02 0 0 3 51 0.001s 0.002s 03 0 0 0 7 0.001s 0.001s 04 0 0 0 0 0s 0s 05 0 0 0 0 0s 0s 06 0 0 1 135 0.001s 0.002s 07 0 0 0 118 0.001s 0.002s 08 0 0 1 78 0.001s 0.002s 09 0 0 1 114 0.001s 0.002s 10 0 0 0 32 0.001s 0.002s 11 0 0 0 75 0.001s 0.002s 12 0 0 0 98 0.001s 0.002s 13 0 0 1 104 0.001s 0.002s 14 0 0 0 20 0.001s 0.002s 15 0 0 1 15 0.001s 0.002s 16 0 0 0 16 0.001s 0.002s 17 0 0 0 25 0.001s 0.002s 18 0 0 0 16 0.001s 0.002s 19 0 0 0 27 0.001s 0.002s 20 0 0 0 13 0.001s 0.002s 21 0 0 0 15 0.001s 0.002s 22 0 0 0 43 0.001s 0.002s 23 0 0 0 20 0.001s 0.002s Dec 20 00 0 0 2 78 0.001s 0.002s 01 0 0 0 31 0.001s 0.002s 02 0 0 0 16 0.001s 0.001s 03 0 0 34 68 0.001s 0.003s 04 0 0 2 36 0.001s 0.002s 05 0 0 0 36 0.001s 0.002s 06 0 0 0 45 0.001s 0.002s 07 0 0 0 64 0.001s 0.002s 08 0 0 0 17 0.001s 0.002s 09 0 0 0 25 0.001s 0.002s 10 0 0 1 45 0.001s 0.002s 11 0 0 3 38 0.001s 0.002s 12 0 0 41 47 0.001s 0.002s 13 0 0 38 135 0.001s 0.002s 14 0 0 0 45 0.001s 0.002s 15 0 0 0 16 0.001s 0.002s 16 0 0 0 22 0.001s 0.002s 17 0 0 0 22 0.001s 0.002s 18 0 0 34 20 0.001s 0.001s 19 0 0 3 31 0.001s 0.002s 20 0 0 0 15 0.001s 0.002s 21 0 0 0 18 0.001s 0.002s 22 0 0 0 17 0.001s 0.002s 23 0 0 0 8 0.001s 0.001s Dec 21 00 0 0 17 89 0.002s 0.003s 01 0 0 0 28 0.001s 0.002s 02 0 0 1 39 0.001s 0.002s 03 0 0 0 30 0.001s 0.002s 04 0 0 1 48 0.001s 0.002s 05 0 0 1 34 0.001s 0.002s 06 0 0 0 33 0.001s 0.002s 07 0 0 0 23 0.001s 0.002s 08 0 0 0 7 0.001s 0.001s 09 0 0 23 67 0.001s 0.003s 10 0 0 0 29 0.001s 0.002s 11 0 0 0 19 0.001s 0.002s 12 0 0 0 22 0.001s 0.002s 13 0 0 0 15 0.001s 0.002s 14 0 0 0 25 0.001s 0.002s 15 0 0 0 25 0.001s 0.002s 16 0 0 1 16 0.001s 0.002s 17 0 0 0 22 0.001s 0.002s 18 0 0 0 20 0.001s 0.002s 19 0 0 0 7 0.001s 0.001s 20 0 0 0 38 0.001s 0.003s 21 0 0 0 17 0.001s 0.002s 22 0 0 0 24 0.001s 0.002s 23 0 0 0 22 0.001s 0.002s Day Hour Count Avg time (sec) Dec 15 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Dec 16 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Dec 17 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 Dec 18 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 Dec 19 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 Dec 20 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 Dec 21 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 Dec 15 00 62,433.50 kB 62,433.50 kB 01 2,179.50 kB 70,459.00 kB 02 585,988.00 kB 1,111,284.00 kB 03 4,524.00 kB 900,994.00 kB 04 2,733.50 kB 730,306.00 kB 05 3,203.00 kB 592,148.50 kB 06 3,463.50 kB 480,260.50 kB 07 4,030.50 kB 389,785.00 kB 08 310,374.50 kB 586,909.00 kB 09 3,695.00 kB 476,082.00 kB 10 5,022.00 kB 386,508.50 kB 11 4,541.00 kB 313,952.00 kB 12 3,932.50 kB 255,108.00 kB 13 282,860.50 kB 390,051.00 kB 14 2,962.50 kB 481,009.00 kB 15 21,068.50 kB 393,607.00 kB 16 9,407.50 kB 320,632.00 kB 17 3,648.50 kB 260,374.00 kB 18 3,333.50 kB 211,541.00 kB 19 3,317.00 kB 171,965.00 kB 20 3,978.50 kB 140,028.50 kB 21 7,691.50 kB 114,510.50 kB 22 9,644.00 kB 94,767.50 kB 23 333,327.50 kB 372,782.50 kB Dec 16 00 27,597.00 kB 571,030.00 kB 01 1,303.50 kB 464,767.00 kB 02 7,691.00 kB 377,363.00 kB 03 54,469.00 kB 314,394.00 kB 04 1,621.00 kB 257,134.00 kB 05 30,115.50 kB 211,448.00 kB 06 2,629.50 kB 174,316.00 kB 07 47,183.50 kB 146,107.50 kB 08 1,762.00 kB 122,727.00 kB 09 2,308.50 kB 99,824.50 kB 10 3,112.00 kB 81,365.00 kB 11 2,689.00 kB 66,478.00 kB 12 3,463.00 kB 54,497.00 kB 13 3,500.50 kB 44,778.50 kB 14 3,178.50 kB 36,892.50 kB 15 7,855.00 kB 30,931.50 kB 16 5,878.50 kB 26,412.00 kB 17 10,740.00 kB 23,342.50 kB 18 3,445.50 kB 19,856.00 kB 19 3,740.50 kB 16,782.00 kB 20 32,531.00 kB 38,348.00 kB 21 121,442.00 kB 121,540.00 kB 22 13,445.00 kB 157,321.00 kB 23 4,653.50 kB 128,237.50 kB Dec 17 00 25,394.00 kB 107,648.00 kB 01 1,982.50 kB 88,763.50 kB 02 299,333.00 kB 331,493.00 kB 03 8,374.00 kB 501,904.50 kB 04 2,912.50 kB 407,588.00 kB 05 2,732.50 kB 330,700.50 kB 06 333,942.50 kB 630,819.00 kB 07 9,447.00 kB 512,251.50 kB 08 4,121.50 kB 416,213.00 kB 09 2,969.00 kB 337,725.00 kB 10 3,062.00 kB 274,148.50 kB 11 21,316.50 kB 226,073.00 kB 12 3,939.00 kB 183,894.00 kB 13 3,431.50 kB 149,588.00 kB 14 3,275.00 kB 121,814.50 kB 15 3,852.00 kB 99,404.00 kB 16 3,612.50 kB 81,182.50 kB 17 3,134.50 kB 66,388.00 kB 18 3,427.50 kB 54,398.50 kB 19 4,366.00 kB 44,833.50 kB 20 4,366.00 kB 37,175.50 kB 21 12,971.00 kB 31,769.00 kB 22 5,470.00 kB 27,596.50 kB 23 4,215.50 kB 23,130.00 kB Dec 18 00 59,392.00 kB 59,392.00 kB 01 30,991.00 kB 81,999.50 kB 02 1,444.00 kB 69,333.00 kB 03 4,084.00 kB 56,690.00 kB 04 2,298.50 kB 46,561.00 kB 05 2,588.50 kB 38,186.50 kB 06 31,318.50 kB 45,773.50 kB 07 26,418.00 kB 53,286.00 kB 08 39,837.00 kB 66,983.00 kB 09 18,740.00 kB 56,897.50 kB 10 28,218.50 kB 52,615.50 kB 11 4,173.50 kB 43,411.00 kB 12 4,669.50 kB 36,026.00 kB 13 4,078.50 kB 30,001.00 kB 14 4,096.50 kB 25,070.50 kB 15 4,396.50 kB 21,132.50 kB 16 4,574.00 kB 17,952.50 kB 17 7,564.50 kB 15,981.50 kB 18 5,917.50 kB 14,037.50 kB 19 3,778.50 kB 12,188.00 kB 20 4,283.50 kB 10,670.00 kB 21 4,846.50 kB 9,499.00 kB 22 12,599.00 kB 18,507.50 kB 23 18,532.50 kB 31,161.50 kB Dec 19 00 36,807.50 kB 38,007.50 kB 01 1,492.50 kB 39,998.50 kB 02 24,346.50 kB 44,855.50 kB 03 263.00 kB 38,345.00 kB 04 0.00 kB 0.00 kB 05 0.00 kB 0.00 kB 06 3,237.50 kB 33,249.00 kB 07 1,112.00 kB 27,216.50 kB 08 10,837.00 kB 24,136.00 kB 09 1,691.50 kB 19,858.50 kB 10 1,345.50 kB 16,321.50 kB 11 2,199.50 kB 13,619.50 kB 12 1,460.00 kB 11,320.50 kB 13 9,844.50 kB 10,718.50 kB 14 1,060.50 kB 9,434.50 kB 15 464.00 kB 7,701.50 kB 16 650.50 kB 6,363.50 kB 17 834.00 kB 5,312.00 kB 18 791.00 kB 4,451.00 kB 19 1,035.00 kB 3,803.00 kB 20 228.00 kB 3,142.50 kB 21 267.00 kB 1,546.00 kB 22 5,458.50 kB 8,999.50 kB 23 524.00 kB 7,436.50 kB Dec 20 00 11,614.50 kB 19,620.50 kB 01 394.00 kB 16,070.50 kB 02 441.00 kB 13,767.00 kB 03 185,516.33 kB 501,768.33 kB 04 14,982.50 kB 387,558.50 kB 05 486.50 kB 314,019.00 kB 06 961.00 kB 254,526.50 kB 07 1,278.50 kB 206,336.00 kB 08 227.50 kB 167,269.00 kB 09 481.00 kB 135,578.00 kB 10 6,545.50 kB 111,061.00 kB 11 29,593.50 kB 92,941.00 kB 12 330,448.50 kB 626,341.00 kB 13 311,656.00 kB 589,904.50 kB 14 2,589.50 kB 478,308.00 kB 15 821.00 kB 387,661.50 kB 16 474.50 kB 314,124.50 kB 17 823.00 kB 254,560.50 kB 18 558,108.00 kB 558,108.00 kB 19 23,621.00 kB 481,646.00 kB 20 354.00 kB 390,206.50 kB 21 450.00 kB 316,145.00 kB 22 315.00 kB 256,145.50 kB 23 433.00 kB 218,460.00 kB Dec 21 00 92,453.00 kB 241,463.00 kB 01 341.00 kB 185,530.00 kB 02 2,683.50 kB 150,788.50 kB 03 435.00 kB 122,217.50 kB 04 13,427.00 kB 100,840.50 kB 05 573.00 kB 82,488.00 kB 06 892.00 kB 66,984.00 kB 07 443.00 kB 54,341.50 kB 08 235.00 kB 46,388.00 kB 09 127,916.67 kB 323,476.67 kB 10 543.50 kB 249,653.50 kB 11 425.50 kB 202,307.50 kB 12 488.00 kB 163,959.50 kB 13 352.50 kB 132,886.00 kB 14 577.00 kB 107,750.00 kB 15 536.00 kB 87,362.00 kB 16 327.50 kB 70,843.00 kB 17 600.50 kB 57,475.50 kB 18 316.50 kB 46,639.00 kB 19 363.00 kB 39,816.00 kB 20 599.33 kB 32,494.33 kB 21 440.00 kB 25,015.50 kB 22 752.50 kB 20,405.50 kB 23 654.00 kB 16,661.50 kB -
Temporary Files
Size of temporary files
Key values
- 8.67 MiB Temp Files size Peak
- 2024-12-15 00:21:36 Date
Number of temporary files
Key values
- 6 per second Temp Files Peak
- 2024-12-15 00:21:36 Date
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Dec 15 00 6 8.67 MiB 1.45 MiB 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 Dec 16 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Dec 17 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 Dec 18 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 Dec 19 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 Dec 20 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 Dec 21 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Queries generating the most temporary files (N)
Rank Count Total size Min size Max size Avg size Query 1 6 8.67 MiB 48.00 KiB 2.58 MiB 1.45 MiB vacuum full analyze log_query;-
VACUUM FULL ANALYZE log_query;
Date: 2024-12-15 00:21:36 Duration: 0ms
Queries generating the largest temporary files
Rank Size Query 1 2.58 MiB VACUUM FULL ANALYZE log_query;[ Date: 2024-12-15 00:21:36 ]
2 2.19 MiB VACUUM FULL ANALYZE log_query;[ Date: 2024-12-15 00:21:36 ]
3 1.67 MiB VACUUM FULL ANALYZE log_query;[ Date: 2024-12-15 00:21:36 ]
4 1.40 MiB VACUUM FULL ANALYZE log_query;[ Date: 2024-12-15 00:21:36 ]
5 808.00 KiB VACUUM FULL ANALYZE log_query;[ Date: 2024-12-15 00:21:36 ]
6 48.00 KiB VACUUM FULL ANALYZE log_query;[ Date: 2024-12-15 00:21:36 ]
-
Vacuums
Vacuums / Analyzes Distribution
Key values
- 48.23 sec Highest CPU-cost vacuum
Table pub1.term_set_enrichment_agent
Database ctdprd51 - 2024-12-18 06:16:19 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 48.23 sec Highest CPU-cost vacuum
Table pub1.term_set_enrichment_agent
Database ctdprd51 - 2024-12-18 06:16:19 Date
Analyzes per table
Key values
- pubc.log_query (180) Main table analyzed (database ctdprd51)
- 193 analyzes Total
Table Number of analyzes ctdprd51.pubc.log_query 180 ctdprd51.pub1.term_set_enrichment 3 ctdprd51.pub1.term_comp 3 ctdprd51.pub1.term_set_enrichment_agent 2 ctdprd51.pg_catalog.pg_index 1 ctdprd51.pub1.term_comp_agent 1 ctdprd51.pg_catalog.pg_class 1 ctdprd51.pg_catalog.pg_shdepend 1 ctdprd51.pg_catalog.pg_attribute 1 Total 193 Vacuums per table
Key values
- pubc.log_query (57) Main table vacuumed on database ctdprd51
- 67 vacuums Total
Index Buffer usage Skipped WAL usage Table Vacuums scans hits misses dirtied pins frozen records full page bytes ctdprd51.pubc.log_query 57 33 77,629 0 15,270 0 20,770 26,203 1,348 11,877,107 ctdprd51.pg_toast.pg_toast_2619 3 3 11,583 0 3,016 0 30,187 8,778 2,863 1,530,145 ctdprd51.pub1.term_comp 2 0 390 0 31 0 0 67 4 29,319 ctdprd51.pg_toast.pg_toast_486223 2 0 52 0 0 0 0 2 0 376 ctdprd51.pub1.term_set_enrichment 1 0 8,612 0 3,879 0 0 4,252 2 263,551 ctdprd51.pg_catalog.pg_statistic 1 1 625 0 132 0 37 353 123 555,760 ctdprd51.pub1.term_set_enrichment_agent 1 0 418,339 0 207,719 0 0 209,027 9 12,402,655 Total 67 37 517,230 2,349 230,047 0 50,994 248,682 4,349 26,658,913 Tuples removed per table
Key values
- pubc.log_query (69994) Main table with removed tuples on database ctdprd51
- 81298 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain ctdprd51.pubc.log_query 57 33 69,994 1,061,308 8 0 62,575 ctdprd51.pg_toast.pg_toast_2619 3 3 10,886 54,142 61 0 37,776 ctdprd51.pg_catalog.pg_statistic 1 1 418 2,709 43 0 290 ctdprd51.pub1.term_comp 2 0 0 10,025 0 0 95 ctdprd51.pg_toast.pg_toast_486223 2 0 0 0 0 0 0 ctdprd51.pub1.term_set_enrichment 1 0 0 1,308,336 0 0 21,619 ctdprd51.pub1.term_set_enrichment_agent 1 0 0 98,356,581 0 0 1,117,690 Total 67 37 81,298 100,793,101 112 0 1,240,045 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.pub1.term_comp 2 0 0 0 ctdprd51.pg_toast.pg_toast_486223 2 0 0 0 ctdprd51.pg_toast.pg_toast_2619 3 3 10886 0 ctdprd51.pub1.term_set_enrichment 1 0 0 0 ctdprd51.pubc.log_query 57 33 69994 0 ctdprd51.pg_catalog.pg_statistic 1 1 418 0 ctdprd51.pub1.term_set_enrichment_agent 1 0 0 0 Total 67 37 81,298 0 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Dec 15 00 0 3 01 0 4 02 0 3 03 0 2 04 0 2 05 0 1 06 0 2 07 0 1 08 0 1 09 0 0 10 0 1 11 0 1 12 0 0 13 0 1 14 0 0 15 0 1 16 0 1 17 0 0 18 0 0 19 0 1 20 0 0 21 0 2 22 0 0 23 0 2 Dec 16 00 0 3 01 0 4 02 0 3 03 0 2 04 0 2 05 0 2 06 0 1 07 0 1 08 0 1 09 0 1 10 0 1 11 0 2 12 0 1 13 0 1 14 0 0 15 0 1 16 0 1 17 0 1 18 0 1 19 0 0 20 0 1 21 0 2 22 0 1 23 0 0 Dec 17 00 0 3 01 0 4 02 0 3 03 0 2 04 0 2 05 0 2 06 0 1 07 0 1 08 0 1 09 0 1 10 0 1 11 0 1 12 0 0 13 0 1 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 0 Dec 18 00 0 5 01 0 3 02 0 1 03 0 3 04 0 2 05 0 2 06 0 1 07 0 1 08 0 1 09 0 1 10 0 2 11 0 1 12 0 1 13 0 1 14 0 1 15 0 0 16 0 1 17 0 1 18 0 0 19 0 1 20 0 0 21 0 1 22 0 0 23 0 0 Dec 19 00 0 2 01 0 6 02 0 1 03 0 0 04 0 0 05 0 1 06 0 1 07 0 0 08 0 1 09 0 0 10 0 1 11 0 1 12 0 1 13 0 1 14 0 0 15 0 0 16 0 0 17 0 0 18 0 1 19 0 0 20 0 0 21 0 0 22 0 0 23 0 0 Dec 20 00 0 3 01 0 3 02 0 2 03 0 2 04 0 2 05 0 2 06 0 1 07 0 1 08 0 1 09 0 1 10 0 0 11 0 4 12 0 5 13 0 4 14 0 2 15 0 0 16 0 0 17 0 1 18 0 0 19 0 0 20 0 0 21 0 0 22 0 0 23 0 0 Dec 21 00 0 1 01 0 2 02 0 2 03 0 1 04 0 2 05 0 3 06 0 1 07 0 1 08 0 1 09 0 1 10 0 1 11 0 0 12 0 1 13 0 1 14 0 0 15 0 1 16 0 0 17 0 1 18 0 0 19 0 1 20 0 0 21 0 1 22 0 0 23 0 1 - 48.23 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
- 6,949 Total read queries
- 367 Total write queries
Queries by database
Key values
- unknown Main database
- 4,646 Requests
- 9h56m5s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 10,047 Requests
User Request type Count Duration editeu Total 14 54s72ms select 14 54s72ms load Total 6 8s951ms select 6 8s951ms postgres Total 108 51m28s copy to 108 51m28s pubc Total 2 2s177ms select 2 2s177ms pubeu Total 5,692 16h16m14s cte 49 2m44s select 5,643 16h13m30s qaeu Total 85 3m32s cte 17 58s716ms select 68 2m33s unknown Total 10,047 21h30m50s copy to 694 6h39m18s cte 66 1m41s others 9 52s847ms select 9,278 14h48m57s Duration by user
Key values
- 21h30m50s (unknown) Main time consuming user
User Request type Count Duration editeu Total 14 54s72ms select 14 54s72ms load Total 6 8s951ms select 6 8s951ms postgres Total 108 51m28s copy to 108 51m28s pubc Total 2 2s177ms select 2 2s177ms pubeu Total 5,692 16h16m14s cte 49 2m44s select 5,643 16h13m30s qaeu Total 85 3m32s cte 17 58s716ms select 68 2m33s unknown Total 10,047 21h30m50s copy to 694 6h39m18s cte 66 1m41s others 9 52s847ms select 9,278 14h48m57s Queries by host
Key values
- unknown Main host
- 15,954 Requests
- 1d14h43m11s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 7,273 Requests
- 17h46m43s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2024-12-19 11:46:54 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 6,923 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 49m1s 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 = '2079075') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2024-12-19 20:20:00 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
2 49m1s 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 = '2079075') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2024-12-19 20:20:02 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
3 48m56s 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 = '2079075') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2024-12-19 20:20:02 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
4 48m40s 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 = '2079075') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2024-12-19 20:19:40 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
5 48m28s 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 = '2079075') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2024-12-19 20:19:13 - Bind query: yes ]
6 23m55s 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-12-21 19:00:57 ]
7 23m44s 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-12-21 19:43:35 ]
8 21m55s /* * 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-12-19 00:21:57 ]
9 21m49s /* * 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-12-20 00:21:50 ]
10 21m45s /* * 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-12-18 00:21:47 ]
11 21m40s /* * 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-12-16 00:21:42 ]
12 21m39s /* * 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-12-21 00:21:40 ]
13 21m34s /* * 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-12-15 00:21:36 ]
14 21m32s /* * 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-12-17 00:21:34 ]
15 17m43s SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1245241') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-12-19 01:51:41 - Bind query: yes ]
16 17m41s SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1245241') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-12-19 01:52:01 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
17 17m36s SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'NEURODEVELOPMENTAL DISORDERS' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0)))) ORDER BY g.nm_sort, g.id LIMIT 50;[ Date: 2024-12-16 09:14:19 - Bind query: yes ]
18 12m22s SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein' OR tp.nm = 'gene' OR tp.nm = 'mRNA'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL INSUFFICIENCY' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Label */ dp.descendant_object_id FROM dag_path dp INNER JOIN term_label l ON l.term_id = dp.ancestor_object_id WHERE UPPER(l.nm) LIKE 'LEAD' AND l.object_type_id = 2))) ORDER BY g.nm_sort, g.id LIMIT 50;[ Date: 2024-12-17 04:19:12 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
19 12m4s SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein' OR tp.nm = 'gene' OR tp.nm = 'mRNA'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL INSUFFICIENCY' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Label */ dp.descendant_object_id FROM dag_path dp INNER JOIN term_label l ON l.term_id = dp.ancestor_object_id WHERE UPPER(l.nm) LIKE 'LEAD' AND l.object_type_id = 2))) ORDER BY g.nm_sort, g.id LIMIT 50;[ Date: 2024-12-17 04:19:54 - Bind query: yes ]
20 12m3s 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 = '2079172') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc;[ Date: 2024-12-19 11:58:35 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 4h38m30s 156 1s28ms 49m1s 1m47s 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 #1
Day Hour Count Duration Avg duration Dec 15 01 2 5s367ms 2s683ms 05 1 14s803ms 14s803ms 17 2 14s911ms 7s455ms Dec 16 02 4 6s413ms 1s603ms 07 2 2s74ms 1s37ms 08 1 1s65ms 1s65ms 10 3 6s495ms 2s165ms 16 1 1s592ms 1s592ms Dec 17 15 1 2s290ms 2s290ms Dec 18 03 2 2s581ms 1s290ms 07 1 26s221ms 26s221ms 23 1 7s401ms 7s401ms Dec 19 02 8 3m33s 26s645ms 06 3 1m45s 35s126ms 08 10 21s751ms 2s175ms 09 11 2m49s 15s448ms 10 32 9m11s 17s226ms 11 19 5m9s 16s285ms 13 8 1m58s 14s798ms 15 10 2m 12s15ms 19 3 3m32s 1m10s 20 5 4h4m9s 48m49s 21 1 1s190ms 1s190ms Dec 20 02 3 4s637ms 1s545ms 07 10 18s608ms 1s860ms 14 1 1s111ms 1s111ms 16 1 6s934ms 6s934ms 18 1 13s265ms 13s265ms 21 2 3s731ms 1s865ms 23 3 34s879ms 11s626ms Dec 21 02 1 1s341ms 1s341ms 07 1 1s366ms 1s366ms 19 1 1s436ms 1s436ms 21 1 1m 1m [ User: pubeu - Total duration: 3h35m13s - Times executed: 83 ]
-
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 = '2079075') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-12-19 20:20:00 Duration: 49m1s 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 = '2079075') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-12-19 20:20:02 Duration: 49m1s 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 = '2079075') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-12-19 20:20:02 Duration: 48m56s Database: ctdprd51 User: pubeu Bind query: yes
2 2h31m57s 7 21m32s 21m55s 21m42s select maint_query_logs_archive ();Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Dec 15 00 1 21m34s 21m34s Dec 16 00 1 21m40s 21m40s Dec 17 00 1 21m32s 21m32s Dec 18 00 1 21m45s 21m45s Dec 19 00 1 21m55s 21m55s Dec 20 00 1 21m49s 21m49s Dec 21 00 1 21m39s 21m39s -
/* * 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-12-19 00:21:57 Duration: 21m55s
-
/* * 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-12-20 00:21:50 Duration: 21m49s
-
/* * 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-12-18 00:21:47 Duration: 21m45s
3 1h2m53s 25 1s409ms 17m43s 2m30s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Dec 17 00 1 3s152ms 3s152ms 04 2 6s736ms 3s368ms 05 1 1s781ms 1s781ms 06 1 1s704ms 1s704ms Dec 18 01 1 1s615ms 1s615ms Dec 19 01 4 35m30s 8m52s Dec 20 05 12 27m 2m15s Dec 21 03 1 3s163ms 3s163ms 04 1 1s409ms 1s409ms 08 1 3s202ms 3s202ms [ User: pubeu - Total duration: 33m10s - Times executed: 11 ]
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1245241') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-12-19 01:51:41 Duration: 17m43s Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1245241') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-12-19 01:52:01 Duration: 17m41s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1260421') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-12-20 05:48:37 Duration: 5m13s Database: ctdprd51 User: pubeu Bind query: yes
4 46m33s 30 1s35ms 12m3s 1m33s 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;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Dec 16 18 1 1s912ms 1s912ms Dec 19 07 2 2s112ms 1s56ms 09 8 13s123ms 1s640ms 10 4 24s530ms 6s132ms 11 8 45m38s 5m42s 13 6 11s636ms 1s939ms Dec 21 13 1 2s103ms 2s103ms [ User: pubeu - Total duration: 45m58s - Times executed: 18 ]
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2079172') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc;
Date: 2024-12-19 11:58:35 Duration: 12m3s 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 = '2079172') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc;
Date: 2024-12-19 11:58:35 Duration: 11m55s 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 = '2079172') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc;
Date: 2024-12-19 11:58:35 Duration: 11m2s Database: ctdprd51 User: pubeu Bind query: yes
5 44m36s 1,816 1s406ms 2s763ms 1s474ms 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 #5
Day Hour Count Duration Avg duration Dec 15 00 12 17s688ms 1s474ms 01 13 19s242ms 1s480ms 02 13 19s199ms 1s476ms 03 12 17s690ms 1s474ms 04 13 19s151ms 1s473ms 05 14 20s818ms 1s487ms 06 7 10s306ms 1s472ms 07 10 14s786ms 1s478ms 08 12 17s650ms 1s470ms 09 14 20s532ms 1s466ms 10 12 17s643ms 1s470ms 11 9 13s236ms 1s470ms 12 10 14s722ms 1s472ms 13 12 17s632ms 1s469ms 14 13 19s85ms 1s468ms 15 12 17s638ms 1s469ms 16 13 19s137ms 1s472ms 17 12 17s632ms 1s469ms 18 13 19s190ms 1s476ms 19 12 17s614ms 1s467ms 20 13 19s86ms 1s468ms 21 12 17s683ms 1s473ms 22 12 17s703ms 1s475ms 23 14 20s676ms 1s476ms Dec 16 00 13 19s223ms 1s478ms 01 12 17s610ms 1s467ms 02 13 19s172ms 1s474ms 03 12 17s660ms 1s471ms 04 13 19s157ms 1s473ms 05 14 20s675ms 1s476ms 06 13 19s324ms 1s486ms 07 12 17s712ms 1s476ms 08 12 17s615ms 1s467ms 09 13 19s153ms 1s473ms 10 13 19s397ms 1s492ms 11 13 19s114ms 1s470ms 12 15 22s115ms 1s474ms 13 14 20s604ms 1s471ms 14 14 20s629ms 1s473ms 15 12 17s632ms 1s469ms 16 11 16s240ms 1s476ms 17 17 25s37ms 1s472ms 18 15 22s31ms 1s468ms 19 17 25s18ms 1s471ms 20 16 23s618ms 1s476ms 21 19 27s911ms 1s469ms 22 20 29s468ms 1s473ms 23 17 25s226ms 1s483ms Dec 17 00 20 29s325ms 1s466ms 01 13 19s102ms 1s469ms 02 16 23s652ms 1s478ms 03 18 26s513ms 1s472ms 04 19 27s993ms 1s473ms 05 18 26s502ms 1s472ms 06 18 26s516ms 1s473ms 07 11 16s236ms 1s476ms 08 14 20s707ms 1s479ms 09 12 17s742ms 1s478ms 10 13 19s231ms 1s479ms 11 10 14s779ms 1s477ms 12 13 19s99ms 1s469ms 13 12 17s729ms 1s477ms 14 13 19s56ms 1s465ms 15 12 17s696ms 1s474ms 16 13 19s142ms 1s472ms 17 12 17s732ms 1s477ms 18 13 19s130ms 1s471ms 19 12 17s851ms 1s487ms 20 13 19s145ms 1s472ms 21 12 17s589ms 1s465ms 22 13 19s244ms 1s480ms 23 12 17s660ms 1s471ms Dec 18 00 13 19s156ms 1s473ms 01 13 19s171ms 1s474ms 02 14 20s833ms 1s488ms 03 15 22s143ms 1s476ms 04 13 19s119ms 1s470ms 05 14 20s755ms 1s482ms 06 13 19s191ms 1s476ms 07 10 14s756ms 1s475ms 08 12 17s651ms 1s470ms 09 10 14s682ms 1s468ms 10 12 17s617ms 1s468ms 11 7 10s271ms 1s467ms 12 9 13s250ms 1s472ms 13 12 17s726ms 1s477ms 14 13 19s77ms 1s467ms 15 12 17s670ms 1s472ms 16 12 17s647ms 1s470ms 17 12 17s744ms 1s478ms 18 12 17s646ms 1s470ms 19 12 17s652ms 1s471ms 20 12 17s694ms 1s474ms 21 12 17s654ms 1s471ms 22 12 17s680ms 1s473ms 23 11 16s264ms 1s478ms Dec 19 00 12 17s702ms 1s475ms 01 15 22s346ms 1s489ms 02 6 8s858ms 1s476ms 05 13 21s175ms 1s628ms 06 5 7s398ms 1s479ms 07 17 26s550ms 1s561ms 08 24 35s958ms 1s498ms 09 13 19s407ms 1s492ms 10 26 41s975ms 1s614ms 11 17 25s541ms 1s502ms 12 17 25s25ms 1s472ms 13 16 24s780ms 1s548ms 15 23 34s38ms 1s479ms 16 39 57s177ms 1s466ms 17 27 39s689ms 1s469ms 18 25 36s684ms 1s467ms 19 14 20s714ms 1s479ms 20 2 3s316ms 1s658ms 21 21 30s765ms 1s465ms 22 27 38s819ms 1s437ms 23 23 33s17ms 1s435ms Dec 20 00 12 17s202ms 1s433ms 01 12 17s218ms 1s434ms 02 12 17s195ms 1s432ms 03 11 15s705ms 1s427ms 04 12 17s122ms 1s426ms 05 15 21s718ms 1s447ms 06 11 15s798ms 1s436ms 07 12 17s62ms 1s421ms 08 12 17s90ms 1s424ms 09 11 15s702ms 1s427ms 10 12 17s304ms 1s442ms 11 12 17s141ms 1s428ms 12 11 15s747ms 1s431ms 13 12 17s67ms 1s422ms 14 11 15s754ms 1s432ms 16 2 2s857ms 1s428ms Dec 21 01 1 1s428ms 1s428ms 02 1 1s459ms 1s459ms 05 2 2s877ms 1s438ms 06 1 1s419ms 1s419ms 15 1 1s431ms 1s431ms [ User: pubeu - Total duration: 18m54s - Times executed: 768 ]
[ User: qaeu - Total duration: 1s469ms - Times executed: 1 ]
-
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-12-19 10:14:09 Duration: 2s763ms 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-12-19 05:41:14 Duration: 2s453ms 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-12-19 07:31:44 Duration: 2s255ms Bind query: yes
6 30m38s 148 11s17ms 15s151ms 12s421ms select distinct phenotypeterm.nm as gonm, phenotypeterm.nm_html as gonmhtml, phenotypeterm.acc_txt as goacc, diseaseterm.nm as diseasenm, diseaseterm.nm_html as diseasenmhtml, diseaseterm.acc_txt as diseaseacc, diseaseterm.acc_db_cd as diseaseaccdbcd, chemterm.nm as chemnm, chemterm.nm_html as chemnmhtml, chemterm.acc_txt as chemacc, geneterm.nm as genesymbol, geneterm.nm_html as genesymbolhtml, geneterm.acc_txt as geneacc, count(*) over () fullrowcount from phenotype_term_reference viachemptr, phenotype_term_reference viageneptr, term phenotypeterm, term diseaseterm, term geneterm, term chemterm where viachemptr.via_term_id in ( select baseterm.id from term baseterm where baseterm.object_type_id = ? and baseterm.id in ( select term_id from term_label tl where upper(tl.nm) = ? and tl.object_type_id = ?)) and viachemptr.phenotype_id = phenotypeterm.id and viachemptr.term_object_type_id = ? and viachemptr.term_id = diseaseterm.id and viachemptr.via_term_object_type_id = ? and viachemptr.via_term_id = chemterm.id and viachemptr.term_id = viageneptr.term_id and viachemptr.phenotype_id = viageneptr.phenotype_id and viageneptr.via_term_object_type_id = ? and viageneptr.via_term_id = geneterm.id and exists ( select ? from gene_chem_reference where gene_id = geneterm.id and chem_id = chemterm.id) group by phenotypeterm.nm, phenotypeterm.nm_html, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.nm_html, diseaseterm.acc_txt, diseaseterm.acc_db_cd, chemterm.nm, chemterm.nm_html, chemterm.acc_txt, geneterm.nm, geneterm.nm_html, geneterm.acc_txt order by chemterm.nm;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Dec 18 20 106 22m34s 12s778ms 22 11 2m9s 11s732ms Dec 19 10 7 1m21s 11s712ms 11 2 24s809ms 12s404ms Dec 20 18 10 1m52s 11s265ms Dec 21 00 2 22s235ms 11s117ms 10 10 1m53s 11s308ms [ User: pubeu - Total duration: 13m32s - Times executed: 67 ]
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'ETHANOL' AND tl.object_type_id = 2)) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm;
Date: 2024-12-18 20:49:35 Duration: 15s151ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'ETHANOL' AND tl.object_type_id = 2)) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm;
Date: 2024-12-18 20:45:16 Duration: 15s128ms Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'ETHANOL' AND tl.object_type_id = 2)) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm;
Date: 2024-12-18 20:48:27 Duration: 14s841ms Bind query: yes
7 24m27s 2 12m4s 12m22s 12m13s select g.id geneid, g.acc_txt acc, g.nm nm, g.nm nmhtml, g.secondary_nm secondarynm, g.has_chems haschems, g.has_diseases hasdiseases, g.has_exposures hasexposures, g.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term g where g.id in ( select gcr.gene_id from gene_chem_reference gcr where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ? or tp.nm = ? or tp.nm = ?))) and gcr.gene_id = any (array (( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select gd.gene_id from term t inner join dag_path dp on t.id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(t.nm) like ? and t.object_type_id = ? and gd.curated_reference_qty > ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term_label l on l.term_id = dp.ancestor_object_id where upper(l.nm) like ? and l.object_type_id = ?))) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Dec 17 04 2 24m27s 12m13s [ User: pubeu - Total duration: 12m22s - Times executed: 1 ]
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein' OR tp.nm = 'gene' OR tp.nm = 'mRNA'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL INSUFFICIENCY' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Label */ dp.descendant_object_id FROM dag_path dp INNER JOIN term_label l ON l.term_id = dp.ancestor_object_id WHERE UPPER(l.nm) LIKE 'LEAD' AND l.object_type_id = 2))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-12-17 04:19:12 Duration: 12m22s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein' OR tp.nm = 'gene' OR tp.nm = 'mRNA'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL INSUFFICIENCY' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Label */ dp.descendant_object_id FROM dag_path dp INNER JOIN term_label l ON l.term_id = dp.ancestor_object_id WHERE UPPER(l.nm) LIKE 'LEAD' AND l.object_type_id = 2))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-12-17 04:19:54 Duration: 12m4s Bind query: yes
8 23m55s 1 23m55s 23m55s 23m55s 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 Dec 21 19 1 23m55s 23m55s -
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-12-21 19:00:57 Duration: 23m55s
9 23m44s 1 23m44s 23m44s 23m44s 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 Dec 21 19 1 23m44s 23m44s -
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-12-21 19:43:35 Duration: 23m44s
10 23m22s 360 3s593ms 5s84ms 3s895ms 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 Dec 15 00 1 3s663ms 3s663ms 03 1 3s750ms 3s750ms 05 2 7s867ms 3s933ms 09 12 46s924ms 3s910ms 10 3 12s114ms 4s38ms 12 2 7s402ms 3s701ms 13 1 4s99ms 4s99ms 15 1 3s695ms 3s695ms 16 2 7s378ms 3s689ms 17 2 7s551ms 3s775ms 19 1 3s659ms 3s659ms 21 4 15s307ms 3s826ms 22 1 4s69ms 4s69ms 23 1 4s71ms 4s71ms Dec 16 00 5 20s5ms 4s1ms 01 2 8s58ms 4s29ms 02 4 15s380ms 3s845ms 03 3 11s24ms 3s674ms 04 1 4s45ms 4s45ms 05 6 24s417ms 4s69ms 06 5 19s792ms 3s958ms 07 1 3s624ms 3s624ms 08 1 3s766ms 3s766ms 09 2 8s65ms 4s32ms 10 1 3s813ms 3s813ms 11 5 19s671ms 3s934ms 13 5 19s731ms 3s946ms 15 2 7s703ms 3s851ms 16 1 3s939ms 3s939ms 19 2 7s285ms 3s642ms 20 4 15s83ms 3s770ms 21 1 4s86ms 4s86ms 22 1 3s745ms 3s745ms 23 2 7s748ms 3s874ms Dec 17 00 2 7s371ms 3s685ms 01 3 11s484ms 3s828ms 02 4 15s386ms 3s846ms 03 1 3s661ms 3s661ms 05 3 11s228ms 3s742ms 06 1 4s167ms 4s167ms 07 2 7s986ms 3s993ms 08 9 36s919ms 4s102ms 09 5 19s315ms 3s863ms 10 7 27s217ms 3s888ms 11 1 3s712ms 3s712ms 12 2 7s391ms 3s695ms 13 1 3s951ms 3s951ms 17 1 3s714ms 3s714ms 18 5 19s554ms 3s910ms 19 2 7s459ms 3s729ms 20 1 4s179ms 4s179ms 21 1 3s711ms 3s711ms 23 1 3s997ms 3s997ms Dec 18 00 2 8s112ms 4s56ms 01 3 11s245ms 3s748ms 02 1 3s838ms 3s838ms 04 3 11s204ms 3s734ms 05 3 11s500ms 3s833ms 06 5 19s684ms 3s936ms 07 5 19s377ms 3s875ms 08 3 11s659ms 3s886ms 09 3 12s90ms 4s30ms 10 1 4s68ms 4s68ms 11 3 11s686ms 3s895ms 12 3 11s340ms 3s780ms 13 1 5s84ms 5s84ms 14 2 7s985ms 3s992ms 15 1 3s995ms 3s995ms 16 2 7s703ms 3s851ms 17 7 27s81ms 3s868ms 18 2 7s490ms 3s745ms 19 3 11s400ms 3s800ms 20 1 3s927ms 3s927ms 21 1 4s67ms 4s67ms Dec 19 00 2 7s736ms 3s868ms 01 1 4s897ms 4s897ms 05 5 20s622ms 4s124ms 06 1 3s790ms 3s790ms 07 1 4s339ms 4s339ms 08 1 4s101ms 4s101ms 09 2 8s187ms 4s93ms 10 3 12s378ms 4s126ms 11 2 8s833ms 4s416ms 12 3 12s130ms 4s43ms 13 4 15s431ms 3s857ms 15 2 7s537ms 3s768ms 16 3 11s444ms 3s814ms 17 1 4s18ms 4s18ms 18 2 7s495ms 3s747ms 21 7 26s951ms 3s850ms 22 2 7s601ms 3s800ms 23 3 11s781ms 3s927ms Dec 20 00 1 3s797ms 3s797ms 01 3 11s647ms 3s882ms 02 7 27s196ms 3s885ms 03 16 1m1s 3s823ms 04 19 1m13s 3s850ms 06 1 3s718ms 3s718ms 07 10 38s656ms 3s865ms 08 9 33s904ms 3s767ms 09 3 11s638ms 3s879ms 10 3 11s630ms 3s876ms 11 1 3s868ms 3s868ms 12 4 15s628ms 3s907ms 13 3 11s702ms 3s900ms 15 1 4s31ms 4s31ms 16 1 3s723ms 3s723ms 18 1 3s849ms 3s849ms 20 1 3s827ms 3s827ms 21 2 7s820ms 3s910ms 22 1 3s889ms 3s889ms Dec 21 00 1 4s328ms 4s328ms 04 11 42s997ms 3s908ms 06 1 4s49ms 4s49ms 07 4 15s682ms 3s920ms 08 2 7s619ms 3s809ms 09 1 3s884ms 3s884ms 10 4 15s176ms 3s794ms 12 1 3s769ms 3s769ms 14 1 3s884ms 3s884ms 17 1 3s941ms 3s941ms 18 1 3s842ms 3s842ms 19 1 4s2ms 4s2ms 21 1 3s907ms 3s907ms 22 3 11s587ms 3s862ms [ User: pubeu - Total duration: 8m57s - Times executed: 138 ]
-
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 = '1316187') 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 = '1316187') 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-12-18 13:13:56 Duration: 5s84ms 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 = '1316622') 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 = '1316622') 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-12-19 11:46:00 Duration: 5s71ms 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 = '1343871') 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 = '1343871') 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-12-19 01:44:53 Duration: 4s897ms Bind query: yes
11 22m33s 2 10m43s 11m50s 11m16s select g.id geneid, g.acc_txt acc, g.nm nm, g.nm nmhtml, g.secondary_nm secondarynm, g.has_chems haschems, g.has_diseases hasdiseases, g.has_exposures hasexposures, g.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term g where g.id in ( select gcr.gene_id from gene_chem_reference gcr where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select gd.gene_id from term t inner join dag_path dp on t.id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(t.nm) like ? and t.object_type_id = ? and gd.curated_reference_qty > ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?))) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Dec 19 07 1 11m50s 11m50s 17 1 10m43s 10m43s [ User: pubeu - Total duration: 11m50s - Times executed: 1 ]
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'COL4A4') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL FAILURE, PROGRESSIVE, WITH HYPERTENSION' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05211' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE '2'',3''-DIDEOXY-2''-FLUOROADENOSINE TRIPHOSPHATE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-12-19 07:12:39 Duration: 11m50s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'COL4A4') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL FAILURE, PROGRESSIVE, WITH HYPERTENSION' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05211' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE '2'',3''-DIDEOXY-2''-FLUOROADENOSINE TRIPHOSPHATE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-12-19 17:54:01 Duration: 10m43s Bind query: yes
12 22m29s 2 10m50s 11m38s 11m14s select gcr.ixn_id, gcr.chem_id, gcr.gene_id, gcr.taxon_id from gene_chem_reference gcr where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select gd.gene_id from term t inner join dag_path dp on t.id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(t.nm) like ? and t.object_type_id = ? and gd.curated_reference_qty > ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?));Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Dec 19 06 1 11m38s 11m38s 17 1 10m50s 10m50s [ User: pubeu - Total duration: 10m50s - Times executed: 1 ]
-
SELECT /* CIQH.getIxnCacheQuery */ gcr.ixn_id, gcr.chem_id, gcr.gene_id, gcr.taxon_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'COL4A4') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL FAILURE, PROGRESSIVE, WITH HYPERTENSION' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05211' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE '2'',3''-DIDEOXY-2''-FLUOROADENOSINE TRIPHOSPHATE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7));
Date: 2024-12-19 06:26:56 Duration: 11m38s Bind query: yes
-
SELECT /* CIQH.getIxnCacheQuery */ gcr.ixn_id, gcr.chem_id, gcr.gene_id, gcr.taxon_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'COL4A4') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL FAILURE, PROGRESSIVE, WITH HYPERTENSION' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05211' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE '2'',3''-DIDEOXY-2''-FLUOROADENOSINE TRIPHOSPHATE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7));
Date: 2024-12-19 17:43:39 Duration: 10m50s Database: ctdprd51 User: pubeu Bind query: yes
13 18m2s 25 42s624ms 44s866ms 43s317ms 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 #13
Day Hour Count Duration Avg duration Dec 15 06 1 43s115ms 43s115ms 10 1 42s664ms 42s664ms 14 1 42s957ms 42s957ms 18 1 42s624ms 42s624ms Dec 16 06 1 42s947ms 42s947ms 10 1 43s140ms 43s140ms 14 1 43s201ms 43s201ms 18 1 43s192ms 43s192ms Dec 17 06 1 43s328ms 43s328ms 10 1 43s246ms 43s246ms 14 1 43s79ms 43s79ms 18 1 42s961ms 42s961ms Dec 18 06 1 43s371ms 43s371ms 10 1 43s634ms 43s634ms 14 1 43s203ms 43s203ms 18 1 43s121ms 43s121ms Dec 19 06 1 44s866ms 44s866ms 10 1 43s627ms 43s627ms 14 1 43s951ms 43s951ms 18 1 43s532ms 43s532ms Dec 20 06 1 43s532ms 43s532ms 10 1 43s378ms 43s378ms 14 1 43s712ms 43s712ms 18 1 43s359ms 43s359ms Dec 21 19 1 43s187ms 43s187ms [ User: postgres - Total duration: 17m19s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 17m19s - 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-12-19 06:05:46 Duration: 44s866ms 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-12-19 14:05:46 Duration: 43s951ms 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-12-20 14:05:45 Duration: 43s712ms Database: ctdprd51 User: postgres Application: pg_dump
14 17m36s 1 17m36s 17m36s 17m36s select g.id geneid, g.acc_txt acc, g.nm nm, g.nm nmhtml, g.secondary_nm secondarynm, g.has_chems haschems, g.has_diseases hasdiseases, g.has_exposures hasexposures, g.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term g where g.id in ( select gcr.gene_id from gene_chem_reference gcr where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gd.gene_id from term t inner join dag_path dp on t.id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(t.nm) like ? and t.object_type_id = ? and gd.curated_reference_qty > ?)))) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Dec 16 09 1 17m36s 17m36s -
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'NEURODEVELOPMENTAL DISORDERS' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0)))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-12-16 09:14:19 Duration: 17m36s Bind query: yes
15 13m47s 7 9s281ms 6m5s 1m58s 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 diseaseterm.nm_sort, phenotypeterm.nm_sort limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Dec 17 05 1 32s133ms 32s133ms Dec 20 05 5 7m10s 1m26s Dec 21 16 1 6m5s 6m5s [ User: pubeu - Total duration: 13m6s - Times executed: 5 ]
-
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 = '1217802') and diseaseTerm.object_type_id = 3 ORDER BY diseaseTerm.nm_sort, phenotypeTerm.nm_sort LIMIT 50;
Date: 2024-12-21 16:54:26 Duration: 6m5s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1263383') and diseaseTerm.object_type_id = 3 ORDER BY diseaseTerm.nm_sort, phenotypeTerm.nm_sort LIMIT 50;
Date: 2024-12-20 05:18:13 Duration: 2m50s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1263383') and diseaseTerm.object_type_id = 3 ORDER BY diseaseTerm.nm_sort, phenotypeTerm.nm_sort LIMIT 50;
Date: 2024-12-20 05:18:31 Duration: 2m47s Database: ctdprd51 User: pubeu Bind query: yes
16 13m35s 714 1s 2s348ms 1s142ms 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 #16
Day Hour Count Duration Avg duration Dec 15 00 2 2s256ms 1s128ms 01 4 4s690ms 1s172ms 02 4 4s549ms 1s137ms 03 1 1s171ms 1s171ms 04 2 2s352ms 1s176ms 05 7 8s173ms 1s167ms 06 7 8s333ms 1s190ms 07 6 6s737ms 1s122ms 08 7 8s70ms 1s152ms 09 2 2s349ms 1s174ms 10 4 4s670ms 1s167ms 11 1 1s173ms 1s173ms 12 3 3s518ms 1s172ms 13 3 3s524ms 1s174ms 14 3 3s398ms 1s132ms 15 6 6s954ms 1s159ms 16 9 10s322ms 1s146ms 17 4 4s507ms 1s126ms 18 4 4s656ms 1s164ms 19 3 3s427ms 1s142ms 20 5 5s603ms 1s120ms 21 9 10s483ms 1s164ms 22 4 4s559ms 1s139ms 23 3 3s525ms 1s175ms Dec 16 01 2 2s348ms 1s174ms 02 1 1s79ms 1s79ms 03 5 5s761ms 1s152ms 04 5 5s864ms 1s172ms 05 5 6s155ms 1s231ms 06 4 4s614ms 1s153ms 07 7 7s918ms 1s131ms 08 5 5s494ms 1s98ms 09 4 4s782ms 1s195ms 10 4 4s512ms 1s128ms 11 8 9s415ms 1s176ms 12 8 9s186ms 1s148ms 13 2 2s370ms 1s185ms 14 3 3s473ms 1s157ms 15 7 7s927ms 1s132ms 16 4 4s712ms 1s178ms 17 4 4s544ms 1s136ms 18 7 8s136ms 1s162ms 19 5 5s761ms 1s152ms 20 7 8s51ms 1s150ms 21 8 9s405ms 1s175ms 22 6 6s962ms 1s160ms 23 6 7s9ms 1s168ms Dec 17 00 6 7s126ms 1s187ms 01 6 7s104ms 1s184ms 02 14 16s290ms 1s163ms 03 5 5s939ms 1s187ms 04 1 1s200ms 1s200ms 05 8 10s144ms 1s268ms 06 3 3s522ms 1s174ms 07 8 9s225ms 1s153ms 08 6 6s956ms 1s159ms 09 5 5s824ms 1s164ms 10 9 10s462ms 1s162ms 11 1 1s92ms 1s92ms 13 5 5s543ms 1s108ms 14 7 8s69ms 1s152ms 15 3 3s943ms 1s314ms 16 4 5s198ms 1s299ms 17 5 5s789ms 1s157ms 18 7 8s152ms 1s164ms 19 2 2s240ms 1s120ms 20 4 4s567ms 1s141ms 21 4 4s474ms 1s118ms 22 3 3s502ms 1s167ms 23 2 2s321ms 1s160ms Dec 18 00 6 6s862ms 1s143ms 01 2 2s344ms 1s172ms 02 1 1s201ms 1s201ms 03 6 7s26ms 1s171ms 04 7 8s73ms 1s153ms 05 12 13s999ms 1s166ms 06 5 5s766ms 1s153ms 07 4 4s694ms 1s173ms 08 7 8s84ms 1s154ms 09 5 5s710ms 1s142ms 10 2 2s343ms 1s171ms 11 2 2s346ms 1s173ms 12 5 5s730ms 1s146ms 13 2 2s211ms 1s105ms 14 4 4s673ms 1s168ms 15 1 1s160ms 1s160ms 16 4 4s626ms 1s156ms 17 3 3s434ms 1s144ms 18 3 3s454ms 1s151ms 19 3 3s432ms 1s144ms 20 3 3s486ms 1s162ms 21 2 2s250ms 1s125ms 22 3 3s582ms 1s194ms 23 6 7s22ms 1s170ms Dec 19 00 2 2s445ms 1s222ms 01 30 35s688ms 1s189ms 02 1 1s89ms 1s89ms 05 3 3s988ms 1s329ms 06 1 1s207ms 1s207ms 07 1 1s98ms 1s98ms 09 1 1s286ms 1s286ms 10 5 6s516ms 1s303ms 11 1 1s285ms 1s285ms 12 6 7s57ms 1s176ms 13 3 3s671ms 1s223ms 15 3 3s704ms 1s234ms 16 4 4s503ms 1s125ms 17 5 5s797ms 1s159ms 18 3 3s389ms 1s129ms 19 2 2s145ms 1s72ms 21 4 4s202ms 1s50ms 22 4 4s280ms 1s70ms 23 3 3s100ms 1s33ms Dec 20 00 2 2s87ms 1s43ms 01 1 1s70ms 1s70ms 03 5 6s632ms 1s326ms 04 2 2s88ms 1s44ms 05 5 5s546ms 1s109ms 06 4 4s213ms 1s53ms 07 2 2s51ms 1s25ms 08 4 4s253ms 1s63ms 09 4 4s178ms 1s44ms 10 3 3s174ms 1s58ms 11 2 2s126ms 1s63ms 12 2 2s75ms 1s37ms 13 6 6s209ms 1s34ms 14 1 1s59ms 1s59ms 15 3 3s149ms 1s49ms 17 1 1s2ms 1s2ms 18 5 5s159ms 1s31ms 19 4 4s258ms 1s64ms 20 3 3s162ms 1s54ms 21 6 6s295ms 1s49ms 22 2 2s185ms 1s92ms 23 4 4s213ms 1s53ms Dec 21 00 4 4s254ms 1s63ms 01 4 4s303ms 1s75ms 02 2 2s138ms 1s69ms 03 4 4s259ms 1s64ms 04 2 2s136ms 1s68ms 05 9 9s853ms 1s94ms 06 5 5s351ms 1s70ms 07 9 9s378ms 1s42ms 08 5 5s335ms 1s67ms 09 4 4s214ms 1s53ms 10 3 3s153ms 1s51ms 11 4 4s311ms 1s77ms 13 5 5s308ms 1s61ms 14 9 9s608ms 1s67ms 15 4 4s271ms 1s67ms 16 5 5s209ms 1s41ms 17 7 7s570ms 1s81ms 18 8 8s434ms 1s54ms 19 12 13s121ms 1s93ms 20 7 7s629ms 1s89ms 21 2 2s144ms 1s72ms 22 6 8s419ms 1s403ms 23 5 5s777ms 1s155ms [ User: pubeu - Total duration: 5m12s - Times executed: 273 ]
-
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 = '1807357' or receptorTerm.id = '1807357' 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-12-20 03:37:32 Duration: 2s348ms 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 = '1799644' or receptorTerm.id = '1799644' 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-12-21 22:04:57 Duration: 1s876ms 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 = '1931547' or receptorTerm.id = '1931547' 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-12-21 22:30:49 Duration: 1s619ms Database: ctdprd51 User: pubeu Bind query: yes
17 13m24s 146 1s26ms 30s368ms 5s511ms 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 #17
Day Hour Count Duration Avg duration Dec 15 17 1 2s439ms 2s439ms Dec 16 04 1 1s333ms 1s333ms 13 1 1s101ms 1s101ms Dec 17 00 1 1s253ms 1s253ms 09 1 1s107ms 1s107ms 10 2 2s954ms 1s477ms 18 1 1s250ms 1s250ms Dec 18 00 1 1s111ms 1s111ms 01 8 10s383ms 1s297ms 07 1 1s184ms 1s184ms Dec 19 02 9 1m2s 6s994ms 07 7 1m14s 10s635ms 08 15 56s409ms 3s760ms 09 16 2m3s 7s710ms 10 38 4m4s 6s442ms 11 1 9s163ms 9s163ms 13 6 1m17s 12s943ms 15 15 1m10s 4s666ms 16 11 29s945ms 2s722ms 17 1 13s476ms 13s476ms 19 2 4s723ms 2s361ms Dec 20 10 1 1s26ms 1s26ms 15 1 1s177ms 1s177ms 23 1 1s295ms 1s295ms Dec 21 11 1 3s945ms 3s945ms 13 1 1s156ms 1s156ms 16 1 2s475ms 2s475ms 23 1 2s478ms 2s478ms [ User: pubeu - Total duration: 8m17s - Times executed: 77 ]
-
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 = '2084331') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 4367750;
Date: 2024-12-19 13:40:25 Duration: 30s368ms 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 = '2084331') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 4367750;
Date: 2024-12-19 13:40:45 Duration: 29s77ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2091134') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 3828650;
Date: 2024-12-19 07:41:34 Duration: 24s702ms Database: ctdprd51 User: pubeu Bind query: yes
18 12m21s 171 1s1ms 6s682ms 4s335ms 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 #18
Day Hour Count Duration Avg duration Dec 15 01 1 4s925ms 4s925ms 02 1 5s503ms 5s503ms 04 1 4s881ms 4s881ms 08 1 5s588ms 5s588ms 12 3 14s790ms 4s930ms 13 3 15s408ms 5s136ms 14 2 2s54ms 1s27ms 15 1 5s283ms 5s283ms 16 1 4s888ms 4s888ms 17 1 1s14ms 1s14ms Dec 16 01 1 4s850ms 4s850ms 02 3 14s439ms 4s813ms 05 2 9s749ms 4s874ms 06 1 1s10ms 1s10ms 09 3 7s132ms 2s377ms 11 2 2s37ms 1s18ms 12 1 1s5ms 1s5ms 14 1 4s836ms 4s836ms 15 5 21s783ms 4s356ms 16 3 15s837ms 5s279ms 19 1 4s945ms 4s945ms 20 3 15s267ms 5s89ms 21 1 4s906ms 4s906ms 23 1 5s80ms 5s80ms Dec 17 00 3 11s968ms 3s989ms 01 4 13s181ms 3s295ms 02 2 10s666ms 5s333ms 03 1 1s63ms 1s63ms 04 1 4s792ms 4s792ms 05 1 1s29ms 1s29ms 06 1 4s825ms 4s825ms 07 1 5s92ms 5s92ms 08 1 5s930ms 5s930ms 09 1 1s15ms 1s15ms 13 1 4s819ms 4s819ms 15 1 5s492ms 5s492ms 16 1 5s303ms 5s303ms 19 2 5s871ms 2s935ms 20 1 4s739ms 4s739ms 21 1 1s4ms 1s4ms 22 5 21s125ms 4s225ms Dec 18 01 2 10s617ms 5s308ms 02 1 4s906ms 4s906ms 06 1 4s833ms 4s833ms 07 4 20s576ms 5s144ms 09 1 1s95ms 1s95ms 12 1 4s756ms 4s756ms 13 1 5s34ms 5s34ms 16 1 4s846ms 4s846ms 17 1 1s37ms 1s37ms 20 1 4s811ms 4s811ms 21 1 4s888ms 4s888ms 22 3 11s309ms 3s769ms 23 3 15s998ms 5s332ms Dec 19 01 14 1m6s 4s771ms 08 1 5s637ms 5s637ms 10 2 11s29ms 5s514ms 11 2 5s907ms 2s953ms 15 1 1s15ms 1s15ms 16 1 4s925ms 4s925ms 17 2 6s548ms 3s274ms 21 5 24s787ms 4s957ms 22 4 18s851ms 4s712ms Dec 20 00 1 5s136ms 5s136ms 01 1 5s13ms 5s13ms 04 1 4s763ms 4s763ms 05 1 5s227ms 5s227ms 06 1 1s4ms 1s4ms 08 1 5s25ms 5s25ms 10 2 9s523ms 4s761ms 13 2 9s634ms 4s817ms 15 1 4s851ms 4s851ms 16 3 14s602ms 4s867ms 20 4 19s29ms 4s757ms 21 1 4s654ms 4s654ms Dec 21 01 1 4s804ms 4s804ms 04 2 10s335ms 5s167ms 05 1 4s891ms 4s891ms 07 1 1s21ms 1s21ms 08 10 47s798ms 4s779ms 12 1 5s62ms 5s62ms 14 1 4s725ms 4s725ms 15 5 23s579ms 4s715ms 16 3 14s650ms 4s883ms 21 3 10s655ms 3s551ms [ User: pubeu - Total duration: 3m33s - 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 = '1289986' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-12-19 01:36:29 Duration: 6s682ms 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 = '1312709' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-12-19 01:39:08 Duration: 6s386ms 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 = '1328438' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-12-19 21:56:55 Duration: 6s192ms Database: ctdprd51 User: pubeu Bind query: yes
19 11m49s 223 1s7ms 11s741ms 3s179ms 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 #19
Day Hour Count Duration Avg duration Dec 15 00 1 2s403ms 2s403ms 01 2 2s364ms 1s182ms 05 1 1s382ms 1s382ms 12 2 12s904ms 6s452ms 13 3 5s895ms 1s965ms 17 2 5s206ms 2s603ms 20 2 5s270ms 2s635ms 21 2 4s287ms 2s143ms Dec 16 01 1 2s715ms 2s715ms 06 1 1s360ms 1s360ms 08 3 15s225ms 5s75ms 11 3 5s748ms 1s916ms 12 1 2s585ms 2s585ms 13 3 14s13ms 4s671ms 14 3 11s289ms 3s763ms 16 2 4s295ms 2s147ms 17 1 1s268ms 1s268ms 18 3 3s539ms 1s179ms 20 2 5s791ms 2s895ms 21 1 10s323ms 10s323ms 22 1 1s390ms 1s390ms 23 4 25s556ms 6s389ms Dec 17 00 5 27s775ms 5s555ms 01 2 3s451ms 1s725ms 02 3 9s994ms 3s331ms 04 1 2s679ms 2s679ms 05 5 14s108ms 2s821ms 06 2 8s895ms 4s447ms 07 5 16s632ms 3s326ms 08 5 23s310ms 4s662ms 10 2 2s464ms 1s232ms 11 1 4s117ms 4s117ms 16 1 2s677ms 2s677ms Dec 18 00 3 14s112ms 4s704ms 01 1 1s203ms 1s203ms 02 1 2s459ms 2s459ms 05 1 2s351ms 2s351ms 07 2 4s127ms 2s63ms 10 1 1s206ms 1s206ms Dec 19 01 67 3m43s 3s332ms 02 1 2s850ms 2s850ms 05 1 1s71ms 1s71ms 06 2 2s596ms 1s298ms 09 2 5s796ms 2s898ms 10 8 15s271ms 1s908ms 11 5 15s355ms 3s71ms 12 1 1s38ms 1s38ms 15 2 7s207ms 3s603ms Dec 20 00 1 1s14ms 1s14ms 11 1 3s154ms 3s154ms 12 1 2s691ms 2s691ms 13 2 10s700ms 5s350ms 15 1 1s361ms 1s361ms 18 1 1s514ms 1s514ms 20 1 1s12ms 1s12ms 23 2 2s398ms 1s199ms Dec 21 00 1 1s422ms 1s422ms 01 1 1s390ms 1s390ms 02 3 8s694ms 2s898ms 03 2 10s822ms 5s411ms 04 2 2s681ms 1s340ms 06 1 4s351ms 4s351ms 07 2 3s232ms 1s616ms 08 1 1s269ms 1s269ms 10 1 2s431ms 2s431ms 12 1 4s521ms 4s521ms 13 2 7s411ms 3s705ms 14 1 4s683ms 4s683ms 15 1 5s194ms 5s194ms 16 1 3s956ms 3s956ms 17 4 17s210ms 4s302ms 18 3 7s98ms 2s366ms 19 1 6s632ms 6s632ms 20 3 11s89ms 3s696ms 21 3 10s627ms 3s542ms 22 3 3s825ms 1s275ms 23 2 5s885ms 2s942ms [ User: pubeu - Total duration: 4m11s - Times executed: 79 ]
-
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 = '2089378') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-12-19 01:43:28 Duration: 11s741ms 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 = '2089378') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-12-17 00:40:29 Duration: 11s180ms 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 = '2089378') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-12-17 08:22:28 Duration: 10s797ms Bind query: yes
20 10m47s 1 10m47s 10m47s 10m47s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?)) and gcr.id in ( select gcra.gene_chem_reference_id from gene_chem_reference_axn gcra where (gcra.action_degree_type_nm = ?)) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by c.nm_sort, g.nm_sort, i.sort_txt limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Dec 17 11 1 10m47s 10m47s [ User: pubeu - Total duration: 10m47s - Times executed: 1 ]
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE '5-HT1B') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA04730' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9605' AND n.dag_id = 7)) AND gcr.id IN ( SELECT gcra.gene_chem_reference_id FROM gene_chem_reference_axn gcra WHERE (gcra.action_degree_type_nm = 'decreases')) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-12-17 11:16:53 Duration: 10m47s Database: ctdprd51 User: pubeu Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 1,816 44m36s 1s406ms 2s763ms 1s474ms 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 #1
Day Hour Count Duration Avg duration Dec 15 00 12 17s688ms 1s474ms 01 13 19s242ms 1s480ms 02 13 19s199ms 1s476ms 03 12 17s690ms 1s474ms 04 13 19s151ms 1s473ms 05 14 20s818ms 1s487ms 06 7 10s306ms 1s472ms 07 10 14s786ms 1s478ms 08 12 17s650ms 1s470ms 09 14 20s532ms 1s466ms 10 12 17s643ms 1s470ms 11 9 13s236ms 1s470ms 12 10 14s722ms 1s472ms 13 12 17s632ms 1s469ms 14 13 19s85ms 1s468ms 15 12 17s638ms 1s469ms 16 13 19s137ms 1s472ms 17 12 17s632ms 1s469ms 18 13 19s190ms 1s476ms 19 12 17s614ms 1s467ms 20 13 19s86ms 1s468ms 21 12 17s683ms 1s473ms 22 12 17s703ms 1s475ms 23 14 20s676ms 1s476ms Dec 16 00 13 19s223ms 1s478ms 01 12 17s610ms 1s467ms 02 13 19s172ms 1s474ms 03 12 17s660ms 1s471ms 04 13 19s157ms 1s473ms 05 14 20s675ms 1s476ms 06 13 19s324ms 1s486ms 07 12 17s712ms 1s476ms 08 12 17s615ms 1s467ms 09 13 19s153ms 1s473ms 10 13 19s397ms 1s492ms 11 13 19s114ms 1s470ms 12 15 22s115ms 1s474ms 13 14 20s604ms 1s471ms 14 14 20s629ms 1s473ms 15 12 17s632ms 1s469ms 16 11 16s240ms 1s476ms 17 17 25s37ms 1s472ms 18 15 22s31ms 1s468ms 19 17 25s18ms 1s471ms 20 16 23s618ms 1s476ms 21 19 27s911ms 1s469ms 22 20 29s468ms 1s473ms 23 17 25s226ms 1s483ms Dec 17 00 20 29s325ms 1s466ms 01 13 19s102ms 1s469ms 02 16 23s652ms 1s478ms 03 18 26s513ms 1s472ms 04 19 27s993ms 1s473ms 05 18 26s502ms 1s472ms 06 18 26s516ms 1s473ms 07 11 16s236ms 1s476ms 08 14 20s707ms 1s479ms 09 12 17s742ms 1s478ms 10 13 19s231ms 1s479ms 11 10 14s779ms 1s477ms 12 13 19s99ms 1s469ms 13 12 17s729ms 1s477ms 14 13 19s56ms 1s465ms 15 12 17s696ms 1s474ms 16 13 19s142ms 1s472ms 17 12 17s732ms 1s477ms 18 13 19s130ms 1s471ms 19 12 17s851ms 1s487ms 20 13 19s145ms 1s472ms 21 12 17s589ms 1s465ms 22 13 19s244ms 1s480ms 23 12 17s660ms 1s471ms Dec 18 00 13 19s156ms 1s473ms 01 13 19s171ms 1s474ms 02 14 20s833ms 1s488ms 03 15 22s143ms 1s476ms 04 13 19s119ms 1s470ms 05 14 20s755ms 1s482ms 06 13 19s191ms 1s476ms 07 10 14s756ms 1s475ms 08 12 17s651ms 1s470ms 09 10 14s682ms 1s468ms 10 12 17s617ms 1s468ms 11 7 10s271ms 1s467ms 12 9 13s250ms 1s472ms 13 12 17s726ms 1s477ms 14 13 19s77ms 1s467ms 15 12 17s670ms 1s472ms 16 12 17s647ms 1s470ms 17 12 17s744ms 1s478ms 18 12 17s646ms 1s470ms 19 12 17s652ms 1s471ms 20 12 17s694ms 1s474ms 21 12 17s654ms 1s471ms 22 12 17s680ms 1s473ms 23 11 16s264ms 1s478ms Dec 19 00 12 17s702ms 1s475ms 01 15 22s346ms 1s489ms 02 6 8s858ms 1s476ms 05 13 21s175ms 1s628ms 06 5 7s398ms 1s479ms 07 17 26s550ms 1s561ms 08 24 35s958ms 1s498ms 09 13 19s407ms 1s492ms 10 26 41s975ms 1s614ms 11 17 25s541ms 1s502ms 12 17 25s25ms 1s472ms 13 16 24s780ms 1s548ms 15 23 34s38ms 1s479ms 16 39 57s177ms 1s466ms 17 27 39s689ms 1s469ms 18 25 36s684ms 1s467ms 19 14 20s714ms 1s479ms 20 2 3s316ms 1s658ms 21 21 30s765ms 1s465ms 22 27 38s819ms 1s437ms 23 23 33s17ms 1s435ms Dec 20 00 12 17s202ms 1s433ms 01 12 17s218ms 1s434ms 02 12 17s195ms 1s432ms 03 11 15s705ms 1s427ms 04 12 17s122ms 1s426ms 05 15 21s718ms 1s447ms 06 11 15s798ms 1s436ms 07 12 17s62ms 1s421ms 08 12 17s90ms 1s424ms 09 11 15s702ms 1s427ms 10 12 17s304ms 1s442ms 11 12 17s141ms 1s428ms 12 11 15s747ms 1s431ms 13 12 17s67ms 1s422ms 14 11 15s754ms 1s432ms 16 2 2s857ms 1s428ms Dec 21 01 1 1s428ms 1s428ms 02 1 1s459ms 1s459ms 05 2 2s877ms 1s438ms 06 1 1s419ms 1s419ms 15 1 1s431ms 1s431ms [ User: pubeu - Total duration: 18m54s - Times executed: 768 ]
[ User: qaeu - Total duration: 1s469ms - Times executed: 1 ]
-
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-12-19 10:14:09 Duration: 2s763ms 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-12-19 05:41:14 Duration: 2s453ms 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-12-19 07:31:44 Duration: 2s255ms Bind query: yes
2 714 13m35s 1s 2s348ms 1s142ms 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 Dec 15 00 2 2s256ms 1s128ms 01 4 4s690ms 1s172ms 02 4 4s549ms 1s137ms 03 1 1s171ms 1s171ms 04 2 2s352ms 1s176ms 05 7 8s173ms 1s167ms 06 7 8s333ms 1s190ms 07 6 6s737ms 1s122ms 08 7 8s70ms 1s152ms 09 2 2s349ms 1s174ms 10 4 4s670ms 1s167ms 11 1 1s173ms 1s173ms 12 3 3s518ms 1s172ms 13 3 3s524ms 1s174ms 14 3 3s398ms 1s132ms 15 6 6s954ms 1s159ms 16 9 10s322ms 1s146ms 17 4 4s507ms 1s126ms 18 4 4s656ms 1s164ms 19 3 3s427ms 1s142ms 20 5 5s603ms 1s120ms 21 9 10s483ms 1s164ms 22 4 4s559ms 1s139ms 23 3 3s525ms 1s175ms Dec 16 01 2 2s348ms 1s174ms 02 1 1s79ms 1s79ms 03 5 5s761ms 1s152ms 04 5 5s864ms 1s172ms 05 5 6s155ms 1s231ms 06 4 4s614ms 1s153ms 07 7 7s918ms 1s131ms 08 5 5s494ms 1s98ms 09 4 4s782ms 1s195ms 10 4 4s512ms 1s128ms 11 8 9s415ms 1s176ms 12 8 9s186ms 1s148ms 13 2 2s370ms 1s185ms 14 3 3s473ms 1s157ms 15 7 7s927ms 1s132ms 16 4 4s712ms 1s178ms 17 4 4s544ms 1s136ms 18 7 8s136ms 1s162ms 19 5 5s761ms 1s152ms 20 7 8s51ms 1s150ms 21 8 9s405ms 1s175ms 22 6 6s962ms 1s160ms 23 6 7s9ms 1s168ms Dec 17 00 6 7s126ms 1s187ms 01 6 7s104ms 1s184ms 02 14 16s290ms 1s163ms 03 5 5s939ms 1s187ms 04 1 1s200ms 1s200ms 05 8 10s144ms 1s268ms 06 3 3s522ms 1s174ms 07 8 9s225ms 1s153ms 08 6 6s956ms 1s159ms 09 5 5s824ms 1s164ms 10 9 10s462ms 1s162ms 11 1 1s92ms 1s92ms 13 5 5s543ms 1s108ms 14 7 8s69ms 1s152ms 15 3 3s943ms 1s314ms 16 4 5s198ms 1s299ms 17 5 5s789ms 1s157ms 18 7 8s152ms 1s164ms 19 2 2s240ms 1s120ms 20 4 4s567ms 1s141ms 21 4 4s474ms 1s118ms 22 3 3s502ms 1s167ms 23 2 2s321ms 1s160ms Dec 18 00 6 6s862ms 1s143ms 01 2 2s344ms 1s172ms 02 1 1s201ms 1s201ms 03 6 7s26ms 1s171ms 04 7 8s73ms 1s153ms 05 12 13s999ms 1s166ms 06 5 5s766ms 1s153ms 07 4 4s694ms 1s173ms 08 7 8s84ms 1s154ms 09 5 5s710ms 1s142ms 10 2 2s343ms 1s171ms 11 2 2s346ms 1s173ms 12 5 5s730ms 1s146ms 13 2 2s211ms 1s105ms 14 4 4s673ms 1s168ms 15 1 1s160ms 1s160ms 16 4 4s626ms 1s156ms 17 3 3s434ms 1s144ms 18 3 3s454ms 1s151ms 19 3 3s432ms 1s144ms 20 3 3s486ms 1s162ms 21 2 2s250ms 1s125ms 22 3 3s582ms 1s194ms 23 6 7s22ms 1s170ms Dec 19 00 2 2s445ms 1s222ms 01 30 35s688ms 1s189ms 02 1 1s89ms 1s89ms 05 3 3s988ms 1s329ms 06 1 1s207ms 1s207ms 07 1 1s98ms 1s98ms 09 1 1s286ms 1s286ms 10 5 6s516ms 1s303ms 11 1 1s285ms 1s285ms 12 6 7s57ms 1s176ms 13 3 3s671ms 1s223ms 15 3 3s704ms 1s234ms 16 4 4s503ms 1s125ms 17 5 5s797ms 1s159ms 18 3 3s389ms 1s129ms 19 2 2s145ms 1s72ms 21 4 4s202ms 1s50ms 22 4 4s280ms 1s70ms 23 3 3s100ms 1s33ms Dec 20 00 2 2s87ms 1s43ms 01 1 1s70ms 1s70ms 03 5 6s632ms 1s326ms 04 2 2s88ms 1s44ms 05 5 5s546ms 1s109ms 06 4 4s213ms 1s53ms 07 2 2s51ms 1s25ms 08 4 4s253ms 1s63ms 09 4 4s178ms 1s44ms 10 3 3s174ms 1s58ms 11 2 2s126ms 1s63ms 12 2 2s75ms 1s37ms 13 6 6s209ms 1s34ms 14 1 1s59ms 1s59ms 15 3 3s149ms 1s49ms 17 1 1s2ms 1s2ms 18 5 5s159ms 1s31ms 19 4 4s258ms 1s64ms 20 3 3s162ms 1s54ms 21 6 6s295ms 1s49ms 22 2 2s185ms 1s92ms 23 4 4s213ms 1s53ms Dec 21 00 4 4s254ms 1s63ms 01 4 4s303ms 1s75ms 02 2 2s138ms 1s69ms 03 4 4s259ms 1s64ms 04 2 2s136ms 1s68ms 05 9 9s853ms 1s94ms 06 5 5s351ms 1s70ms 07 9 9s378ms 1s42ms 08 5 5s335ms 1s67ms 09 4 4s214ms 1s53ms 10 3 3s153ms 1s51ms 11 4 4s311ms 1s77ms 13 5 5s308ms 1s61ms 14 9 9s608ms 1s67ms 15 4 4s271ms 1s67ms 16 5 5s209ms 1s41ms 17 7 7s570ms 1s81ms 18 8 8s434ms 1s54ms 19 12 13s121ms 1s93ms 20 7 7s629ms 1s89ms 21 2 2s144ms 1s72ms 22 6 8s419ms 1s403ms 23 5 5s777ms 1s155ms [ User: pubeu - Total duration: 5m12s - Times executed: 273 ]
-
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 = '1807357' or receptorTerm.id = '1807357' 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-12-20 03:37:32 Duration: 2s348ms 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 = '1799644' or receptorTerm.id = '1799644' 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-12-21 22:04:57 Duration: 1s876ms 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 = '1931547' or receptorTerm.id = '1931547' 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-12-21 22:30:49 Duration: 1s619ms Database: ctdprd51 User: pubeu Bind query: yes
3 360 23m22s 3s593ms 5s84ms 3s895ms 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 #3
Day Hour Count Duration Avg duration Dec 15 00 1 3s663ms 3s663ms 03 1 3s750ms 3s750ms 05 2 7s867ms 3s933ms 09 12 46s924ms 3s910ms 10 3 12s114ms 4s38ms 12 2 7s402ms 3s701ms 13 1 4s99ms 4s99ms 15 1 3s695ms 3s695ms 16 2 7s378ms 3s689ms 17 2 7s551ms 3s775ms 19 1 3s659ms 3s659ms 21 4 15s307ms 3s826ms 22 1 4s69ms 4s69ms 23 1 4s71ms 4s71ms Dec 16 00 5 20s5ms 4s1ms 01 2 8s58ms 4s29ms 02 4 15s380ms 3s845ms 03 3 11s24ms 3s674ms 04 1 4s45ms 4s45ms 05 6 24s417ms 4s69ms 06 5 19s792ms 3s958ms 07 1 3s624ms 3s624ms 08 1 3s766ms 3s766ms 09 2 8s65ms 4s32ms 10 1 3s813ms 3s813ms 11 5 19s671ms 3s934ms 13 5 19s731ms 3s946ms 15 2 7s703ms 3s851ms 16 1 3s939ms 3s939ms 19 2 7s285ms 3s642ms 20 4 15s83ms 3s770ms 21 1 4s86ms 4s86ms 22 1 3s745ms 3s745ms 23 2 7s748ms 3s874ms Dec 17 00 2 7s371ms 3s685ms 01 3 11s484ms 3s828ms 02 4 15s386ms 3s846ms 03 1 3s661ms 3s661ms 05 3 11s228ms 3s742ms 06 1 4s167ms 4s167ms 07 2 7s986ms 3s993ms 08 9 36s919ms 4s102ms 09 5 19s315ms 3s863ms 10 7 27s217ms 3s888ms 11 1 3s712ms 3s712ms 12 2 7s391ms 3s695ms 13 1 3s951ms 3s951ms 17 1 3s714ms 3s714ms 18 5 19s554ms 3s910ms 19 2 7s459ms 3s729ms 20 1 4s179ms 4s179ms 21 1 3s711ms 3s711ms 23 1 3s997ms 3s997ms Dec 18 00 2 8s112ms 4s56ms 01 3 11s245ms 3s748ms 02 1 3s838ms 3s838ms 04 3 11s204ms 3s734ms 05 3 11s500ms 3s833ms 06 5 19s684ms 3s936ms 07 5 19s377ms 3s875ms 08 3 11s659ms 3s886ms 09 3 12s90ms 4s30ms 10 1 4s68ms 4s68ms 11 3 11s686ms 3s895ms 12 3 11s340ms 3s780ms 13 1 5s84ms 5s84ms 14 2 7s985ms 3s992ms 15 1 3s995ms 3s995ms 16 2 7s703ms 3s851ms 17 7 27s81ms 3s868ms 18 2 7s490ms 3s745ms 19 3 11s400ms 3s800ms 20 1 3s927ms 3s927ms 21 1 4s67ms 4s67ms Dec 19 00 2 7s736ms 3s868ms 01 1 4s897ms 4s897ms 05 5 20s622ms 4s124ms 06 1 3s790ms 3s790ms 07 1 4s339ms 4s339ms 08 1 4s101ms 4s101ms 09 2 8s187ms 4s93ms 10 3 12s378ms 4s126ms 11 2 8s833ms 4s416ms 12 3 12s130ms 4s43ms 13 4 15s431ms 3s857ms 15 2 7s537ms 3s768ms 16 3 11s444ms 3s814ms 17 1 4s18ms 4s18ms 18 2 7s495ms 3s747ms 21 7 26s951ms 3s850ms 22 2 7s601ms 3s800ms 23 3 11s781ms 3s927ms Dec 20 00 1 3s797ms 3s797ms 01 3 11s647ms 3s882ms 02 7 27s196ms 3s885ms 03 16 1m1s 3s823ms 04 19 1m13s 3s850ms 06 1 3s718ms 3s718ms 07 10 38s656ms 3s865ms 08 9 33s904ms 3s767ms 09 3 11s638ms 3s879ms 10 3 11s630ms 3s876ms 11 1 3s868ms 3s868ms 12 4 15s628ms 3s907ms 13 3 11s702ms 3s900ms 15 1 4s31ms 4s31ms 16 1 3s723ms 3s723ms 18 1 3s849ms 3s849ms 20 1 3s827ms 3s827ms 21 2 7s820ms 3s910ms 22 1 3s889ms 3s889ms Dec 21 00 1 4s328ms 4s328ms 04 11 42s997ms 3s908ms 06 1 4s49ms 4s49ms 07 4 15s682ms 3s920ms 08 2 7s619ms 3s809ms 09 1 3s884ms 3s884ms 10 4 15s176ms 3s794ms 12 1 3s769ms 3s769ms 14 1 3s884ms 3s884ms 17 1 3s941ms 3s941ms 18 1 3s842ms 3s842ms 19 1 4s2ms 4s2ms 21 1 3s907ms 3s907ms 22 3 11s587ms 3s862ms [ User: pubeu - Total duration: 8m57s - Times executed: 138 ]
-
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 = '1316187') 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 = '1316187') 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-12-18 13:13:56 Duration: 5s84ms 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 = '1316622') 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 = '1316622') 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-12-19 11:46:00 Duration: 5s71ms 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 = '1343871') 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 = '1343871') 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-12-19 01:44:53 Duration: 4s897ms Bind query: yes
4 277 5m47s 1s68ms 5s201ms 1s254ms 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 #4
Day Hour Count Duration Avg duration Dec 15 00 2 2s514ms 1s257ms 01 2 2s359ms 1s179ms 03 1 1s174ms 1s174ms 05 3 4s4ms 1s334ms 06 1 1s265ms 1s265ms 07 1 1s263ms 1s263ms 08 1 1s275ms 1s275ms 10 1 1s213ms 1s213ms 11 2 2s423ms 1s211ms 12 3 3s787ms 1s262ms 14 1 1s270ms 1s270ms 15 3 3s678ms 1s226ms 16 1 1s152ms 1s152ms 17 1 1s278ms 1s278ms 22 2 2s459ms 1s229ms Dec 16 01 3 3s704ms 1s234ms 02 3 3s698ms 1s232ms 04 1 1s371ms 1s371ms 05 2 2s721ms 1s360ms 06 1 1s277ms 1s277ms 07 1 1s264ms 1s264ms 08 1 1s269ms 1s269ms 09 2 2s337ms 1s168ms 10 2 2s463ms 1s231ms 12 1 1s278ms 1s278ms 13 3 3s640ms 1s213ms 14 1 1s278ms 1s278ms 15 3 3s633ms 1s211ms 16 1 1s294ms 1s294ms 17 3 3s742ms 1s247ms 18 1 1s300ms 1s300ms 19 1 1s168ms 1s168ms 20 2 2s339ms 1s169ms 21 1 1s281ms 1s281ms 23 3 3s834ms 1s278ms Dec 17 00 5 6s143ms 1s228ms 01 1 1s336ms 1s336ms 02 2 2s564ms 1s282ms 03 2 2s361ms 1s180ms 04 2 2s739ms 1s369ms 05 3 4s69ms 1s356ms 06 7 8s936ms 1s276ms 07 1 1s251ms 1s251ms 08 3 3s779ms 1s259ms 09 2 2s610ms 1s305ms 10 2 2s569ms 1s284ms 13 6 8s242ms 1s373ms 15 1 1s256ms 1s256ms 16 1 1s359ms 1s359ms 17 1 1s395ms 1s395ms 18 5 6s4ms 1s200ms 19 1 1s172ms 1s172ms 20 1 1s241ms 1s241ms 21 1 1s164ms 1s164ms Dec 18 00 3 3s760ms 1s253ms 01 3 3s827ms 1s275ms 02 1 1s284ms 1s284ms 04 3 3s824ms 1s274ms 05 3 3s868ms 1s289ms 06 1 1s226ms 1s226ms 08 2 2s655ms 1s327ms 09 4 4s900ms 1s225ms 10 1 1s282ms 1s282ms 11 1 1s228ms 1s228ms 12 1 1s190ms 1s190ms 13 1 1s287ms 1s287ms 14 2 2s468ms 1s234ms 15 1 1s302ms 1s302ms 16 1 1s232ms 1s232ms 17 1 1s239ms 1s239ms 18 1 1s246ms 1s246ms 20 2 2s488ms 1s244ms 21 1 1s266ms 1s266ms 23 2 2s560ms 1s280ms Dec 19 00 1 1s248ms 1s248ms 01 4 5s57ms 1s264ms 02 2 2s358ms 1s179ms 05 2 3s47ms 1s523ms 08 2 2s698ms 1s349ms 09 2 4s607ms 2s303ms 10 5 6s985ms 1s397ms 11 3 3s897ms 1s299ms 12 1 1s396ms 1s396ms 15 2 2s781ms 1s390ms 16 2 2s435ms 1s217ms 17 4 4s984ms 1s246ms 18 1 1s319ms 1s319ms 19 1 1s228ms 1s228ms 21 2 2s309ms 1s154ms Dec 20 00 1 1s94ms 1s94ms 01 3 3s362ms 1s120ms 02 5 5s836ms 1s167ms 03 1 1s166ms 1s166ms 05 7 12s664ms 1s809ms 06 1 1s133ms 1s133ms 08 2 2s149ms 1s74ms 09 1 1s185ms 1s185ms 10 2 2s343ms 1s171ms 12 1 1s98ms 1s98ms 15 3 3s389ms 1s129ms 16 4 4s589ms 1s147ms 17 2 2s158ms 1s79ms 18 2 2s368ms 1s184ms 19 4 4s591ms 1s147ms 20 4 4s685ms 1s171ms 23 1 1s156ms 1s156ms Dec 21 00 1 1s130ms 1s130ms 01 3 3s351ms 1s117ms 02 1 1s182ms 1s182ms 03 3 3s466ms 1s155ms 04 2 2s424ms 1s212ms 05 3 3s675ms 1s225ms 06 3 3s625ms 1s208ms 07 2 2s349ms 1s174ms 08 1 1s189ms 1s189ms 09 5 5s989ms 1s197ms 10 2 2s441ms 1s220ms 12 1 1s159ms 1s159ms 13 5 5s729ms 1s145ms 14 2 2s302ms 1s151ms 15 4 4s608ms 1s152ms 16 2 2s353ms 1s176ms 17 5 5s839ms 1s167ms 18 2 2s286ms 1s143ms 19 3 3s512ms 1s170ms 20 2 2s254ms 1s127ms 21 1 1s122ms 1s122ms 23 3 3s760ms 1s253ms [ User: pubeu - Total duration: 2m16s - Times executed: 109 ]
[ User: qaeu - Total duration: 6s869ms - Times executed: 5 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1221429') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1221429') 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-12-20 05:23:17 Duration: 5s201ms 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 = '1221429') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1221429') 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-12-19 09:09:03 Duration: 3s193ms 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 = '1221432') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1221432') 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-12-19 10:14:27 Duration: 1s688ms Database: ctdprd51 User: pubeu Bind query: yes
5 225 5m12s 1s269ms 2s48ms 1s389ms 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 #5
Day Hour Count Duration Avg duration Dec 15 02 1 1s305ms 1s305ms 05 2 2s785ms 1s392ms 07 1 1s294ms 1s294ms 13 1 1s488ms 1s488ms Dec 16 02 1 1s485ms 1s485ms 04 5 6s762ms 1s352ms 05 2 2s790ms 1s395ms 08 2 2s636ms 1s318ms 09 2 2s642ms 1s321ms 10 1 1s319ms 1s319ms 11 1 1s339ms 1s339ms 12 1 1s484ms 1s484ms 13 1 1s334ms 1s334ms 14 1 1s338ms 1s338ms 15 4 5s803ms 1s450ms 18 1 1s437ms 1s437ms 19 1 1s343ms 1s343ms 20 1 1s329ms 1s329ms 21 1 1s332ms 1s332ms Dec 17 01 2 2s791ms 1s395ms 02 1 1s443ms 1s443ms 04 3 4s182ms 1s394ms 05 2 2s811ms 1s405ms 07 1 1s330ms 1s330ms 09 2 2s680ms 1s340ms 10 1 1s344ms 1s344ms 11 2 2s693ms 1s346ms 21 1 1s343ms 1s343ms 23 5 7s49ms 1s409ms Dec 18 01 1 1s478ms 1s478ms 02 1 1s446ms 1s446ms 03 3 4s314ms 1s438ms 04 5 6s981ms 1s396ms 05 2 2s680ms 1s340ms 06 2 2s799ms 1s399ms 08 1 1s434ms 1s434ms 10 1 1s360ms 1s360ms 13 3 4s88ms 1s362ms 14 1 1s357ms 1s357ms 15 2 2s851ms 1s425ms 21 4 5s562ms 1s390ms Dec 19 00 1 1s457ms 1s457ms 01 17 24s437ms 1s437ms 02 1 1s334ms 1s334ms 05 4 5s558ms 1s389ms 08 10 14s204ms 1s420ms 09 5 7s153ms 1s430ms 10 7 10s300ms 1s471ms 11 1 1s375ms 1s375ms 12 8 10s927ms 1s365ms 13 7 10s167ms 1s452ms 15 8 11s468ms 1s433ms 16 6 8s158ms 1s359ms 17 6 8s454ms 1s409ms 18 6 8s119ms 1s353ms 19 4 5s566ms 1s391ms 21 2 3s427ms 1s713ms Dec 20 01 6 8s179ms 1s363ms 04 2 2s730ms 1s365ms 05 2 2s742ms 1s371ms 09 1 1s391ms 1s391ms 10 1 1s283ms 1s283ms 11 12 16s275ms 1s356ms 12 2 2s577ms 1s288ms 13 5 6s407ms 1s281ms 14 1 1s281ms 1s281ms 17 1 1s405ms 1s405ms Dec 21 04 2 2s726ms 1s363ms 05 2 2s564ms 1s282ms 07 3 3s968ms 1s322ms 08 2 2s749ms 1s374ms 10 6 8s179ms 1s363ms 11 2 2s699ms 1s349ms 14 1 1s320ms 1s320ms 15 1 1s312ms 1s312ms 16 1 1s347ms 1s347ms 17 1 1s368ms 1s368ms 20 1 1s323ms 1s323ms 21 1 1s341ms 1s341ms [ User: pubeu - Total duration: 1m43s - Times executed: 74 ]
-
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-12-19 21:46:45 Duration: 2s48ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2024-12-19 08:15:32 Duration: 1s630ms 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-12-19 10:00:11 Duration: 1s596ms Bind query: yes
6 223 11m49s 1s7ms 11s741ms 3s179ms 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 Dec 15 00 1 2s403ms 2s403ms 01 2 2s364ms 1s182ms 05 1 1s382ms 1s382ms 12 2 12s904ms 6s452ms 13 3 5s895ms 1s965ms 17 2 5s206ms 2s603ms 20 2 5s270ms 2s635ms 21 2 4s287ms 2s143ms Dec 16 01 1 2s715ms 2s715ms 06 1 1s360ms 1s360ms 08 3 15s225ms 5s75ms 11 3 5s748ms 1s916ms 12 1 2s585ms 2s585ms 13 3 14s13ms 4s671ms 14 3 11s289ms 3s763ms 16 2 4s295ms 2s147ms 17 1 1s268ms 1s268ms 18 3 3s539ms 1s179ms 20 2 5s791ms 2s895ms 21 1 10s323ms 10s323ms 22 1 1s390ms 1s390ms 23 4 25s556ms 6s389ms Dec 17 00 5 27s775ms 5s555ms 01 2 3s451ms 1s725ms 02 3 9s994ms 3s331ms 04 1 2s679ms 2s679ms 05 5 14s108ms 2s821ms 06 2 8s895ms 4s447ms 07 5 16s632ms 3s326ms 08 5 23s310ms 4s662ms 10 2 2s464ms 1s232ms 11 1 4s117ms 4s117ms 16 1 2s677ms 2s677ms Dec 18 00 3 14s112ms 4s704ms 01 1 1s203ms 1s203ms 02 1 2s459ms 2s459ms 05 1 2s351ms 2s351ms 07 2 4s127ms 2s63ms 10 1 1s206ms 1s206ms Dec 19 01 67 3m43s 3s332ms 02 1 2s850ms 2s850ms 05 1 1s71ms 1s71ms 06 2 2s596ms 1s298ms 09 2 5s796ms 2s898ms 10 8 15s271ms 1s908ms 11 5 15s355ms 3s71ms 12 1 1s38ms 1s38ms 15 2 7s207ms 3s603ms Dec 20 00 1 1s14ms 1s14ms 11 1 3s154ms 3s154ms 12 1 2s691ms 2s691ms 13 2 10s700ms 5s350ms 15 1 1s361ms 1s361ms 18 1 1s514ms 1s514ms 20 1 1s12ms 1s12ms 23 2 2s398ms 1s199ms Dec 21 00 1 1s422ms 1s422ms 01 1 1s390ms 1s390ms 02 3 8s694ms 2s898ms 03 2 10s822ms 5s411ms 04 2 2s681ms 1s340ms 06 1 4s351ms 4s351ms 07 2 3s232ms 1s616ms 08 1 1s269ms 1s269ms 10 1 2s431ms 2s431ms 12 1 4s521ms 4s521ms 13 2 7s411ms 3s705ms 14 1 4s683ms 4s683ms 15 1 5s194ms 5s194ms 16 1 3s956ms 3s956ms 17 4 17s210ms 4s302ms 18 3 7s98ms 2s366ms 19 1 6s632ms 6s632ms 20 3 11s89ms 3s696ms 21 3 10s627ms 3s542ms 22 3 3s825ms 1s275ms 23 2 5s885ms 2s942ms [ User: pubeu - Total duration: 4m11s - Times executed: 79 ]
-
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 = '2089378') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-12-19 01:43:28 Duration: 11s741ms 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 = '2089378') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-12-17 00:40:29 Duration: 11s180ms 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 = '2089378') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-12-17 08:22:28 Duration: 10s797ms Bind query: yes
7 222 4m57s 1s80ms 2s779ms 1s340ms 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 Dec 15 01 1 1s176ms 1s176ms 03 1 1s297ms 1s297ms 05 4 5s288ms 1s322ms 07 1 1s208ms 1s208ms 08 1 1s273ms 1s273ms 09 2 2s347ms 1s173ms 10 1 1s166ms 1s166ms 11 1 1s194ms 1s194ms 12 2 2s604ms 1s302ms 16 2 2s529ms 1s264ms 17 1 1s239ms 1s239ms 19 1 1s305ms 1s305ms 20 1 1s294ms 1s294ms 21 3 3s792ms 1s264ms 22 1 1s260ms 1s260ms Dec 16 00 1 1s163ms 1s163ms 01 2 2s349ms 1s174ms 03 2 2s436ms 1s218ms 04 1 1s241ms 1s241ms 05 2 2s928ms 1s464ms 06 1 1s178ms 1s178ms 07 3 3s537ms 1s179ms 09 1 1s407ms 1s407ms 10 2 2s769ms 1s384ms 11 1 1s298ms 1s298ms 12 2 2s631ms 1s315ms 15 1 1s383ms 1s383ms 17 1 1s296ms 1s296ms 18 1 1s276ms 1s276ms 19 1 1s165ms 1s165ms 21 1 1s335ms 1s335ms 22 3 3s911ms 1s303ms 23 1 1s282ms 1s282ms Dec 17 00 2 2s623ms 1s311ms 01 2 2s510ms 1s255ms 02 1 1s220ms 1s220ms 03 1 1s229ms 1s229ms 05 3 4s175ms 1s391ms 06 2 2s557ms 1s278ms 07 3 3s706ms 1s235ms 08 4 4s897ms 1s224ms 10 1 1s299ms 1s299ms 13 1 1s191ms 1s191ms 14 3 3s875ms 1s291ms 15 1 1s286ms 1s286ms 16 1 1s223ms 1s223ms 17 1 1s202ms 1s202ms 18 1 1s284ms 1s284ms 20 2 2s387ms 1s193ms 22 1 1s278ms 1s278ms 23 1 1s380ms 1s380ms Dec 18 00 2 2s718ms 1s359ms 01 2 2s457ms 1s228ms 05 2 2s701ms 1s350ms 08 5 6s917ms 1s383ms 14 1 1s249ms 1s249ms 15 1 1s255ms 1s255ms 16 1 1s267ms 1s267ms 22 1 1s684ms 1s684ms Dec 19 01 33 50s938ms 1s543ms 02 2 4s100ms 2s50ms 05 4 5s895ms 1s473ms 06 3 4s277ms 1s425ms 08 3 4s90ms 1s363ms 09 3 4s311ms 1s437ms 10 7 11s805ms 1s686ms 11 2 3s23ms 1s511ms 12 4 5s275ms 1s318ms 13 1 1s447ms 1s447ms 15 4 5s678ms 1s419ms 17 2 2s462ms 1s231ms 19 2 2s404ms 1s202ms 21 1 2s135ms 2s135ms 23 1 1s100ms 1s100ms Dec 20 01 2 2s332ms 1s166ms 02 2 2s294ms 1s147ms 05 3 3s850ms 1s283ms 06 2 2s295ms 1s147ms 07 1 1s245ms 1s245ms 08 1 1s180ms 1s180ms 11 1 1s386ms 1s386ms 12 2 2s253ms 1s126ms 15 1 1s174ms 1s174ms 16 1 1s231ms 1s231ms 19 1 1s166ms 1s166ms 20 1 1s174ms 1s174ms 21 3 3s514ms 1s171ms 22 2 2s758ms 1s379ms 23 1 1s144ms 1s144ms Dec 21 00 1 1s80ms 1s80ms 01 2 2s248ms 1s124ms 02 1 1s147ms 1s147ms 03 1 1s196ms 1s196ms 05 3 3s706ms 1s235ms 06 1 1s256ms 1s256ms 07 3 4s73ms 1s357ms 08 2 2s418ms 1s209ms 09 1 1s212ms 1s212ms 13 3 3s600ms 1s200ms 15 1 1s224ms 1s224ms 16 2 2s307ms 1s153ms 18 1 1s111ms 1s111ms 19 4 4s893ms 1s223ms 20 1 1s158ms 1s158ms 21 2 2s512ms 1s256ms 22 1 1s338ms 1s338ms [ User: pubeu - Total duration: 1m51s - Times executed: 84 ]
[ User: qaeu - Total duration: 1s249ms - Times executed: 1 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.disease_id in ( select descendant_object_id from dag_path where ancestor_object_id = '2084359') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2084359') 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-12-19 02:16:33 Duration: 2s779ms 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 = '2086743') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2086743') 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-12-19 01:46:19 Duration: 2s591ms 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 = '2090638') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2090638') 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-12-19 01:45:59 Duration: 2s588ms Bind query: yes
8 171 12m21s 1s1ms 6s682ms 4s335ms 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 #8
Day Hour Count Duration Avg duration Dec 15 01 1 4s925ms 4s925ms 02 1 5s503ms 5s503ms 04 1 4s881ms 4s881ms 08 1 5s588ms 5s588ms 12 3 14s790ms 4s930ms 13 3 15s408ms 5s136ms 14 2 2s54ms 1s27ms 15 1 5s283ms 5s283ms 16 1 4s888ms 4s888ms 17 1 1s14ms 1s14ms Dec 16 01 1 4s850ms 4s850ms 02 3 14s439ms 4s813ms 05 2 9s749ms 4s874ms 06 1 1s10ms 1s10ms 09 3 7s132ms 2s377ms 11 2 2s37ms 1s18ms 12 1 1s5ms 1s5ms 14 1 4s836ms 4s836ms 15 5 21s783ms 4s356ms 16 3 15s837ms 5s279ms 19 1 4s945ms 4s945ms 20 3 15s267ms 5s89ms 21 1 4s906ms 4s906ms 23 1 5s80ms 5s80ms Dec 17 00 3 11s968ms 3s989ms 01 4 13s181ms 3s295ms 02 2 10s666ms 5s333ms 03 1 1s63ms 1s63ms 04 1 4s792ms 4s792ms 05 1 1s29ms 1s29ms 06 1 4s825ms 4s825ms 07 1 5s92ms 5s92ms 08 1 5s930ms 5s930ms 09 1 1s15ms 1s15ms 13 1 4s819ms 4s819ms 15 1 5s492ms 5s492ms 16 1 5s303ms 5s303ms 19 2 5s871ms 2s935ms 20 1 4s739ms 4s739ms 21 1 1s4ms 1s4ms 22 5 21s125ms 4s225ms Dec 18 01 2 10s617ms 5s308ms 02 1 4s906ms 4s906ms 06 1 4s833ms 4s833ms 07 4 20s576ms 5s144ms 09 1 1s95ms 1s95ms 12 1 4s756ms 4s756ms 13 1 5s34ms 5s34ms 16 1 4s846ms 4s846ms 17 1 1s37ms 1s37ms 20 1 4s811ms 4s811ms 21 1 4s888ms 4s888ms 22 3 11s309ms 3s769ms 23 3 15s998ms 5s332ms Dec 19 01 14 1m6s 4s771ms 08 1 5s637ms 5s637ms 10 2 11s29ms 5s514ms 11 2 5s907ms 2s953ms 15 1 1s15ms 1s15ms 16 1 4s925ms 4s925ms 17 2 6s548ms 3s274ms 21 5 24s787ms 4s957ms 22 4 18s851ms 4s712ms Dec 20 00 1 5s136ms 5s136ms 01 1 5s13ms 5s13ms 04 1 4s763ms 4s763ms 05 1 5s227ms 5s227ms 06 1 1s4ms 1s4ms 08 1 5s25ms 5s25ms 10 2 9s523ms 4s761ms 13 2 9s634ms 4s817ms 15 1 4s851ms 4s851ms 16 3 14s602ms 4s867ms 20 4 19s29ms 4s757ms 21 1 4s654ms 4s654ms Dec 21 01 1 4s804ms 4s804ms 04 2 10s335ms 5s167ms 05 1 4s891ms 4s891ms 07 1 1s21ms 1s21ms 08 10 47s798ms 4s779ms 12 1 5s62ms 5s62ms 14 1 4s725ms 4s725ms 15 5 23s579ms 4s715ms 16 3 14s650ms 4s883ms 21 3 10s655ms 3s551ms [ User: pubeu - Total duration: 3m33s - 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 = '1289986' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-12-19 01:36:29 Duration: 6s682ms 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 = '1312709' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-12-19 01:39:08 Duration: 6s386ms 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 = '1328438' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-12-19 21:56:55 Duration: 6s192ms Database: ctdprd51 User: pubeu Bind query: yes
9 156 4h38m30s 1s28ms 49m1s 1m47s 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 Dec 15 01 2 5s367ms 2s683ms 05 1 14s803ms 14s803ms 17 2 14s911ms 7s455ms Dec 16 02 4 6s413ms 1s603ms 07 2 2s74ms 1s37ms 08 1 1s65ms 1s65ms 10 3 6s495ms 2s165ms 16 1 1s592ms 1s592ms Dec 17 15 1 2s290ms 2s290ms Dec 18 03 2 2s581ms 1s290ms 07 1 26s221ms 26s221ms 23 1 7s401ms 7s401ms Dec 19 02 8 3m33s 26s645ms 06 3 1m45s 35s126ms 08 10 21s751ms 2s175ms 09 11 2m49s 15s448ms 10 32 9m11s 17s226ms 11 19 5m9s 16s285ms 13 8 1m58s 14s798ms 15 10 2m 12s15ms 19 3 3m32s 1m10s 20 5 4h4m9s 48m49s 21 1 1s190ms 1s190ms Dec 20 02 3 4s637ms 1s545ms 07 10 18s608ms 1s860ms 14 1 1s111ms 1s111ms 16 1 6s934ms 6s934ms 18 1 13s265ms 13s265ms 21 2 3s731ms 1s865ms 23 3 34s879ms 11s626ms Dec 21 02 1 1s341ms 1s341ms 07 1 1s366ms 1s366ms 19 1 1s436ms 1s436ms 21 1 1m 1m [ User: pubeu - Total duration: 3h35m13s - Times executed: 83 ]
-
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 = '2079075') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-12-19 20:20:00 Duration: 49m1s 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 = '2079075') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-12-19 20:20:02 Duration: 49m1s 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 = '2079075') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-12-19 20:20:02 Duration: 48m56s Database: ctdprd51 User: pubeu Bind query: yes
10 148 30m38s 11s17ms 15s151ms 12s421ms select distinct phenotypeterm.nm as gonm, phenotypeterm.nm_html as gonmhtml, phenotypeterm.acc_txt as goacc, diseaseterm.nm as diseasenm, diseaseterm.nm_html as diseasenmhtml, diseaseterm.acc_txt as diseaseacc, diseaseterm.acc_db_cd as diseaseaccdbcd, chemterm.nm as chemnm, chemterm.nm_html as chemnmhtml, chemterm.acc_txt as chemacc, geneterm.nm as genesymbol, geneterm.nm_html as genesymbolhtml, geneterm.acc_txt as geneacc, count(*) over () fullrowcount from phenotype_term_reference viachemptr, phenotype_term_reference viageneptr, term phenotypeterm, term diseaseterm, term geneterm, term chemterm where viachemptr.via_term_id in ( select baseterm.id from term baseterm where baseterm.object_type_id = ? and baseterm.id in ( select term_id from term_label tl where upper(tl.nm) = ? and tl.object_type_id = ?)) and viachemptr.phenotype_id = phenotypeterm.id and viachemptr.term_object_type_id = ? and viachemptr.term_id = diseaseterm.id and viachemptr.via_term_object_type_id = ? and viachemptr.via_term_id = chemterm.id and viachemptr.term_id = viageneptr.term_id and viachemptr.phenotype_id = viageneptr.phenotype_id and viageneptr.via_term_object_type_id = ? and viageneptr.via_term_id = geneterm.id and exists ( select ? from gene_chem_reference where gene_id = geneterm.id and chem_id = chemterm.id) group by phenotypeterm.nm, phenotypeterm.nm_html, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.nm_html, diseaseterm.acc_txt, diseaseterm.acc_db_cd, chemterm.nm, chemterm.nm_html, chemterm.acc_txt, geneterm.nm, geneterm.nm_html, geneterm.acc_txt order by chemterm.nm;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Dec 18 20 106 22m34s 12s778ms 22 11 2m9s 11s732ms Dec 19 10 7 1m21s 11s712ms 11 2 24s809ms 12s404ms Dec 20 18 10 1m52s 11s265ms Dec 21 00 2 22s235ms 11s117ms 10 10 1m53s 11s308ms [ User: pubeu - Total duration: 13m32s - Times executed: 67 ]
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'ETHANOL' AND tl.object_type_id = 2)) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm;
Date: 2024-12-18 20:49:35 Duration: 15s151ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'ETHANOL' AND tl.object_type_id = 2)) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm;
Date: 2024-12-18 20:45:16 Duration: 15s128ms Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'ETHANOL' AND tl.object_type_id = 2)) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm;
Date: 2024-12-18 20:48:27 Duration: 14s841ms Bind query: yes
11 146 13m24s 1s26ms 30s368ms 5s511ms 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 #11
Day Hour Count Duration Avg duration Dec 15 17 1 2s439ms 2s439ms Dec 16 04 1 1s333ms 1s333ms 13 1 1s101ms 1s101ms Dec 17 00 1 1s253ms 1s253ms 09 1 1s107ms 1s107ms 10 2 2s954ms 1s477ms 18 1 1s250ms 1s250ms Dec 18 00 1 1s111ms 1s111ms 01 8 10s383ms 1s297ms 07 1 1s184ms 1s184ms Dec 19 02 9 1m2s 6s994ms 07 7 1m14s 10s635ms 08 15 56s409ms 3s760ms 09 16 2m3s 7s710ms 10 38 4m4s 6s442ms 11 1 9s163ms 9s163ms 13 6 1m17s 12s943ms 15 15 1m10s 4s666ms 16 11 29s945ms 2s722ms 17 1 13s476ms 13s476ms 19 2 4s723ms 2s361ms Dec 20 10 1 1s26ms 1s26ms 15 1 1s177ms 1s177ms 23 1 1s295ms 1s295ms Dec 21 11 1 3s945ms 3s945ms 13 1 1s156ms 1s156ms 16 1 2s475ms 2s475ms 23 1 2s478ms 2s478ms [ User: pubeu - Total duration: 8m17s - Times executed: 77 ]
-
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 = '2084331') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 4367750;
Date: 2024-12-19 13:40:25 Duration: 30s368ms 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 = '2084331') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 4367750;
Date: 2024-12-19 13:40:45 Duration: 29s77ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2091134') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 3828650;
Date: 2024-12-19 07:41:34 Duration: 24s702ms Database: ctdprd51 User: pubeu Bind query: yes
12 144 8m40s 1s53ms 14s633ms 3s615ms 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.disease_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;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Dec 15 21 1 2s217ms 2s217ms Dec 16 03 1 2s279ms 2s279ms 04 1 1s680ms 1s680ms 05 1 2s663ms 2s663ms Dec 17 09 1 2s812ms 2s812ms Dec 18 21 1 4s21ms 4s21ms Dec 19 05 7 28s666ms 4s95ms 07 7 51s210ms 7s315ms 08 18 40s20ms 2s223ms 09 8 42s11ms 5s251ms 10 27 1m6s 2s456ms 11 20 57s484ms 2s874ms 13 15 1m7s 4s495ms 15 6 33s603ms 5s600ms Dec 21 23 30 1m58s 3s938ms [ User: pubeu - Total duration: 4m15s - Times executed: 66 ]
-
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.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2078930') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort;
Date: 2024-12-19 09:47:57 Duration: 14s633ms 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.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2078930') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort;
Date: 2024-12-19 09:47:57 Duration: 14s559ms 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.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2089088') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort;
Date: 2024-12-19 07:03:11 Duration: 12s886ms Database: ctdprd51 User: pubeu Bind query: yes
13 138 5m35s 1s 5s45ms 2s432ms 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 #13
Day Hour Count Duration Avg duration Dec 15 02 1 1s 1s 12 9 21s930ms 2s436ms 13 1 1s228ms 1s228ms Dec 16 03 1 3s317ms 3s317ms 11 1 2s98ms 2s98ms 12 4 11s165ms 2s791ms 13 1 3s234ms 3s234ms 15 11 27s565ms 2s505ms 16 3 5s79ms 1s693ms 17 1 2s889ms 2s889ms 18 5 8s883ms 1s776ms 20 1 1s314ms 1s314ms 21 3 5s331ms 1s777ms 22 4 11s182ms 2s795ms Dec 17 00 1 2s877ms 2s877ms 02 1 2s479ms 2s479ms 03 1 2s514ms 2s514ms 04 2 3s103ms 1s551ms 05 2 5s837ms 2s918ms 06 1 2s923ms 2s923ms 07 3 8s854ms 2s951ms 08 1 2s290ms 2s290ms 11 1 3s366ms 3s366ms 22 9 22s64ms 2s451ms Dec 18 20 1 1s923ms 1s923ms 22 8 19s662ms 2s457ms Dec 19 01 13 30s796ms 2s368ms 22 9 22s377ms 2s486ms Dec 20 15 1 2s920ms 2s920ms 19 1 1s411ms 1s411ms 20 10 24s603ms 2s460ms 21 1 1s155ms 1s155ms Dec 21 01 1 1s893ms 1s893ms 02 1 4s593ms 4s593ms 03 3 4s801ms 1s600ms 04 2 7s347ms 3s673ms 05 1 1s199ms 1s199ms 06 1 1s422ms 1s422ms 07 1 1s143ms 1s143ms 11 2 6s746ms 3s373ms 15 10 26s581ms 2s658ms 17 1 2s299ms 2s299ms 21 2 5s708ms 2s854ms 22 1 4s613ms 4s613ms [ User: pubeu - Total duration: 1m29s - Times executed: 33 ]
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1398604') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1398604') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-12-19 01:33:57 Duration: 5s45ms 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 = '1398604') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1398604') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-12-16 22:42:37 Duration: 4s665ms 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 = '1398604') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1398604') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-12-17 07:41:02 Duration: 4s636ms Bind query: yes
14 134 5m58s 1s8ms 9s471ms 2s673ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where associatedterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and ptr.term_object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Dec 15 12 9 21s663ms 2s407ms Dec 16 03 1 1s222ms 1s222ms 15 9 21s286ms 2s365ms 17 1 3s165ms 3s165ms 18 2 5s255ms 2s627ms 19 2 8s752ms 4s376ms 21 1 1s882ms 1s882ms 22 1 6s349ms 6s349ms 23 2 12s673ms 6s336ms Dec 17 00 2 7s209ms 3s604ms 03 2 4s211ms 2s105ms 04 2 8s579ms 4s289ms 05 1 6s84ms 6s84ms 07 1 1s877ms 1s877ms 22 10 24s849ms 2s484ms Dec 18 22 9 23s332ms 2s592ms Dec 19 01 12 29s645ms 2s470ms 21 2 5s644ms 2s822ms 22 10 28s511ms 2s851ms Dec 20 14 1 6s92ms 6s92ms 16 1 1s851ms 1s851ms 17 1 6s157ms 6s157ms 18 2 3s243ms 1s621ms 20 11 26s43ms 2s367ms 21 1 1s601ms 1s601ms 23 2 8s133ms 4s66ms Dec 21 00 1 1s832ms 1s832ms 03 1 3s322ms 3s322ms 04 1 1s754ms 1s754ms 05 3 7s146ms 2s382ms 06 1 2s844ms 2s844ms 07 1 2s136ms 2s136ms 10 1 2s133ms 2s133ms 12 2 3s280ms 1s640ms 13 1 1s869ms 1s869ms 14 1 2s122ms 2s122ms 15 10 24s755ms 2s475ms 16 2 7s732ms 3s866ms 18 5 10s342ms 2s68ms 19 1 1s22ms 1s22ms 20 1 1s322ms 1s322ms 21 1 2s90ms 2s90ms 22 1 2s121ms 2s121ms 23 2 5s31ms 2s515ms [ User: pubeu - Total duration: 1m28s - Times executed: 38 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1398604'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-12-19 22:52:33 Duration: 9s471ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1398604'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-12-19 01:33:57 Duration: 7s51ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1398604'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-12-17 04:26:01 Duration: 6s349ms Bind query: yes
15 112 2m37s 1s247ms 1s512ms 1s407ms select g.id geneid, g.acc_txt acc, g.nm nm, g.nm nmhtml, g.secondary_nm secondarynm, g.has_chems haschems, g.has_diseases hasdiseases, g.has_exposures hasexposures, g.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term g where g.id in ( select gcr.gene_id from gene_chem_reference gcr where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ? or tp.nm = ? or tp.nm = ?))) and gcr.chem_id = any (array ( select c.id from term c where c.nm_fts @@ to_tsquery(?, ?) and c.object_type_id = ?))) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Dec 16 04 7 10s139ms 1s448ms 05 3 4s359ms 1s453ms 06 82 1m55s 1s404ms 07 20 28s23ms 1s401ms [ User: pubeu - Total duration: 11s309ms - Times executed: 8 ]
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein' OR tp.nm = 'gene' OR tp.nm = 'mRNA'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereContains */ c.id FROM term c WHERE c.nm_fts @@ to_tsquery('common.english_nostops', 'LEAD | LEAD & ACETATE | LEAD & CHLORIDE | LEAD & NITRATE | LEAD & OXIDE') AND c.object_type_id = 2))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-12-16 06:01:17 Duration: 1s512ms Bind query: yes
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein' OR tp.nm = 'gene' OR tp.nm = 'mRNA'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereContains */ c.id FROM term c WHERE c.nm_fts @@ to_tsquery('common.english_nostops', 'LEAD | LEAD & ACETATE | LEAD & CHLORIDE') AND c.object_type_id = 2))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-12-16 06:04:01 Duration: 1s504ms Bind query: yes
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein' OR tp.nm = 'gene' OR tp.nm = 'mRNA'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereContains */ c.id FROM term c WHERE c.nm_fts @@ to_tsquery('common.english_nostops', 'LEAD | LEAD & ACETATE | LEAD & CHLORIDE | LEAD & NITRATE | LEAD & OXIDE') AND c.object_type_id = 2))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-12-16 04:55:52 Duration: 1s503ms Bind query: yes
16 98 2m54s 1s10ms 4s305ms 1s779ms select count(*) from gene_disease gd where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?);Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Dec 19 01 67 1m45s 1s579ms 02 6 14s964ms 2s494ms 05 1 2s286ms 2s286ms 10 23 48s929ms 2s127ms 21 1 2s429ms 2s429ms [ User: pubeu - Total duration: 30s636ms - Times executed: 15 ]
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2078930');
Date: 2024-12-19 10:25:12 Duration: 4s305ms Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2090873');
Date: 2024-12-19 10:45:52 Duration: 4s159ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2078930');
Date: 2024-12-19 10:25:24 Duration: 3s479ms Bind query: yes
17 60 2m26s 1s5ms 3s748ms 2s436ms with recursive sub_node ( object_id, id, path, lvl ) as ( select n.object_id, n.id, array[n.nm_sort], ? from dag_node n where n.object_id = ? union all select n.object_id, n.id, cast(path || n.nm_sort as varchar(?)[]), sn.lvl + ? from dag_node n inner join sub_node sn on (n.parent_id = sn.id)) select distinct t.nm prinm, t.nm_html prinmhtml, t.secondary_nm secondarynm, t.acc_db_cd accdbcd, t.acc_txt termacc, t.is_leaf isleaf, t.has_chems haschems, t.has_diseases hasdiseases, t.has_exposures hasexposures, t.has_genes hasgenes, sn.lvl, sn.path, max(sn.lvl) over () maxlvl, t.has_phenotypes hasphenotypes from sub_node sn inner join term t on sn.object_id = t.id where sn.lvl <= ? order by sn.path;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Dec 15 05 4 8s737ms 2s184ms Dec 16 05 4 8s930ms 2s232ms 09 1 2s307ms 2s307ms 20 1 1s900ms 1s900ms 21 1 3s416ms 3s416ms Dec 17 05 4 9s133ms 2s283ms 11 1 1s936ms 1s936ms 12 2 5s294ms 2s647ms Dec 18 04 1 3s302ms 3s302ms 05 4 8s956ms 2s239ms 07 1 2s549ms 2s549ms 09 1 2s539ms 2s539ms Dec 19 01 1 3s551ms 3s551ms 05 4 9s163ms 2s290ms 09 4 9s347ms 2s336ms 10 4 8s983ms 2s245ms 11 2 4s458ms 2s229ms 12 2 4s549ms 2s274ms 13 1 3s519ms 3s519ms 15 4 9s136ms 2s284ms 21 4 9s386ms 2s346ms Dec 20 05 4 8s663ms 2s165ms 10 1 3s187ms 3s187ms Dec 21 05 2 6s806ms 3s403ms 07 1 3s182ms 3s182ms 19 1 3s272ms 3s272ms [ User: pubeu - Total duration: 1m17s - Times executed: 23 ]
[ User: qaeu - Total duration: 24s265ms - Times executed: 7 ]
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '594258' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2024-12-19 21:02:49 Duration: 3s748ms Database: ctdprd51 User: pubeu Bind query: yes
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '594258' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2024-12-19 05:40:12 Duration: 3s675ms Database: ctdprd51 User: qaeu Bind query: yes
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '594258' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2024-12-19 09:34:21 Duration: 3s634ms Database: ctdprd51 User: pubeu Bind query: yes
18 52 1m34s 1s 5s915ms 1s817ms select * from ( select g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, count(*) over () fullrowcount from term g where g.id in ( select gt.gene_id from dag_path dp inner join gene_taxon gt on dp.descendant_object_id = gt.taxon_id where dp.ancestor_object_id = ? union all select gcr.gene_id from dag_path dp inner join gene_chem_reference gcr on dp.descendant_object_id = gcr.taxon_id where dp.ancestor_object_id = ?) offset ?) mq order by mq.genesymbolsort limit ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Dec 15 16 1 1s484ms 1s484ms Dec 16 02 1 1s324ms 1s324ms 05 2 2s62ms 1s31ms 19 1 1s453ms 1s453ms 22 1 2s150ms 2s150ms 23 2 2s476ms 1s238ms Dec 17 00 1 1s48ms 1s48ms 01 2 3s83ms 1s541ms 02 1 1s259ms 1s259ms 06 1 1s37ms 1s37ms 07 1 1s251ms 1s251ms 12 1 1s613ms 1s613ms 13 1 2s699ms 2s699ms 14 2 6s12ms 3s6ms 16 2 8s305ms 4s152ms 21 1 1s476ms 1s476ms Dec 18 01 1 3s691ms 3s691ms 03 1 1s350ms 1s350ms 05 1 2s75ms 2s75ms 06 1 1s214ms 1s214ms 08 1 1s49ms 1s49ms 09 1 2s81ms 2s81ms 10 1 1s279ms 1s279ms 18 1 1s556ms 1s556ms 21 1 1s357ms 1s357ms Dec 19 01 2 7s88ms 3s544ms 05 1 1s267ms 1s267ms 10 1 1s64ms 1s64ms 11 1 1s326ms 1s326ms 20 1 1s305ms 1s305ms 21 1 2s68ms 2s68ms 22 1 2s705ms 2s705ms Dec 20 01 1 2s27ms 2s27ms 02 2 5s256ms 2s628ms 07 1 1s546ms 1s546ms 12 1 1s10ms 1s10ms 17 1 1s224ms 1s224ms 19 1 2s205ms 2s205ms 23 1 1s229ms 1s229ms Dec 21 01 2 3s423ms 1s711ms 07 1 1s659ms 1s659ms 10 1 1s319ms 1s319ms 20 1 1s 1s 23 1 1s373ms 1s373ms [ User: pubeu - Total duration: 40s807ms - Times executed: 24 ]
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '654815' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '654815') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-12-19 01:35:19 Duration: 5s915ms Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '654815' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '654815') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-12-17 16:01:25 Duration: 5s782ms Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '1184342' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '1184342') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-12-20 02:08:18 Duration: 3s722ms Bind query: yes
19 47 1m5s 1s267ms 1s557ms 1s389ms select g.id geneid, g.acc_txt acc, g.nm nm, g.nm nmhtml, g.secondary_nm secondarynm, g.has_chems haschems, g.has_diseases hasdiseases, g.has_exposures hasexposures, g.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term g where g.id in ( select gcr.gene_id from gene_chem_reference gcr where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ? or tp.nm = ? or tp.nm = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term_label l on l.term_id = dp.ancestor_object_id where upper(l.nm) like ? and l.object_type_id = ?))) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Dec 16 04 2 2s655ms 1s327ms 05 3 4s201ms 1s400ms 06 23 31s809ms 1s383ms 07 16 22s497ms 1s406ms Dec 17 04 1 1s457ms 1s457ms Dec 18 08 1 1s433ms 1s433ms Dec 20 22 1 1s267ms 1s267ms [ User: pubeu - Total duration: 13s824ms - Times executed: 10 ]
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein' OR tp.nm = 'gene' OR tp.nm = 'mRNA'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Label */ dp.descendant_object_id FROM dag_path dp INNER JOIN term_label l ON l.term_id = dp.ancestor_object_id WHERE UPPER(l.nm) LIKE 'MERCURY' AND l.object_type_id = 2))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-12-16 07:14:13 Duration: 1s557ms Bind query: yes
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein' OR tp.nm = 'gene' OR tp.nm = 'mRNA'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Label */ dp.descendant_object_id FROM dag_path dp INNER JOIN term_label l ON l.term_id = dp.ancestor_object_id WHERE UPPER(l.nm) LIKE 'LEAD' AND l.object_type_id = 2))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-12-16 05:58:28 Duration: 1s514ms Bind query: yes
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein' OR tp.nm = 'gene' OR tp.nm = 'mRNA'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Label */ dp.descendant_object_id FROM dag_path dp INNER JOIN term_label l ON l.term_id = dp.ancestor_object_id WHERE UPPER(l.nm) LIKE 'LEAD' AND l.object_type_id = 2))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-12-16 07:00:17 Duration: 1s508ms Bind query: yes
20 45 1m12s 1s251ms 5s318ms 1s609ms select fg.nm fromgenesymbol, fg.acc_txt fromgeneacc, tg.nm togenesymbol, tg.acc_txt togeneacc, ft.nm fromtaxonnm, ft.secondary_nm fromtaxoncommonnm, ft.acc_txt fromtaxonacc, tt.nm totaxonnm, tt.secondary_nm totaxoncommonnm, tt.acc_txt totaxonacc, ggr.experimental_sys_nm, ggr.experimental_sys_type, ( select string_agg(ggt.throughput_txt, ? order by ggt.throughput_txt) from gene_gene_ref_throughput ggt where ggt.gene_gene_reference_id = ggr.id) throughput, count(*) over () fullrowcount from gene_gene_reference ggr inner join term fg on ggr.from_gene_id = fg.id inner join term tg on ggr.to_gene_id = tg.id inner join term ft on ggr.from_taxon_id = ft.id inner join term tt on ggr.to_taxon_id = tt.id where ggr.reference_id = ? order by fg.nm_sort, tg.nm_sort limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Dec 15 05 4 5s578ms 1s394ms Dec 16 05 4 5s755ms 1s438ms Dec 17 05 4 6s470ms 1s617ms 23 1 1s270ms 1s270ms Dec 18 05 4 6s438ms 1s609ms Dec 19 05 4 6s290ms 1s572ms 09 2 2s960ms 1s480ms 10 6 12s165ms 2s27ms 11 2 2s861ms 1s430ms 12 2 2s866ms 1s433ms 15 4 5s563ms 1s390ms Dec 20 05 4 8s40ms 2s10ms Dec 21 05 4 6s151ms 1s537ms [ User: pubeu - Total duration: 21s590ms - Times executed: 12 ]
[ User: qaeu - Total duration: 6s126ms - Times executed: 3 ]
-
SELECT /* ReferenceGeneGeneIxnsDAO */ fg.nm fromGeneSymbol, fg.acc_txt fromGeneAcc, tg.nm toGeneSymbol, tg.acc_txt toGeneAcc, ft.nm fromTaxonNm, ft.secondary_nm fromTaxonCommonNm, ft.acc_txt fromTaxonAcc, tt.nm toTaxonNm, tt.secondary_nm toTaxonCommonNm, tt.acc_txt toTaxonAcc, ggr.experimental_sys_nm, ggr.experimental_sys_type, ( SELECT STRING_AGG(ggt.throughput_txt, ', ' ORDER BY ggt.throughput_txt) FROM gene_gene_ref_throughput ggt WHERE ggt.gene_gene_reference_id = ggr.id) throughput, COUNT(*) OVER () fullRowCount FROM gene_gene_reference ggr INNER JOIN term fg ON ggr.from_gene_id = fg.id INNER JOIN term tg ON ggr.to_gene_id = tg.id INNER JOIN term ft ON ggr.from_taxon_id = ft.id INNER JOIN term tt ON ggr.to_taxon_id = tt.id WHERE ggr.reference_id = '111363' ORDER BY fg.nm_sort, tg.nm_sort LIMIT 50;
Date: 2024-12-19 10:13:28 Duration: 5s318ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ReferenceGeneGeneIxnsDAO */ fg.nm fromGeneSymbol, fg.acc_txt fromGeneAcc, tg.nm toGeneSymbol, tg.acc_txt toGeneAcc, ft.nm fromTaxonNm, ft.secondary_nm fromTaxonCommonNm, ft.acc_txt fromTaxonAcc, tt.nm toTaxonNm, tt.secondary_nm toTaxonCommonNm, tt.acc_txt toTaxonAcc, ggr.experimental_sys_nm, ggr.experimental_sys_type, ( SELECT STRING_AGG(ggt.throughput_txt, ', ' ORDER BY ggt.throughput_txt) FROM gene_gene_ref_throughput ggt WHERE ggt.gene_gene_reference_id = ggr.id) throughput, COUNT(*) OVER () fullRowCount FROM gene_gene_reference ggr INNER JOIN term fg ON ggr.from_gene_id = fg.id INNER JOIN term tg ON ggr.to_gene_id = tg.id INNER JOIN term ft ON ggr.from_taxon_id = ft.id INNER JOIN term tt ON ggr.to_taxon_id = tt.id WHERE ggr.reference_id = '111363' ORDER BY fg.nm_sort, tg.nm_sort LIMIT 50;
Date: 2024-12-20 05:43:17 Duration: 2s979ms Database: ctdprd51 User: qaeu Bind query: yes
-
SELECT /* ReferenceGeneGeneIxnsDAO */ fg.nm fromGeneSymbol, fg.acc_txt fromGeneAcc, tg.nm toGeneSymbol, tg.acc_txt toGeneAcc, ft.nm fromTaxonNm, ft.secondary_nm fromTaxonCommonNm, ft.acc_txt fromTaxonAcc, tt.nm toTaxonNm, tt.secondary_nm toTaxonCommonNm, tt.acc_txt toTaxonAcc, ggr.experimental_sys_nm, ggr.experimental_sys_type, ( SELECT STRING_AGG(ggt.throughput_txt, ', ' ORDER BY ggt.throughput_txt) FROM gene_gene_ref_throughput ggt WHERE ggt.gene_gene_reference_id = ggr.id) throughput, COUNT(*) OVER () fullRowCount FROM gene_gene_reference ggr INNER JOIN term fg ON ggr.from_gene_id = fg.id INNER JOIN term tg ON ggr.to_gene_id = tg.id INNER JOIN term ft ON ggr.from_taxon_id = ft.id INNER JOIN term tt ON ggr.to_taxon_id = tt.id WHERE ggr.reference_id = '111363' ORDER BY fg.nm_sort, tg.nm_sort LIMIT 50;
Date: 2024-12-17 05:43:09 Duration: 1s923ms Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 23m55s 23m55s 23m55s 1 23m55s 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 Dec 21 19 1 23m55s 23m55s -
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-12-21 19:00:57 Duration: 23m55s
2 23m44s 23m44s 23m44s 1 23m44s 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 Dec 21 19 1 23m44s 23m44s -
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-12-21 19:43:35 Duration: 23m44s
3 21m32s 21m55s 21m42s 7 2h31m57s select maint_query_logs_archive ();Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Dec 15 00 1 21m34s 21m34s Dec 16 00 1 21m40s 21m40s Dec 17 00 1 21m32s 21m32s Dec 18 00 1 21m45s 21m45s Dec 19 00 1 21m55s 21m55s Dec 20 00 1 21m49s 21m49s Dec 21 00 1 21m39s 21m39s -
/* * 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-12-19 00:21:57 Duration: 21m55s
-
/* * 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-12-20 00:21:50 Duration: 21m49s
-
/* * 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-12-18 00:21:47 Duration: 21m45s
4 17m36s 17m36s 17m36s 1 17m36s select g.id geneid, g.acc_txt acc, g.nm nm, g.nm nmhtml, g.secondary_nm secondarynm, g.has_chems haschems, g.has_diseases hasdiseases, g.has_exposures hasexposures, g.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term g where g.id in ( select gcr.gene_id from gene_chem_reference gcr where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gd.gene_id from term t inner join dag_path dp on t.id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(t.nm) like ? and t.object_type_id = ? and gd.curated_reference_qty > ?)))) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Dec 16 09 1 17m36s 17m36s -
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'NEURODEVELOPMENTAL DISORDERS' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0)))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-12-16 09:14:19 Duration: 17m36s Bind query: yes
5 12m4s 12m22s 12m13s 2 24m27s select g.id geneid, g.acc_txt acc, g.nm nm, g.nm nmhtml, g.secondary_nm secondarynm, g.has_chems haschems, g.has_diseases hasdiseases, g.has_exposures hasexposures, g.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term g where g.id in ( select gcr.gene_id from gene_chem_reference gcr where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ? or tp.nm = ? or tp.nm = ?))) and gcr.gene_id = any (array (( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select gd.gene_id from term t inner join dag_path dp on t.id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(t.nm) like ? and t.object_type_id = ? and gd.curated_reference_qty > ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term_label l on l.term_id = dp.ancestor_object_id where upper(l.nm) like ? and l.object_type_id = ?))) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Dec 17 04 2 24m27s 12m13s [ User: pubeu - Total duration: 12m22s - Times executed: 1 ]
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein' OR tp.nm = 'gene' OR tp.nm = 'mRNA'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL INSUFFICIENCY' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Label */ dp.descendant_object_id FROM dag_path dp INNER JOIN term_label l ON l.term_id = dp.ancestor_object_id WHERE UPPER(l.nm) LIKE 'LEAD' AND l.object_type_id = 2))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-12-17 04:19:12 Duration: 12m22s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein' OR tp.nm = 'gene' OR tp.nm = 'mRNA'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL INSUFFICIENCY' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Label */ dp.descendant_object_id FROM dag_path dp INNER JOIN term_label l ON l.term_id = dp.ancestor_object_id WHERE UPPER(l.nm) LIKE 'LEAD' AND l.object_type_id = 2))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-12-17 04:19:54 Duration: 12m4s Bind query: yes
6 10m43s 11m50s 11m16s 2 22m33s select g.id geneid, g.acc_txt acc, g.nm nm, g.nm nmhtml, g.secondary_nm secondarynm, g.has_chems haschems, g.has_diseases hasdiseases, g.has_exposures hasexposures, g.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term g where g.id in ( select gcr.gene_id from gene_chem_reference gcr where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select gd.gene_id from term t inner join dag_path dp on t.id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(t.nm) like ? and t.object_type_id = ? and gd.curated_reference_qty > ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?))) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Dec 19 07 1 11m50s 11m50s 17 1 10m43s 10m43s [ User: pubeu - Total duration: 11m50s - Times executed: 1 ]
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'COL4A4') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL FAILURE, PROGRESSIVE, WITH HYPERTENSION' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05211' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE '2'',3''-DIDEOXY-2''-FLUOROADENOSINE TRIPHOSPHATE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-12-19 07:12:39 Duration: 11m50s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'COL4A4') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL FAILURE, PROGRESSIVE, WITH HYPERTENSION' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05211' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE '2'',3''-DIDEOXY-2''-FLUOROADENOSINE TRIPHOSPHATE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-12-19 17:54:01 Duration: 10m43s Bind query: yes
7 10m50s 11m38s 11m14s 2 22m29s select gcr.ixn_id, gcr.chem_id, gcr.gene_id, gcr.taxon_id from gene_chem_reference gcr where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select gd.gene_id from term t inner join dag_path dp on t.id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(t.nm) like ? and t.object_type_id = ? and gd.curated_reference_qty > ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?));Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Dec 19 06 1 11m38s 11m38s 17 1 10m50s 10m50s [ User: pubeu - Total duration: 10m50s - Times executed: 1 ]
-
SELECT /* CIQH.getIxnCacheQuery */ gcr.ixn_id, gcr.chem_id, gcr.gene_id, gcr.taxon_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'COL4A4') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL FAILURE, PROGRESSIVE, WITH HYPERTENSION' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05211' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE '2'',3''-DIDEOXY-2''-FLUOROADENOSINE TRIPHOSPHATE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7));
Date: 2024-12-19 06:26:56 Duration: 11m38s Bind query: yes
-
SELECT /* CIQH.getIxnCacheQuery */ gcr.ixn_id, gcr.chem_id, gcr.gene_id, gcr.taxon_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'COL4A4') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL FAILURE, PROGRESSIVE, WITH HYPERTENSION' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05211' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE '2'',3''-DIDEOXY-2''-FLUOROADENOSINE TRIPHOSPHATE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7));
Date: 2024-12-19 17:43:39 Duration: 10m50s Database: ctdprd51 User: pubeu Bind query: yes
8 10m47s 10m47s 10m47s 1 10m47s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?)) and gcr.id in ( select gcra.gene_chem_reference_id from gene_chem_reference_axn gcra where (gcra.action_degree_type_nm = ?)) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by c.nm_sort, g.nm_sort, i.sort_txt limit ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Dec 17 11 1 10m47s 10m47s [ User: pubeu - Total duration: 10m47s - Times executed: 1 ]
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE '5-HT1B') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA04730' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9605' AND n.dag_id = 7)) AND gcr.id IN ( SELECT gcra.gene_chem_reference_id FROM gene_chem_reference_axn gcra WHERE (gcra.action_degree_type_nm = 'decreases')) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-12-17 11:16:53 Duration: 10m47s Database: ctdprd51 User: pubeu Bind query: yes
9 1s409ms 17m43s 2m30s 25 1h2m53s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Dec 17 00 1 3s152ms 3s152ms 04 2 6s736ms 3s368ms 05 1 1s781ms 1s781ms 06 1 1s704ms 1s704ms Dec 18 01 1 1s615ms 1s615ms Dec 19 01 4 35m30s 8m52s Dec 20 05 12 27m 2m15s Dec 21 03 1 3s163ms 3s163ms 04 1 1s409ms 1s409ms 08 1 3s202ms 3s202ms [ User: pubeu - Total duration: 33m10s - Times executed: 11 ]
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1245241') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-12-19 01:51:41 Duration: 17m43s Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1245241') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-12-19 01:52:01 Duration: 17m41s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1260421') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-12-20 05:48:37 Duration: 5m13s Database: ctdprd51 User: pubeu Bind query: yes
10 9s281ms 6m5s 1m58s 7 13m47s 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 diseaseterm.nm_sort, phenotypeterm.nm_sort limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Dec 17 05 1 32s133ms 32s133ms Dec 20 05 5 7m10s 1m26s Dec 21 16 1 6m5s 6m5s [ User: pubeu - Total duration: 13m6s - Times executed: 5 ]
-
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 = '1217802') and diseaseTerm.object_type_id = 3 ORDER BY diseaseTerm.nm_sort, phenotypeTerm.nm_sort LIMIT 50;
Date: 2024-12-21 16:54:26 Duration: 6m5s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1263383') and diseaseTerm.object_type_id = 3 ORDER BY diseaseTerm.nm_sort, phenotypeTerm.nm_sort LIMIT 50;
Date: 2024-12-20 05:18:13 Duration: 2m50s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1263383') and diseaseTerm.object_type_id = 3 ORDER BY diseaseTerm.nm_sort, phenotypeTerm.nm_sort LIMIT 50;
Date: 2024-12-20 05:18:31 Duration: 2m47s Database: ctdprd51 User: pubeu Bind query: yes
11 1s28ms 49m1s 1m47s 156 4h38m30s 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 #11
Day Hour Count Duration Avg duration Dec 15 01 2 5s367ms 2s683ms 05 1 14s803ms 14s803ms 17 2 14s911ms 7s455ms Dec 16 02 4 6s413ms 1s603ms 07 2 2s74ms 1s37ms 08 1 1s65ms 1s65ms 10 3 6s495ms 2s165ms 16 1 1s592ms 1s592ms Dec 17 15 1 2s290ms 2s290ms Dec 18 03 2 2s581ms 1s290ms 07 1 26s221ms 26s221ms 23 1 7s401ms 7s401ms Dec 19 02 8 3m33s 26s645ms 06 3 1m45s 35s126ms 08 10 21s751ms 2s175ms 09 11 2m49s 15s448ms 10 32 9m11s 17s226ms 11 19 5m9s 16s285ms 13 8 1m58s 14s798ms 15 10 2m 12s15ms 19 3 3m32s 1m10s 20 5 4h4m9s 48m49s 21 1 1s190ms 1s190ms Dec 20 02 3 4s637ms 1s545ms 07 10 18s608ms 1s860ms 14 1 1s111ms 1s111ms 16 1 6s934ms 6s934ms 18 1 13s265ms 13s265ms 21 2 3s731ms 1s865ms 23 3 34s879ms 11s626ms Dec 21 02 1 1s341ms 1s341ms 07 1 1s366ms 1s366ms 19 1 1s436ms 1s436ms 21 1 1m 1m [ User: pubeu - Total duration: 3h35m13s - Times executed: 83 ]
-
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 = '2079075') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-12-19 20:20:00 Duration: 49m1s 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 = '2079075') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-12-19 20:20:02 Duration: 49m1s 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 = '2079075') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-12-19 20:20:02 Duration: 48m56s Database: ctdprd51 User: pubeu Bind query: yes
12 1s35ms 12m3s 1m33s 30 46m33s 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;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Dec 16 18 1 1s912ms 1s912ms Dec 19 07 2 2s112ms 1s56ms 09 8 13s123ms 1s640ms 10 4 24s530ms 6s132ms 11 8 45m38s 5m42s 13 6 11s636ms 1s939ms Dec 21 13 1 2s103ms 2s103ms [ User: pubeu - Total duration: 45m58s - Times executed: 18 ]
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2079172') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc;
Date: 2024-12-19 11:58:35 Duration: 12m3s 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 = '2079172') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc;
Date: 2024-12-19 11:58:35 Duration: 11m55s 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 = '2079172') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc;
Date: 2024-12-19 11:58:35 Duration: 11m2s Database: ctdprd51 User: pubeu Bind query: yes
13 42s624ms 44s866ms 43s317ms 25 18m2s 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 #13
Day Hour Count Duration Avg duration Dec 15 06 1 43s115ms 43s115ms 10 1 42s664ms 42s664ms 14 1 42s957ms 42s957ms 18 1 42s624ms 42s624ms Dec 16 06 1 42s947ms 42s947ms 10 1 43s140ms 43s140ms 14 1 43s201ms 43s201ms 18 1 43s192ms 43s192ms Dec 17 06 1 43s328ms 43s328ms 10 1 43s246ms 43s246ms 14 1 43s79ms 43s79ms 18 1 42s961ms 42s961ms Dec 18 06 1 43s371ms 43s371ms 10 1 43s634ms 43s634ms 14 1 43s203ms 43s203ms 18 1 43s121ms 43s121ms Dec 19 06 1 44s866ms 44s866ms 10 1 43s627ms 43s627ms 14 1 43s951ms 43s951ms 18 1 43s532ms 43s532ms Dec 20 06 1 43s532ms 43s532ms 10 1 43s378ms 43s378ms 14 1 43s712ms 43s712ms 18 1 43s359ms 43s359ms Dec 21 19 1 43s187ms 43s187ms [ User: postgres - Total duration: 17m19s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 17m19s - 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-12-19 06:05:46 Duration: 44s866ms 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-12-19 14:05:46 Duration: 43s951ms 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-12-20 14:05:45 Duration: 43s712ms Database: ctdprd51 User: postgres Application: pg_dump
14 11s17ms 15s151ms 12s421ms 148 30m38s select distinct phenotypeterm.nm as gonm, phenotypeterm.nm_html as gonmhtml, phenotypeterm.acc_txt as goacc, diseaseterm.nm as diseasenm, diseaseterm.nm_html as diseasenmhtml, diseaseterm.acc_txt as diseaseacc, diseaseterm.acc_db_cd as diseaseaccdbcd, chemterm.nm as chemnm, chemterm.nm_html as chemnmhtml, chemterm.acc_txt as chemacc, geneterm.nm as genesymbol, geneterm.nm_html as genesymbolhtml, geneterm.acc_txt as geneacc, count(*) over () fullrowcount from phenotype_term_reference viachemptr, phenotype_term_reference viageneptr, term phenotypeterm, term diseaseterm, term geneterm, term chemterm where viachemptr.via_term_id in ( select baseterm.id from term baseterm where baseterm.object_type_id = ? and baseterm.id in ( select term_id from term_label tl where upper(tl.nm) = ? and tl.object_type_id = ?)) and viachemptr.phenotype_id = phenotypeterm.id and viachemptr.term_object_type_id = ? and viachemptr.term_id = diseaseterm.id and viachemptr.via_term_object_type_id = ? and viachemptr.via_term_id = chemterm.id and viachemptr.term_id = viageneptr.term_id and viachemptr.phenotype_id = viageneptr.phenotype_id and viageneptr.via_term_object_type_id = ? and viageneptr.via_term_id = geneterm.id and exists ( select ? from gene_chem_reference where gene_id = geneterm.id and chem_id = chemterm.id) group by phenotypeterm.nm, phenotypeterm.nm_html, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.nm_html, diseaseterm.acc_txt, diseaseterm.acc_db_cd, chemterm.nm, chemterm.nm_html, chemterm.acc_txt, geneterm.nm, geneterm.nm_html, geneterm.acc_txt order by chemterm.nm;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Dec 18 20 106 22m34s 12s778ms 22 11 2m9s 11s732ms Dec 19 10 7 1m21s 11s712ms 11 2 24s809ms 12s404ms Dec 20 18 10 1m52s 11s265ms Dec 21 00 2 22s235ms 11s117ms 10 10 1m53s 11s308ms [ User: pubeu - Total duration: 13m32s - Times executed: 67 ]
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'ETHANOL' AND tl.object_type_id = 2)) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm;
Date: 2024-12-18 20:49:35 Duration: 15s151ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'ETHANOL' AND tl.object_type_id = 2)) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm;
Date: 2024-12-18 20:45:16 Duration: 15s128ms Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'ETHANOL' AND tl.object_type_id = 2)) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm;
Date: 2024-12-18 20:48:27 Duration: 14s841ms Bind query: yes
15 1s26ms 30s368ms 5s511ms 146 13m24s select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ? offset ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Dec 15 17 1 2s439ms 2s439ms Dec 16 04 1 1s333ms 1s333ms 13 1 1s101ms 1s101ms Dec 17 00 1 1s253ms 1s253ms 09 1 1s107ms 1s107ms 10 2 2s954ms 1s477ms 18 1 1s250ms 1s250ms Dec 18 00 1 1s111ms 1s111ms 01 8 10s383ms 1s297ms 07 1 1s184ms 1s184ms Dec 19 02 9 1m2s 6s994ms 07 7 1m14s 10s635ms 08 15 56s409ms 3s760ms 09 16 2m3s 7s710ms 10 38 4m4s 6s442ms 11 1 9s163ms 9s163ms 13 6 1m17s 12s943ms 15 15 1m10s 4s666ms 16 11 29s945ms 2s722ms 17 1 13s476ms 13s476ms 19 2 4s723ms 2s361ms Dec 20 10 1 1s26ms 1s26ms 15 1 1s177ms 1s177ms 23 1 1s295ms 1s295ms Dec 21 11 1 3s945ms 3s945ms 13 1 1s156ms 1s156ms 16 1 2s475ms 2s475ms 23 1 2s478ms 2s478ms [ User: pubeu - Total duration: 8m17s - Times executed: 77 ]
-
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 = '2084331') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 4367750;
Date: 2024-12-19 13:40:25 Duration: 30s368ms 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 = '2084331') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 4367750;
Date: 2024-12-19 13:40:45 Duration: 29s77ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2091134') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 3828650;
Date: 2024-12-19 07:41:34 Duration: 24s702ms Database: ctdprd51 User: pubeu Bind query: yes
16 1s1ms 6s682ms 4s335ms 171 12m21s 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 Dec 15 01 1 4s925ms 4s925ms 02 1 5s503ms 5s503ms 04 1 4s881ms 4s881ms 08 1 5s588ms 5s588ms 12 3 14s790ms 4s930ms 13 3 15s408ms 5s136ms 14 2 2s54ms 1s27ms 15 1 5s283ms 5s283ms 16 1 4s888ms 4s888ms 17 1 1s14ms 1s14ms Dec 16 01 1 4s850ms 4s850ms 02 3 14s439ms 4s813ms 05 2 9s749ms 4s874ms 06 1 1s10ms 1s10ms 09 3 7s132ms 2s377ms 11 2 2s37ms 1s18ms 12 1 1s5ms 1s5ms 14 1 4s836ms 4s836ms 15 5 21s783ms 4s356ms 16 3 15s837ms 5s279ms 19 1 4s945ms 4s945ms 20 3 15s267ms 5s89ms 21 1 4s906ms 4s906ms 23 1 5s80ms 5s80ms Dec 17 00 3 11s968ms 3s989ms 01 4 13s181ms 3s295ms 02 2 10s666ms 5s333ms 03 1 1s63ms 1s63ms 04 1 4s792ms 4s792ms 05 1 1s29ms 1s29ms 06 1 4s825ms 4s825ms 07 1 5s92ms 5s92ms 08 1 5s930ms 5s930ms 09 1 1s15ms 1s15ms 13 1 4s819ms 4s819ms 15 1 5s492ms 5s492ms 16 1 5s303ms 5s303ms 19 2 5s871ms 2s935ms 20 1 4s739ms 4s739ms 21 1 1s4ms 1s4ms 22 5 21s125ms 4s225ms Dec 18 01 2 10s617ms 5s308ms 02 1 4s906ms 4s906ms 06 1 4s833ms 4s833ms 07 4 20s576ms 5s144ms 09 1 1s95ms 1s95ms 12 1 4s756ms 4s756ms 13 1 5s34ms 5s34ms 16 1 4s846ms 4s846ms 17 1 1s37ms 1s37ms 20 1 4s811ms 4s811ms 21 1 4s888ms 4s888ms 22 3 11s309ms 3s769ms 23 3 15s998ms 5s332ms Dec 19 01 14 1m6s 4s771ms 08 1 5s637ms 5s637ms 10 2 11s29ms 5s514ms 11 2 5s907ms 2s953ms 15 1 1s15ms 1s15ms 16 1 4s925ms 4s925ms 17 2 6s548ms 3s274ms 21 5 24s787ms 4s957ms 22 4 18s851ms 4s712ms Dec 20 00 1 5s136ms 5s136ms 01 1 5s13ms 5s13ms 04 1 4s763ms 4s763ms 05 1 5s227ms 5s227ms 06 1 1s4ms 1s4ms 08 1 5s25ms 5s25ms 10 2 9s523ms 4s761ms 13 2 9s634ms 4s817ms 15 1 4s851ms 4s851ms 16 3 14s602ms 4s867ms 20 4 19s29ms 4s757ms 21 1 4s654ms 4s654ms Dec 21 01 1 4s804ms 4s804ms 04 2 10s335ms 5s167ms 05 1 4s891ms 4s891ms 07 1 1s21ms 1s21ms 08 10 47s798ms 4s779ms 12 1 5s62ms 5s62ms 14 1 4s725ms 4s725ms 15 5 23s579ms 4s715ms 16 3 14s650ms 4s883ms 21 3 10s655ms 3s551ms [ User: pubeu - Total duration: 3m33s - 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 = '1289986' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-12-19 01:36:29 Duration: 6s682ms 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 = '1312709' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-12-19 01:39:08 Duration: 6s386ms 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 = '1328438' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-12-19 21:56:55 Duration: 6s192ms Database: ctdprd51 User: pubeu Bind query: yes
17 3s593ms 5s84ms 3s895ms 360 23m22s select coalesce(st.alt_nm, t.nm) slimtermnm, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.curated_reference_qty > ?) curatedcount, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.indirect_gene_qty > ?) inferredcount from slim_term st inner join term t on st.slim_term_id = t.id where st.slim_id = ? order by ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Dec 15 00 1 3s663ms 3s663ms 03 1 3s750ms 3s750ms 05 2 7s867ms 3s933ms 09 12 46s924ms 3s910ms 10 3 12s114ms 4s38ms 12 2 7s402ms 3s701ms 13 1 4s99ms 4s99ms 15 1 3s695ms 3s695ms 16 2 7s378ms 3s689ms 17 2 7s551ms 3s775ms 19 1 3s659ms 3s659ms 21 4 15s307ms 3s826ms 22 1 4s69ms 4s69ms 23 1 4s71ms 4s71ms Dec 16 00 5 20s5ms 4s1ms 01 2 8s58ms 4s29ms 02 4 15s380ms 3s845ms 03 3 11s24ms 3s674ms 04 1 4s45ms 4s45ms 05 6 24s417ms 4s69ms 06 5 19s792ms 3s958ms 07 1 3s624ms 3s624ms 08 1 3s766ms 3s766ms 09 2 8s65ms 4s32ms 10 1 3s813ms 3s813ms 11 5 19s671ms 3s934ms 13 5 19s731ms 3s946ms 15 2 7s703ms 3s851ms 16 1 3s939ms 3s939ms 19 2 7s285ms 3s642ms 20 4 15s83ms 3s770ms 21 1 4s86ms 4s86ms 22 1 3s745ms 3s745ms 23 2 7s748ms 3s874ms Dec 17 00 2 7s371ms 3s685ms 01 3 11s484ms 3s828ms 02 4 15s386ms 3s846ms 03 1 3s661ms 3s661ms 05 3 11s228ms 3s742ms 06 1 4s167ms 4s167ms 07 2 7s986ms 3s993ms 08 9 36s919ms 4s102ms 09 5 19s315ms 3s863ms 10 7 27s217ms 3s888ms 11 1 3s712ms 3s712ms 12 2 7s391ms 3s695ms 13 1 3s951ms 3s951ms 17 1 3s714ms 3s714ms 18 5 19s554ms 3s910ms 19 2 7s459ms 3s729ms 20 1 4s179ms 4s179ms 21 1 3s711ms 3s711ms 23 1 3s997ms 3s997ms Dec 18 00 2 8s112ms 4s56ms 01 3 11s245ms 3s748ms 02 1 3s838ms 3s838ms 04 3 11s204ms 3s734ms 05 3 11s500ms 3s833ms 06 5 19s684ms 3s936ms 07 5 19s377ms 3s875ms 08 3 11s659ms 3s886ms 09 3 12s90ms 4s30ms 10 1 4s68ms 4s68ms 11 3 11s686ms 3s895ms 12 3 11s340ms 3s780ms 13 1 5s84ms 5s84ms 14 2 7s985ms 3s992ms 15 1 3s995ms 3s995ms 16 2 7s703ms 3s851ms 17 7 27s81ms 3s868ms 18 2 7s490ms 3s745ms 19 3 11s400ms 3s800ms 20 1 3s927ms 3s927ms 21 1 4s67ms 4s67ms Dec 19 00 2 7s736ms 3s868ms 01 1 4s897ms 4s897ms 05 5 20s622ms 4s124ms 06 1 3s790ms 3s790ms 07 1 4s339ms 4s339ms 08 1 4s101ms 4s101ms 09 2 8s187ms 4s93ms 10 3 12s378ms 4s126ms 11 2 8s833ms 4s416ms 12 3 12s130ms 4s43ms 13 4 15s431ms 3s857ms 15 2 7s537ms 3s768ms 16 3 11s444ms 3s814ms 17 1 4s18ms 4s18ms 18 2 7s495ms 3s747ms 21 7 26s951ms 3s850ms 22 2 7s601ms 3s800ms 23 3 11s781ms 3s927ms Dec 20 00 1 3s797ms 3s797ms 01 3 11s647ms 3s882ms 02 7 27s196ms 3s885ms 03 16 1m1s 3s823ms 04 19 1m13s 3s850ms 06 1 3s718ms 3s718ms 07 10 38s656ms 3s865ms 08 9 33s904ms 3s767ms 09 3 11s638ms 3s879ms 10 3 11s630ms 3s876ms 11 1 3s868ms 3s868ms 12 4 15s628ms 3s907ms 13 3 11s702ms 3s900ms 15 1 4s31ms 4s31ms 16 1 3s723ms 3s723ms 18 1 3s849ms 3s849ms 20 1 3s827ms 3s827ms 21 2 7s820ms 3s910ms 22 1 3s889ms 3s889ms Dec 21 00 1 4s328ms 4s328ms 04 11 42s997ms 3s908ms 06 1 4s49ms 4s49ms 07 4 15s682ms 3s920ms 08 2 7s619ms 3s809ms 09 1 3s884ms 3s884ms 10 4 15s176ms 3s794ms 12 1 3s769ms 3s769ms 14 1 3s884ms 3s884ms 17 1 3s941ms 3s941ms 18 1 3s842ms 3s842ms 19 1 4s2ms 4s2ms 21 1 3s907ms 3s907ms 22 3 11s587ms 3s862ms [ User: pubeu - Total duration: 8m57s - Times executed: 138 ]
-
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 = '1316187') 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 = '1316187') 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-12-18 13:13:56 Duration: 5s84ms 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 = '1316622') 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 = '1316622') 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-12-19 11:46:00 Duration: 5s71ms 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 = '1343871') 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 = '1343871') 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-12-19 01:44:53 Duration: 4s897ms Bind query: yes
18 1s53ms 14s633ms 3s615ms 144 8m40s 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.disease_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;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Dec 15 21 1 2s217ms 2s217ms Dec 16 03 1 2s279ms 2s279ms 04 1 1s680ms 1s680ms 05 1 2s663ms 2s663ms Dec 17 09 1 2s812ms 2s812ms Dec 18 21 1 4s21ms 4s21ms Dec 19 05 7 28s666ms 4s95ms 07 7 51s210ms 7s315ms 08 18 40s20ms 2s223ms 09 8 42s11ms 5s251ms 10 27 1m6s 2s456ms 11 20 57s484ms 2s874ms 13 15 1m7s 4s495ms 15 6 33s603ms 5s600ms Dec 21 23 30 1m58s 3s938ms [ User: pubeu - Total duration: 4m15s - Times executed: 66 ]
-
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.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2078930') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort;
Date: 2024-12-19 09:47:57 Duration: 14s633ms 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.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2078930') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort;
Date: 2024-12-19 09:47:57 Duration: 14s559ms 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.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2089088') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort;
Date: 2024-12-19 07:03:11 Duration: 12s886ms Database: ctdprd51 User: pubeu Bind query: yes
19 1s7ms 11s741ms 3s179ms 223 11m49s 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 #19
Day Hour Count Duration Avg duration Dec 15 00 1 2s403ms 2s403ms 01 2 2s364ms 1s182ms 05 1 1s382ms 1s382ms 12 2 12s904ms 6s452ms 13 3 5s895ms 1s965ms 17 2 5s206ms 2s603ms 20 2 5s270ms 2s635ms 21 2 4s287ms 2s143ms Dec 16 01 1 2s715ms 2s715ms 06 1 1s360ms 1s360ms 08 3 15s225ms 5s75ms 11 3 5s748ms 1s916ms 12 1 2s585ms 2s585ms 13 3 14s13ms 4s671ms 14 3 11s289ms 3s763ms 16 2 4s295ms 2s147ms 17 1 1s268ms 1s268ms 18 3 3s539ms 1s179ms 20 2 5s791ms 2s895ms 21 1 10s323ms 10s323ms 22 1 1s390ms 1s390ms 23 4 25s556ms 6s389ms Dec 17 00 5 27s775ms 5s555ms 01 2 3s451ms 1s725ms 02 3 9s994ms 3s331ms 04 1 2s679ms 2s679ms 05 5 14s108ms 2s821ms 06 2 8s895ms 4s447ms 07 5 16s632ms 3s326ms 08 5 23s310ms 4s662ms 10 2 2s464ms 1s232ms 11 1 4s117ms 4s117ms 16 1 2s677ms 2s677ms Dec 18 00 3 14s112ms 4s704ms 01 1 1s203ms 1s203ms 02 1 2s459ms 2s459ms 05 1 2s351ms 2s351ms 07 2 4s127ms 2s63ms 10 1 1s206ms 1s206ms Dec 19 01 67 3m43s 3s332ms 02 1 2s850ms 2s850ms 05 1 1s71ms 1s71ms 06 2 2s596ms 1s298ms 09 2 5s796ms 2s898ms 10 8 15s271ms 1s908ms 11 5 15s355ms 3s71ms 12 1 1s38ms 1s38ms 15 2 7s207ms 3s603ms Dec 20 00 1 1s14ms 1s14ms 11 1 3s154ms 3s154ms 12 1 2s691ms 2s691ms 13 2 10s700ms 5s350ms 15 1 1s361ms 1s361ms 18 1 1s514ms 1s514ms 20 1 1s12ms 1s12ms 23 2 2s398ms 1s199ms Dec 21 00 1 1s422ms 1s422ms 01 1 1s390ms 1s390ms 02 3 8s694ms 2s898ms 03 2 10s822ms 5s411ms 04 2 2s681ms 1s340ms 06 1 4s351ms 4s351ms 07 2 3s232ms 1s616ms 08 1 1s269ms 1s269ms 10 1 2s431ms 2s431ms 12 1 4s521ms 4s521ms 13 2 7s411ms 3s705ms 14 1 4s683ms 4s683ms 15 1 5s194ms 5s194ms 16 1 3s956ms 3s956ms 17 4 17s210ms 4s302ms 18 3 7s98ms 2s366ms 19 1 6s632ms 6s632ms 20 3 11s89ms 3s696ms 21 3 10s627ms 3s542ms 22 3 3s825ms 1s275ms 23 2 5s885ms 2s942ms [ User: pubeu - Total duration: 4m11s - Times executed: 79 ]
-
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 = '2089378') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-12-19 01:43:28 Duration: 11s741ms 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 = '2089378') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-12-17 00:40:29 Duration: 11s180ms 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 = '2089378') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-12-17 08:22:28 Duration: 10s797ms Bind query: yes
20 1s8ms 9s471ms 2s673ms 134 5m58s 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 #20
Day Hour Count Duration Avg duration Dec 15 12 9 21s663ms 2s407ms Dec 16 03 1 1s222ms 1s222ms 15 9 21s286ms 2s365ms 17 1 3s165ms 3s165ms 18 2 5s255ms 2s627ms 19 2 8s752ms 4s376ms 21 1 1s882ms 1s882ms 22 1 6s349ms 6s349ms 23 2 12s673ms 6s336ms Dec 17 00 2 7s209ms 3s604ms 03 2 4s211ms 2s105ms 04 2 8s579ms 4s289ms 05 1 6s84ms 6s84ms 07 1 1s877ms 1s877ms 22 10 24s849ms 2s484ms Dec 18 22 9 23s332ms 2s592ms Dec 19 01 12 29s645ms 2s470ms 21 2 5s644ms 2s822ms 22 10 28s511ms 2s851ms Dec 20 14 1 6s92ms 6s92ms 16 1 1s851ms 1s851ms 17 1 6s157ms 6s157ms 18 2 3s243ms 1s621ms 20 11 26s43ms 2s367ms 21 1 1s601ms 1s601ms 23 2 8s133ms 4s66ms Dec 21 00 1 1s832ms 1s832ms 03 1 3s322ms 3s322ms 04 1 1s754ms 1s754ms 05 3 7s146ms 2s382ms 06 1 2s844ms 2s844ms 07 1 2s136ms 2s136ms 10 1 2s133ms 2s133ms 12 2 3s280ms 1s640ms 13 1 1s869ms 1s869ms 14 1 2s122ms 2s122ms 15 10 24s755ms 2s475ms 16 2 7s732ms 3s866ms 18 5 10s342ms 2s68ms 19 1 1s22ms 1s22ms 20 1 1s322ms 1s322ms 21 1 2s90ms 2s90ms 22 1 2s121ms 2s121ms 23 2 5s31ms 2s515ms [ User: pubeu - Total duration: 1m28s - Times executed: 38 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1398604'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-12-19 22:52:33 Duration: 9s471ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1398604'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-12-19 01:33:57 Duration: 7s51ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1398604'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-12-17 04:26:01 Duration: 6s349ms 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 3s620ms 3 1s206ms 1s206ms 1s206ms SELECT DISTINCT stressorTerm.nm as chemNm;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration Dec 21 03 3 3s620ms 1s206ms -
SELECT DISTINCT stressorTerm.nm as chemNm;
Date: 2024-12-20 03:37:29 Duration: 1s206ms Database: postgres parameters: $1 = '1807357', $2 = '1807357'
2 0ms 134 0ms 0ms 0ms ;Times Reported Time consuming bind #2
Day Hour Count Duration Avg duration Dec 15 06 4 0ms 0ms 07 2 0ms 0ms 10 4 0ms 0ms 11 2 0ms 0ms 12 6 0ms 0ms Dec 16 12 2 0ms 0ms 13 2 0ms 0ms 14 8 0ms 0ms 15 10 0ms 0ms 16 6 0ms 0ms Dec 17 02 1 0ms 0ms 03 11 0ms 0ms 05 2 0ms 0ms 06 12 0ms 0ms 07 8 0ms 0ms 08 2 0ms 0ms 11 2 0ms 0ms Dec 18 07 8 0ms 0ms 08 2 0ms 0ms 09 4 0ms 0ms 11 4 0ms 0ms 12 4 0ms 0ms 18 4 0ms 0ms Dec 19 01 3 0ms 0ms 05 2 0ms 0ms 06 6 0ms 0ms 07 2 0ms 0ms 08 6 0ms 0ms 11 2 0ms 0ms 12 2 0ms 0ms Dec 22 00 1 0ms 0ms [ User: pubeu - Total duration: 1m49s - Times executed: 54 ]
-
;
Date: Duration: 0ms Database: postgres User: ctdprd51 Remote: pubeu
-
Events
Log levels
Key values
- 117,659 Log entries
Events distribution
Key values
- 0 PANIC entries
- 141 FATAL entries
- 102 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 73 Max number of times the same event was reported
- 243 Total events found
Rank Times reported Error 1 73 FATAL: canceling authentication due to timeout
Times Reported Most Frequent Error / Event #1
Day Hour Count Dec 19 02 1 03 1 04 1 05 1 06 22 07 13 09 15 10 5 11 1 12 3 13 3 14 4 19 1 20 2 2 45 ERROR: syntax error in ts"..."
Times Reported Most Frequent Error / Event #2
Day Hour Count Dec 15 04 1 09 2 18 2 19 1 23 1 Dec 16 03 2 04 1 08 2 11 1 12 1 18 2 21 2 23 2 Dec 17 01 1 05 1 08 1 21 1 23 1 Dec 18 05 1 07 1 10 1 20 1 21 2 Dec 19 19 1 23 1 Dec 20 03 1 04 2 19 1 20 3 23 2 Dec 21 07 1 20 1 21 1 - ERROR: syntax error in ts"晃建設㈱ 南区井尻"
- ERROR: syntax error in ts"(*+,,-./01231/4/52662789,:* | *+,,./01231/4/52662789,:*) & <=> & =@=AB=@=C0DE & FG"
- ERROR: syntax error in ts"1 & SIMON, & DAN. & OPTIMAL & STATE & ESTIMATION & KALMAN, & H∞, & AND & NONLINEAR & APPROACHES & || & REFERENCES & J & . & 2006 & (501-520. | 501520.)"
Statement: SELECT /* GeneBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Symbol' THEN true ELSE false END isNameMatch ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper( l.acc_txt ) = $3 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2024-12-15 04:42:31
Statement: SELECT /* GeneBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Symbol' THEN true ELSE false END isNameMatch ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper( l.acc_txt ) = $3 OR upper( l.acc_txt ) = $4 OR upper( l.acc_txt ) = $5 OR upper( l.acc_txt ) = $6 OR upper( l.acc_txt ) = $7 OR upper( l.acc_txt ) = $8 AND l.db_id = (SELECT id FROM db WHERE cd = $9) ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2024-12-16 11:34:46 Database: ctdprd51 Application: User: pubeu Remote:
Statement: SELECT /* GeneBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Symbol' THEN true ELSE false END isNameMatch ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper( l.acc_txt ) = $3 OR upper( l.acc_txt ) = $4 OR upper( l.acc_txt ) = $5 OR upper( l.acc_txt ) = $6 OR upper( l.acc_txt ) = $7 OR upper( l.acc_txt ) = $8 OR upper( l.acc_txt ) = $9 OR upper( l.acc_txt ) = $10 OR upper( l.acc_txt ) = $11 OR upper( l.acc_txt ) = $12 OR upper( l.acc_txt ) = $13 OR upper( l.acc_txt ) = $14 OR upper( l.acc_txt ) = $15 OR upper( l.acc_txt ) = $16 OR upper( l.acc_txt ) = $17 OR upper( l.acc_txt ) = $18 OR upper( l.acc_txt ) = $19 OR upper( l.acc_txt ) = $20 AND l.db_id = (SELECT id FROM db WHERE cd = $21) ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2024-12-16 12:21:17 Database: ctdprd51 Application: User: pubeu Remote:
3 44 FATAL: terminating connection due to administrator command
Times Reported Most Frequent Error / Event #3
Day Hour Count Dec 19 21 44 - FATAL: terminating connection due to administrator command
Statement: SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId ,g.acc_txt acc ,g.nm nm ,g.nm nmHtml ,g.secondary_nm secondaryNm ,g.has_chems hasChems ,g.has_diseases hasDiseases
Date: 2024-12-19 21:03:12
4 22 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #4
Day Hour Count Dec 19 07 1 09 2 10 2 12 5 15 3 21 2 Dec 20 05 1 16 6 5 19 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #5
Day Hour Count Dec 17 04 2 Dec 19 01 2 07 1 09 6 10 3 11 4 15 1 - FATAL: connection to client lost
- FATAL: connection to client lost
- FATAL: connection to client lost
Statement: SELECT /* CIQH.getIxnCacheQuery */ gcr.ixn_id ,gcr.chem_id ,NULL ,NULL FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS(SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN( SELECT tc.nm FROM actor_form_type tp ,actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein' OR tp.nm = 'gene' OR tp.nm = 'mRNA' ) ) ) AND gcr.gene_id = ANY (ARRAY ((SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5 ) INTERSECT (SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL INSUFFICIENCY' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0 ) )) AND gcr.chem_id = ANY (ARRAY (SELECT /* CIQH.getIxnChemWhereEquals.Label */ dp.descendant_object_id FROM dag_path dp INNER JOIN term_label l ON l.term_id = dp.ancestor_object_id WHERE UPPER(l.nm) LIKE 'LEAD' AND l.object_type_id = 2 ))
Date: 2024-12-17 04:08:12
Statement: (SELECT /* IQH.getMasterGoWhereEquals.GO */ pi.descendant_object_id FROM dag_path pi INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5 )
Date: 2024-12-19 07:00:49
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-12-19 09:34:15
6 16 LOG: could not send data to client: Connection reset by peer
Times Reported Most Frequent Error / Event #6
Day Hour Count Dec 19 09 5 10 4 11 5 15 2 - ERROR: could not send data to client: Connection reset by peer
- ERROR: could not send data to client: Connection reset by peer
- ERROR: could not send data to client: Connection reset by peer
Statement: SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,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)
Date: 2024-12-19 09:34:15 Database: ctdprd51 Application: User: pubeu Remote:
Statement: SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = $1) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Date: 2024-12-19 09:34:15 Database: ctdprd51 Application: User: pubeu Remote:
Statement: SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount
Date: 2024-12-19 09:34:15 Database: ctdprd51 Application: User: pubeu Remote:
7 8 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #7
Day Hour Count Dec 17 04 2 Dec 19 01 2 07 1 09 3 - ERROR: could not send data to client: Broken pipe
- ERROR: could not send data to client: Broken pipe
Statement: SELECT /* CIQH.getIxnCacheQuery */ gcr.ixn_id ,gcr.chem_id ,NULL ,NULL FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS(SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN( SELECT tc.nm FROM actor_form_type tp ,actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein' OR tp.nm = 'gene' OR tp.nm = 'mRNA' ) ) ) AND gcr.gene_id = ANY (ARRAY ((SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5 ) INTERSECT (SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL INSUFFICIENCY' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0 ) )) AND gcr.chem_id = ANY (ARRAY (SELECT /* CIQH.getIxnChemWhereEquals.Label */ dp.descendant_object_id FROM dag_path dp INNER JOIN term_label l ON l.term_id = dp.ancestor_object_id WHERE UPPER(l.nm) LIKE 'LEAD' AND l.object_type_id = 2 ))
Date: 2024-12-17 04:08:12 Database: ctdprd51 Application: User: pubeu Remote:
Statement: (SELECT /* IQH.getMasterGoWhereEquals.GO */ pi.descendant_object_id FROM dag_path pi INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5 )
Date: 2024-12-19 07:00:49
8 7 ERROR: invalid byte sequence for encoding
Times Reported Most Frequent Error / Event #8
Day Hour Count Dec 16 05 3 Dec 18 06 4 - ERROR: invalid byte sequence for encoding "UTF8": 0x00
- ERROR: invalid byte sequence for encoding "UTF8": 0x00
Context: unnamed portal parameter $1
Statement: SELECT /* GeneIdBySymbolAccDAO */ t.id ,t.nm ,t.nm_sort nmSort ,t.acc_txt acc ,t.acc_db_cd accDbCd FROM term t ,(SELECT li.term_id FROM term_label li INNER JOIN term_label_type lti ON li.term_label_type_id = lti.id AND li.object_type_id = lti.object_type_id AND UPPER(li.nm) = $1 AND lti.object_type_id = 4 AND lti.nm = 'SYMBOL' UNION SELECT l.object_id FROM db_link l WHERE l.acc_txt = $2 AND l.object_type_id = 4 AND l.type_cd = 'A') ids WHERE t.id = ids.term_id ORDER BY CASE WHEN UPPER(t.nm) = $3 THEN 1 ELSE 2 END ,t.nm_sortDate: 2024-12-16 05:25:33
Context: unnamed portal parameter $1
Statement: SELECT /* ObjectIdDAOImpl.LabelsAndAccs */ t.id ,t.nm ,t.nm_sort nmSort ,t.acc_txt acc ,t.acc_db_cd accDbCd FROM term t ,(SELECT li.term_id FROM term_label li WHERE UPPER(li.nm) = $1 AND li.object_type_id = 2 UNION SELECT l.object_id FROM db_link l WHERE upper( l.acc_txt ) = $2 AND l.object_type_id = 2 AND l.type_cd = 'A') ids WHERE t.id = ids.term_id ORDER BY CASE WHEN UPPER(t.nm) = $3 THEN 1 ELSE 2 END ,t.nm_sortDate: 2024-12-18 06:03:02 Database: ctdprd51 Application: User: pubeu Remote:
9 3 ERROR: canceling statement due to user request
Times Reported Most Frequent Error / Event #9
Day Hour Count Dec 19 09 3 - ERROR: canceling statement due to user request
- ERROR: canceling statement due to user request
Statement: SELECT row_to_json(T) FROM ( SELECT archived_count, failed_count FROM pg_stat_archiver ) T;
Date: 2024-12-19 09:10:31 Database: postgres Application: User: zbx_monitor Remote:
Statement: SELECT count(*) FROM pg_catalog.pg_stat_all_tables WHERE (n_dead_tup/(n_live_tup+n_dead_tup)::float8) > 0.2 AND (n_live_tup+n_dead_tup) > 50;
Date: 2024-12-19 09:10:31
10 1 FATAL: ,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 (...) and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc 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 (...) and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc
Times Reported Most Frequent Error / Event #10
Day Hour Count Dec 19 10 1 - FATAL: ,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 = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc 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 = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc
Statement: SELECT /* GoDiseasesDAO */
Date: 2024-12-19 10:11:51
11 1 FATAL: ,CASE WHEN gd.curated_reference_qty > 0 THEN (...) FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (...) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (...) FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (...) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Times Reported Most Frequent Error / Event #11
Day Hour Count Dec 19 09 1 - FATAL: ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = ) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = ) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Statement: SELECT /* DiseaseGeneAssnsDAO */
Date: 2024-12-19 09:34:15
12 1 FATAL: connection to client lost d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount
Times Reported Most Frequent Error / Event #12
Day Hour Count Dec 19 15 1 - FATAL: connection to client lost d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount
Statement: SELECT /* DiseaseGeneAssnsDAO */
Date: 2024-12-19 15:45:45
13 1 FATAL: END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (...) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Times Reported Most Frequent Error / Event #13
Day Hour Count Dec 19 09 1 14 1 LOG: database system was shut down at ...
Times Reported Most Frequent Error / Event #14
Day Hour Count Dec 19 21 1 15 1 FATAL: connection to client lost 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 (...) and diseaseTerm.object_type_id = 3 ORDER BY referenceCount DESC
Times Reported Most Frequent Error / Event #15
Day Hour Count Dec 19 11 1 - FATAL: connection to client lost 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 = 3 ORDER BY referenceCount DESC
Statement: SELECT /* GoDiseasesDAO */
Date: 2024-12-19 11:24:26