-
Global information
- Generated on Sun Dec 15 04:15:15 2024
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20241214
- Parsed 196,422 log entries in 14s
- Log start from 2024-12-08 00:00:02 to 2024-12-14 23:58:42
-
Overview
Global Stats
- 466 Number of unique normalized queries
- 7,055 Number of queries
- 17h56m27s Total query duration
- 2024-12-08 00:00:17 First query
- 2024-12-14 23:57:40 Last query
- 7 queries/s at 2024-12-09 09:40:22 Query peak
- 17h56m27s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 17h56m27s Execute total duration
- 17 Number of events
- 4 Number of unique normalized events
- 9 Max number of times the same event was reported
- 0 Number of cancellation
- 91 Total number of automatic vacuums
- 222 Total number of automatic analyzes
- 6 Number temporary file
- 1.00 GiB Max size of temporary file
- 1007.37 MiB Average size of temporary file
- 19,259 Total number of sessions
- 64 sessions at 2024-12-13 01:11:49 Session peak
- 280d13h30m7s Total duration of sessions
- 20m58s Average duration of sessions
- 0 Average queries per session
- 3s353ms Average queries duration per session
- 20m55s Average idle time per session
- 19,259 Total number of connections
- 34 connections/s at 2024-12-14 03:05:06 Connection peak
- 2 Total number of databases
SQL Traffic
Key values
- 7 queries/s Query Peak
- 2024-12-09 09:40:22 Date
SELECT Traffic
Key values
- 7 queries/s Query Peak
- 2024-12-09 09:40:22 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1 queries/s Query Peak
- 2024-12-09 14:00:44 Date
Queries duration
Key values
- 17h56m27s 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 08 00 42 0ms 20m39s 32s234ms 11s209ms 12s619ms 20m46s 01 54 0ms 23s534ms 2s628ms 3s821ms 6s563ms 47s502ms 02 66 0ms 1m6s 3s477ms 7s385ms 9s74ms 1m7s 03 34 0ms 3s358ms 1s481ms 2s582ms 2s899ms 4s458ms 04 44 0ms 5s313ms 1s580ms 3s863ms 5s295ms 6s431ms 05 80 0ms 6s686ms 2s69ms 7s439ms 17s191ms 31s37ms 06 54 0ms 41s260ms 3s307ms 3s789ms 23s946ms 53s374ms 07 40 0ms 5s141ms 1s499ms 2s886ms 3s311ms 5s141ms 08 37 0ms 5s275ms 1s597ms 2s752ms 3s860ms 7s936ms 09 39 0ms 7s333ms 2s141ms 2s932ms 7s333ms 10s631ms 10 40 0ms 41s181ms 4s42ms 5s577ms 23s897ms 50s355ms 11 45 0ms 2m54s 5s326ms 2s555ms 6s747ms 2m56s 12 70 0ms 5m10s 6s301ms 15s4ms 18s344ms 5m10s 13 46 0ms 5s199ms 1s730ms 3s807ms 5s165ms 10s250ms 14 58 0ms 41s172ms 4s401ms 12s993ms 22s513ms 54s909ms 15 64 0ms 11s379ms 3s826ms 12s748ms 22s436ms 36s367ms 16 35 0ms 53s535ms 3s1ms 2s712ms 4s11ms 54s989ms 17 32 0ms 19s99ms 1s944ms 1s501ms 1s510ms 22s988ms 18 47 0ms 41s371ms 3s110ms 4s144ms 9s669ms 50s548ms 19 46 0ms 5s183ms 1s637ms 3s60ms 5s46ms 5s183ms 20 35 0ms 5s941ms 1s476ms 2s517ms 2s665ms 5s941ms 21 43 0ms 15s656ms 2s940ms 6s643ms 15s476ms 18s692ms 22 33 0ms 1s864ms 1s363ms 2s718ms 2s778ms 2s862ms 23 32 0ms 5s301ms 1s686ms 2s146ms 2s730ms 10s549ms Dec 09 00 32 0ms 20m45s 40s454ms 2s695ms 3s625ms 20m51s 01 29 0ms 5s441ms 1s843ms 2s675ms 5s173ms 6s910ms 02 34 0ms 5s286ms 1s846ms 3s668ms 5s726ms 6s753ms 03 38 0ms 3s907ms 1s418ms 2s400ms 2s873ms 3s907ms 04 41 0ms 26s239ms 2s426ms 3s894ms 5s459ms 26s239ms 05 79 0ms 25s541ms 2s735ms 17s32ms 25s541ms 28s433ms 06 46 0ms 41s904ms 3s700ms 2s771ms 23s876ms 51s236ms 07 31 0ms 7s487ms 1s791ms 4s500ms 5s289ms 7s487ms 08 36 0ms 5s209ms 1s545ms 2s686ms 3s753ms 5s209ms 09 203 0ms 4m25s 8s891ms 1m22s 2m22s 5m7s 10 415 0ms 45s686ms 6s540ms 1m11s 1m31s 1m46s 11 31 0ms 4s 1s648ms 2s814ms 3s798ms 4s 12 26 0ms 3s785ms 1s449ms 1s502ms 2s350ms 5s250ms 13 23 0ms 3s969ms 1s696ms 2s672ms 3s204ms 3s969ms 14 36 0ms 41s208ms 4s664ms 5s80ms 9s794ms 56s596ms 15 25 0ms 4s69ms 1s449ms 2s570ms 3s330ms 4s69ms 16 55 0ms 4s494ms 1s374ms 3s481ms 4s550ms 7s946ms 17 28 0ms 5s323ms 1s779ms 1s508ms 5s72ms 5s323ms 18 44 0ms 41s737ms 3s882ms 3s882ms 11s238ms 58s470ms 19 93 0ms 1m11s 3s961ms 18s837ms 29s965ms 1m19s 20 47 0ms 19s535ms 2s325ms 4s991ms 9s422ms 19s535ms 21 35 0ms 5s354ms 2s39ms 3s961ms 5s372ms 15s834ms 22 33 0ms 7s41ms 2s44ms 3s820ms 6s134ms 9s454ms 23 30 0ms 4s421ms 1s473ms 1s485ms 2s602ms 5s926ms Dec 10 00 34 0ms 21m 39s70ms 2s576ms 3s985ms 21m6s 01 43 0ms 25s633ms 2s984ms 5s251ms 16s263ms 25s633ms 02 35 0ms 6s323ms 2s34ms 3s183ms 5s329ms 12s613ms 03 29 0ms 25s568ms 2s616ms 2s839ms 5s29ms 25s568ms 04 34 0ms 5s204ms 1s848ms 3s918ms 5s125ms 7s277ms 05 77 0ms 26s839ms 2s886ms 14s703ms 28s306ms 30s751ms 06 41 0ms 41s598ms 4s338ms 5s122ms 23s869ms 50s781ms 07 34 0ms 5s354ms 1s524ms 2s632ms 3s302ms 6s828ms 08 26 0ms 5s457ms 1s687ms 2s597ms 3s412ms 6s863ms 09 65 0ms 6s214ms 2s100ms 3s966ms 20s266ms 24s627ms 10 45 0ms 27m25s 1m16s 11s185ms 54s951ms 27m26s 11 30 0ms 22s454ms 3s282ms 2s932ms 5s956ms 44s539ms 12 34 0ms 5s268ms 1s528ms 2s294ms 2s363ms 5s268ms 13 30 0ms 13s485ms 2s33ms 2s485ms 4s107ms 13s485ms 14 39 0ms 41s741ms 3s982ms 1s843ms 23s790ms 50s984ms 15 28 0ms 5s51ms 1s762ms 1s969ms 3s818ms 5s51ms 16 22 0ms 1s627ms 1s375ms 1s474ms 1s493ms 2s358ms 17 26 0ms 4s812ms 1s635ms 1s556ms 2s570ms 4s812ms 18 37 0ms 5m14s 12s584ms 2s673ms 40s878ms 5m14s 19 22 0ms 5s403ms 1s611ms 1s490ms 1s542ms 6s869ms 20 31 0ms 11s146ms 1s772ms 1s497ms 2s833ms 12s605ms 21 35 0ms 24s509ms 4s216ms 8s783ms 16s353ms 31s888ms 22 55 0ms 19s947ms 4s840ms 20s525ms 31s104ms 38s396ms 23 36 0ms 32s916ms 6s174ms 5s499ms 34s635ms 1m7s Dec 11 00 37 0ms 21m22s 36s595ms 4s21ms 5s928ms 21m28s 01 47 0ms 7s410ms 2s413ms 7s541ms 15s547ms 19s621ms 02 42 0ms 37s97ms 2s795ms 2s598ms 5s137ms 43s950ms 03 43 0ms 10s413ms 2s102ms 3s832ms 6s894ms 13s411ms 04 45 0ms 9s948ms 1s963ms 3s835ms 6s993ms 11s906ms 05 88 0ms 1m51s 3s738ms 14s359ms 28s486ms 1m51s 06 37 0ms 42s463ms 4s503ms 4s2ms 11s174ms 54s968ms 07 42 0ms 4m23s 8s439ms 3s996ms 11s990ms 4m24s 08 43 0ms 15s679ms 2s373ms 5s649ms 6s564ms 15s679ms 09 47 0ms 6s118ms 1s870ms 3s966ms 6s118ms 10s57ms 10 36 0ms 42s254ms 4s28ms 2s744ms 28s986ms 52s939ms 11 23 0ms 11s279ms 3s270ms 3s825ms 11s139ms 12s578ms 12 85 0ms 14s25ms 8s552ms 34s220ms 36s698ms 1m6s 13 54 0ms 13s274ms 6s112ms 23s629ms 26s201ms 36s496ms 14 44 0ms 42s323ms 4s367ms 5s41ms 27s29ms 51s578ms 15 41 0ms 5s364ms 1s924ms 1s507ms 11s634ms 20s400ms 16 27 0ms 5s383ms 1s783ms 2s366ms 4s172ms 10s716ms 17 23 0ms 1s550ms 1s368ms 1s478ms 1s550ms 2s947ms 18 31 0ms 42s24ms 4s677ms 2s676ms 9s793ms 55s212ms 19 28 0ms 3s11ms 1s392ms 2s280ms 2s640ms 4s124ms 20 37 0ms 5s58ms 1s685ms 3s617ms 3s830ms 5s58ms 21 72 0ms 13s780ms 6s855ms 46s574ms 1m 1m43s 22 40 0ms 43s774ms 3s273ms 5s9ms 5s275ms 46s269ms 23 35 0ms 8s213ms 2s79ms 5s244ms 5s457ms 8s213ms Dec 12 00 33 0ms 21m7s 40s305ms 3s748ms 6s430ms 21m13s 01 31 0ms 4s936ms 1s746ms 2s688ms 3s952ms 11s192ms 02 35 0ms 21s60ms 2s282ms 4s77ms 6s365ms 21s60ms 03 50 0ms 21s173ms 3s486ms 4s462ms 20s360ms 39s597ms 04 32 0ms 5s533ms 1s608ms 3s28ms 5s213ms 5s533ms 05 72 0ms 6s761ms 2s58ms 6s655ms 15s759ms 28s320ms 06 41 0ms 42s276ms 4s450ms 7s278ms 25s528ms 54s246ms 07 35 0ms 5s955ms 1s918ms 4s90ms 4s420ms 7s439ms 08 31 0ms 4s105ms 1s497ms 2s652ms 2s730ms 5s592ms 09 33 0ms 4s50ms 1s514ms 2s429ms 2s733ms 5s220ms 10 34 0ms 6h49m14s 12m6s 9s702ms 51s914ms 6h49m14s 11 36 0ms 5s162ms 2s41ms 2s894ms 5s381ms 19s247ms 12 21 0ms 1s853ms 1s392ms 1s482ms 1s487ms 2s304ms 13 29 0ms 9s902ms 2s4ms 2s907ms 4s760ms 10s774ms 14 46 0ms 42s224ms 3s963ms 4s162ms 23s919ms 58s870ms 15 35 0ms 3s980ms 1s659ms 3s820ms 4s194ms 5s459ms 16 16 0ms 3s785ms 1s615ms 1s504ms 2s19ms 3s785ms 17 18 0ms 3s295ms 1s566ms 1s479ms 1s549ms 3s295ms 18 53 0ms 41s913ms 3s824ms 23s466ms 43s663ms 52s586ms 19 42 0ms 22s510ms 3s342ms 3s817ms 21s644ms 1m8s 20 26 0ms 3s950ms 1s597ms 1s912ms 2s720ms 3s950ms 21 28 0ms 5s359ms 1s572ms 2s264ms 2s534ms 6s817ms 22 39 0ms 3s922ms 1s801ms 3s914ms 5s32ms 5s364ms 23 49 0ms 4s71ms 2s595ms 6s846ms 7s963ms 11s928ms Dec 13 00 58 0ms 21m21s 24s695ms 6s200ms 9s229ms 21m29s 01 35 0ms 4s336ms 1s670ms 3s800ms 4s150ms 5s614ms 02 27 0ms 5s879ms 1s691ms 2s688ms 2s847ms 8s446ms 03 42 0ms 5s479ms 1s789ms 4s388ms 5s479ms 5s596ms 04 30 0ms 6s100ms 2s248ms 2s650ms 4s713ms 17s818ms 05 60 0ms 6s824ms 2s193ms 4s601ms 17s37ms 31s801ms 06 39 0ms 42s296ms 4s392ms 5s349ms 23s865ms 51s581ms 07 18 0ms 5s213ms 1s713ms 1s494ms 2s657ms 6s237ms 08 29 0ms 5s198ms 1s511ms 2s629ms 3s749ms 5s198ms 09 30 0ms 4s361ms 1s768ms 3s684ms 4s361ms 5s261ms 10 33 0ms 42s300ms 4s758ms 2s692ms 23s773ms 1m1s 11 26 0ms 6s983ms 1s830ms 1s545ms 3s662ms 6s983ms 12 18 0ms 3s672ms 1s597ms 1s484ms 3s670ms 3s859ms 13 40 0ms 1m17s 4s206ms 6s163ms 8s139ms 1m17s 14 38 0ms 42s418ms 4s976ms 3s693ms 26s639ms 53s148ms 15 25 0ms 3s717ms 1s563ms 2s109ms 3s668ms 4s981ms 16 21 0ms 4s97ms 1s555ms 1s474ms 2s433ms 4s97ms 17 20 0ms 1s547ms 1s379ms 1s480ms 1s500ms 2s206ms 18 39 0ms 42s65ms 4s196ms 3s639ms 23s776ms 52s562ms 19 25 0ms 5s302ms 1s739ms 2s505ms 3s643ms 8s935ms 20 80 0ms 6s497ms 2s398ms 19s231ms 23s417ms 23s693ms 21 25 0ms 3s247ms 1s447ms 2s169ms 2s605ms 3s247ms 22 34 0ms 18s688ms 2s199ms 3s751ms 5s281ms 18s688ms 23 26 0ms 5s979ms 1s699ms 2s533ms 3s565ms 7s449ms Dec 14 00 34 0ms 21m29s 39s446ms 2s580ms 2s963ms 21m35s 01 27 0ms 5s155ms 1s778ms 2s482ms 3s3ms 11s311ms 02 26 0ms 5s169ms 1s756ms 2s722ms 3s981ms 6s633ms 03 37 0ms 5s737ms 1s903ms 4s447ms 5s545ms 12s286ms 04 35 0ms 5s359ms 1s621ms 2s637ms 4s288ms 10s561ms 05 65 0ms 14s769ms 2s567ms 15s433ms 19s355ms 30s373ms 06 25 0ms 4s163ms 1s480ms 1s485ms 2s632ms 4s163ms 07 25 0ms 6s391ms 1s713ms 2s672ms 3s935ms 6s391ms 08 30 0ms 3s631ms 1s587ms 2s46ms 3s631ms 7s863ms 09 27 0ms 5s62ms 1s570ms 2s630ms 2s761ms 7s883ms 10 25 0ms 5s262ms 1s683ms 2s55ms 2s659ms 6s315ms 11 36 0ms 6s903ms 2s806ms 6s665ms 6s765ms 13s684ms 12 35 0ms 7s107ms 1s863ms 3s826ms 5s203ms 7s107ms 13 30 0ms 4s207ms 1s600ms 2s519ms 4s74ms 6s123ms 14 25 0ms 2m24s 7s70ms 1s534ms 2s522ms 2m24s 15 21 0ms 3s700ms 1s468ms 1s480ms 2s601ms 3s700ms 16 50 0ms 6s267ms 2s168ms 6s123ms 15s10ms 24s361ms 17 35 0ms 6s83ms 2s124ms 4s66ms 4s253ms 14s333ms 18 49 0ms 1m11s 9s357ms 40s3ms 1m6s 1m11s 19 82 0ms 23m53s 59s835ms 2m 7m26s 24m25s 20 21 0ms 3s499ms 1s555ms 1s535ms 3s499ms 4s253ms 21 37 0ms 4s113ms 1s522ms 2s800ms 3s681ms 5s375ms 22 20 0ms 1s490ms 1s374ms 1s484ms 1s490ms 2s413ms 23 34 0ms 5s595ms 1s970ms 4s84ms 5s86ms 10s860ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Dec 08 00 41 0 32s881ms 2s669ms 11s209ms 15s513ms 01 54 0 2s628ms 2s898ms 3s821ms 20s701ms 02 66 0 3s477ms 5s571ms 7s385ms 23s271ms 03 34 0 1s481ms 1s463ms 2s582ms 3s358ms 04 44 0 1s580ms 2s609ms 3s863ms 6s431ms 05 77 0 2s49ms 2s759ms 7s439ms 31s37ms 06 44 10 3s307ms 2s351ms 3s789ms 41s32ms 07 40 0 1s499ms 2s377ms 2s886ms 5s141ms 08 37 0 1s597ms 1s505ms 2s752ms 5s299ms 09 39 0 2s141ms 1s507ms 2s932ms 8s781ms 10 31 9 4s42ms 2s367ms 5s577ms 50s355ms 11 45 0 5s326ms 1s485ms 2s555ms 7s720ms 12 70 0 6s301ms 2s739ms 15s4ms 5m10s 13 46 0 1s730ms 2s589ms 3s807ms 6s567ms 14 48 10 4s401ms 2s936ms 12s993ms 50s320ms 15 64 0 3s826ms 11s78ms 12s748ms 35s328ms 16 35 0 3s1ms 1s494ms 2s712ms 4s53ms 17 32 0 1s944ms 1s479ms 1s501ms 2s916ms 18 39 8 3s110ms 1s496ms 4s144ms 27s459ms 19 46 0 1s637ms 1s502ms 3s60ms 5s95ms 20 35 0 1s476ms 1s488ms 2s517ms 5s941ms 21 43 0 2s940ms 2s678ms 6s643ms 15s656ms 22 33 0 1s363ms 1s486ms 2s718ms 2s862ms 23 32 0 1s686ms 1s466ms 2s146ms 4s217ms Dec 09 00 31 0 41s574ms 1s505ms 2s695ms 20m45s 01 29 0 1s843ms 1s481ms 2s675ms 6s910ms 02 34 0 1s846ms 2s39ms 3s668ms 6s753ms 03 38 0 1s418ms 1s479ms 2s400ms 3s901ms 04 41 0 2s426ms 2s603ms 3s894ms 6s587ms 05 76 0 2s739ms 5s257ms 17s32ms 28s433ms 06 36 10 3s700ms 1s524ms 2s771ms 41s71ms 07 31 0 1s791ms 1s478ms 4s500ms 7s487ms 08 36 0 1s545ms 1s478ms 2s686ms 5s209ms 09 203 0 8s891ms 59s315ms 1m22s 3m39s 10 405 10 6s540ms 1m2s 1m10s 1m13s 11 31 0 1s648ms 1s500ms 2s814ms 3s915ms 12 26 0 1s449ms 1s472ms 1s502ms 5s250ms 13 23 0 1s696ms 1s473ms 2s672ms 3s969ms 14 26 10 4s664ms 1s490ms 5s80ms 50s420ms 15 25 0 1s449ms 1s464ms 2s570ms 4s69ms 16 55 0 1s374ms 2s554ms 3s481ms 5s972ms 17 28 0 1s779ms 1s471ms 1s508ms 5s204ms 18 34 10 3s882ms 2s451ms 6s693ms 54s813ms 19 93 0 3s961ms 11s187ms 18s837ms 45s970ms 20 47 0 2s325ms 3s961ms 4s991ms 19s535ms 21 35 0 2s39ms 1s483ms 3s961ms 15s834ms 22 33 0 2s44ms 1s516ms 3s820ms 9s454ms 23 30 0 1s473ms 1s467ms 1s485ms 2s814ms Dec 10 00 33 0 40s83ms 1s478ms 2s576ms 19s607ms 01 43 0 2s984ms 2s773ms 5s251ms 16s992ms 02 35 0 2s34ms 1s515ms 3s183ms 8s936ms 03 29 0 2s616ms 1s482ms 2s839ms 7s836ms 04 34 0 1s848ms 1s494ms 3s918ms 5s204ms 05 73 0 2s920ms 3s842ms 14s703ms 29s303ms 06 33 8 4s338ms 2s584ms 5s122ms 29s924ms 07 34 0 1s524ms 1s484ms 2s632ms 5s139ms 08 26 0 1s687ms 1s479ms 2s597ms 6s863ms 09 65 0 2s100ms 2s895ms 3s966ms 23s230ms 10 34 10 1m18s 3s45ms 10s501ms 26m57s 11 30 0 3s282ms 1s480ms 2s932ms 44s539ms 12 34 0 1s528ms 1s472ms 2s294ms 5s240ms 13 30 0 2s33ms 1s481ms 2s485ms 5s163ms 14 29 10 3s982ms 1s474ms 2s483ms 40s831ms 15 28 0 1s762ms 1s483ms 1s969ms 3s834ms 16 22 0 1s375ms 1s465ms 1s474ms 1s627ms 17 26 0 1s635ms 1s484ms 1s556ms 4s812ms 18 27 10 12s584ms 1s471ms 2s673ms 50s718ms 19 22 0 1s611ms 1s473ms 1s490ms 6s869ms 20 31 0 1s772ms 1s476ms 1s497ms 3s820ms 21 35 0 4s216ms 2s902ms 8s783ms 31s888ms 22 55 0 4s840ms 4s227ms 20s525ms 35s986ms 23 36 0 6s174ms 1s481ms 5s499ms 1m7s Dec 11 00 36 0 37s448ms 2s227ms 4s21ms 21m22s 01 47 0 2s413ms 1s542ms 7s541ms 19s621ms 02 42 0 2s795ms 1s521ms 2s598ms 21s625ms 03 43 0 2s102ms 2s454ms 3s832ms 11s298ms 04 45 0 1s963ms 2s584ms 3s835ms 9s948ms 05 85 0 3s778ms 5s967ms 14s359ms 31s15ms 06 27 10 4s503ms 1s478ms 4s2ms 51s779ms 07 42 0 8s439ms 2s639ms 3s996ms 18s848ms 08 43 0 2s373ms 3s735ms 5s649ms 15s679ms 09 47 0 1s870ms 2s740ms 3s966ms 9s587ms 10 27 9 4s28ms 1s482ms 3s787ms 27s249ms 11 23 0 3s270ms 2s455ms 3s825ms 12s578ms 12 84 0 8s631ms 22s604ms 34s220ms 50s500ms 13 54 0 6s112ms 11s274ms 23s629ms 34s331ms 14 33 10 4s423ms 1s488ms 5s41ms 41s606ms 15 41 0 1s924ms 1s468ms 1s507ms 16s60ms 16 27 0 1s783ms 1s490ms 2s366ms 5s223ms 17 23 0 1s368ms 1s464ms 1s478ms 2s947ms 18 21 10 4s677ms 1s467ms 2s676ms 55s212ms 19 28 0 1s392ms 1s471ms 2s280ms 4s124ms 20 37 0 1s685ms 2s388ms 3s617ms 5s58ms 21 72 0 6s855ms 11s272ms 46s574ms 1m43s 22 40 0 3s273ms 3s790ms 5s9ms 46s269ms 23 35 0 2s79ms 2s419ms 5s244ms 8s213ms Dec 12 00 32 0 41s390ms 1s528ms 3s748ms 7s793ms 01 31 0 1s746ms 1s480ms 2s688ms 11s192ms 02 35 0 2s282ms 2s624ms 4s77ms 21s60ms 03 50 0 3s486ms 3s744ms 4s462ms 20s722ms 04 32 0 1s608ms 2s97ms 3s28ms 5s533ms 05 68 0 2s39ms 2s713ms 6s655ms 23s690ms 06 31 10 4s450ms 1s565ms 7s278ms 41s295ms 07 34 0 1s871ms 2s365ms 4s90ms 7s439ms 08 31 0 1s497ms 1s514ms 2s652ms 5s592ms 09 33 0 1s514ms 1s510ms 2s429ms 5s220ms 10 24 10 12m6s 1s476ms 9s702ms 6h49m14s 11 36 0 2s41ms 1s474ms 2s894ms 19s247ms 12 21 0 1s392ms 1s466ms 1s482ms 2s304ms 13 29 0 2s4ms 1s488ms 2s907ms 10s774ms 14 36 10 3s963ms 2s749ms 4s875ms 40s919ms 15 35 0 1s659ms 1s536ms 3s820ms 5s278ms 16 16 0 1s615ms 1s476ms 1s504ms 2s639ms 17 18 0 1s566ms 1s473ms 1s479ms 3s295ms 18 43 10 3s824ms 2s830ms 23s466ms 51s109ms 19 42 0 3s342ms 2s653ms 3s817ms 1m8s 20 26 0 1s597ms 1s473ms 1s912ms 3s950ms 21 28 0 1s572ms 1s472ms 2s264ms 6s817ms 22 39 0 1s801ms 2s592ms 3s914ms 5s364ms 23 49 0 2s595ms 4s903ms 6s846ms 11s928ms Dec 13 00 57 0 25s22ms 5s83ms 6s200ms 10s881ms 01 35 0 1s670ms 2s535ms 3s800ms 5s614ms 02 27 0 1s691ms 1s611ms 2s688ms 8s446ms 03 42 0 1s789ms 2s705ms 4s388ms 5s496ms 04 30 0 2s248ms 1s485ms 2s650ms 8s500ms 05 57 0 2s170ms 1s478ms 3s587ms 31s801ms 06 29 10 4s392ms 2s674ms 5s349ms 51s581ms 07 18 0 1s713ms 1s460ms 1s494ms 4s673ms 08 29 0 1s511ms 1s474ms 2s629ms 5s198ms 09 30 0 1s768ms 1s483ms 3s684ms 5s261ms 10 23 10 4s758ms 1s477ms 3s651ms 51s545ms 11 26 0 1s830ms 1s472ms 1s545ms 4s940ms 12 18 0 1s597ms 1s459ms 1s484ms 3s859ms 13 40 0 4s206ms 3s832ms 6s163ms 1m17s 14 28 10 4s976ms 2s578ms 3s693ms 51s667ms 15 25 0 1s563ms 1s473ms 2s109ms 3s717ms 16 21 0 1s555ms 1s470ms 1s474ms 2s585ms 17 20 0 1s379ms 1s473ms 1s480ms 2s206ms 18 29 10 4s196ms 2s410ms 3s639ms 51s306ms 19 25 0 1s739ms 1s475ms 2s505ms 8s935ms 20 79 0 2s388ms 5s881ms 19s231ms 23s693ms 21 25 0 1s447ms 1s480ms 2s169ms 3s247ms 22 34 0 2s199ms 2s811ms 3s751ms 18s688ms 23 26 0 1s699ms 1s480ms 2s533ms 7s449ms Dec 14 00 33 0 40s469ms 1s489ms 2s580ms 21m29s 01 27 0 1s778ms 1s475ms 2s482ms 11s311ms 02 26 0 1s756ms 1s479ms 2s722ms 6s633ms 03 37 0 1s903ms 2s646ms 4s447ms 12s286ms 04 35 0 1s621ms 1s484ms 2s637ms 10s561ms 05 62 0 2s564ms 1s528ms 15s433ms 28s267ms 06 25 0 1s480ms 1s466ms 1s485ms 4s163ms 07 25 0 1s713ms 1s477ms 2s672ms 6s391ms 08 30 0 1s587ms 1s472ms 2s46ms 7s863ms 09 27 0 1s570ms 1s471ms 2s630ms 7s883ms 10 25 0 1s683ms 1s464ms 2s55ms 6s315ms 11 36 0 2s806ms 2s449ms 6s665ms 9s649ms 12 35 0 1s863ms 1s515ms 3s826ms 6s270ms 13 30 0 1s600ms 1s476ms 2s519ms 6s123ms 14 25 0 7s70ms 1s472ms 1s534ms 2m24s 15 21 0 1s468ms 1s467ms 1s480ms 3s700ms 16 50 0 2s168ms 1s478ms 6s123ms 24s361ms 17 35 0 2s124ms 2s531ms 4s66ms 14s333ms 18 23 26 9s357ms 2s840ms 40s3ms 1m7s 19 34 48 59s835ms 1m11s 1m59s 23m54s 20 20 0 1s493ms 1s474ms 1s484ms 3s499ms 21 37 0 1s522ms 2s390ms 2s800ms 5s375ms 22 20 0 1s374ms 1s475ms 1s484ms 2s413ms 23 34 0 1s970ms 2s128ms 4s84ms 10s860ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Dec 08 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Dec 09 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Dec 10 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Dec 11 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Dec 12 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Dec 13 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Dec 14 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Dec 08 00 0 42 42.00 0.00% 01 0 54 54.00 0.00% 02 0 66 66.00 0.00% 03 0 34 34.00 0.00% 04 0 44 44.00 0.00% 05 0 80 80.00 0.00% 06 0 44 44.00 0.00% 07 0 40 40.00 0.00% 08 0 48 48.00 0.00% 09 0 56 56.00 0.00% 10 0 37 37.00 0.00% 11 0 45 45.00 0.00% 12 0 70 70.00 0.00% 13 0 46 46.00 0.00% 14 0 48 48.00 0.00% 15 0 64 64.00 0.00% 16 0 43 43.00 0.00% 17 0 44 44.00 0.00% 18 0 42 42.00 0.00% 19 0 46 46.00 0.00% 20 0 35 35.00 0.00% 21 0 43 43.00 0.00% 22 0 33 33.00 0.00% 23 0 32 32.00 0.00% Dec 09 00 0 30 30.00 0.00% 01 0 29 29.00 0.00% 02 0 34 34.00 0.00% 03 0 38 38.00 0.00% 04 0 41 41.00 0.00% 05 0 77 77.00 0.00% 06 0 36 36.00 0.00% 07 0 31 31.00 0.00% 08 0 36 36.00 0.00% 09 0 210 210.00 0.00% 10 0 424 424.00 0.00% 11 0 35 35.00 0.00% 12 0 28 28.00 0.00% 13 0 30 30.00 0.00% 14 0 33 33.00 0.00% 15 0 30 30.00 0.00% 16 0 61 61.00 0.00% 17 0 33 33.00 0.00% 18 0 34 34.00 0.00% 19 0 93 93.00 0.00% 20 0 47 47.00 0.00% 21 0 35 35.00 0.00% 22 0 33 33.00 0.00% 23 0 30 30.00 0.00% Dec 10 00 0 32 32.00 0.00% 01 0 43 43.00 0.00% 02 0 35 35.00 0.00% 03 0 29 29.00 0.00% 04 0 34 34.00 0.00% 05 0 77 77.00 0.00% 06 0 37 37.00 0.00% 07 0 37 37.00 0.00% 08 0 26 26.00 0.00% 09 0 65 65.00 0.00% 10 0 37 37.00 0.00% 11 0 36 36.00 0.00% 12 0 34 34.00 0.00% 13 0 30 30.00 0.00% 14 0 33 33.00 0.00% 15 0 30 30.00 0.00% 16 0 31 31.00 0.00% 17 0 34 34.00 0.00% 18 0 27 27.00 0.00% 19 0 24 24.00 0.00% 20 0 31 31.00 0.00% 21 0 35 35.00 0.00% 22 0 55 55.00 0.00% 23 0 36 36.00 0.00% Dec 11 00 0 35 35.00 0.00% 01 0 47 47.00 0.00% 02 0 42 42.00 0.00% 03 0 43 43.00 0.00% 04 0 45 45.00 0.00% 05 0 88 88.00 0.00% 06 0 27 27.00 0.00% 07 0 42 42.00 0.00% 08 0 43 43.00 0.00% 09 0 47 47.00 0.00% 10 0 32 32.00 0.00% 11 0 28 28.00 0.00% 12 0 87 87.00 0.00% 13 0 55 55.00 0.00% 14 0 41 41.00 0.00% 15 0 48 48.00 0.00% 16 0 35 35.00 0.00% 17 0 23 23.00 0.00% 18 0 21 21.00 0.00% 19 0 28 28.00 0.00% 20 0 37 37.00 0.00% 21 0 72 72.00 0.00% 22 0 40 40.00 0.00% 23 0 35 35.00 0.00% Dec 12 00 0 31 31.00 0.00% 01 0 31 31.00 0.00% 02 0 35 35.00 0.00% 03 0 50 50.00 0.00% 04 0 32 32.00 0.00% 05 0 77 77.00 0.00% 06 0 33 33.00 0.00% 07 0 36 36.00 0.00% 08 0 31 31.00 0.00% 09 0 33 33.00 0.00% 10 0 25 25.00 0.00% 11 0 37 37.00 0.00% 12 0 23 23.00 0.00% 13 0 29 29.00 0.00% 14 0 38 38.00 0.00% 15 0 35 35.00 0.00% 16 0 23 23.00 0.00% 17 0 19 19.00 0.00% 18 0 43 43.00 0.00% 19 0 42 42.00 0.00% 20 0 26 26.00 0.00% 21 0 28 28.00 0.00% 22 0 39 39.00 0.00% 23 0 49 49.00 0.00% Dec 13 00 0 58 58.00 0.00% 01 0 35 35.00 0.00% 02 0 27 27.00 0.00% 03 0 42 42.00 0.00% 04 0 30 30.00 0.00% 05 0 60 60.00 0.00% 06 0 31 31.00 0.00% 07 0 26 26.00 0.00% 08 0 30 30.00 0.00% 09 0 32 32.00 0.00% 10 0 23 23.00 0.00% 11 0 27 27.00 0.00% 12 0 24 24.00 0.00% 13 0 40 40.00 0.00% 14 0 29 29.00 0.00% 15 0 30 30.00 0.00% 16 0 26 26.00 0.00% 17 0 20 20.00 0.00% 18 0 29 29.00 0.00% 19 0 25 25.00 0.00% 20 0 80 80.00 0.00% 21 0 25 25.00 0.00% 22 0 34 34.00 0.00% 23 0 26 26.00 0.00% Dec 14 00 0 33 33.00 0.00% 01 0 27 27.00 0.00% 02 0 26 26.00 0.00% 03 0 37 37.00 0.00% 04 0 35 35.00 0.00% 05 0 65 65.00 0.00% 06 0 25 25.00 0.00% 07 0 25 25.00 0.00% 08 0 30 30.00 0.00% 09 0 27 27.00 0.00% 10 0 25 25.00 0.00% 11 0 36 36.00 0.00% 12 0 35 35.00 0.00% 13 0 30 30.00 0.00% 14 0 25 25.00 0.00% 15 0 21 21.00 0.00% 16 0 50 50.00 0.00% 17 0 35 35.00 0.00% 18 0 23 23.00 0.00% 19 0 34 34.00 0.00% 20 0 21 21.00 0.00% 21 0 37 37.00 0.00% 22 0 20 20.00 0.00% 23 0 34 34.00 0.00% Day Hour Count Average / Second Dec 08 00 81 0.02/s 01 80 0.02/s 02 88 0.02/s 03 82 0.02/s 04 81 0.02/s 05 90 0.03/s 06 93 0.03/s 07 85 0.02/s 08 84 0.02/s 09 78 0.02/s 10 79 0.02/s 11 79 0.02/s 12 82 0.02/s 13 79 0.02/s 14 90 0.03/s 15 91 0.03/s 16 90 0.03/s 17 80 0.02/s 18 73 0.02/s 19 77 0.02/s 20 80 0.02/s 21 103 0.03/s 22 85 0.02/s 23 76 0.02/s Dec 09 00 78 0.02/s 01 81 0.02/s 02 87 0.02/s 03 91 0.03/s 04 124 0.03/s 05 94 0.03/s 06 116 0.03/s 07 79 0.02/s 08 79 0.02/s 09 130 0.04/s 10 166 0.05/s 11 77 0.02/s 12 79 0.02/s 13 75 0.02/s 14 83 0.02/s 15 82 0.02/s 16 81 0.02/s 17 77 0.02/s 18 85 0.02/s 19 88 0.02/s 20 81 0.02/s 21 81 0.02/s 22 87 0.02/s 23 86 0.02/s Dec 10 00 87 0.02/s 01 134 0.04/s 02 92 0.03/s 03 128 0.04/s 04 91 0.03/s 05 162 0.04/s 06 122 0.03/s 07 87 0.02/s 08 94 0.03/s 09 91 0.03/s 10 91 0.03/s 11 80 0.02/s 12 83 0.02/s 13 83 0.02/s 14 89 0.02/s 15 90 0.03/s 16 70 0.02/s 17 80 0.02/s 18 86 0.02/s 19 80 0.02/s 20 81 0.02/s 21 78 0.02/s 22 94 0.03/s 23 85 0.02/s Dec 11 00 86 0.02/s 01 81 0.02/s 02 85 0.02/s 03 87 0.02/s 04 83 0.02/s 05 93 0.03/s 06 84 0.02/s 07 106 0.03/s 08 79 0.02/s 09 89 0.02/s 10 80 0.02/s 11 77 0.02/s 12 109 0.03/s 13 87 0.02/s 14 79 0.02/s 15 74 0.02/s 16 78 0.02/s 17 76 0.02/s 18 78 0.02/s 19 71 0.02/s 20 89 0.02/s 21 92 0.03/s 22 80 0.02/s 23 87 0.02/s Dec 12 00 83 0.02/s 01 81 0.02/s 02 83 0.02/s 03 85 0.02/s 04 76 0.02/s 05 92 0.03/s 06 87 0.02/s 07 94 0.03/s 08 80 0.02/s 09 78 0.02/s 10 83 0.02/s 11 84 0.02/s 12 78 0.02/s 13 79 0.02/s 14 78 0.02/s 15 76 0.02/s 16 77 0.02/s 17 73 0.02/s 18 75 0.02/s 19 80 0.02/s 20 73 0.02/s 21 71 0.02/s 22 79 0.02/s 23 81 0.02/s Dec 13 00 101 0.03/s 01 4,877 1.35/s 02 88 0.02/s 03 80 0.02/s 04 84 0.02/s 05 92 0.03/s 06 81 0.02/s 07 76 0.02/s 08 82 0.02/s 09 83 0.02/s 10 86 0.02/s 11 80 0.02/s 12 75 0.02/s 13 90 0.03/s 14 83 0.02/s 15 76 0.02/s 16 77 0.02/s 17 77 0.02/s 18 80 0.02/s 19 78 0.02/s 20 80 0.02/s 21 70 0.02/s 22 74 0.02/s 23 79 0.02/s Dec 14 00 81 0.02/s 01 80 0.02/s 02 111 0.03/s 03 144 0.04/s 04 84 0.02/s 05 130 0.04/s 06 88 0.02/s 07 80 0.02/s 08 81 0.02/s 09 88 0.02/s 10 87 0.02/s 11 87 0.02/s 12 84 0.02/s 13 85 0.02/s 14 87 0.02/s 15 78 0.02/s 16 78 0.02/s 17 78 0.02/s 18 81 0.02/s 19 88 0.02/s 20 78 0.02/s 21 71 0.02/s 22 77 0.02/s 23 77 0.02/s Day Hour Count Average Duration Average idle time Dec 08 00 81 29m10s 28m53s 01 80 30m38s 30m37s 02 88 28m10s 28m7s 03 82 29m29s 29m28s 04 81 29m53s 29m52s 05 90 26m22s 26m20s 06 93 26m4s 26m2s 07 85 28m54s 28m53s 08 84 27m42s 27m42s 09 78 31m12s 31m11s 10 79 30m34s 30m32s 11 79 30m29s 30m26s 12 82 29m16s 29m11s 13 79 30m36s 30m35s 14 90 27m27s 27m25s 15 91 26m33s 26m31s 16 90 26m7s 26m6s 17 80 30m12s 30m11s 18 73 31m30s 31m28s 19 77 31m19s 31m18s 20 80 29m10s 29m9s 21 103 23m18s 23m17s 22 85 28m7s 28m6s 23 76 31m27s 31m26s Dec 09 00 78 30m22s 30m6s 01 81 30m3s 30m3s 02 87 28m26s 28m26s 03 91 26m43s 26m42s 04 124 19m20s 19m19s 05 94 25m40s 25m37s 06 116 20m43s 20m41s 07 79 29m38s 29m37s 08 79 30m35s 30m34s 09 130 19m6s 18m52s 10 166 14m20s 14m4s 11 77 31m37s 31m36s 12 79 30m1s 30m1s 13 75 31m40s 31m39s 14 83 30m24s 30m22s 15 82 30m24s 30m23s 16 81 29m6s 29m5s 17 77 28m27s 28m26s 18 85 28m7s 28m5s 19 88 27m11s 27m7s 20 81 28m54s 28m52s 21 81 28m42s 28m41s 22 87 28m10s 28m9s 23 86 28m9s 28m8s Dec 10 00 87 27m47s 27m32s 01 134 18m15s 18m14s 02 92 25m9s 25m9s 03 128 19m45s 19m44s 04 91 26m58s 26m58s 05 162 14m27s 14m26s 06 122 19m39s 19m38s 07 87 27m52s 27m51s 08 94 26m17s 26m16s 09 91 26m43s 26m41s 10 91 26m25s 25m47s 11 80 30m35s 30m34s 12 83 29m34s 29m33s 13 83 29m51s 29m50s 14 89 27m7s 27m5s 15 90 26m33s 26m33s 16 70 30m18s 30m17s 17 80 30m34s 30m34s 18 86 27m49s 27m44s 19 80 29m51s 29m51s 20 81 29m41s 29m41s 21 78 29m8s 29m6s 22 94 26m5s 26m3s 23 85 28m5s 28m2s Dec 11 00 86 28m51s 28m35s 01 81 29m52s 29m51s 02 85 28m54s 28m52s 03 87 28m12s 28m11s 04 83 28m26s 28m25s 05 93 24m58s 24m54s 06 84 28m37s 28m35s 07 106 23m17s 23m14s 08 79 29m48s 29m46s 09 89 27m45s 27m44s 10 80 29m58s 29m56s 11 77 30m50s 30m49s 12 109 23m13s 23m6s 13 87 27m54s 27m50s 14 79 30m7s 30m4s 15 74 30m26s 30m25s 16 78 31m27s 31m26s 17 76 31m 30m59s 18 78 30m29s 30m27s 19 71 31m50s 31m49s 20 89 26m18s 26m17s 21 92 25m15s 25m10s 22 80 30m8s 30m6s 23 87 29m14s 29m14s Dec 12 00 83 28m57s 28m41s 01 81 30m21s 30m21s 02 83 29m51s 29m50s 03 84 28m56s 28m53s 04 76 30m39s 30m38s 05 92 26m20s 26m18s 06 87 27m47s 27m45s 07 94 26m3s 26m2s 08 80 30m7s 30m6s 09 78 31m18s 31m18s 10 84 33m40s 28m46s 11 84 28m56s 28m55s 12 78 31m33s 31m33s 13 79 30m37s 30m36s 14 78 29m8s 29m5s 15 76 31m25s 31m24s 16 77 31m40s 31m40s 17 73 32m33s 32m33s 18 75 30m23s 30m20s 19 80 28m45s 28m43s 20 73 32m8s 32m7s 21 71 32m11s 32m11s 22 79 31m9s 31m8s 23 81 30m6s 30m4s Dec 13 00 101 25m4s 24m50s 01 4,877 29s 28s988ms 02 88 28m15s 28m15s 03 80 30m15s 30m14s 04 84 29m23s 29m23s 05 92 25m27s 25m26s 06 81 28m22s 28m20s 07 76 32m10s 32m9s 08 82 30m33s 30m33s 09 83 29m58s 29m57s 10 86 28m50s 28m48s 11 80 29m11s 29m11s 12 75 31m59s 31m59s 13 90 25m48s 25m46s 14 83 29m29s 29m27s 15 76 31m1s 31m1s 16 77 31m37s 31m36s 17 77 31m11s 31m11s 18 80 30m2s 30m 19 78 30m14s 30m13s 20 80 29m58s 29m56s 21 70 31m15s 31m15s 22 74 31m17s 31m16s 23 79 30m49s 30m48s Dec 14 00 81 30m37s 30m20s 01 80 29m57s 29m56s 02 111 21m48s 21m47s 03 144 16m46s 16m45s 04 84 29m12s 29m11s 05 130 18m45s 18m44s 06 88 27m45s 27m44s 07 80 30m51s 30m50s 08 81 30m9s 30m8s 09 88 27m5s 27m5s 10 87 28m20s 28m19s 11 87 26m51s 26m50s 12 84 26m57s 26m56s 13 85 29m13s 29m12s 14 87 28m4s 28m2s 15 78 30m31s 30m30s 16 78 30m56s 30m55s 17 78 30m57s 30m56s 18 80 30m11s 30m6s 19 89 27m37s 26m42s 20 78 29m55s 29m55s 21 71 31m 30m59s 22 77 31m46s 31m45s 23 77 31m1s 31m -
Connections
Established Connections
Key values
- 34 connections Connection Peak
- 2024-12-14 03:05:06 Date
Connections per database
Key values
- ctdprd51 Main Database
- 19,259 connections Total
Connections per user
Key values
- pubeu Main User
- 19,259 connections Total
-
Sessions
Simultaneous sessions
Key values
- 64 sessions Session Peak
- 2024-12-13 01:11:49 Date
Histogram of session times
Key values
- 12,168 1800000-3600000ms duration
Sessions per database
Key values
- ctdprd51 Main Database
- 19,259 sessions Total
Sessions per user
Key values
- pubeu Main User
- 19,259 sessions Total
Sessions per host
Key values
- 10.12.5.37 Main Host
- 19,259 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 202,515 buffers Checkpoint Peak
- 2024-12-13 14:57:11 Date
- 1619.992 seconds Highest write time
- 0.035 seconds Sync time
Checkpoints Wal files
Key values
- 69 files Wal files usage Peak
- 2024-12-13 02:57:11 Date
Checkpoints distance
Key values
- 2,185.74 Mo Distance Peak
- 2024-12-13 02:57:11 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Dec 08 00 2,848 285.242s 0.015s 285.4s 01 830 83.205s 0.003s 83.24s 02 1,424 142.797s 0.003s 142.828s 03 6,897 690.526s 0.003s 690.647s 04 464 46.568s 0.002s 46.65s 05 640 64.18s 0.003s 64.211s 06 1,046 104.849s 0.002s 104.88s 07 536 53.759s 0.002s 53.789s 08 651 65.374s 0.002s 65.452s 09 3,811 381.659s 0.003s 381.709s 10 943 94.546s 0.003s 94.623s 11 857 85.91s 0.002s 85.944s 12 1,837 183.981s 0.003s 184.012s 13 924 92.502s 0.003s 92.583s 14 2,045 204.901s 0.005s 204.983s 15 1,048 104.935s 0.002s 104.968s 16 1,489 149.204s 0.003s 149.237s 17 1,480 148.197s 0.003s 148.279s 18 1,479 148.37s 0.003s 148.447s 19 1,730 173.245s 0.003s 173.279s 20 1,395 139.797s 0.003s 139.875s 21 3,569 357.434s 0.003s 357.486s 22 5,695 570.284s 0.002s 570.391s 23 1,929 193.064s 0.003s 193.145s Dec 09 00 5,650 565.741s 0.004s 565.904s 01 106,228 2,598.07s 0.003s 2,598.927s 02 712 71.293s 0.003s 71.376s 03 3,040 304.557s 0.003s 304.638s 04 5,453 545.947s 0.002s 546.019s 05 2,472 247.549s 0.002s 247.624s 06 1,619 162.152s 0.002s 162.186s 07 974 97.517s 0.003s 97.548s 08 1,150 115.149s 0.003s 115.229s 09 1,035 103.745s 0.002s 103.774s 10 1,844 184.714s 0.002s 184.793s 11 1,965 196.797s 0.003s 196.831s 12 5,847 585.573s 0.003s 585.688s 13 6,861 686.903s 0.002s 687.018s 14 2,006 201.003s 0.003s 201.039s 15 1,792 179.464s 0.002s 179.541s 16 54,477 1,663.761s 0.002s 1,664.241s 17 1,917 192.082s 0.002s 192.159s 18 3,239 324.384s 0.002s 324.419s 19 1,586 158.828s 0.002s 158.907s 20 2,129 213.223s 0.002s 213.301s 21 2,389 239.245s 0.003s 239.324s 22 3,081 308.47s 0.004s 308.552s 23 8,617 862.796s 0.002s 862.926s Dec 10 00 4,384 439.219s 0.003s 439.346s 01 690 69.035s 0.002s 69.068s 02 6,249 625.613s 0.002s 625.712s 03 897 89.831s 0.003s 89.879s 04 1,012 101.358s 0.003s 101.388s 05 1,247 125.006s 0.004s 125.047s 06 1,541 154.381s 0.003s 154.46s 07 6,913 692.15s 0.003s 692.266s 08 12,220 1,223.795s 0.002s 1,223.947s 09 1,470 147.131s 0.003s 147.211s 10 1,453 145.925s 0.007s 145.96s 11 7,047 705.528s 0.003s 705.733s 12 10,298 1,031.205s 0.004s 1,031.269s 13 9,890 989.949s 0.004s 990.079s 14 3,518 352.348s 0.004s 352.399s 15 7,075 708.457s 0.003s 708.541s 16 6,258 626.662s 0.003s 626.737s 17 137,779 1,655.957s 0.003s 1,656.038s 18 650 65.289s 0.005s 65.324s 19 522 52.468s 0.003s 52.499s 20 809 81.214s 0.037s 81.363s 21 5,766 577.365s 0.003s 577.4s 22 355 35.643s 0.002s 35.674s 23 699 70.199s 0.002s 70.279s Dec 11 00 3,275 328.124s 0.005s 328.269s 01 9,617 962.787s 0.002s 962.963s 02 5,554 556.474s 0.004s 556.525s 03 328 33.04s 0.002s 33.068s 04 53,827 1,632.605s 0.003s 1,633.075s 05 4,682 468.996s 0.003s 469.102s 06 5,209 521.668s 0.003s 521.769s 07 2,792 279.704s 0.002s 279.756s 08 243 24.523s 0.002s 24.554s 09 360 36.253s 0.002s 36.281s 10 2,347 235.075s 0.003s 235.149s 11 952 95.557s 0.004s 95.592s 12 833 83.532s 0.003s 83.614s 13 2,512 251.613s 0.003s 251.695s 14 876 87.863s 0.002s 87.892s 15 1,149 115.184s 0.003s 115.332s 16 2,074 207.821s 0.002s 207.856s 17 1,076 107.764s 0.002s 107.795s 18 873 87.513s 0.003s 87.592s 19 1,063 106.544s 0.002s 106.574s 20 977 97.833s 0.003s 97.863s 21 1,059 106.149s 0.003s 106.233s 22 2,484 248.862s 0.003s 248.941s 23 61,292 1,719.401s 0.003s 1,719.931s Dec 12 00 1,934 193.814s 0.003s 193.935s 01 17,030 1,705.062s 0.004s 1,705.304s 02 5,957 596.688s 0.004s 596.722s 03 1,499 150.232s 0.004s 150.309s 04 54,581 1,643.222s 0.004s 1,643.697s 05 714 71.661s 0.003s 71.693s 06 1,461 146.428s 0.003s 146.524s 07 972 97.551s 0.003s 97.583s 08 6,204 621.682s 0.003s 621.794s 09 996 99.907s 0.003s 99.943s 10 2,404 240.874s 0.004s 240.925s 11 1,112 111.468s 0.004s 111.55s 12 1,984 198.796s 0.004s 198.831s 13 1,250 125.27s 0.004s 125.35s 14 1,175 117.77s 0.011s 117.813s 15 1,623 162.533s 0.004s 162.609s 16 1,876 187.991s 0.004s 188.026s 17 1,479 148.145s 0.004s 148.224s 18 1,635 163.66s 0.004s 163.697s 19 2,009 201.197s 0.003s 201.275s 20 3,092 309.567s 0.003s 309.643s 21 1,604 160.622s 0.004s 160.703s 22 2,276 228.03s 0.004s 228.065s 23 1,696 169.832s 0.003s 169.912s Dec 13 00 4,475 448.414s 0.004s 448.576s 01 590 59.195s 0.002s 59.229s 02 128,812 1,660.91s 0.003s 1,661.8s 03 833 83.431s 0.004s 83.465s 04 61,877 1,671.425s 0.002s 1,671.968s 05 2,056 206.019s 0.003s 206.054s 06 1,416 141.807s 0.003s 141.839s 07 1,625 162.761s 0.004s 162.844s 08 2,226 222.843s 0.003s 222.921s 09 1,397 140.002s 0.004s 140.037s 10 1,803 180.555s 0.003s 180.638s 11 2,387 239.03s 0.004s 239.109s 12 6,535 654.338s 0.003s 654.388s 13 1,624 162.785s 0.003s 162.863s 14 203,171 1,685.417s 0.004s 1,685.89s 15 1,184 118.655s 0.002s 118.688s 16 1,568 157.034s 0.002s 157.113s 17 2,096 209.981s 0.003s 210.059s 18 1,493 149.521s 0.002s 149.556s 19 1,610 161.23s 0.003s 161.31s 20 1,450 145.315s 0.004s 145.352s 21 1,479 148.198s 0.003s 148.282s 22 1,898 190.192s 0.004s 190.267s 23 2,247 225.013s 0.002s 225.048s Dec 14 00 3,717 372.46s 0.004s 372.62s 01 543 54.48s 0.002s 54.513s 02 862 86.455s 0.003s 86.487s 03 796 79.735s 0.002s 79.817s 04 55,975 2,103.667s 0.002s 2,104.182s 05 672 67.265s 0.003s 67.299s 06 1,154 115.575s 0.004s 115.657s 07 5,742 574.848s 0.002s 574.95s 08 10,263 1,027.786s 0.004s 1,027.924s 09 10,423 1,043.265s 0.002s 1,043.345s 10 1,431 143.388s 0.004s 143.421s 11 1,172 117.35s 0.004s 117.381s 12 1,460 146.302s 0.002s 146.383s 13 1,167 116.954s 0.002s 116.985s 14 1,287 128.882s 0.002s 128.962s 15 1,667 167.045s 0.003s 167.077s 16 1,514 151.492s 0.003s 151.575s 17 1,564 156.719s 0.004s 156.751s 18 1,871 187.347s 0.003s 187.427s 19 19,479 1,690.504s 0.003s 1,690.583s 20 1,416 141.875s 0.004s 141.911s 21 2,010 201.284s 0.003s 201.361s 22 2,247 225.054s 0.003s 225.133s 23 1,910 191.363s 0.004s 191.398s Day Hour Added Removed Recycled Synced files Longest sync Average sync Dec 08 00 0 0 3 77 0.012s 0.003s 01 0 0 0 31 0.001s 0.002s 02 0 0 0 46 0.002s 0.002s 03 0 0 4 58 0.001s 0.002s 04 0 0 1 32 0.001s 0.002s 05 0 0 0 30 0.001s 0.002s 06 0 0 0 39 0.001s 0.002s 07 0 0 0 26 0.001s 0.002s 08 0 0 1 73 0.001s 0.002s 09 0 0 1 129 0.002s 0.002s 10 0 0 1 124 0.001s 0.002s 11 0 0 0 121 0.001s 0.002s 12 0 0 0 45 0.001s 0.002s 13 0 0 1 27 0.001s 0.002s 14 0 0 1 40 0.004s 0.002s 15 0 0 0 22 0.001s 0.002s 16 0 0 0 81 0.001s 0.002s 17 0 0 1 117 0.001s 0.002s 18 0 0 1 116 0.001s 0.002s 19 0 0 0 24 0.001s 0.002s 20 0 0 1 27 0.001s 0.002s 21 0 0 1 33 0.001s 0.002s 22 0 0 3 27 0.001s 0.002s 23 0 0 1 25 0.001s 0.002s Dec 09 00 0 0 4 77 0.001s 0.002s 01 0 0 69 66 0.002s 0.002s 02 0 0 1 28 0.001s 0.002s 03 0 0 1 55 0.002s 0.002s 04 0 0 3 42 0.001s 0.002s 05 0 0 1 34 0.001s 0.002s 06 0 0 0 40 0.001s 0.002s 07 0 0 0 27 0.001s 0.002s 08 0 0 1 26 0.001s 0.002s 09 0 0 0 28 0.001s 0.002s 10 0 0 1 121 0.001s 0.002s 11 0 0 0 184 0.001s 0.002s 12 0 0 4 45 0.001s 0.002s 13 0 0 4 131 0.001s 0.002s 14 0 0 0 99 0.001s 0.002s 15 0 0 1 123 0.001s 0.002s 16 0 0 35 131 0.001s 0.002s 17 0 0 1 121 0.001s 0.002s 18 0 0 0 83 0.001s 0.002s 19 0 0 1 17 0.001s 0.002s 20 0 0 1 50 0.001s 0.002s 21 0 0 1 26 0.001s 0.002s 22 0 0 1 41 0.001s 0.002s 23 0 0 5 36 0.001s 0.002s Dec 10 00 0 0 4 82 0.001s 0.002s 01 0 0 0 36 0.001s 0.002s 02 0 0 3 51 0.001s 0.002s 03 0 0 1 38 0.001s 0.002s 04 0 0 0 38 0.001s 0.002s 05 0 0 0 36 0.001s 0.002s 06 0 0 1 125 0.001s 0.002s 07 0 0 4 131 0.001s 0.002s 08 0 0 7 92 0.001s 0.002s 09 0 0 1 25 0.001s 0.002s 10 0 0 0 66 0.003s 0.002s 11 0 0 8 121 0.001s 0.002s 12 0 0 2 137 0.001s 0.002s 13 0 0 5 136 0.001s 0.002s 14 0 0 1 141 0.001s 0.002s 15 0 0 4 120 0.001s 0.002s 16 0 0 3 206 0.001s 0.002s 17 0 0 1 124 0.001s 0.002s 18 0 0 0 70 0.004s 0.002s 19 0 0 0 104 0.001s 0.002s 20 0 0 4 37 0.018s 0.004s 21 0 0 0 25 0.001s 0.002s 22 0 0 0 15 0.001s 0.002s 23 0 0 1 29 0.001s 0.002s Dec 11 00 0 0 3 67 0.003s 0.002s 01 0 0 9 48 0.001s 0.002s 02 0 0 1 53 0.001s 0.002s 03 0 0 0 39 0.001s 0.002s 04 0 0 34 53 0.001s 0.002s 05 0 0 3 45 0.002s 0.002s 06 0 0 3 59 0.001s 0.002s 07 0 0 1 34 0.001s 0.002s 08 0 0 0 23 0.001s 0.002s 09 0 0 0 39 0.001s 0.002s 10 0 0 1 136 0.001s 0.002s 11 0 0 0 141 0.001s 0.002s 12 0 0 1 81 0.001s 0.002s 13 0 0 1 128 0.001s 0.002s 14 0 0 0 115 0.001s 0.002s 15 0 0 1 125 0.001s 0.002s 16 0 0 0 131 0.001s 0.002s 17 0 0 0 68 0.001s 0.002s 18 0 0 1 29 0.001s 0.002s 19 0 0 0 21 0.001s 0.002s 20 0 0 0 25 0.001s 0.002s 21 0 0 1 28 0.001s 0.002s 22 0 0 1 41 0.001s 0.002s 23 0 0 41 49 0.001s 0.002s Dec 12 00 0 0 1 71 0.001s 0.002s 01 0 0 14 68 0.001s 0.002s 02 0 0 0 56 0.001s 0.002s 03 0 0 1 47 0.001s 0.002s 04 0 0 36 42 0.001s 0.002s 05 0 0 0 24 0.001s 0.002s 06 0 0 1 131 0.001s 0.002s 07 0 0 0 125 0.001s 0.002s 08 0 0 4 43 0.001s 0.002s 09 0 0 0 38 0.001s 0.002s 10 0 0 1 48 0.001s 0.002s 11 0 0 1 74 0.001s 0.002s 12 0 0 0 108 0.001s 0.002s 13 0 0 1 71 0.001s 0.002s 14 0 0 0 74 0.006s 0.002s 15 0 0 1 83 0.001s 0.002s 16 0 0 0 72 0.001s 0.002s 17 0 0 1 117 0.001s 0.002s 18 0 0 0 30 0.001s 0.002s 19 0 0 1 28 0.001s 0.002s 20 0 0 1 39 0.001s 0.002s 21 0 0 1 17 0.001s 0.002s 22 0 0 0 30 0.001s 0.002s 23 0 0 1 22 0.001s 0.002s Dec 13 00 0 0 4 94 0.001s 0.002s 01 0 0 0 30 0.001s 0.002s 02 0 0 69 54 0.001s 0.002s 03 0 0 0 52 0.001s 0.002s 04 0 0 41 49 0.001s 0.002s 05 0 0 0 36 0.001s 0.002s 06 0 0 0 86 0.001s 0.002s 07 0 0 1 123 0.001s 0.002s 08 0 0 1 138 0.001s 0.002s 09 0 0 0 75 0.001s 0.002s 10 0 0 1 46 0.001s 0.002s 11 0 0 1 80 0.001s 0.002s 12 0 0 1 206 0.001s 0.002s 13 0 0 1 135 0.001s 0.002s 14 0 0 34 42 0.001s 0.002s 15 0 0 0 121 0.001s 0.002s 16 0 0 1 108 0.001s 0.002s 17 0 0 1 71 0.001s 0.002s 18 0 0 0 24 0.001s 0.002s 19 0 0 1 27 0.001s 0.002s 20 0 0 0 14 0.001s 0.002s 21 0 0 1 17 0.001s 0.002s 22 0 0 1 25 0.001s 0.002s 23 0 0 0 19 0.001s 0.002s Dec 14 00 0 0 4 64 0.002s 0.002s 01 0 0 0 30 0.001s 0.002s 02 0 0 0 46 0.001s 0.002s 03 0 0 1 33 0.001s 0.002s 04 0 0 37 62 0.001s 0.002s 05 0 0 0 24 0.001s 0.002s 06 0 0 1 33 0.001s 0.002s 07 0 0 3 40 0.001s 0.002s 08 0 0 6 42 0.002s 0.002s 09 0 0 1 57 0.001s 0.002s 10 0 0 0 36 0.001s 0.002s 11 0 0 0 25 0.001s 0.002s 12 0 0 1 29 0.001s 0.002s 13 0 0 0 16 0.001s 0.002s 14 0 0 1 24 0.001s 0.002s 15 0 0 0 25 0.002s 0.002s 16 0 0 1 28 0.001s 0.002s 17 0 0 0 28 0.001s 0.002s 18 0 0 1 30 0.001s 0.002s 19 0 0 1 19 0.001s 0.002s 20 0 0 0 30 0.001s 0.002s 21 0 0 1 41 0.001s 0.002s 22 0 0 1 27 0.001s 0.002s 23 0 0 0 25 0.001s 0.002s Day Hour Count Avg time (sec) Dec 08 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Dec 09 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Dec 10 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Dec 11 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Dec 12 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Dec 13 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Dec 14 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Day Hour Mean distance Mean estimate Dec 08 00 23,144.00 kB 31,952.50 kB 01 1,516.50 kB 37,076.50 kB 02 4,018.50 kB 30,555.00 kB 03 33,701.00 kB 56,455.50 kB 04 1,491.50 kB 46,322.00 kB 05 1,777.00 kB 37,845.00 kB 06 2,517.00 kB 31,116.50 kB 07 1,753.00 kB 25,568.00 kB 08 2,021.50 kB 21,067.50 kB 09 12,976.00 kB 21,842.00 kB 10 2,807.00 kB 18,242.50 kB 11 2,518.50 kB 15,270.00 kB 12 5,123.00 kB 13,314.00 kB 13 2,987.50 kB 11,332.50 kB 14 5,737.50 kB 10,041.00 kB 15 3,422.50 kB 9,026.00 kB 16 3,946.50 kB 7,998.00 kB 17 4,358.50 kB 7,302.50 kB 18 4,495.50 kB 6,775.00 kB 19 4,088.50 kB 6,291.50 kB 20 4,209.50 kB 5,883.50 kB 21 12,431.00 kB 19,273.00 kB 22 26,616.50 kB 46,661.00 kB 23 4,844.50 kB 38,677.50 kB Dec 09 00 35,993.50 kB 50,599.50 kB 01 565,566.00 kB 565,566.00 kB 02 2,364.00 kB 878,803.50 kB 03 7,180.00 kB 712,791.50 kB 04 25,766.50 kB 582,654.00 kB 05 7,569.00 kB 473,378.50 kB 06 3,940.50 kB 384,163.50 kB 07 2,923.00 kB 311,735.00 kB 08 3,228.50 kB 253,102.00 kB 09 3,312.50 kB 205,640.00 kB 10 5,352.00 kB 167,480.50 kB 11 5,225.00 kB 136,694.00 kB 12 26,838.50 kB 113,797.50 kB 13 33,568.00 kB 97,997.00 kB 14 4,695.00 kB 82,881.00 kB 15 5,384.00 kB 68,100.50 kB 16 284,835.50 kB 536,310.50 kB 17 5,808.50 kB 435,513.00 kB 18 5,968.50 kB 353,863.00 kB 19 5,324.50 kB 287,681.00 kB 20 6,580.00 kB 234,231.50 kB 21 6,240.50 kB 190,892.50 kB 22 10,008.50 kB 156,563.00 kB 23 39,238.00 kB 131,277.50 kB Dec 10 00 34,024.50 kB 113,288.00 kB 01 2,331.00 kB 94,872.00 kB 02 27,601.00 kB 79,832.50 kB 03 2,735.00 kB 67,420.00 kB 04 3,214.00 kB 55,199.50 kB 05 3,442.00 kB 45,355.00 kB 06 4,528.50 kB 37,571.00 kB 07 33,247.50 kB 58,851.00 kB 08 58,217.50 kB 106,992.50 kB 09 4,162.50 kB 87,427.00 kB 10 4,468.50 kB 71,656.50 kB 11 32,965.50 kB 61,766.00 kB 12 45,105.50 kB 64,935.50 kB 13 39,854.50 kB 65,492.50 kB 14 10,915.50 kB 64,917.50 kB 15 34,160.50 kB 59,696.50 kB 16 24,506.00 kB 56,761.00 kB 17 7,059.00 kB 48,708.00 kB 18 1,550.50 kB 40,163.50 kB 19 1,509.50 kB 32,803.50 kB 20 2,487.50 kB 27,067.00 kB 21 30,082.00 kB 56,105.50 kB 22 1,090.00 kB 45,658.00 kB 23 1,851.50 kB 37,289.50 kB Dec 11 00 26,270.50 kB 41,706.50 kB 01 49,001.50 kB 71,857.50 kB 02 29,762.50 kB 88,881.50 kB 03 841.00 kB 72,149.50 kB 04 278,947.50 kB 529,259.50 kB 05 23,543.50 kB 433,171.00 kB 06 24,328.00 kB 353,425.50 kB 07 11,421.00 kB 290,509.00 kB 08 751.50 kB 235,450.00 kB 09 1,041.00 kB 190,912.50 kB 10 7,388.00 kB 155,482.50 kB 11 3,109.50 kB 126,960.00 kB 12 2,553.00 kB 103,407.50 kB 13 9,687.00 kB 85,562.50 kB 14 2,606.00 kB 69,810.00 kB 15 3,361.50 kB 57,150.00 kB 16 3,616.50 kB 46,960.00 kB 17 2,937.50 kB 38,644.00 kB 18 2,619.50 kB 31,792.00 kB 19 2,802.00 kB 26,273.00 kB 20 2,914.00 kB 21,832.00 kB 21 3,147.50 kB 18,268.00 kB 22 6,831.00 kB 15,785.00 kB 23 334,709.50 kB 629,161.00 kB Dec 12 00 15,012.50 kB 511,659.00 kB 01 84,862.00 kB 424,336.00 kB 02 27,312.50 kB 355,952.00 kB 03 4,404.00 kB 289,192.00 kB 04 297,866.00 kB 563,883.50 kB 05 2,136.00 kB 457,164.50 kB 06 4,263.00 kB 371,056.50 kB 07 2,841.00 kB 301,094.50 kB 08 31,383.00 kB 247,265.50 kB 09 3,088.00 kB 203,462.50 kB 10 7,720.00 kB 165,843.50 kB 11 3,316.00 kB 135,376.00 kB 12 3,528.50 kB 110,283.00 kB 13 3,816.50 kB 90,096.50 kB 14 3,127.00 kB 73,573.50 kB 15 4,821.00 kB 60,470.50 kB 16 4,996.00 kB 49,860.50 kB 17 5,051.50 kB 41,395.00 kB 18 4,727.50 kB 34,442.00 kB 19 5,030.00 kB 28,817.00 kB 20 9,883.50 kB 24,787.00 kB 21 5,081.00 kB 21,488.50 kB 22 5,483.50 kB 18,408.00 kB 23 5,175.50 kB 15,924.00 kB Dec 13 00 31,022.00 kB 34,157.50 kB 01 2,214.00 kB 46,190.50 kB 02 560,902.50 kB 579,430.50 kB 03 3,027.50 kB 957,252.50 kB 04 332,392.00 kB 808,910.50 kB 05 3,636.50 kB 685,522.50 kB 06 4,094.50 kB 556,043.00 kB 07 4,612.50 kB 451,196.50 kB 08 7,043.50 kB 366,694.00 kB 09 4,485.00 kB 297,987.00 kB 10 4,604.50 kB 242,261.00 kB 11 7,137.00 kB 197,363.50 kB 12 8,841.50 kB 161,733.50 kB 13 4,719.00 kB 131,951.50 kB 14 279,990.00 kB 334,569.00 kB 15 4,902.50 kB 476,101.50 kB 16 5,061.00 kB 386,588.50 kB 17 5,097.50 kB 314,100.00 kB 18 4,528.50 kB 255,310.50 kB 19 4,949.50 kB 207,705.00 kB 20 4,733.50 kB 169,168.00 kB 21 4,821.50 kB 137,938.00 kB 22 5,148.50 kB 112,680.00 kB 23 5,151.50 kB 92,261.00 kB Dec 14 00 31,102.50 kB 78,336.50 kB 01 1,875.50 kB 66,270.50 kB 02 2,637.50 kB 54,112.00 kB 03 2,366.00 kB 44,312.50 kB 04 304,421.00 kB 304,421.00 kB 05 2,341.00 kB 479,815.00 kB 06 3,704.00 kB 389,350.00 kB 07 25,689.00 kB 320,244.00 kB 08 49,391.50 kB 264,600.00 kB 09 5,482.00 kB 219,522.00 kB 10 4,325.00 kB 178,635.00 kB 11 3,447.50 kB 145,341.00 kB 12 3,554.00 kB 118,387.00 kB 13 3,637.50 kB 96,608.00 kB 14 3,446.50 kB 78,936.50 kB 15 4,073.50 kB 64,640.50 kB 16 5,041.50 kB 53,251.50 kB 17 4,657.50 kB 44,086.50 kB 18 4,888.00 kB 36,601.00 kB 19 4,833.50 kB 30,586.00 kB 20 5,227.50 kB 25,760.50 kB 21 5,817.50 kB 21,919.50 kB 22 5,481.00 kB 18,825.00 kB 23 5,537.00 kB 16,291.00 kB -
Temporary Files
Size of temporary files
Key values
- 5.90 GiB Temp Files size Peak
- 2024-12-09 09:44:11 Date
Number of temporary files
Key values
- 6 per second Temp Files Peak
- 2024-12-09 09:44:11 Date
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Dec 08 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Dec 09 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 6 5.90 GiB 1007.37 MiB 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 10 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Dec 11 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Dec 12 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Dec 13 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Dec 14 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Queries generating the most temporary files (N)
Rank Count Total size Min size Max size Avg size Query 1 6 5.90 GiB 924.24 MiB 1.00 GiB 1007.37 MiB select distinct ;-
select distinct ;
Date: 2024-12-09 09:44:11 Duration: 0ms
Queries generating the largest temporary files
Rank Size Query 1 1.00 GiB select distinct ;[ Date: 2024-12-09 09:44:11 ]
2 1.00 GiB select distinct ;[ Date: 2024-12-09 09:44:11 ]
3 1.00 GiB select distinct ;[ Date: 2024-12-09 09:44:11 ]
4 1.00 GiB select distinct ;[ Date: 2024-12-09 09:44:11 ]
5 1.00 GiB select distinct ;[ Date: 2024-12-09 09:44:11 ]
6 924.24 MiB select distinct ;[ Date: 2024-12-09 09:44:11 ]
-
Vacuums
Vacuums / Analyzes Distribution
Key values
- 35.72 sec Highest CPU-cost vacuum
Table pub1.term_set_enrichment_agent
Database ctdprd51 - 2024-12-13 14:20:16 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 35.72 sec Highest CPU-cost vacuum
Table pub1.term_set_enrichment_agent
Database ctdprd51 - 2024-12-13 14:20:16 Date
Analyzes per table
Key values
- pubc.log_query (210) Main table analyzed (database ctdprd51)
- 222 analyzes Total
Vacuums per table
Key values
- pubc.log_query (75) Main table vacuumed on database ctdprd51
- 91 vacuums Total
Index Buffer usage Skipped WAL usage Table Vacuums scans hits misses dirtied pins frozen records full page bytes ctdprd51.pubc.log_query 75 32 106,262 0 17,536 0 5,605 22,886 1,524 12,585,317 ctdprd51.pg_toast.pg_toast_486223 4 0 126 0 0 0 0 4 0 752 ctdprd51.pg_toast.pg_toast_2619 4 4 14,301 0 4,601 0 40,230 11,842 3,836 2,025,323 ctdprd51.pg_catalog.pg_statistic 3 3 1,900 0 350 0 74 1,033 326 1,446,881 ctdprd51.pub1.term_set_enrichment 2 0 12,584 0 5,897 0 0 6,185 4 390,281 ctdprd51.pub1.term_set_enrichment_agent 2 0 618,965 0 289,374 0 0 309,217 13 18,342,942 ctdprd51.pub1.term_comp_agent 1 0 801 0 580 0 0 577 1 42,462 Total 91 39 754,939 3,047 318,338 0 45,909 351,744 5,704 34,833,958 Tuples removed per table
Key values
- pg_toast.pg_toast_2619 (14653) Main table with removed tuples on database ctdprd51
- 16358 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain ctdprd51.pg_toast.pg_toast_2619 4 4 14,653 72,061 0 0 50,368 ctdprd51.pg_catalog.pg_statistic 3 3 1,314 7,513 0 0 870 ctdprd51.pubc.log_query 75 32 391 1,844,320 167 0 75,772 ctdprd51.pg_toast.pg_toast_486223 4 0 0 0 0 0 0 ctdprd51.pub1.term_set_enrichment 2 0 0 1,893,117 0 0 31,336 ctdprd51.pub1.term_set_enrichment_agent 2 0 0 144,780,035 0 0 1,645,228 ctdprd51.pub1.term_comp_agent 1 0 0 360,400 0 0 3,178 Total 91 39 16,358 148,957,446 167 0 1,806,752 Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Pages removed per tables
NO DATASET
Table Number of vacuums Index scans Tuples removed Pages removed ctdprd51.pg_toast.pg_toast_486223 4 0 0 0 ctdprd51.pg_catalog.pg_statistic 3 3 1314 0 ctdprd51.pubc.log_query 75 32 391 0 ctdprd51.pg_toast.pg_toast_2619 4 4 14653 0 ctdprd51.pub1.term_set_enrichment 2 0 0 0 ctdprd51.pub1.term_set_enrichment_agent 2 0 0 0 ctdprd51.pub1.term_comp_agent 1 0 0 0 Total 91 39 16,358 0 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Dec 08 00 0 2 01 0 4 02 0 3 03 0 2 04 0 2 05 0 2 06 0 2 07 0 1 08 0 1 09 0 1 10 0 1 11 0 1 12 0 1 13 0 1 14 0 2 15 0 0 16 0 1 17 0 2 18 0 1 19 0 1 20 0 0 21 0 1 22 0 0 23 0 1 Dec 09 00 0 4 01 0 4 02 0 3 03 0 3 04 0 1 05 0 2 06 0 1 07 0 1 08 0 1 09 0 1 10 0 1 11 0 1 12 0 1 13 0 2 14 0 0 15 0 1 16 0 1 17 0 0 18 0 1 19 0 1 20 0 1 21 0 1 22 0 0 23 0 1 Dec 10 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 1 13 0 0 14 0 1 15 0 1 16 0 0 17 0 0 18 0 0 19 0 0 20 0 0 21 0 0 22 0 0 23 0 1 Dec 11 00 0 2 01 0 3 02 0 3 03 0 4 04 0 2 05 0 2 06 0 1 07 0 1 08 0 1 09 0 1 10 0 1 11 0 3 12 0 2 13 0 3 14 0 2 15 0 1 16 0 1 17 0 1 18 0 1 19 0 1 20 0 1 21 0 1 22 0 1 23 0 0 Dec 12 00 0 4 01 0 4 02 0 3 03 0 2 04 0 2 05 0 1 06 0 1 07 0 1 08 0 1 09 0 1 10 0 1 11 0 1 12 0 1 13 0 1 14 0 0 15 0 1 16 0 1 17 0 1 18 0 0 19 0 1 20 0 1 21 0 0 22 0 1 23 0 0 Dec 13 00 0 4 01 0 4 02 0 5 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 0 17 0 1 18 0 0 19 0 1 20 0 0 21 0 0 22 0 1 23 0 0 Dec 14 00 0 3 01 0 3 02 0 3 03 0 2 04 0 2 05 0 2 06 0 1 07 0 2 08 0 1 09 0 1 10 0 1 11 0 1 12 0 1 13 0 1 14 0 0 15 0 1 16 0 2 17 0 0 18 0 1 19 0 1 20 0 0 21 0 1 22 0 0 23 0 1 - 35.72 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,711 Total read queries
- 337 Total write queries
Queries by database
Key values
- unknown Main database
- 4,618 Requests
- 9h28m50s (ctdprd51)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 10,326 Requests
User Request type Count Duration postgres Total 108 50m17s copy to 108 50m17s pubc Total 2 2s87ms select 2 2s87ms pubeu Total 5,217 18h22m6s cte 26 1m26s select 5,191 18h20m40s qaeu Total 78 3m11s cte 17 58s487ms select 61 2m12s unknown Total 10,326 18h35m49s copy to 697 6h37m57s cte 27 35s391ms others 9 51s812ms select 9,593 11h56m24s Duration by user
Key values
- 18h35m49s (unknown) Main time consuming user
User Request type Count Duration postgres Total 108 50m17s copy to 108 50m17s pubc Total 2 2s87ms select 2 2s87ms pubeu Total 5,217 18h22m6s cte 26 1m26s select 5,191 18h20m40s qaeu Total 78 3m11s cte 17 58s487ms select 61 2m12s unknown Total 10,326 18h35m49s copy to 697 6h37m57s cte 27 35s391ms others 9 51s812ms select 9,593 11h56m24s Queries by host
Key values
- unknown Main host
- 15,731 Requests
- 1d13h51m26s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 7,005 Requests
- 17h33m27s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2024-12-10 17:35:30 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 6,817 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 6h49m14s 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' OR tp.nm = 'promoter' OR tp.nm = 'enhancer' OR tp.nm = 'exon' OR tp.nm = 'intron' OR tp.nm = '5'' UTR' OR tp.nm = '3'' UTR' OR tp.nm = 'polyA tail'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterDiseaseWhereEquals.Label.Gene */ gd.gene_id FROM term_label l INNER JOIN dag_path dp ON l.term_id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(l.nm) LIKE 'RENAL INSUFFICIENCY' AND l.object_type_id = 3)))) ORDER BY g.nm_sort, g.id LIMIT 50;[ Date: 2024-12-12 10:23:58 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
2 27m25s SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein' OR tp.nm = 'gene' OR tp.nm = 'mRNA'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'COGNITIVE DYSFUNCTION' AND t.object_type_id = 3)))) ORDER BY g.nm_sort, g.id LIMIT 50;[ Date: 2024-12-10 10:53:19 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
3 26m57s SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein' OR tp.nm = 'gene' OR tp.nm = 'mRNA'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'COGNITIVE DYSFUNCTION' AND t.object_type_id = 3)))) ORDER BY g.nm_sort, g.id LIMIT 50;[ Date: 2024-12-10 10:55:38 - Bind query: yes ]
4 23m53s 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-14 19:00:55 ]
5 23m46s 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-14 19:43:13 ]
6 21m29s /* * 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-14 00:21:31 ]
7 21m22s /* * 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-11 00:21:24 ]
8 21m21s /* * 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-13 00:21:23 ]
9 21m7s /* * 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-12 00:21:09 ]
10 21m /* * 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-10 00:21:01 ]
11 20m45s /* * 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-09 00:20:47 ]
12 20m39s /* * 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-08 00:20:41 ]
13 7m COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;[ Date: 2024-12-14 19:55:12 ]
14 6m56s COPY pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;[ Date: 2024-12-14 19:12:52 ]
15 5m14s 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 = '1239231') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-12-10 18:11:36 - Bind query: yes ]
16 5m10s 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-08 12:34:33 - Bind query: yes ]
17 4m25s 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 diseaseTerm.id = ANY (ARRAY ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'HYPERTENSION' AND tl.object_type_id = 3))) 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 LIMIT 50;[ Date: 2024-12-09 09:44:11 - Bind query: yes ]
18 4m23s 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 = '1240392') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-12-11 07:51:38 - Bind query: yes ]
19 2m54s 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 = '1257270') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-12-08 11:46:35 - Bind query: yes ]
20 2m24s 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 = '1252737') and diseaseTerm.object_type_id = 3 ORDER BY phenotypeTerm.nm_sort, diseaseTerm.nm_sort LIMIT 50;[ Date: 2024-12-14 14:32:08 - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 6h49m14s 1 6h49m14s 6h49m14s 6h49m14s 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 = ? or tp.nm = ? or tp.nm = ? or tp.nm = ? or tp.nm = ? or tp.nm = ? or tp.nm = ? or tp.nm = ?))) and gcr.gene_id = any (array (( select gd.gene_id from term_label l inner join dag_path dp on l.term_id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(l.nm) like ? and l.object_type_id = ?)))) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Dec 12 10 1 6h49m14s 6h49m14s [ User: pubeu - Total duration: 6h49m14s - 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' OR tp.nm = 'promoter' OR tp.nm = 'enhancer' OR tp.nm = 'exon' OR tp.nm = 'intron' OR tp.nm = '5'' UTR' OR tp.nm = '3'' UTR' OR tp.nm = 'polyA tail'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterDiseaseWhereEquals.Label.Gene */ gd.gene_id FROM term_label l INNER JOIN dag_path dp ON l.term_id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(l.nm) LIKE 'RENAL INSUFFICIENCY' AND l.object_type_id = 3)))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-12-12 10:23:58 Duration: 6h49m14s Database: ctdprd51 User: pubeu Bind query: yes
2 2h27m47s 7 20m39s 21m29s 21m6s select maint_query_logs_archive ();Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Dec 08 00 1 20m39s 20m39s Dec 09 00 1 20m45s 20m45s Dec 10 00 1 21m 21m Dec 11 00 1 21m22s 21m22s Dec 12 00 1 21m7s 21m7s Dec 13 00 1 21m21s 21m21s Dec 14 00 1 21m29s 21m29s -
/* * 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-14 00:21:31 Duration: 21m29s
-
/* * 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-11 00:21:24 Duration: 21m22s
-
/* * 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-13 00:21:23 Duration: 21m21s
3 1h5m27s 2,666 1s437ms 1s665ms 1s473ms 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 #3
Day Hour Count Duration Avg duration Dec 08 00 24 35s374ms 1s473ms 01 28 41s15ms 1s464ms 02 29 42s660ms 1s471ms 03 27 39s308ms 1s455ms 04 28 40s921ms 1s461ms 05 28 41s271ms 1s473ms 06 28 41s256ms 1s473ms 07 27 39s413ms 1s459ms 08 14 20s700ms 1s478ms 09 17 25s30ms 1s472ms 10 18 26s421ms 1s467ms 11 26 38s59ms 1s463ms 12 28 41s199ms 1s471ms 13 27 39s662ms 1s468ms 14 27 39s730ms 1s471ms 15 28 41s140ms 1s469ms 16 19 27s881ms 1s467ms 17 17 25s63ms 1s474ms 18 21 31s73ms 1s479ms 19 28 41s151ms 1s469ms 20 19 27s969ms 1s472ms 21 18 26s365ms 1s464ms 22 17 24s905ms 1s465ms 23 18 26s402ms 1s466ms Dec 09 00 17 25s122ms 1s477ms 01 18 26s558ms 1s475ms 02 18 26s422ms 1s467ms 03 17 25s1ms 1s470ms 04 18 26s485ms 1s471ms 05 20 29s410ms 1s470ms 06 17 24s918ms 1s465ms 07 18 26s381ms 1s465ms 08 17 24s946ms 1s467ms 09 16 23s563ms 1s472ms 10 17 25s135ms 1s478ms 11 14 20s610ms 1s472ms 12 15 22s41ms 1s469ms 13 12 17s595ms 1s466ms 14 14 20s562ms 1s468ms 15 14 20s564ms 1s468ms 16 11 16s122ms 1s465ms 17 13 19s191ms 1s476ms 18 18 26s504ms 1s472ms 19 17 25s92ms 1s476ms 20 18 26s508ms 1s472ms 21 17 24s840ms 1s461ms 22 18 26s390ms 1s466ms 23 18 26s469ms 1s470ms Dec 10 00 17 25s28ms 1s472ms 01 20 29s865ms 1s493ms 02 18 26s580ms 1s476ms 03 17 25s202ms 1s482ms 04 18 26s687ms 1s482ms 05 19 28s83ms 1s478ms 06 15 22s123ms 1s474ms 07 15 22s134ms 1s475ms 08 17 25s107ms 1s476ms 09 18 26s531ms 1s473ms 10 17 25s369ms 1s492ms 11 10 14s823ms 1s482ms 12 18 26s440ms 1s468ms 13 18 26s524ms 1s473ms 14 14 20s569ms 1s469ms 15 14 20s583ms 1s470ms 16 10 14s735ms 1s473ms 17 14 20s802ms 1s485ms 18 17 24s941ms 1s467ms 19 16 23s617ms 1s476ms 20 19 27s904ms 1s468ms 21 17 25s7ms 1s471ms 22 18 26s551ms 1s475ms 23 17 24s991ms 1s470ms Dec 11 00 18 26s526ms 1s473ms 01 18 26s534ms 1s474ms 02 17 25s40ms 1s472ms 03 18 26s615ms 1s478ms 04 17 25s103ms 1s476ms 05 20 29s514ms 1s475ms 06 18 26s383ms 1s465ms 07 17 25s100ms 1s476ms 08 18 26s506ms 1s472ms 09 18 26s546ms 1s474ms 10 10 14s716ms 1s471ms 11 6 8s785ms 1s464ms 12 15 22s17ms 1s467ms 13 12 17s685ms 1s473ms 14 8 11s813ms 1s476ms 15 10 14s669ms 1s466ms 16 8 11s822ms 1s477ms 17 14 20s616ms 1s472ms 18 13 19s229ms 1s479ms 19 15 22s101ms 1s473ms 20 14 20s497ms 1s464ms 21 15 22s31ms 1s468ms 22 14 20s523ms 1s465ms 23 16 23s474ms 1s467ms Dec 12 00 14 20s579ms 1s469ms 01 14 20s569ms 1s469ms 02 15 22s198ms 1s479ms 03 13 19s186ms 1s475ms 04 15 22s401ms 1s493ms 05 16 24s5ms 1s500ms 06 12 18s47ms 1s503ms 07 13 19s520ms 1s501ms 08 14 20s875ms 1s491ms 09 14 20s994ms 1s499ms 10 12 17s697ms 1s474ms 11 14 20s537ms 1s466ms 12 12 17s640ms 1s470ms 13 14 20s729ms 1s480ms 14 12 17s651ms 1s470ms 15 14 20s710ms 1s479ms 16 8 11s907ms 1s488ms 17 12 17s733ms 1s477ms 18 14 20s580ms 1s470ms 19 14 20s512ms 1s465ms 20 15 22s9ms 1s467ms 21 14 20s551ms 1s467ms 22 15 22s177ms 1s478ms 23 14 20s748ms 1s482ms Dec 13 00 13 19s173ms 1s474ms 01 16 23s603ms 1s475ms 02 15 22s351ms 1s490ms 03 14 20s713ms 1s479ms 04 16 23s643ms 1s477ms 05 15 22s110ms 1s474ms 06 13 19s156ms 1s473ms 07 7 10s287ms 1s469ms 08 14 20s532ms 1s466ms 09 12 17s631ms 1s469ms 10 14 20s615ms 1s472ms 11 14 20s672ms 1s476ms 12 7 10s263ms 1s466ms 13 14 20s651ms 1s475ms 14 13 19s134ms 1s471ms 15 9 13s422ms 1s491ms 16 10 14s699ms 1s469ms 17 14 20s712ms 1s479ms 18 13 19s257ms 1s481ms 19 14 20s568ms 1s469ms 20 14 20s592ms 1s470ms 21 14 20s648ms 1s474ms 22 14 20s613ms 1s472ms 23 14 20s566ms 1s469ms Dec 14 00 14 20s699ms 1s478ms 01 13 19s178ms 1s475ms 02 14 20s666ms 1s476ms 03 14 20s653ms 1s475ms 04 14 20s673ms 1s476ms 05 15 22s198ms 1s479ms 06 14 20s586ms 1s470ms 07 14 20s603ms 1s471ms 08 16 23s602ms 1s475ms 09 13 19s244ms 1s480ms 10 14 20s518ms 1s465ms 11 14 20s649ms 1s474ms 12 14 20s614ms 1s472ms 13 14 20s565ms 1s468ms 14 14 20s692ms 1s478ms 15 13 19s100ms 1s469ms 16 14 20s618ms 1s472ms 17 14 20s539ms 1s467ms 18 14 20s648ms 1s474ms 19 14 20s642ms 1s474ms 20 14 20s650ms 1s475ms 21 14 20s662ms 1s475ms 22 13 19s178ms 1s475ms 23 13 19s37ms 1s464ms [ User: pubeu - Total duration: 28m1s - Times executed: 1140 ]
-
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-10 04:01:05 Duration: 1s665ms 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-10 10:42:49 Duration: 1s662ms 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-12 06:01:44 Duration: 1s659ms Database: ctdprd51 User: pubeu Bind query: yes
4 54m22s 2 26m57s 27m25s 27m11s select g.id geneid, g.acc_txt acc, g.nm nm, g.nm nmhtml, g.secondary_nm secondarynm, g.has_chems haschems, g.has_diseases hasdiseases, g.has_exposures hasexposures, g.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term g where g.id in ( select gcr.gene_id from gene_chem_reference gcr where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ? or tp.nm = ? or tp.nm = ?))) and gcr.gene_id = any (array (( select gd.gene_id from term t inner join dag_path dp on t.id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(t.nm) like ? and t.object_type_id = ?)))) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Dec 10 10 2 54m22s 27m11s [ User: pubeu - Total duration: 27m25s - Times executed: 1 ]
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein' OR tp.nm = 'gene' OR tp.nm = 'mRNA'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'COGNITIVE DYSFUNCTION' AND t.object_type_id = 3)))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-12-10 10:53:19 Duration: 27m25s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein' OR tp.nm = 'gene' OR tp.nm = 'mRNA'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'COGNITIVE DYSFUNCTION' AND t.object_type_id = 3)))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-12-10 10:55:38 Duration: 26m57s Bind query: yes
5 34m37s 178 10s961ms 14s25ms 11s672ms 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 #5
Day Hour Count Duration Avg duration Dec 08 00 5 56s436ms 11s287ms 14 6 1m7s 11s282ms 15 16 2m59s 11s239ms Dec 10 20 1 11s146ms 11s146ms 21 2 22s251ms 11s125ms 22 15 2m54s 11s665ms 23 12 2m32s 12s725ms Dec 11 11 4 44s654ms 11s163ms 12 57 11m 11s591ms 13 23 4m25s 11s541ms 21 37 7m21s 11s941ms [ User: pubeu - Total duration: 12m34s - Times executed: 64 ]
-
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-11 12:55:40 Duration: 14s25ms 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-11 12:55:42 Duration: 13s805ms 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-11 12:55:42 Duration: 13s804ms Bind query: yes
6 23m53s 1 23m53s 23m53s 23m53s 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 #6
Day Hour Count Duration Avg duration Dec 14 19 1 23m53s 23m53s -
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-14 19:00:55 Duration: 23m53s
7 23m46s 1 23m46s 23m46s 23m46s 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 #7
Day Hour Count Duration Avg duration Dec 14 19 1 23m46s 23m46s -
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-14 19:43:13 Duration: 23m46s
8 22m 335 3s612ms 7s181ms 3s941ms select coalesce(st.alt_nm, t.nm) slimtermnm, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.curated_reference_qty > ?) curatedcount, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.indirect_gene_qty > ?) inferredcount from slim_term st inner join term t on st.slim_term_id = t.id where st.slim_id = ? order by ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Dec 08 00 1 3s984ms 3s984ms 01 1 4s126ms 4s126ms 02 7 26s803ms 3s829ms 04 2 7s649ms 3s824ms 05 3 11s838ms 3s946ms 06 1 3s821ms 3s821ms 08 2 7s693ms 3s846ms 10 1 3s990ms 3s990ms 11 2 7s731ms 3s865ms 13 1 3s886ms 3s886ms 16 1 4s53ms 4s53ms 18 2 7s850ms 3s925ms 19 3 11s659ms 3s886ms 21 2 7s844ms 3s922ms 23 1 4s217ms 4s217ms Dec 09 01 2 7s655ms 3s827ms 02 1 4s256ms 4s256ms 03 1 3s907ms 3s907ms 04 5 19s611ms 3s922ms 05 2 7s740ms 3s870ms 06 2 7s939ms 3s969ms 07 3 11s517ms 3s839ms 08 1 3s808ms 3s808ms 10 2 7s843ms 3s921ms 11 2 7s799ms 3s899ms 12 1 3s785ms 3s785ms 13 2 7s769ms 3s884ms 14 3 12s49ms 4s16ms 15 1 4s69ms 4s69ms 16 2 8s478ms 4s239ms 18 3 11s537ms 3s845ms 19 2 9s334ms 4s667ms 20 5 20s86ms 4s17ms 21 4 15s577ms 3s894ms 22 2 7s640ms 3s820ms 23 1 4s421ms 4s421ms Dec 10 01 2 7s877ms 3s938ms 02 4 15s654ms 3s913ms 04 3 11s900ms 3s966ms 05 4 16s58ms 4s14ms 06 2 7s824ms 3s912ms 07 1 3s938ms 3s938ms 08 1 3s916ms 3s916ms 09 3 11s926ms 3s975ms 10 2 11s79ms 5s539ms 11 2 8s126ms 4s63ms 12 1 3s777ms 3s777ms 13 2 7s940ms 3s970ms 15 2 7s652ms 3s826ms 20 1 3s820ms 3s820ms Dec 11 00 2 7s807ms 3s903ms 01 1 4s9ms 4s9ms 02 2 9s174ms 4s587ms 03 2 7s842ms 3s921ms 04 5 19s585ms 3s917ms 05 10 39s139ms 3s913ms 06 1 4s2ms 4s2ms 07 3 11s545ms 3s848ms 08 6 22s798ms 3s799ms 09 3 11s487ms 3s829ms 10 1 3s787ms 3s787ms 11 1 3s825ms 3s825ms 14 1 3s988ms 3s988ms 15 2 7s993ms 3s996ms 16 1 3s759ms 3s759ms 20 1 3s731ms 3s731ms 22 7 27s144ms 3s877ms 23 6 23s170ms 3s861ms Dec 12 00 4 15s198ms 3s799ms 01 2 7s817ms 3s908ms 02 2 7s768ms 3s884ms 03 5 19s327ms 3s865ms 06 1 4s283ms 4s283ms 07 2 8s431ms 4s215ms 08 1 4s105ms 4s105ms 09 2 8s63ms 4s31ms 10 1 3s861ms 3s861ms 11 5 19s424ms 3s884ms 14 4 15s770ms 3s942ms 15 3 11s612ms 3s870ms 16 1 3s785ms 3s785ms 18 1 3s888ms 3s888ms 19 1 3s817ms 3s817ms 20 2 7s766ms 3s883ms 21 2 9s621ms 4s810ms 22 7 26s884ms 3s840ms 23 23 1m29s 3s900ms Dec 13 00 24 1m33s 3s880ms 01 3 12s11ms 4s3ms 03 5 19s552ms 3s910ms 04 2 8s762ms 4s381ms 06 3 11s536ms 3s845ms 07 1 4s673ms 4s673ms 09 4 15s907ms 3s976ms 10 2 7s787ms 3s893ms 11 1 3s662ms 3s662ms 12 2 7s343ms 3s671ms 13 5 19s955ms 3s991ms 14 3 11s15ms 3s671ms 15 1 3s717ms 3s717ms 16 1 4s97ms 4s97ms 18 2 7s267ms 3s633ms 19 2 8s418ms 4s209ms 20 1 4s149ms 4s149ms 22 2 7s720ms 3s860ms 23 1 4s57ms 4s57ms Dec 14 00 1 3s648ms 3s648ms 01 1 4s152ms 4s152ms 02 1 3s629ms 3s629ms 03 3 15s55ms 5s18ms 05 1 3s726ms 3s726ms 06 1 4s163ms 4s163ms 07 1 4s311ms 4s311ms 08 2 7s244ms 3s622ms 09 1 3s741ms 3s741ms 11 3 12s163ms 4s54ms 12 4 14s562ms 3s640ms 13 2 8s281ms 4s140ms 15 1 3s700ms 3s700ms 17 9 34s863ms 3s873ms 21 3 11s890ms 3s963ms 23 5 19s122ms 3s824ms [ User: pubeu - Total duration: 7m55s - Times executed: 119 ]
-
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 = '1299386') 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 = '1299386') 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-10 10:35:11 Duration: 7s181ms 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 = '1343306') 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 = '1343306') 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-14 03:49:18 Duration: 5s737ms 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 = '1343306') 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 = '1343306') 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-09 19:16:47 Duration: 5s382ms Bind query: yes
9 18m1s 11 1s514ms 5m14s 1m38s 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 08 11 1 2m54s 2m54s 12 1 5m10s 5m10s Dec 10 11 2 4s912ms 2s456ms 18 1 5m14s 5m14s Dec 11 04 2 6s698ms 3s349ms 05 1 1s615ms 1s615ms 07 1 4m23s 4m23s 08 1 1s514ms 1s514ms Dec 12 19 1 3s434ms 3s434ms [ User: pubeu - Total duration: 1s514ms - Times executed: 1 ]
-
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 = '1239231') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-12-10 18:11:36 Duration: 5m14s 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-08 12:34:33 Duration: 5m10s 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 = '1240392') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-12-11 07:51:38 Duration: 4m23s Bind query: yes
10 17m43s 916 1s49ms 1s839ms 1s161ms 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 #10
Day Hour Count Duration Avg duration Dec 08 00 5 5s799ms 1s159ms 01 12 14s137ms 1s178ms 02 10 11s472ms 1s147ms 03 3 3s509ms 1s169ms 04 7 8s206ms 1s172ms 05 8 9s369ms 1s171ms 06 10 11s712ms 1s171ms 07 2 2s345ms 1s172ms 08 9 10s524ms 1s169ms 09 4 4s813ms 1s203ms 10 2 2s343ms 1s171ms 11 11 12s898ms 1s172ms 12 6 6s973ms 1s162ms 13 8 9s178ms 1s147ms 14 7 8s110ms 1s158ms 15 12 13s622ms 1s135ms 16 3 3s503ms 1s167ms 17 5 5s880ms 1s176ms 18 7 8s292ms 1s184ms 19 6 7s99ms 1s183ms 20 9 10s300ms 1s144ms 21 7 8s200ms 1s171ms 22 5 6s7ms 1s201ms 23 4 4s629ms 1s157ms Dec 09 00 7 8s362ms 1s194ms 01 4 4s769ms 1s192ms 02 7 8s4ms 1s143ms 03 9 10s644ms 1s182ms 04 8 9s262ms 1s157ms 05 9 10s703ms 1s189ms 06 11 12s626ms 1s147ms 07 6 7s29ms 1s171ms 08 9 10s246ms 1s138ms 09 4 4s571ms 1s142ms 10 5 5s843ms 1s168ms 11 3 3s610ms 1s203ms 12 2 2s318ms 1s159ms 13 4 4s649ms 1s162ms 14 2 2s272ms 1s136ms 15 1 1s111ms 1s111ms 16 2 2s292ms 1s146ms 17 4 4s597ms 1s149ms 18 5 5s894ms 1s178ms 19 5 5s828ms 1s165ms 20 5 5s747ms 1s149ms 21 3 3s390ms 1s130ms 22 3 3s358ms 1s119ms 23 5 5s781ms 1s156ms Dec 10 00 6 7s102ms 1s183ms 01 3 3s628ms 1s209ms 02 6 6s854ms 1s142ms 03 2 2s244ms 1s122ms 04 4 4s692ms 1s173ms 05 9 10s729ms 1s192ms 06 4 4s502ms 1s125ms 07 6 6s972ms 1s162ms 08 3 3s440ms 1s146ms 09 7 8s69ms 1s152ms 10 4 5s947ms 1s486ms 11 6 6s935ms 1s155ms 12 9 10s493ms 1s165ms 13 3 3s466ms 1s155ms 14 5 5s725ms 1s145ms 15 4 4s670ms 1s167ms 16 3 3s473ms 1s157ms 17 4 4s654ms 1s163ms 18 3 3s405ms 1s135ms 20 5 5s683ms 1s136ms 21 5 5s844ms 1s168ms 22 10 11s372ms 1s137ms 23 1 1s168ms 1s168ms Dec 11 00 5 5s710ms 1s142ms 01 7 8s242ms 1s177ms 02 6 6s935ms 1s155ms 03 5 5s963ms 1s192ms 04 7 8s129ms 1s161ms 05 10 11s868ms 1s186ms 06 1 1s126ms 1s126ms 07 7 8s180ms 1s168ms 08 7 8s217ms 1s173ms 09 5 5s924ms 1s184ms 10 5 5s747ms 1s149ms 12 3 3s526ms 1s175ms 13 7 8s299ms 1s185ms 14 3 3s439ms 1s146ms 15 3 3s512ms 1s170ms 16 2 2s359ms 1s179ms 17 3 3s521ms 1s173ms 18 4 4s790ms 1s197ms 19 8 9s146ms 1s143ms 20 9 10s308ms 1s145ms 21 4 4s481ms 1s120ms 22 6 7s80ms 1s180ms 23 6 7s138ms 1s189ms Dec 12 00 8 9s406ms 1s175ms 01 7 8s151ms 1s164ms 02 8 9s146ms 1s143ms 03 3 3s422ms 1s140ms 04 6 7s868ms 1s311ms 05 12 15s528ms 1s294ms 06 2 2s574ms 1s287ms 07 4 5s325ms 1s331ms 08 7 8s569ms 1s224ms 09 11 13s263ms 1s205ms 10 4 4s683ms 1s170ms 11 7 8s37ms 1s148ms 12 5 5s761ms 1s152ms 13 5 5s766ms 1s153ms 14 8 8s990ms 1s123ms 15 4 4s340ms 1s85ms 16 2 2s294ms 1s147ms 18 5 5s648ms 1s129ms 19 2 2s274ms 1s137ms 20 4 4s495ms 1s123ms 21 7 7s693ms 1s99ms 22 7 8s361ms 1s194ms 23 5 5s682ms 1s136ms Dec 13 00 7 8s705ms 1s243ms 01 4 4s523ms 1s130ms 02 4 4s447ms 1s111ms 03 15 17s470ms 1s164ms 04 6 6s915ms 1s152ms 05 7 8s164ms 1s166ms 06 4 4s431ms 1s107ms 07 3 3s329ms 1s109ms 08 9 10s433ms 1s159ms 09 7 7s903ms 1s129ms 10 1 1s66ms 1s66ms 11 4 4s481ms 1s120ms 12 4 4s414ms 1s103ms 13 8 8s989ms 1s123ms 14 4 4s502ms 1s125ms 15 4 4s463ms 1s115ms 16 5 5s619ms 1s123ms 17 2 2s268ms 1s134ms 18 6 6s778ms 1s129ms 19 2 2s259ms 1s129ms 20 3 3s455ms 1s151ms 21 7 7s774ms 1s110ms 22 8 9s210ms 1s151ms 23 8 8s834ms 1s104ms Dec 14 00 11 12s794ms 1s163ms 01 5 5s567ms 1s113ms 03 4 4s575ms 1s143ms 04 10 11s260ms 1s126ms 05 7 8s112ms 1s158ms 06 5 5s825ms 1s165ms 07 5 5s775ms 1s155ms 08 3 3s492ms 1s164ms 09 5 5s519ms 1s103ms 10 4 4s459ms 1s114ms 11 5 5s737ms 1s147ms 12 8 9s77ms 1s134ms 13 5 5s562ms 1s112ms 14 4 4s547ms 1s136ms 15 4 4s469ms 1s117ms 16 8 9s269ms 1s158ms 17 8 8s938ms 1s117ms 18 1 1s177ms 1s177ms 19 10 11s688ms 1s168ms 20 4 4s425ms 1s106ms 21 6 6s762ms 1s127ms 22 4 4s712ms 1s178ms 23 5 5s652ms 1s130ms [ User: pubeu - Total duration: 5m22s - Times executed: 278 ]
[ User: qaeu - Total duration: 1s272ms - 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 exposureMarkerTerm.id = '2065990' or receptorTerm.id = '2065990' 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-12 04:58:17 Duration: 1s839ms 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 = '1877030' or receptorTerm.id = '1877030' 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-12 07:04:53 Duration: 1s826ms 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 = '1546013' or receptorTerm.id = '1546013' 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-10 10:06:44 Duration: 1s680ms Bind query: yes
11 17m27s 25 41s172ms 42s503ms 41s901ms copy pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) to stdout;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Dec 08 06 1 41s260ms 41s260ms 10 1 41s181ms 41s181ms 14 1 41s172ms 41s172ms 18 1 41s371ms 41s371ms Dec 09 06 1 41s904ms 41s904ms 10 1 41s408ms 41s408ms 14 1 41s208ms 41s208ms 18 1 41s737ms 41s737ms Dec 10 06 1 41s598ms 41s598ms 10 1 42s211ms 42s211ms 14 1 41s741ms 41s741ms 18 1 41s521ms 41s521ms Dec 11 06 1 42s463ms 42s463ms 10 1 42s254ms 42s254ms 14 1 42s323ms 42s323ms 18 1 42s24ms 42s24ms Dec 12 06 1 42s276ms 42s276ms 10 1 42s503ms 42s503ms 14 1 42s224ms 42s224ms 18 1 41s913ms 41s913ms Dec 13 06 1 42s296ms 42s296ms 10 1 42s300ms 42s300ms 14 1 42s418ms 42s418ms 18 1 42s65ms 42s65ms Dec 14 19 1 42s158ms 42s158ms [ User: postgres - Total duration: 16m45s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 16m45s - 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-12 10:05:44 Duration: 42s503ms 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-11 06:05:43 Duration: 42s463ms 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-13 14:05:44 Duration: 42s418ms Database: ctdprd51 User: postgres Application: pg_dump
12 15m38s 103 1s681ms 24s755ms 9s114ms 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 viageneptr.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 limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Dec 09 09 58 7m2s 7s288ms 10 45 8m36s 11s467ms [ User: pubeu - Total duration: 6m40s - Times executed: 28 ]
-
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) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'IL1B' AND tl.object_type_id = 4)) 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 LIMIT 50;
Date: 2024-12-09 10:07:12 Duration: 24s755ms 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) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'TNF' AND tl.object_type_id = 4)) 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 LIMIT 50;
Date: 2024-12-09 10:06:23 Duration: 24s664ms 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) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'PTGS2' AND tl.object_type_id = 4)) 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 LIMIT 50;
Date: 2024-12-09 10:09:35 Duration: 24s443ms Bind query: yes
13 13m4s 178 1s1ms 6s194ms 4s405ms select d.abbr dagabbr, d.nm dagnm, gt.level_min_no daglevelmin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pvalcorrected, te.raw_p_val pvalraw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, count(*) over () fullrowcount from term_enrichment te inner join dag_node gt on te.enriched_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, d.abbr, gt.nm_sort limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Dec 08 01 1 5s392ms 5s392ms 02 1 5s322ms 5s322ms 04 1 5s313ms 5s313ms 07 1 5s141ms 5s141ms 08 1 5s275ms 5s275ms 09 1 5s351ms 5s351ms 11 1 1s15ms 1s15ms 12 6 22s448ms 3s741ms 13 2 10s307ms 5s153ms 19 1 5s183ms 5s183ms 22 2 2s99ms 1s49ms Dec 09 01 2 10s615ms 5s307ms 02 1 5s286ms 5s286ms 04 2 6s94ms 3s47ms 05 2 10s157ms 5s78ms 10 1 1s20ms 1s20ms 11 1 1s28ms 1s28ms 12 1 1s23ms 1s23ms 14 2 10s216ms 5s108ms 16 1 1s21ms 1s21ms 17 3 15s601ms 5s200ms 18 1 1s26ms 1s26ms 19 28 2m28s 5s320ms 20 1 5s468ms 5s468ms 21 4 16s835ms 4s208ms 22 4 16s360ms 4s90ms Dec 10 03 2 10s143ms 5s71ms 05 1 5s396ms 5s396ms 06 1 5s411ms 5s411ms 07 1 5s354ms 5s354ms 08 1 5s457ms 5s457ms 09 5 21s990ms 4s398ms 10 1 1s818ms 1s818ms 11 2 10s620ms 5s310ms 12 1 5s268ms 5s268ms 15 1 5s51ms 5s51ms 19 1 5s403ms 5s403ms 23 1 5s499ms 5s499ms Dec 11 00 1 5s446ms 5s446ms 01 2 10s356ms 5s178ms 03 1 1s9ms 1s9ms 05 2 2s156ms 1s78ms 06 1 1s10ms 1s10ms 07 1 1s22ms 1s22ms 09 2 6s257ms 3s128ms 12 2 10s664ms 5s332ms 13 3 15s964ms 5s321ms 14 2 10s519ms 5s259ms 15 4 16s472ms 4s118ms 16 3 11s725ms 3s908ms 20 2 6s130ms 3s65ms 21 1 5s392ms 5s392ms 22 1 1s24ms 1s24ms 23 2 6s285ms 3s142ms Dec 12 01 2 5s951ms 2s975ms 02 2 9s884ms 4s942ms 04 1 1s156ms 1s156ms 05 2 6s997ms 3s498ms 06 2 12s156ms 6s78ms 07 2 11s911ms 5s955ms 10 2 10s460ms 5s230ms 11 3 15s248ms 5s82ms 18 2 10s78ms 5s39ms 19 5 21s701ms 4s340ms Dec 13 07 1 1s24ms 1s24ms 08 1 5s198ms 5s198ms 09 1 1s15ms 1s15ms 10 1 5s512ms 5s512ms 13 1 4s987ms 4s987ms 19 1 5s302ms 5s302ms 20 11 44s441ms 4s40ms Dec 14 01 2 10s214ms 5s107ms 02 1 5s169ms 5s169ms 03 1 4s948ms 4s948ms 04 3 11s576ms 3s858ms 09 1 5s62ms 5s62ms 10 1 4s854ms 4s854ms 11 1 5s359ms 5s359ms 12 1 5s203ms 5s203ms 16 5 25s419ms 5s83ms 23 2 10s860ms 5s430ms [ User: pubeu - Total duration: 3m22s - Times executed: 49 ]
-
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 = '1375607' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-12-12 06:32:47 Duration: 6s194ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1375607' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-12-12 06:32:45 Duration: 5s962ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1280993' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-12-12 07:51:41 Duration: 5s955ms Bind query: yes
14 8m31s 77 1s363ms 40s490ms 6s640ms 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 exists ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where 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.via_term_id = dp.descendant_object_id) and exists ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and baseterm.id in ( select term_id from term_label tl where upper(tl.nm) = ? and tl.object_type_id = ?)) and phenotypeterm.id = dp.descendant_object_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 limit ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Dec 09 10 77 8m31s 6s640ms [ User: pubeu - Total duration: 2m13s - Times executed: 15 ]
-
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 exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaChemPTR.via_term_id = dp.descendant_object_id) and exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'APOPTOTIC PROCESS' AND tl.object_type_id = 5)) and phenotypeTerm.id = dp.descendant_object_id) 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 LIMIT 50;
Date: 2024-12-09 10:44:09 Duration: 40s490ms 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 exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaChemPTR.via_term_id = dp.descendant_object_id) and exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CELL DEATH' AND tl.object_type_id = 5)) and phenotypeTerm.id = dp.descendant_object_id) 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 LIMIT 50;
Date: 2024-12-09 10:45:15 Duration: 40s455ms 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 exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaChemPTR.via_term_id = dp.descendant_object_id) and exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CELL PROLIFERATION' AND tl.object_type_id = 5)) and phenotypeTerm.id = dp.descendant_object_id) 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 LIMIT 50;
Date: 2024-12-09 10:44:34 Duration: 25s176ms Database: ctdprd51 User: pubeu Bind query: yes
15 7m 1 7m 7m 7m copy pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Dec 14 19 1 7m 7m -
COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-12-14 19:55:12 Duration: 7m
16 6m56s 1 6m56s 6m56s 6m56s copy pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Dec 14 19 1 6m56s 6m56s -
COPY pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-12-14 19:12:52 Duration: 6m56s
17 6m55s 9 2s87ms 4m25s 46s158ms 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 diseaseterm.id = any (array ( 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 limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Dec 09 09 9 6m55s 46s158ms [ User: pubeu - Total duration: 18s753ms - Times executed: 2 ]
-
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 diseaseTerm.id = ANY (ARRAY ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'HYPERTENSION' AND tl.object_type_id = 3))) 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 LIMIT 50;
Date: 2024-12-09 09:44:11 Duration: 4m25s 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 diseaseTerm.id = ANY (ARRAY ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'BREAST NEOPLASMS' AND tl.object_type_id = 3))) 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 LIMIT 50;
Date: 2024-12-09 09:47:10 Duration: 1m25s 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 diseaseTerm.id = ANY (ARRAY ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'KIDNEY DISEASES' AND tl.object_type_id = 3))) 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 LIMIT 50;
Date: 2024-12-09 09:44:32 Duration: 16s484ms Bind query: yes
18 6m29s 75 1s57ms 18s744ms 5s193ms 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 exists ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where 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.via_term_id = dp.descendant_object_id) and exists ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and baseterm.id in ( select term_id from term_label tl where upper(tl.nm) = ? and tl.object_type_id = ?)) and diseaseterm.id = dp.descendant_object_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 limit ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Dec 09 10 75 6m29s 5s193ms [ User: pubeu - Total duration: 1m39s - Times executed: 15 ]
-
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 exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaChemPTR.via_term_id = dp.descendant_object_id) and exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'KIDNEY DISEASES' AND tl.object_type_id = 3)) and diseaseTerm.id = dp.descendant_object_id) 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 LIMIT 50;
Date: 2024-12-09 10:42:14 Duration: 18s744ms 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 exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaChemPTR.via_term_id = dp.descendant_object_id) and exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'BREAST NEOPLASMS' AND tl.object_type_id = 3)) and diseaseTerm.id = dp.descendant_object_id) 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 LIMIT 50;
Date: 2024-12-09 10:42:31 Duration: 16s860ms 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 exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaChemPTR.via_term_id = dp.descendant_object_id) and exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'ACUTE KIDNEY INJURY' AND tl.object_type_id = 3)) and diseaseTerm.id = dp.descendant_object_id) 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 LIMIT 50;
Date: 2024-12-09 10:42:46 Duration: 14s280ms Database: ctdprd51 User: pubeu Bind query: yes
19 6m24s 79 1s20ms 11s192ms 4s871ms 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 exists ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where 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.via_term_id = dp.descendant_object_id) and viageneptr.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 limit ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Dec 09 10 79 6m24s 4s871ms [ User: pubeu - Total duration: 1m48s - Times executed: 15 ]
-
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 exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaChemPTR.via_term_id = dp.descendant_object_id) and viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'IL1B' AND tl.object_type_id = 4)) 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 LIMIT 50;
Date: 2024-12-09 10:39:53 Duration: 11s192ms 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 exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaChemPTR.via_term_id = dp.descendant_object_id) and viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'TNF' AND tl.object_type_id = 4)) 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 LIMIT 50;
Date: 2024-12-09 10:39:32 Duration: 11s17ms 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 exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaChemPTR.via_term_id = dp.descendant_object_id) and viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'PTGS2' AND tl.object_type_id = 4)) 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 LIMIT 50;
Date: 2024-12-09 10:40:54 Duration: 10s465ms Bind query: yes
20 6m13s 25 14s842ms 15s257ms 14s959ms copy edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Dec 08 06 1 15s140ms 15s140ms 10 1 14s886ms 14s886ms 14 1 14s884ms 14s884ms 18 1 15s134ms 15s134ms Dec 09 06 1 15s17ms 15s17ms 10 1 14s886ms 14s886ms 14 1 14s907ms 14s907ms 18 1 14s876ms 14s876ms Dec 10 06 1 14s897ms 14s897ms 10 1 14s933ms 14s933ms 14 1 14s904ms 14s904ms 18 1 14s914ms 14s914ms Dec 11 06 1 14s842ms 14s842ms 10 1 14s959ms 14s959ms 14 1 15s55ms 15s55ms 18 1 15s8ms 15s8ms Dec 12 06 1 15s257ms 15s257ms 10 1 14s860ms 14s860ms 14 1 15s61ms 15s61ms 18 1 14s926ms 14s926ms Dec 13 06 1 14s961ms 14s961ms 10 1 14s966ms 14s966ms 14 1 14s887ms 14s887ms 18 1 14s909ms 14s909ms Dec 14 18 1 14s919ms 14s919ms [ User: postgres - Total duration: 6m13s - Times executed: 25 ]
[ Application: pg_dump - Total duration: 6m13s - Times executed: 25 ]
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-12-12 06:00:17 Duration: 15s257ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-12-08 06:00:18 Duration: 15s140ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-12-08 18:00:21 Duration: 15s134ms Database: ctdprd51 User: postgres Application: pg_dump
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 2,666 1h5m27s 1s437ms 1s665ms 1s473ms 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 08 00 24 35s374ms 1s473ms 01 28 41s15ms 1s464ms 02 29 42s660ms 1s471ms 03 27 39s308ms 1s455ms 04 28 40s921ms 1s461ms 05 28 41s271ms 1s473ms 06 28 41s256ms 1s473ms 07 27 39s413ms 1s459ms 08 14 20s700ms 1s478ms 09 17 25s30ms 1s472ms 10 18 26s421ms 1s467ms 11 26 38s59ms 1s463ms 12 28 41s199ms 1s471ms 13 27 39s662ms 1s468ms 14 27 39s730ms 1s471ms 15 28 41s140ms 1s469ms 16 19 27s881ms 1s467ms 17 17 25s63ms 1s474ms 18 21 31s73ms 1s479ms 19 28 41s151ms 1s469ms 20 19 27s969ms 1s472ms 21 18 26s365ms 1s464ms 22 17 24s905ms 1s465ms 23 18 26s402ms 1s466ms Dec 09 00 17 25s122ms 1s477ms 01 18 26s558ms 1s475ms 02 18 26s422ms 1s467ms 03 17 25s1ms 1s470ms 04 18 26s485ms 1s471ms 05 20 29s410ms 1s470ms 06 17 24s918ms 1s465ms 07 18 26s381ms 1s465ms 08 17 24s946ms 1s467ms 09 16 23s563ms 1s472ms 10 17 25s135ms 1s478ms 11 14 20s610ms 1s472ms 12 15 22s41ms 1s469ms 13 12 17s595ms 1s466ms 14 14 20s562ms 1s468ms 15 14 20s564ms 1s468ms 16 11 16s122ms 1s465ms 17 13 19s191ms 1s476ms 18 18 26s504ms 1s472ms 19 17 25s92ms 1s476ms 20 18 26s508ms 1s472ms 21 17 24s840ms 1s461ms 22 18 26s390ms 1s466ms 23 18 26s469ms 1s470ms Dec 10 00 17 25s28ms 1s472ms 01 20 29s865ms 1s493ms 02 18 26s580ms 1s476ms 03 17 25s202ms 1s482ms 04 18 26s687ms 1s482ms 05 19 28s83ms 1s478ms 06 15 22s123ms 1s474ms 07 15 22s134ms 1s475ms 08 17 25s107ms 1s476ms 09 18 26s531ms 1s473ms 10 17 25s369ms 1s492ms 11 10 14s823ms 1s482ms 12 18 26s440ms 1s468ms 13 18 26s524ms 1s473ms 14 14 20s569ms 1s469ms 15 14 20s583ms 1s470ms 16 10 14s735ms 1s473ms 17 14 20s802ms 1s485ms 18 17 24s941ms 1s467ms 19 16 23s617ms 1s476ms 20 19 27s904ms 1s468ms 21 17 25s7ms 1s471ms 22 18 26s551ms 1s475ms 23 17 24s991ms 1s470ms Dec 11 00 18 26s526ms 1s473ms 01 18 26s534ms 1s474ms 02 17 25s40ms 1s472ms 03 18 26s615ms 1s478ms 04 17 25s103ms 1s476ms 05 20 29s514ms 1s475ms 06 18 26s383ms 1s465ms 07 17 25s100ms 1s476ms 08 18 26s506ms 1s472ms 09 18 26s546ms 1s474ms 10 10 14s716ms 1s471ms 11 6 8s785ms 1s464ms 12 15 22s17ms 1s467ms 13 12 17s685ms 1s473ms 14 8 11s813ms 1s476ms 15 10 14s669ms 1s466ms 16 8 11s822ms 1s477ms 17 14 20s616ms 1s472ms 18 13 19s229ms 1s479ms 19 15 22s101ms 1s473ms 20 14 20s497ms 1s464ms 21 15 22s31ms 1s468ms 22 14 20s523ms 1s465ms 23 16 23s474ms 1s467ms Dec 12 00 14 20s579ms 1s469ms 01 14 20s569ms 1s469ms 02 15 22s198ms 1s479ms 03 13 19s186ms 1s475ms 04 15 22s401ms 1s493ms 05 16 24s5ms 1s500ms 06 12 18s47ms 1s503ms 07 13 19s520ms 1s501ms 08 14 20s875ms 1s491ms 09 14 20s994ms 1s499ms 10 12 17s697ms 1s474ms 11 14 20s537ms 1s466ms 12 12 17s640ms 1s470ms 13 14 20s729ms 1s480ms 14 12 17s651ms 1s470ms 15 14 20s710ms 1s479ms 16 8 11s907ms 1s488ms 17 12 17s733ms 1s477ms 18 14 20s580ms 1s470ms 19 14 20s512ms 1s465ms 20 15 22s9ms 1s467ms 21 14 20s551ms 1s467ms 22 15 22s177ms 1s478ms 23 14 20s748ms 1s482ms Dec 13 00 13 19s173ms 1s474ms 01 16 23s603ms 1s475ms 02 15 22s351ms 1s490ms 03 14 20s713ms 1s479ms 04 16 23s643ms 1s477ms 05 15 22s110ms 1s474ms 06 13 19s156ms 1s473ms 07 7 10s287ms 1s469ms 08 14 20s532ms 1s466ms 09 12 17s631ms 1s469ms 10 14 20s615ms 1s472ms 11 14 20s672ms 1s476ms 12 7 10s263ms 1s466ms 13 14 20s651ms 1s475ms 14 13 19s134ms 1s471ms 15 9 13s422ms 1s491ms 16 10 14s699ms 1s469ms 17 14 20s712ms 1s479ms 18 13 19s257ms 1s481ms 19 14 20s568ms 1s469ms 20 14 20s592ms 1s470ms 21 14 20s648ms 1s474ms 22 14 20s613ms 1s472ms 23 14 20s566ms 1s469ms Dec 14 00 14 20s699ms 1s478ms 01 13 19s178ms 1s475ms 02 14 20s666ms 1s476ms 03 14 20s653ms 1s475ms 04 14 20s673ms 1s476ms 05 15 22s198ms 1s479ms 06 14 20s586ms 1s470ms 07 14 20s603ms 1s471ms 08 16 23s602ms 1s475ms 09 13 19s244ms 1s480ms 10 14 20s518ms 1s465ms 11 14 20s649ms 1s474ms 12 14 20s614ms 1s472ms 13 14 20s565ms 1s468ms 14 14 20s692ms 1s478ms 15 13 19s100ms 1s469ms 16 14 20s618ms 1s472ms 17 14 20s539ms 1s467ms 18 14 20s648ms 1s474ms 19 14 20s642ms 1s474ms 20 14 20s650ms 1s475ms 21 14 20s662ms 1s475ms 22 13 19s178ms 1s475ms 23 13 19s37ms 1s464ms [ User: pubeu - Total duration: 28m1s - Times executed: 1140 ]
-
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-10 04:01:05 Duration: 1s665ms 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-10 10:42:49 Duration: 1s662ms 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-12 06:01:44 Duration: 1s659ms Database: ctdprd51 User: pubeu Bind query: yes
2 916 17m43s 1s49ms 1s839ms 1s161ms 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 08 00 5 5s799ms 1s159ms 01 12 14s137ms 1s178ms 02 10 11s472ms 1s147ms 03 3 3s509ms 1s169ms 04 7 8s206ms 1s172ms 05 8 9s369ms 1s171ms 06 10 11s712ms 1s171ms 07 2 2s345ms 1s172ms 08 9 10s524ms 1s169ms 09 4 4s813ms 1s203ms 10 2 2s343ms 1s171ms 11 11 12s898ms 1s172ms 12 6 6s973ms 1s162ms 13 8 9s178ms 1s147ms 14 7 8s110ms 1s158ms 15 12 13s622ms 1s135ms 16 3 3s503ms 1s167ms 17 5 5s880ms 1s176ms 18 7 8s292ms 1s184ms 19 6 7s99ms 1s183ms 20 9 10s300ms 1s144ms 21 7 8s200ms 1s171ms 22 5 6s7ms 1s201ms 23 4 4s629ms 1s157ms Dec 09 00 7 8s362ms 1s194ms 01 4 4s769ms 1s192ms 02 7 8s4ms 1s143ms 03 9 10s644ms 1s182ms 04 8 9s262ms 1s157ms 05 9 10s703ms 1s189ms 06 11 12s626ms 1s147ms 07 6 7s29ms 1s171ms 08 9 10s246ms 1s138ms 09 4 4s571ms 1s142ms 10 5 5s843ms 1s168ms 11 3 3s610ms 1s203ms 12 2 2s318ms 1s159ms 13 4 4s649ms 1s162ms 14 2 2s272ms 1s136ms 15 1 1s111ms 1s111ms 16 2 2s292ms 1s146ms 17 4 4s597ms 1s149ms 18 5 5s894ms 1s178ms 19 5 5s828ms 1s165ms 20 5 5s747ms 1s149ms 21 3 3s390ms 1s130ms 22 3 3s358ms 1s119ms 23 5 5s781ms 1s156ms Dec 10 00 6 7s102ms 1s183ms 01 3 3s628ms 1s209ms 02 6 6s854ms 1s142ms 03 2 2s244ms 1s122ms 04 4 4s692ms 1s173ms 05 9 10s729ms 1s192ms 06 4 4s502ms 1s125ms 07 6 6s972ms 1s162ms 08 3 3s440ms 1s146ms 09 7 8s69ms 1s152ms 10 4 5s947ms 1s486ms 11 6 6s935ms 1s155ms 12 9 10s493ms 1s165ms 13 3 3s466ms 1s155ms 14 5 5s725ms 1s145ms 15 4 4s670ms 1s167ms 16 3 3s473ms 1s157ms 17 4 4s654ms 1s163ms 18 3 3s405ms 1s135ms 20 5 5s683ms 1s136ms 21 5 5s844ms 1s168ms 22 10 11s372ms 1s137ms 23 1 1s168ms 1s168ms Dec 11 00 5 5s710ms 1s142ms 01 7 8s242ms 1s177ms 02 6 6s935ms 1s155ms 03 5 5s963ms 1s192ms 04 7 8s129ms 1s161ms 05 10 11s868ms 1s186ms 06 1 1s126ms 1s126ms 07 7 8s180ms 1s168ms 08 7 8s217ms 1s173ms 09 5 5s924ms 1s184ms 10 5 5s747ms 1s149ms 12 3 3s526ms 1s175ms 13 7 8s299ms 1s185ms 14 3 3s439ms 1s146ms 15 3 3s512ms 1s170ms 16 2 2s359ms 1s179ms 17 3 3s521ms 1s173ms 18 4 4s790ms 1s197ms 19 8 9s146ms 1s143ms 20 9 10s308ms 1s145ms 21 4 4s481ms 1s120ms 22 6 7s80ms 1s180ms 23 6 7s138ms 1s189ms Dec 12 00 8 9s406ms 1s175ms 01 7 8s151ms 1s164ms 02 8 9s146ms 1s143ms 03 3 3s422ms 1s140ms 04 6 7s868ms 1s311ms 05 12 15s528ms 1s294ms 06 2 2s574ms 1s287ms 07 4 5s325ms 1s331ms 08 7 8s569ms 1s224ms 09 11 13s263ms 1s205ms 10 4 4s683ms 1s170ms 11 7 8s37ms 1s148ms 12 5 5s761ms 1s152ms 13 5 5s766ms 1s153ms 14 8 8s990ms 1s123ms 15 4 4s340ms 1s85ms 16 2 2s294ms 1s147ms 18 5 5s648ms 1s129ms 19 2 2s274ms 1s137ms 20 4 4s495ms 1s123ms 21 7 7s693ms 1s99ms 22 7 8s361ms 1s194ms 23 5 5s682ms 1s136ms Dec 13 00 7 8s705ms 1s243ms 01 4 4s523ms 1s130ms 02 4 4s447ms 1s111ms 03 15 17s470ms 1s164ms 04 6 6s915ms 1s152ms 05 7 8s164ms 1s166ms 06 4 4s431ms 1s107ms 07 3 3s329ms 1s109ms 08 9 10s433ms 1s159ms 09 7 7s903ms 1s129ms 10 1 1s66ms 1s66ms 11 4 4s481ms 1s120ms 12 4 4s414ms 1s103ms 13 8 8s989ms 1s123ms 14 4 4s502ms 1s125ms 15 4 4s463ms 1s115ms 16 5 5s619ms 1s123ms 17 2 2s268ms 1s134ms 18 6 6s778ms 1s129ms 19 2 2s259ms 1s129ms 20 3 3s455ms 1s151ms 21 7 7s774ms 1s110ms 22 8 9s210ms 1s151ms 23 8 8s834ms 1s104ms Dec 14 00 11 12s794ms 1s163ms 01 5 5s567ms 1s113ms 03 4 4s575ms 1s143ms 04 10 11s260ms 1s126ms 05 7 8s112ms 1s158ms 06 5 5s825ms 1s165ms 07 5 5s775ms 1s155ms 08 3 3s492ms 1s164ms 09 5 5s519ms 1s103ms 10 4 4s459ms 1s114ms 11 5 5s737ms 1s147ms 12 8 9s77ms 1s134ms 13 5 5s562ms 1s112ms 14 4 4s547ms 1s136ms 15 4 4s469ms 1s117ms 16 8 9s269ms 1s158ms 17 8 8s938ms 1s117ms 18 1 1s177ms 1s177ms 19 10 11s688ms 1s168ms 20 4 4s425ms 1s106ms 21 6 6s762ms 1s127ms 22 4 4s712ms 1s178ms 23 5 5s652ms 1s130ms [ User: pubeu - Total duration: 5m22s - Times executed: 278 ]
[ User: qaeu - Total duration: 1s272ms - 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 exposureMarkerTerm.id = '2065990' or receptorTerm.id = '2065990' 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-12 04:58:17 Duration: 1s839ms 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 = '1877030' or receptorTerm.id = '1877030' 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-12 07:04:53 Duration: 1s826ms 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 = '1546013' or receptorTerm.id = '1546013' 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-10 10:06:44 Duration: 1s680ms Bind query: yes
3 335 22m 3s612ms 7s181ms 3s941ms 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 08 00 1 3s984ms 3s984ms 01 1 4s126ms 4s126ms 02 7 26s803ms 3s829ms 04 2 7s649ms 3s824ms 05 3 11s838ms 3s946ms 06 1 3s821ms 3s821ms 08 2 7s693ms 3s846ms 10 1 3s990ms 3s990ms 11 2 7s731ms 3s865ms 13 1 3s886ms 3s886ms 16 1 4s53ms 4s53ms 18 2 7s850ms 3s925ms 19 3 11s659ms 3s886ms 21 2 7s844ms 3s922ms 23 1 4s217ms 4s217ms Dec 09 01 2 7s655ms 3s827ms 02 1 4s256ms 4s256ms 03 1 3s907ms 3s907ms 04 5 19s611ms 3s922ms 05 2 7s740ms 3s870ms 06 2 7s939ms 3s969ms 07 3 11s517ms 3s839ms 08 1 3s808ms 3s808ms 10 2 7s843ms 3s921ms 11 2 7s799ms 3s899ms 12 1 3s785ms 3s785ms 13 2 7s769ms 3s884ms 14 3 12s49ms 4s16ms 15 1 4s69ms 4s69ms 16 2 8s478ms 4s239ms 18 3 11s537ms 3s845ms 19 2 9s334ms 4s667ms 20 5 20s86ms 4s17ms 21 4 15s577ms 3s894ms 22 2 7s640ms 3s820ms 23 1 4s421ms 4s421ms Dec 10 01 2 7s877ms 3s938ms 02 4 15s654ms 3s913ms 04 3 11s900ms 3s966ms 05 4 16s58ms 4s14ms 06 2 7s824ms 3s912ms 07 1 3s938ms 3s938ms 08 1 3s916ms 3s916ms 09 3 11s926ms 3s975ms 10 2 11s79ms 5s539ms 11 2 8s126ms 4s63ms 12 1 3s777ms 3s777ms 13 2 7s940ms 3s970ms 15 2 7s652ms 3s826ms 20 1 3s820ms 3s820ms Dec 11 00 2 7s807ms 3s903ms 01 1 4s9ms 4s9ms 02 2 9s174ms 4s587ms 03 2 7s842ms 3s921ms 04 5 19s585ms 3s917ms 05 10 39s139ms 3s913ms 06 1 4s2ms 4s2ms 07 3 11s545ms 3s848ms 08 6 22s798ms 3s799ms 09 3 11s487ms 3s829ms 10 1 3s787ms 3s787ms 11 1 3s825ms 3s825ms 14 1 3s988ms 3s988ms 15 2 7s993ms 3s996ms 16 1 3s759ms 3s759ms 20 1 3s731ms 3s731ms 22 7 27s144ms 3s877ms 23 6 23s170ms 3s861ms Dec 12 00 4 15s198ms 3s799ms 01 2 7s817ms 3s908ms 02 2 7s768ms 3s884ms 03 5 19s327ms 3s865ms 06 1 4s283ms 4s283ms 07 2 8s431ms 4s215ms 08 1 4s105ms 4s105ms 09 2 8s63ms 4s31ms 10 1 3s861ms 3s861ms 11 5 19s424ms 3s884ms 14 4 15s770ms 3s942ms 15 3 11s612ms 3s870ms 16 1 3s785ms 3s785ms 18 1 3s888ms 3s888ms 19 1 3s817ms 3s817ms 20 2 7s766ms 3s883ms 21 2 9s621ms 4s810ms 22 7 26s884ms 3s840ms 23 23 1m29s 3s900ms Dec 13 00 24 1m33s 3s880ms 01 3 12s11ms 4s3ms 03 5 19s552ms 3s910ms 04 2 8s762ms 4s381ms 06 3 11s536ms 3s845ms 07 1 4s673ms 4s673ms 09 4 15s907ms 3s976ms 10 2 7s787ms 3s893ms 11 1 3s662ms 3s662ms 12 2 7s343ms 3s671ms 13 5 19s955ms 3s991ms 14 3 11s15ms 3s671ms 15 1 3s717ms 3s717ms 16 1 4s97ms 4s97ms 18 2 7s267ms 3s633ms 19 2 8s418ms 4s209ms 20 1 4s149ms 4s149ms 22 2 7s720ms 3s860ms 23 1 4s57ms 4s57ms Dec 14 00 1 3s648ms 3s648ms 01 1 4s152ms 4s152ms 02 1 3s629ms 3s629ms 03 3 15s55ms 5s18ms 05 1 3s726ms 3s726ms 06 1 4s163ms 4s163ms 07 1 4s311ms 4s311ms 08 2 7s244ms 3s622ms 09 1 3s741ms 3s741ms 11 3 12s163ms 4s54ms 12 4 14s562ms 3s640ms 13 2 8s281ms 4s140ms 15 1 3s700ms 3s700ms 17 9 34s863ms 3s873ms 21 3 11s890ms 3s963ms 23 5 19s122ms 3s824ms [ User: pubeu - Total duration: 7m55s - Times executed: 119 ]
-
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 = '1299386') 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 = '1299386') 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-10 10:35:11 Duration: 7s181ms 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 = '1343306') 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 = '1343306') 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-14 03:49:18 Duration: 5s737ms 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 = '1343306') 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 = '1343306') 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-09 19:16:47 Duration: 5s382ms Bind query: yes
4 240 5m4s 1s100ms 1s554ms 1s268ms 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 08 00 1 1s193ms 1s193ms 01 2 2s564ms 1s282ms 02 1 1s283ms 1s283ms 05 5 6s453ms 1s290ms 06 1 1s221ms 1s221ms 07 5 6s158ms 1s231ms 08 1 1s264ms 1s264ms 09 1 1s300ms 1s300ms 10 1 1s279ms 1s279ms 11 1 1s267ms 1s267ms 12 2 2s572ms 1s286ms 13 2 2s481ms 1s240ms 14 2 2s583ms 1s291ms 15 3 3s846ms 1s282ms 16 4 4s898ms 1s224ms 18 1 1s280ms 1s280ms 19 3 3s808ms 1s269ms 20 1 1s199ms 1s199ms 22 2 2s502ms 1s251ms 23 1 1s274ms 1s274ms Dec 09 00 2 2s577ms 1s288ms 01 2 2s392ms 1s196ms 03 2 2s618ms 1s309ms 04 1 1s355ms 1s355ms 05 6 7s728ms 1s288ms 06 2 2s530ms 1s265ms 09 1 1s266ms 1s266ms 10 3 3s954ms 1s318ms 16 3 3s814ms 1s271ms 17 2 2s432ms 1s216ms 18 2 2s551ms 1s275ms 19 3 3s717ms 1s239ms 20 1 1s221ms 1s221ms 22 1 1s270ms 1s270ms Dec 10 00 6 7s882ms 1s313ms 01 1 1s285ms 1s285ms 02 1 1s189ms 1s189ms 03 1 1s302ms 1s302ms 04 1 1s318ms 1s318ms 05 3 4s126ms 1s375ms 06 2 2s642ms 1s321ms 07 1 1s333ms 1s333ms 08 1 1s283ms 1s283ms 09 3 3s812ms 1s270ms 12 2 2s495ms 1s247ms 13 2 2s480ms 1s240ms 14 1 1s202ms 1s202ms 16 1 1s369ms 1s369ms 17 1 1s280ms 1s280ms 18 3 3s616ms 1s205ms 22 3 3s837ms 1s279ms 23 1 1s285ms 1s285ms Dec 11 00 1 1s266ms 1s266ms 01 1 1s252ms 1s252ms 02 1 1s263ms 1s263ms 03 1 1s266ms 1s266ms 04 1 1s291ms 1s291ms 05 2 2s805ms 1s402ms 06 1 1s195ms 1s195ms 07 5 6s340ms 1s268ms 08 2 2s599ms 1s299ms 09 3 3s857ms 1s285ms 11 1 1s322ms 1s322ms 12 1 1s209ms 1s209ms 13 1 1s342ms 1s342ms 14 1 1s282ms 1s282ms 17 2 2s487ms 1s243ms 18 2 2s586ms 1s293ms 20 4 5s120ms 1s280ms 21 1 1s282ms 1s282ms Dec 12 00 1 1s281ms 1s281ms 02 1 1s304ms 1s304ms 04 1 1s554ms 1s554ms 05 3 4s213ms 1s404ms 06 1 1s461ms 1s461ms 07 1 1s267ms 1s267ms 08 3 3s943ms 1s314ms 09 1 1s280ms 1s280ms 10 1 1s217ms 1s217ms 13 1 1s255ms 1s255ms 14 3 3s609ms 1s203ms 15 2 2s500ms 1s250ms 17 1 1s217ms 1s217ms 18 1 1s318ms 1s318ms 19 2 2s468ms 1s234ms 20 1 1s263ms 1s263ms 22 5 6s442ms 1s288ms Dec 13 01 4 4s989ms 1s247ms 02 2 2s555ms 1s277ms 05 3 3s856ms 1s285ms 09 1 1s268ms 1s268ms 10 2 2s358ms 1s179ms 11 2 2s472ms 1s236ms 12 2 2s502ms 1s251ms 14 1 1s138ms 1s138ms 15 2 2s395ms 1s197ms 17 1 1s143ms 1s143ms 18 2 2s554ms 1s277ms 19 1 1s156ms 1s156ms 20 2 2s485ms 1s242ms 21 1 1s209ms 1s209ms 22 4 4s872ms 1s218ms Dec 14 00 1 1s352ms 1s352ms 01 3 3s840ms 1s280ms 02 2 2s608ms 1s304ms 03 1 1s311ms 1s311ms 04 1 1s259ms 1s259ms 05 3 3s783ms 1s261ms 06 2 2s502ms 1s251ms 07 2 2s480ms 1s240ms 09 1 1s318ms 1s318ms 10 3 3s741ms 1s247ms 11 2 2s410ms 1s205ms 12 1 1s259ms 1s259ms 13 1 1s250ms 1s250ms 14 5 6s132ms 1s226ms 16 1 1s243ms 1s243ms 17 1 1s264ms 1s264ms 18 4 5s16ms 1s254ms 19 3 3s759ms 1s253ms 21 6 7s524ms 1s254ms 22 1 1s203ms 1s203ms 23 1 1s192ms 1s192ms [ User: pubeu - Total duration: 1m46s - Times executed: 84 ]
[ User: qaeu - Total duration: 4s56ms - Times executed: 3 ]
-
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 = '1249049') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1249049') 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-12 04:36:24 Duration: 1s554ms 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-12 05:38:41 Duration: 1s466ms 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 = '1247372') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1247372') 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-12 06:17:21 Duration: 1s461ms Bind query: yes
5 205 4m25s 1s129ms 2s291ms 1s293ms 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 #5
Day Hour Count Duration Avg duration Dec 08 00 1 1s358ms 1s358ms 01 2 2s735ms 1s367ms 02 2 2s498ms 1s249ms 04 2 2s483ms 1s241ms 05 2 2s743ms 1s371ms 06 1 1s209ms 1s209ms 07 2 2s496ms 1s248ms 08 2 2s509ms 1s254ms 09 3 3s953ms 1s317ms 11 3 3s852ms 1s284ms 15 1 1s294ms 1s294ms 16 1 1s293ms 1s293ms 17 1 1s301ms 1s301ms 18 1 1s269ms 1s269ms 20 2 2s665ms 1s332ms 21 2 2s627ms 1s313ms 22 1 1s287ms 1s287ms 23 1 1s194ms 1s194ms Dec 09 03 2 2s571ms 1s285ms 04 1 1s290ms 1s290ms 05 2 2s673ms 1s336ms 08 5 6s403ms 1s280ms 10 1 1s511ms 1s511ms 12 1 1s208ms 1s208ms 13 1 1s382ms 1s382ms 14 1 1s421ms 1s421ms 15 1 1s344ms 1s344ms 17 2 2s477ms 1s238ms 18 1 1s202ms 1s202ms 19 2 2s628ms 1s314ms 22 2 2s505ms 1s252ms 23 3 3s820ms 1s273ms Dec 10 00 2 2s704ms 1s352ms 01 1 1s221ms 1s221ms 02 1 1s360ms 1s360ms 04 2 2s801ms 1s400ms 05 3 4s158ms 1s386ms 07 2 2s517ms 1s258ms 09 2 2s444ms 1s222ms 10 1 1s476ms 1s476ms 11 1 1s335ms 1s335ms 12 1 1s287ms 1s287ms 14 2 2s404ms 1s202ms 15 1 1s238ms 1s238ms 16 1 1s238ms 1s238ms 18 2 2s490ms 1s245ms 19 1 1s233ms 1s233ms 20 1 1s192ms 1s192ms 22 2 2s575ms 1s287ms 23 1 1s269ms 1s269ms Dec 11 00 1 1s445ms 1s445ms 01 1 1s324ms 1s324ms 02 5 6s551ms 1s310ms 03 3 3s906ms 1s302ms 04 4 5s66ms 1s266ms 05 3 4s43ms 1s347ms 06 1 1s285ms 1s285ms 10 1 1s288ms 1s288ms 12 1 1s284ms 1s284ms 14 1 1s195ms 1s195ms 17 3 3s829ms 1s276ms 18 1 1s176ms 1s176ms 19 2 2s460ms 1s230ms 21 1 1s186ms 1s186ms 22 1 1s291ms 1s291ms 23 1 1s249ms 1s249ms Dec 12 00 2 2s467ms 1s233ms 02 1 1s287ms 1s287ms 03 1 2s291ms 2s291ms 04 1 2s97ms 2s97ms 05 4 5s472ms 1s368ms 06 3 4s383ms 1s461ms 07 4 5s362ms 1s340ms 08 3 3s939ms 1s313ms 09 3 3s824ms 1s274ms 10 1 1s606ms 1s606ms 12 1 1s353ms 1s353ms 15 2 2s478ms 1s239ms 17 1 1s253ms 1s253ms 18 2 2s422ms 1s211ms 19 2 2s605ms 1s302ms 21 3 3s622ms 1s207ms Dec 13 00 1 1s303ms 1s303ms 02 1 1s202ms 1s202ms 04 1 1s276ms 1s276ms 05 3 3s938ms 1s312ms 06 2 2s517ms 1s258ms 07 1 1s148ms 1s148ms 08 2 2s393ms 1s196ms 09 3 3s746ms 1s248ms 11 1 1s244ms 1s244ms 13 2 2s452ms 1s226ms 14 1 1s233ms 1s233ms 17 1 1s254ms 1s254ms 18 4 5s22ms 1s255ms 20 1 1s137ms 1s137ms 22 1 1s261ms 1s261ms Dec 14 02 2 2s738ms 1s369ms 03 9 11s531ms 1s281ms 04 1 1s197ms 1s197ms 05 3 3s903ms 1s301ms 06 1 1s218ms 1s218ms 08 1 1s282ms 1s282ms 09 1 1s327ms 1s327ms 10 1 1s196ms 1s196ms 12 1 1s256ms 1s256ms 13 3 3s565ms 1s188ms 15 2 2s400ms 1s200ms 19 1 1s253ms 1s253ms 21 6 7s313ms 1s218ms 23 2 2s560ms 1s280ms [ User: pubeu - Total duration: 1m29s - Times executed: 69 ]
-
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 = '2090914') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2090914') 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-12 03:56:14 Duration: 2s291ms 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 = '2088773') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2088773') 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-12 04:29:11 Duration: 2s97ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.disease_id in ( select descendant_object_id from dag_path where ancestor_object_id = '2086920') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2086920') 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-12 10:03:22 Duration: 1s606ms Bind query: yes
6 178 34m37s 10s961ms 14s25ms 11s672ms 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 08 00 5 56s436ms 11s287ms 14 6 1m7s 11s282ms 15 16 2m59s 11s239ms Dec 10 20 1 11s146ms 11s146ms 21 2 22s251ms 11s125ms 22 15 2m54s 11s665ms 23 12 2m32s 12s725ms Dec 11 11 4 44s654ms 11s163ms 12 57 11m 11s591ms 13 23 4m25s 11s541ms 21 37 7m21s 11s941ms [ User: pubeu - Total duration: 12m34s - Times executed: 64 ]
-
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-11 12:55:40 Duration: 14s25ms 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-11 12:55:42 Duration: 13s805ms 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-11 12:55:42 Duration: 13s804ms Bind query: yes
7 178 13m4s 1s1ms 6s194ms 4s405ms 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 #7
Day Hour Count Duration Avg duration Dec 08 01 1 5s392ms 5s392ms 02 1 5s322ms 5s322ms 04 1 5s313ms 5s313ms 07 1 5s141ms 5s141ms 08 1 5s275ms 5s275ms 09 1 5s351ms 5s351ms 11 1 1s15ms 1s15ms 12 6 22s448ms 3s741ms 13 2 10s307ms 5s153ms 19 1 5s183ms 5s183ms 22 2 2s99ms 1s49ms Dec 09 01 2 10s615ms 5s307ms 02 1 5s286ms 5s286ms 04 2 6s94ms 3s47ms 05 2 10s157ms 5s78ms 10 1 1s20ms 1s20ms 11 1 1s28ms 1s28ms 12 1 1s23ms 1s23ms 14 2 10s216ms 5s108ms 16 1 1s21ms 1s21ms 17 3 15s601ms 5s200ms 18 1 1s26ms 1s26ms 19 28 2m28s 5s320ms 20 1 5s468ms 5s468ms 21 4 16s835ms 4s208ms 22 4 16s360ms 4s90ms Dec 10 03 2 10s143ms 5s71ms 05 1 5s396ms 5s396ms 06 1 5s411ms 5s411ms 07 1 5s354ms 5s354ms 08 1 5s457ms 5s457ms 09 5 21s990ms 4s398ms 10 1 1s818ms 1s818ms 11 2 10s620ms 5s310ms 12 1 5s268ms 5s268ms 15 1 5s51ms 5s51ms 19 1 5s403ms 5s403ms 23 1 5s499ms 5s499ms Dec 11 00 1 5s446ms 5s446ms 01 2 10s356ms 5s178ms 03 1 1s9ms 1s9ms 05 2 2s156ms 1s78ms 06 1 1s10ms 1s10ms 07 1 1s22ms 1s22ms 09 2 6s257ms 3s128ms 12 2 10s664ms 5s332ms 13 3 15s964ms 5s321ms 14 2 10s519ms 5s259ms 15 4 16s472ms 4s118ms 16 3 11s725ms 3s908ms 20 2 6s130ms 3s65ms 21 1 5s392ms 5s392ms 22 1 1s24ms 1s24ms 23 2 6s285ms 3s142ms Dec 12 01 2 5s951ms 2s975ms 02 2 9s884ms 4s942ms 04 1 1s156ms 1s156ms 05 2 6s997ms 3s498ms 06 2 12s156ms 6s78ms 07 2 11s911ms 5s955ms 10 2 10s460ms 5s230ms 11 3 15s248ms 5s82ms 18 2 10s78ms 5s39ms 19 5 21s701ms 4s340ms Dec 13 07 1 1s24ms 1s24ms 08 1 5s198ms 5s198ms 09 1 1s15ms 1s15ms 10 1 5s512ms 5s512ms 13 1 4s987ms 4s987ms 19 1 5s302ms 5s302ms 20 11 44s441ms 4s40ms Dec 14 01 2 10s214ms 5s107ms 02 1 5s169ms 5s169ms 03 1 4s948ms 4s948ms 04 3 11s576ms 3s858ms 09 1 5s62ms 5s62ms 10 1 4s854ms 4s854ms 11 1 5s359ms 5s359ms 12 1 5s203ms 5s203ms 16 5 25s419ms 5s83ms 23 2 10s860ms 5s430ms [ User: pubeu - Total duration: 3m22s - Times executed: 49 ]
-
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 = '1375607' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-12-12 06:32:47 Duration: 6s194ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1375607' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-12-12 06:32:45 Duration: 5s962ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1280993' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-12-12 07:51:41 Duration: 5s955ms Bind query: yes
8 103 15m38s 1s681ms 24s755ms 9s114ms 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 viageneptr.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 limit ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Dec 09 09 58 7m2s 7s288ms 10 45 8m36s 11s467ms [ User: pubeu - Total duration: 6m40s - Times executed: 28 ]
-
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) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'IL1B' AND tl.object_type_id = 4)) 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 LIMIT 50;
Date: 2024-12-09 10:07:12 Duration: 24s755ms 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) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'TNF' AND tl.object_type_id = 4)) 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 LIMIT 50;
Date: 2024-12-09 10:06:23 Duration: 24s664ms 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) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'PTGS2' AND tl.object_type_id = 4)) 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 LIMIT 50;
Date: 2024-12-09 10:09:35 Duration: 24s443ms Bind query: yes
9 90 2m5s 1s276ms 1s566ms 1s398ms 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 #9
Day Hour Count Duration Avg duration Dec 08 01 1 1s345ms 1s345ms 02 1 1s476ms 1s476ms 05 3 4s246ms 1s415ms 13 1 1s338ms 1s338ms 19 1 1s335ms 1s335ms Dec 09 00 1 1s360ms 1s360ms 02 1 1s362ms 1s362ms 03 1 1s371ms 1s371ms 05 2 2s791ms 1s395ms 09 2 2s815ms 1s407ms 11 3 4s252ms 1s417ms 14 1 1s386ms 1s386ms 19 8 11s234ms 1s404ms 21 2 2s778ms 1s389ms Dec 10 01 4 5s727ms 1s431ms 03 1 1s399ms 1s399ms 05 2 2s829ms 1s414ms 11 1 1s435ms 1s435ms 19 1 1s386ms 1s386ms 20 2 2s737ms 1s368ms Dec 11 04 1 1s421ms 1s421ms 05 4 5s611ms 1s402ms 06 1 1s377ms 1s377ms 09 1 1s363ms 1s363ms 10 1 1s377ms 1s377ms 11 1 1s362ms 1s362ms 21 8 11s85ms 1s385ms 22 2 2s799ms 1s399ms Dec 12 01 1 1s451ms 1s451ms 05 1 1s483ms 1s483ms 07 2 2s979ms 1s489ms 10 1 1s566ms 1s566ms 13 1 1s431ms 1s431ms 14 1 1s317ms 1s317ms 19 1 1s326ms 1s326ms 20 1 1s320ms 1s320ms 22 1 1s385ms 1s385ms 23 1 1s468ms 1s468ms Dec 13 01 4 5s742ms 1s435ms 02 1 1s363ms 1s363ms 03 2 2s806ms 1s403ms 05 2 2s823ms 1s411ms 13 1 1s278ms 1s278ms 14 1 1s497ms 1s497ms Dec 14 05 2 2s803ms 1s401ms 09 3 4s83ms 1s361ms 11 1 1s289ms 1s289ms 12 3 3s884ms 1s294ms 19 1 1s553ms 1s553ms [ User: pubeu - Total duration: 46s650ms - Times executed: 33 ]
-
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-12 10:21:44 Duration: 1s566ms 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-14 19:58:48 Duration: 1s553ms 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-13 05:37:08 Duration: 1s539ms Database: ctdprd51 User: pubeu Bind query: yes
10 79 6m24s 1s20ms 11s192ms 4s871ms 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 exists ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where 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.via_term_id = dp.descendant_object_id) and viageneptr.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 limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Dec 09 10 79 6m24s 4s871ms [ User: pubeu - Total duration: 1m48s - Times executed: 15 ]
-
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 exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaChemPTR.via_term_id = dp.descendant_object_id) and viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'IL1B' AND tl.object_type_id = 4)) 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 LIMIT 50;
Date: 2024-12-09 10:39:53 Duration: 11s192ms 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 exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaChemPTR.via_term_id = dp.descendant_object_id) and viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'TNF' AND tl.object_type_id = 4)) 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 LIMIT 50;
Date: 2024-12-09 10:39:32 Duration: 11s17ms 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 exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaChemPTR.via_term_id = dp.descendant_object_id) and viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'PTGS2' AND tl.object_type_id = 4)) 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 LIMIT 50;
Date: 2024-12-09 10:40:54 Duration: 10s465ms Bind query: yes
11 77 8m31s 1s363ms 40s490ms 6s640ms 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 exists ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where 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.via_term_id = dp.descendant_object_id) and exists ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and baseterm.id in ( select term_id from term_label tl where upper(tl.nm) = ? and tl.object_type_id = ?)) and phenotypeterm.id = dp.descendant_object_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 limit ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Dec 09 10 77 8m31s 6s640ms [ User: pubeu - Total duration: 2m13s - Times executed: 15 ]
-
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 exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaChemPTR.via_term_id = dp.descendant_object_id) and exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'APOPTOTIC PROCESS' AND tl.object_type_id = 5)) and phenotypeTerm.id = dp.descendant_object_id) 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 LIMIT 50;
Date: 2024-12-09 10:44:09 Duration: 40s490ms 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 exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaChemPTR.via_term_id = dp.descendant_object_id) and exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CELL DEATH' AND tl.object_type_id = 5)) and phenotypeTerm.id = dp.descendant_object_id) 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 LIMIT 50;
Date: 2024-12-09 10:45:15 Duration: 40s455ms 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 exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaChemPTR.via_term_id = dp.descendant_object_id) and exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CELL PROLIFERATION' AND tl.object_type_id = 5)) and phenotypeTerm.id = dp.descendant_object_id) 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 LIMIT 50;
Date: 2024-12-09 10:44:34 Duration: 25s176ms Database: ctdprd51 User: pubeu Bind query: yes
12 75 6m29s 1s57ms 18s744ms 5s193ms 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 exists ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where 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.via_term_id = dp.descendant_object_id) and exists ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and baseterm.id in ( select term_id from term_label tl where upper(tl.nm) = ? and tl.object_type_id = ?)) and diseaseterm.id = dp.descendant_object_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 limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Dec 09 10 75 6m29s 5s193ms [ User: pubeu - Total duration: 1m39s - Times executed: 15 ]
-
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 exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaChemPTR.via_term_id = dp.descendant_object_id) and exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'KIDNEY DISEASES' AND tl.object_type_id = 3)) and diseaseTerm.id = dp.descendant_object_id) 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 LIMIT 50;
Date: 2024-12-09 10:42:14 Duration: 18s744ms 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 exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaChemPTR.via_term_id = dp.descendant_object_id) and exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'BREAST NEOPLASMS' AND tl.object_type_id = 3)) and diseaseTerm.id = dp.descendant_object_id) 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 LIMIT 50;
Date: 2024-12-09 10:42:31 Duration: 16s860ms 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 exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaChemPTR.via_term_id = dp.descendant_object_id) and exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'ACUTE KIDNEY INJURY' AND tl.object_type_id = 3)) and diseaseTerm.id = dp.descendant_object_id) 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 LIMIT 50;
Date: 2024-12-09 10:42:46 Duration: 14s280ms Database: ctdprd51 User: pubeu Bind query: yes
13 71 3m23s 1s11ms 6s923ms 2s872ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Dec 08 02 1 1s418ms 1s418ms 17 1 1s228ms 1s228ms 21 7 26s297ms 3s756ms Dec 09 02 1 4s530ms 4s530ms 08 1 2s340ms 2s340ms 09 6 13s659ms 2s276ms 21 1 2s463ms 2s463ms Dec 10 02 3 14s756ms 4s918ms 04 1 4s539ms 4s539ms 05 1 1s258ms 1s258ms 09 1 2s517ms 2s517ms 15 1 2s452ms 2s452ms 16 1 1s627ms 1s627ms 22 2 2s264ms 1s132ms Dec 11 00 2 4s877ms 2s438ms 01 6 23s92ms 3s848ms 03 3 7s860ms 2s620ms 06 1 4s586ms 4s586ms 08 1 4s188ms 4s188ms 09 2 3s22ms 1s511ms 10 1 2s425ms 2s425ms 12 1 1s16ms 1s16ms 13 1 2s527ms 2s527ms 14 1 1s15ms 1s15ms 20 2 4s741ms 2s370ms 22 3 20s538ms 6s846ms 23 1 1s11ms 1s11ms Dec 12 01 1 2s495ms 2s495ms 03 1 2s959ms 2s959ms 04 1 5s533ms 5s533ms 05 2 5s225ms 2s612ms 11 1 1s21ms 1s21ms 12 1 1s853ms 1s853ms 15 1 2s448ms 2s448ms Dec 13 00 1 1s113ms 1s113ms 03 1 2s705ms 2s705ms 15 1 2s319ms 2s319ms Dec 14 04 1 1s265ms 1s265ms 05 2 6s654ms 3s327ms 06 1 1s578ms 1s578ms 08 1 1s87ms 1s87ms 11 1 2s384ms 2s384ms 23 1 1s53ms 1s53ms [ User: pubeu - Total duration: 59s527ms - Times executed: 21 ]
-
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 = '2090436') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-12-11 22:01:43 Duration: 6s923ms 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 = '2090436') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-12-11 22:01:42 Duration: 6s824ms 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 = '2090436') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-12-11 22:01:41 Duration: 6s791ms Bind query: yes
14 70 2m55s 1s195ms 6s497ms 2s500ms 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 08 12 10 25s308ms 2s530ms Dec 09 09 1 1s506ms 1s506ms 21 1 1s367ms 1s367ms Dec 10 09 10 25s181ms 2s518ms Dec 11 14 3 12s157ms 4s52ms 15 5 8s593ms 1s718ms Dec 12 18 9 23s325ms 2s591ms 19 1 1s953ms 1s953ms Dec 13 20 20 50s423ms 2s521ms Dec 14 16 10 25s213ms 2s521ms [ User: pubeu - Total duration: 27s182ms - Times executed: 11 ]
-
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-13 20:16:27 Duration: 6s497ms 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-08 12:03:17 Duration: 6s337ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '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-14 16:34:40 Duration: 6s267ms Bind query: yes
15 67 2m42s 1s107ms 4s732ms 2s422ms select e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, ( select string_agg(distinct stressorterm.nm || ? || ( select cd from object_type where id = stressorterm.object_type_id) || ? || stressorterm.nm_html || ? || stressorterm.acc_txt || ? || stressorterm.acc_db_cd, ?)) as stressoragents, ( select string_agg(distinct coalesce(receptorterm.nm, ?) || ? || coalesce(( select cd from object_type where id = receptorterm.object_type_id), ?) || ? || coalesce(receptorterm.nm_html, ?) || ? || coalesce(receptorterm.acc_txt, ?) || ? || coalesce(receptorterm.acc_db_cd, ?) || ? || receptor.description, ?)) as receptors, ( select string_agg(distinct country.nm, ?)) as studycountries, ( select string_agg(distinct location.locality_txt, ?)) as localities, ( select string_agg(distinct event.medium_nm || ? || coalesce(event.medium_term_acc_txt, ?), ?)) as assaymediums, ( select string_agg(distinct exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd, ?)) as assayedmarkers, ( select string_agg(distinct diseaseterm.nm || ? || ( select cd from object_type where id = diseaseterm.object_type_id) || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd, ?)) as diseases, ( select string_agg(distinct phenotypeterm.nm || ? || ( select cd from object_type where id = phenotypeterm.object_type_id) || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd, ?)) as phenotypes, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, re.author_summary summary, count(*) over () fullrowcount from exposure e inner join reference r on e.reference_id = r.id inner join exp_stressor stressor on e.exp_stressor_id = stressor.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join term receptorterm on receptor.term_id = receptorterm.id left outer join exp_event event on e.exp_event_id = event.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join exp_event_location location on e.exp_event_id = location.exp_event_id left outer join country on location.country_id = country.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id inner join reference_exp re on e.reference_id = re.reference_id left outer join exp_study_factor expstudyfactor on re.id = expstudyfactor.reference_exp_id where e.reference_id = any (array ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like ?) and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressoragents limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Dec 08 12 9 22s302ms 2s478ms Dec 10 09 9 22s353ms 2s483ms Dec 11 08 1 2s499ms 2s499ms 14 2 7s650ms 3s825ms 15 5 12s112ms 2s422ms 20 2 2s375ms 1s187ms 22 2 2s377ms 1s188ms Dec 12 15 1 1s107ms 1s107ms 18 5 13s968ms 2s793ms 19 4 8s540ms 2s135ms Dec 13 20 18 44s606ms 2s478ms Dec 14 16 9 22s387ms 2s487ms [ User: pubeu - Total duration: 16s595ms - Times executed: 7 ]
-
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-13 20:16:33 Duration: 4s732ms 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-12 18:58:03 Duration: 4s629ms 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-08 12:03:22 Duration: 4s612ms Bind query: yes
16 50 5m57s 1s22ms 26s839ms 7s159ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Dec 08 14 1 1s979ms 1s979ms 21 3 44s593ms 14s864ms Dec 09 02 2 4s245ms 2s122ms 03 2 2s981ms 1s490ms 04 3 30s49ms 10s16ms 05 1 25s541ms 25s541ms 06 2 2s70ms 1s35ms 16 1 1s365ms 1s365ms 22 1 7s41ms 7s41ms Dec 10 01 2 27s878ms 13s939ms 03 2 26s635ms 13s317ms 04 2 2s117ms 1s58ms 05 2 53s446ms 26s723ms 06 1 26s32ms 26s32ms 14 1 1s116ms 1s116ms 15 2 3s422ms 1s711ms 17 1 2s136ms 2s136ms 22 1 1s855ms 1s855ms Dec 11 02 1 1s920ms 1s920ms 03 1 1s70ms 1s70ms 07 1 18s848ms 18s848ms 09 2 6s565ms 3s282ms 16 1 1s900ms 1s900ms Dec 12 01 1 2s8ms 2s8ms 06 1 1s583ms 1s583ms 17 1 1s922ms 1s922ms Dec 13 00 3 11s968ms 3s989ms 06 1 4s629ms 4s629ms 11 1 1s659ms 1s659ms 15 1 1s817ms 1s817ms Dec 14 02 2 5s369ms 2s684ms 05 2 28s722ms 14s361ms 20 1 3s499ms 3s499ms [ User: pubeu - Total duration: 3m45s - Times executed: 24 ]
-
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;
Date: 2024-12-10 05:16:51 Duration: 26s839ms 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;
Date: 2024-12-10 05:29:06 Duration: 26s606ms 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;
Date: 2024-12-09 04:18:49 Duration: 26s239ms Database: ctdprd51 User: pubeu Bind query: yes
17 43 2m47s 1s40ms 10s488ms 3s900ms select ii.cd, count(ii.id) cnt from ( select ot.cd, tl.term_id id from object_type ot inner join term_label tl on ot.id = tl.object_type_id where tl.nm_fts @@ to_tsquery(?, ?) union select ?, r.id from reference r where r.title_abstract_fts @@ to_tsquery(?, ?) or r.id in ( select rpr.reference_id from reference_party_role rpr inner join reference_party rp on rpr.reference_party_id = rp.id where (substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ?)) union select ot.cd, l.object_id from db_link l inner join object_type ot on l.object_type_id = ot.id where l.type_cd = ? and (upper(l.acc_txt) like ?)) ii group by ii.cd;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Dec 08 22 1 1s103ms 1s103ms 23 2 10s549ms 5s274ms Dec 09 09 28 2m 4s320ms 19 2 2s197ms 1s98ms 20 2 2s221ms 1s110ms Dec 10 04 1 5s204ms 5s204ms 06 1 1s240ms 1s240ms 21 1 5s242ms 5s242ms Dec 11 05 1 1s40ms 1s40ms Dec 12 06 1 10s488ms 10s488ms Dec 13 17 2 2s206ms 1s103ms Dec 14 10 1 5s262ms 5s262ms [ User: pubeu - Total duration: 1m35s - Times executed: 23 ]
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', '%%%%') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '%%%%') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '%%%%')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE '%%%%')) ii GROUP BY ii.cd;
Date: 2024-12-12 06:49:34 Duration: 10s488ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'KATANA') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'KATANA') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'KATANA')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'KATANA')) ii GROUP BY ii.cd;
Date: 2024-12-09 09:40:36 Duration: 8s524ms Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'KATANA') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'KATANA') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'KATANA')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'KATANA')) ii GROUP BY ii.cd;
Date: 2024-12-09 09:40:35 Duration: 6s826ms Database: ctdprd51 User: pubeu Bind query: yes
18 35 2m16s 1s8ms 32s992ms 3s899ms 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 phenotypeterm.id = any (array ( 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 limit ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Dec 09 09 18 42s5ms 2s333ms 10 17 1m34s 5s557ms [ User: pubeu - Total duration: 31s266ms - Times executed: 5 ]
-
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) = 'CISPLATIN' AND tl.object_type_id = 2)) and phenotypeTerm.id = ANY (ARRAY ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 5 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'APOPTOTIC PROCESS' AND tl.object_type_id = 5))) 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 LIMIT 50;
Date: 2024-12-09 10:11:18 Duration: 32s992ms 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) = 'CISPLATIN' AND tl.object_type_id = 2)) and phenotypeTerm.id = ANY (ARRAY ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 5 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CELL PROLIFERATION' AND tl.object_type_id = 5))) 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 LIMIT 50;
Date: 2024-12-09 10:11:32 Duration: 13s469ms 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) = 'CISPLATIN' AND tl.object_type_id = 2)) and phenotypeTerm.id = ANY (ARRAY ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 5 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'POSITIVE REGULATION OF APOPTOTIC PROCESS' AND tl.object_type_id = 5))) 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 LIMIT 50;
Date: 2024-12-09 10:11:49 Duration: 11s414ms Bind query: yes
19 35 2m5s 1s57ms 17s519ms 3s579ms 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 diseaseterm.id = any (array ( 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 limit ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Dec 09 09 17 55s817ms 3s283ms 10 18 1m9s 3s859ms [ User: pubeu - Total duration: 48s869ms - Times executed: 5 ]
-
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) = 'ACETAMINOPHEN' AND tl.object_type_id = 2)) and diseaseTerm.id = ANY (ARRAY ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CHEMICAL AND DRUG INDUCED LIVER INJURY' AND tl.object_type_id = 3))) 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 LIMIT 50;
Date: 2024-12-09 09:59:10 Duration: 17s519ms 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) = 'CISPLATIN' AND tl.object_type_id = 2)) and diseaseTerm.id = ANY (ARRAY ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'BREAST NEOPLASMS' AND tl.object_type_id = 3))) 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 LIMIT 50;
Date: 2024-12-09 10:10:29 Duration: 12s54ms 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) = 'DEXAMETHASONE' AND tl.object_type_id = 2)) and diseaseTerm.id = ANY (ARRAY ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'HYPERTENSION' AND tl.object_type_id = 3))) 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 LIMIT 50;
Date: 2024-12-09 10:01:36 Duration: 11s857ms Database: ctdprd51 User: pubeu Bind query: yes
20 33 48s349ms 1s223ms 1s740ms 1s465ms 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 08 05 4 6s48ms 1s512ms 08 1 1s260ms 1s260ms Dec 09 05 4 6s312ms 1s578ms Dec 10 05 4 6s848ms 1s712ms 23 1 1s242ms 1s242ms Dec 11 02 1 1s231ms 1s231ms 05 4 5s994ms 1s498ms 16 1 1s223ms 1s223ms Dec 12 05 4 5s582ms 1s395ms Dec 13 05 4 5s704ms 1s426ms Dec 14 05 4 5s660ms 1s415ms 19 1 1s239ms 1s239ms [ User: pubeu - Total duration: 2s931ms - Times executed: 2 ]
[ User: qaeu - Total duration: 1s485ms - Times executed: 1 ]
-
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-10 05:38:18 Duration: 1s740ms 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-10 05:43:06 Duration: 1s710ms 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-08 05:38:04 Duration: 1s702ms Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 6h49m14s 6h49m14s 6h49m14s 1 6h49m14s 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 = ? or tp.nm = ? or tp.nm = ? or tp.nm = ? or tp.nm = ? or tp.nm = ? or tp.nm = ? or tp.nm = ?))) and gcr.gene_id = any (array (( select gd.gene_id from term_label l inner join dag_path dp on l.term_id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(l.nm) like ? and l.object_type_id = ?)))) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Dec 12 10 1 6h49m14s 6h49m14s [ User: pubeu - Total duration: 6h49m14s - 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' OR tp.nm = 'promoter' OR tp.nm = 'enhancer' OR tp.nm = 'exon' OR tp.nm = 'intron' OR tp.nm = '5'' UTR' OR tp.nm = '3'' UTR' OR tp.nm = 'polyA tail'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterDiseaseWhereEquals.Label.Gene */ gd.gene_id FROM term_label l INNER JOIN dag_path dp ON l.term_id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(l.nm) LIKE 'RENAL INSUFFICIENCY' AND l.object_type_id = 3)))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-12-12 10:23:58 Duration: 6h49m14s Database: ctdprd51 User: pubeu Bind query: yes
2 26m57s 27m25s 27m11s 2 54m22s select g.id geneid, g.acc_txt acc, g.nm nm, g.nm nmhtml, g.secondary_nm secondarynm, g.has_chems haschems, g.has_diseases hasdiseases, g.has_exposures hasexposures, g.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term g where g.id in ( select gcr.gene_id from gene_chem_reference gcr where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ? or tp.nm = ? or tp.nm = ?))) and gcr.gene_id = any (array (( select gd.gene_id from term t inner join dag_path dp on t.id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(t.nm) like ? and t.object_type_id = ?)))) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Dec 10 10 2 54m22s 27m11s [ User: pubeu - Total duration: 27m25s - Times executed: 1 ]
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein' OR tp.nm = 'gene' OR tp.nm = 'mRNA'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'COGNITIVE DYSFUNCTION' AND t.object_type_id = 3)))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-12-10 10:53:19 Duration: 27m25s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein' OR tp.nm = 'gene' OR tp.nm = 'mRNA'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'COGNITIVE DYSFUNCTION' AND t.object_type_id = 3)))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-12-10 10:55:38 Duration: 26m57s Bind query: yes
3 23m53s 23m53s 23m53s 1 23m53s copy pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Dec 14 19 1 23m53s 23m53s -
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-14 19:00:55 Duration: 23m53s
4 23m46s 23m46s 23m46s 1 23m46s copy pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Dec 14 19 1 23m46s 23m46s -
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-14 19:43:13 Duration: 23m46s
5 20m39s 21m29s 21m6s 7 2h27m47s select maint_query_logs_archive ();Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Dec 08 00 1 20m39s 20m39s Dec 09 00 1 20m45s 20m45s Dec 10 00 1 21m 21m Dec 11 00 1 21m22s 21m22s Dec 12 00 1 21m7s 21m7s Dec 13 00 1 21m21s 21m21s Dec 14 00 1 21m29s 21m29s -
/* * 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-14 00:21:31 Duration: 21m29s
-
/* * 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-11 00:21:24 Duration: 21m22s
-
/* * 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-13 00:21:23 Duration: 21m21s
6 7m 7m 7m 1 7m copy pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Dec 14 19 1 7m 7m -
COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-12-14 19:55:12 Duration: 7m
7 6m56s 6m56s 6m56s 1 6m56s copy pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Dec 14 19 1 6m56s 6m56s -
COPY pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-12-14 19:12:52 Duration: 6m56s
8 1s514ms 5m14s 1m38s 11 18m1s 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 #8
Day Hour Count Duration Avg duration Dec 08 11 1 2m54s 2m54s 12 1 5m10s 5m10s Dec 10 11 2 4s912ms 2s456ms 18 1 5m14s 5m14s Dec 11 04 2 6s698ms 3s349ms 05 1 1s615ms 1s615ms 07 1 4m23s 4m23s 08 1 1s514ms 1s514ms Dec 12 19 1 3s434ms 3s434ms [ User: pubeu - Total duration: 1s514ms - Times executed: 1 ]
-
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 = '1239231') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-12-10 18:11:36 Duration: 5m14s 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-08 12:34:33 Duration: 5m10s 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 = '1240392') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-12-11 07:51:38 Duration: 4m23s Bind query: yes
9 2s87ms 4m25s 46s158ms 9 6m55s 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 diseaseterm.id = any (array ( 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 limit ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Dec 09 09 9 6m55s 46s158ms [ User: pubeu - Total duration: 18s753ms - Times executed: 2 ]
-
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 diseaseTerm.id = ANY (ARRAY ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'HYPERTENSION' AND tl.object_type_id = 3))) 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 LIMIT 50;
Date: 2024-12-09 09:44:11 Duration: 4m25s 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 diseaseTerm.id = ANY (ARRAY ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'BREAST NEOPLASMS' AND tl.object_type_id = 3))) 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 LIMIT 50;
Date: 2024-12-09 09:47:10 Duration: 1m25s 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 diseaseTerm.id = ANY (ARRAY ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'KIDNEY DISEASES' AND tl.object_type_id = 3))) 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 LIMIT 50;
Date: 2024-12-09 09:44:32 Duration: 16s484ms Bind query: yes
10 41s172ms 42s503ms 41s901ms 25 17m27s copy pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) to stdout;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Dec 08 06 1 41s260ms 41s260ms 10 1 41s181ms 41s181ms 14 1 41s172ms 41s172ms 18 1 41s371ms 41s371ms Dec 09 06 1 41s904ms 41s904ms 10 1 41s408ms 41s408ms 14 1 41s208ms 41s208ms 18 1 41s737ms 41s737ms Dec 10 06 1 41s598ms 41s598ms 10 1 42s211ms 42s211ms 14 1 41s741ms 41s741ms 18 1 41s521ms 41s521ms Dec 11 06 1 42s463ms 42s463ms 10 1 42s254ms 42s254ms 14 1 42s323ms 42s323ms 18 1 42s24ms 42s24ms Dec 12 06 1 42s276ms 42s276ms 10 1 42s503ms 42s503ms 14 1 42s224ms 42s224ms 18 1 41s913ms 41s913ms Dec 13 06 1 42s296ms 42s296ms 10 1 42s300ms 42s300ms 14 1 42s418ms 42s418ms 18 1 42s65ms 42s65ms Dec 14 19 1 42s158ms 42s158ms [ User: postgres - Total duration: 16m45s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 16m45s - 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-12 10:05:44 Duration: 42s503ms 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-11 06:05:43 Duration: 42s463ms 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-13 14:05:44 Duration: 42s418ms Database: ctdprd51 User: postgres Application: pg_dump
11 14s842ms 15s257ms 14s959ms 25 6m13s copy edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Dec 08 06 1 15s140ms 15s140ms 10 1 14s886ms 14s886ms 14 1 14s884ms 14s884ms 18 1 15s134ms 15s134ms Dec 09 06 1 15s17ms 15s17ms 10 1 14s886ms 14s886ms 14 1 14s907ms 14s907ms 18 1 14s876ms 14s876ms Dec 10 06 1 14s897ms 14s897ms 10 1 14s933ms 14s933ms 14 1 14s904ms 14s904ms 18 1 14s914ms 14s914ms Dec 11 06 1 14s842ms 14s842ms 10 1 14s959ms 14s959ms 14 1 15s55ms 15s55ms 18 1 15s8ms 15s8ms Dec 12 06 1 15s257ms 15s257ms 10 1 14s860ms 14s860ms 14 1 15s61ms 15s61ms 18 1 14s926ms 14s926ms Dec 13 06 1 14s961ms 14s961ms 10 1 14s966ms 14s966ms 14 1 14s887ms 14s887ms 18 1 14s909ms 14s909ms Dec 14 18 1 14s919ms 14s919ms [ User: postgres - Total duration: 6m13s - Times executed: 25 ]
[ Application: pg_dump - Total duration: 6m13s - Times executed: 25 ]
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-12-12 06:00:17 Duration: 15s257ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-12-08 06:00:18 Duration: 15s140ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-12-08 18:00:21 Duration: 15s134ms Database: ctdprd51 User: postgres Application: pg_dump
12 10s961ms 14s25ms 11s672ms 178 34m37s 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 #12
Day Hour Count Duration Avg duration Dec 08 00 5 56s436ms 11s287ms 14 6 1m7s 11s282ms 15 16 2m59s 11s239ms Dec 10 20 1 11s146ms 11s146ms 21 2 22s251ms 11s125ms 22 15 2m54s 11s665ms 23 12 2m32s 12s725ms Dec 11 11 4 44s654ms 11s163ms 12 57 11m 11s591ms 13 23 4m25s 11s541ms 21 37 7m21s 11s941ms [ User: pubeu - Total duration: 12m34s - Times executed: 64 ]
-
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-11 12:55:40 Duration: 14s25ms 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-11 12:55:42 Duration: 13s805ms 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-11 12:55:42 Duration: 13s804ms Bind query: yes
13 1s681ms 24s755ms 9s114ms 103 15m38s 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 viageneptr.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 limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Dec 09 09 58 7m2s 7s288ms 10 45 8m36s 11s467ms [ User: pubeu - Total duration: 6m40s - Times executed: 28 ]
-
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) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'IL1B' AND tl.object_type_id = 4)) 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 LIMIT 50;
Date: 2024-12-09 10:07:12 Duration: 24s755ms 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) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'TNF' AND tl.object_type_id = 4)) 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 LIMIT 50;
Date: 2024-12-09 10:06:23 Duration: 24s664ms 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) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'PTGS2' AND tl.object_type_id = 4)) 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 LIMIT 50;
Date: 2024-12-09 10:09:35 Duration: 24s443ms Bind query: yes
14 1s22ms 26s839ms 7s159ms 50 5m57s select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Dec 08 14 1 1s979ms 1s979ms 21 3 44s593ms 14s864ms Dec 09 02 2 4s245ms 2s122ms 03 2 2s981ms 1s490ms 04 3 30s49ms 10s16ms 05 1 25s541ms 25s541ms 06 2 2s70ms 1s35ms 16 1 1s365ms 1s365ms 22 1 7s41ms 7s41ms Dec 10 01 2 27s878ms 13s939ms 03 2 26s635ms 13s317ms 04 2 2s117ms 1s58ms 05 2 53s446ms 26s723ms 06 1 26s32ms 26s32ms 14 1 1s116ms 1s116ms 15 2 3s422ms 1s711ms 17 1 2s136ms 2s136ms 22 1 1s855ms 1s855ms Dec 11 02 1 1s920ms 1s920ms 03 1 1s70ms 1s70ms 07 1 18s848ms 18s848ms 09 2 6s565ms 3s282ms 16 1 1s900ms 1s900ms Dec 12 01 1 2s8ms 2s8ms 06 1 1s583ms 1s583ms 17 1 1s922ms 1s922ms Dec 13 00 3 11s968ms 3s989ms 06 1 4s629ms 4s629ms 11 1 1s659ms 1s659ms 15 1 1s817ms 1s817ms Dec 14 02 2 5s369ms 2s684ms 05 2 28s722ms 14s361ms 20 1 3s499ms 3s499ms [ User: pubeu - Total duration: 3m45s - Times executed: 24 ]
-
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;
Date: 2024-12-10 05:16:51 Duration: 26s839ms 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;
Date: 2024-12-10 05:29:06 Duration: 26s606ms 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;
Date: 2024-12-09 04:18:49 Duration: 26s239ms Database: ctdprd51 User: pubeu Bind query: yes
15 1s363ms 40s490ms 6s640ms 77 8m31s 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 exists ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where 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.via_term_id = dp.descendant_object_id) and exists ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and baseterm.id in ( select term_id from term_label tl where upper(tl.nm) = ? and tl.object_type_id = ?)) and phenotypeterm.id = dp.descendant_object_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 limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Dec 09 10 77 8m31s 6s640ms [ User: pubeu - Total duration: 2m13s - Times executed: 15 ]
-
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 exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaChemPTR.via_term_id = dp.descendant_object_id) and exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'APOPTOTIC PROCESS' AND tl.object_type_id = 5)) and phenotypeTerm.id = dp.descendant_object_id) 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 LIMIT 50;
Date: 2024-12-09 10:44:09 Duration: 40s490ms 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 exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaChemPTR.via_term_id = dp.descendant_object_id) and exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CELL DEATH' AND tl.object_type_id = 5)) and phenotypeTerm.id = dp.descendant_object_id) 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 LIMIT 50;
Date: 2024-12-09 10:45:15 Duration: 40s455ms 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 exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaChemPTR.via_term_id = dp.descendant_object_id) and exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CELL PROLIFERATION' AND tl.object_type_id = 5)) and phenotypeTerm.id = dp.descendant_object_id) 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 LIMIT 50;
Date: 2024-12-09 10:44:34 Duration: 25s176ms Database: ctdprd51 User: pubeu Bind query: yes
16 1s57ms 18s744ms 5s193ms 75 6m29s 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 exists ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where 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.via_term_id = dp.descendant_object_id) and exists ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and baseterm.id in ( select term_id from term_label tl where upper(tl.nm) = ? and tl.object_type_id = ?)) and diseaseterm.id = dp.descendant_object_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 limit ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Dec 09 10 75 6m29s 5s193ms [ User: pubeu - Total duration: 1m39s - Times executed: 15 ]
-
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 exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaChemPTR.via_term_id = dp.descendant_object_id) and exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'KIDNEY DISEASES' AND tl.object_type_id = 3)) and diseaseTerm.id = dp.descendant_object_id) 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 LIMIT 50;
Date: 2024-12-09 10:42:14 Duration: 18s744ms 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 exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaChemPTR.via_term_id = dp.descendant_object_id) and exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'BREAST NEOPLASMS' AND tl.object_type_id = 3)) and diseaseTerm.id = dp.descendant_object_id) 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 LIMIT 50;
Date: 2024-12-09 10:42:31 Duration: 16s860ms 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 exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaChemPTR.via_term_id = dp.descendant_object_id) and exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'ACUTE KIDNEY INJURY' AND tl.object_type_id = 3)) and diseaseTerm.id = dp.descendant_object_id) 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 LIMIT 50;
Date: 2024-12-09 10:42:46 Duration: 14s280ms Database: ctdprd51 User: pubeu Bind query: yes
17 1s20ms 11s192ms 4s871ms 79 6m24s 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 exists ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where 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.via_term_id = dp.descendant_object_id) and viageneptr.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 limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Dec 09 10 79 6m24s 4s871ms [ User: pubeu - Total duration: 1m48s - Times executed: 15 ]
-
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 exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaChemPTR.via_term_id = dp.descendant_object_id) and viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'IL1B' AND tl.object_type_id = 4)) 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 LIMIT 50;
Date: 2024-12-09 10:39:53 Duration: 11s192ms 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 exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaChemPTR.via_term_id = dp.descendant_object_id) and viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'TNF' AND tl.object_type_id = 4)) 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 LIMIT 50;
Date: 2024-12-09 10:39:32 Duration: 11s17ms 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 exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaChemPTR.via_term_id = dp.descendant_object_id) and viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'PTGS2' AND tl.object_type_id = 4)) 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 LIMIT 50;
Date: 2024-12-09 10:40:54 Duration: 10s465ms Bind query: yes
18 1s1ms 6s194ms 4s405ms 178 13m4s 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 08 01 1 5s392ms 5s392ms 02 1 5s322ms 5s322ms 04 1 5s313ms 5s313ms 07 1 5s141ms 5s141ms 08 1 5s275ms 5s275ms 09 1 5s351ms 5s351ms 11 1 1s15ms 1s15ms 12 6 22s448ms 3s741ms 13 2 10s307ms 5s153ms 19 1 5s183ms 5s183ms 22 2 2s99ms 1s49ms Dec 09 01 2 10s615ms 5s307ms 02 1 5s286ms 5s286ms 04 2 6s94ms 3s47ms 05 2 10s157ms 5s78ms 10 1 1s20ms 1s20ms 11 1 1s28ms 1s28ms 12 1 1s23ms 1s23ms 14 2 10s216ms 5s108ms 16 1 1s21ms 1s21ms 17 3 15s601ms 5s200ms 18 1 1s26ms 1s26ms 19 28 2m28s 5s320ms 20 1 5s468ms 5s468ms 21 4 16s835ms 4s208ms 22 4 16s360ms 4s90ms Dec 10 03 2 10s143ms 5s71ms 05 1 5s396ms 5s396ms 06 1 5s411ms 5s411ms 07 1 5s354ms 5s354ms 08 1 5s457ms 5s457ms 09 5 21s990ms 4s398ms 10 1 1s818ms 1s818ms 11 2 10s620ms 5s310ms 12 1 5s268ms 5s268ms 15 1 5s51ms 5s51ms 19 1 5s403ms 5s403ms 23 1 5s499ms 5s499ms Dec 11 00 1 5s446ms 5s446ms 01 2 10s356ms 5s178ms 03 1 1s9ms 1s9ms 05 2 2s156ms 1s78ms 06 1 1s10ms 1s10ms 07 1 1s22ms 1s22ms 09 2 6s257ms 3s128ms 12 2 10s664ms 5s332ms 13 3 15s964ms 5s321ms 14 2 10s519ms 5s259ms 15 4 16s472ms 4s118ms 16 3 11s725ms 3s908ms 20 2 6s130ms 3s65ms 21 1 5s392ms 5s392ms 22 1 1s24ms 1s24ms 23 2 6s285ms 3s142ms Dec 12 01 2 5s951ms 2s975ms 02 2 9s884ms 4s942ms 04 1 1s156ms 1s156ms 05 2 6s997ms 3s498ms 06 2 12s156ms 6s78ms 07 2 11s911ms 5s955ms 10 2 10s460ms 5s230ms 11 3 15s248ms 5s82ms 18 2 10s78ms 5s39ms 19 5 21s701ms 4s340ms Dec 13 07 1 1s24ms 1s24ms 08 1 5s198ms 5s198ms 09 1 1s15ms 1s15ms 10 1 5s512ms 5s512ms 13 1 4s987ms 4s987ms 19 1 5s302ms 5s302ms 20 11 44s441ms 4s40ms Dec 14 01 2 10s214ms 5s107ms 02 1 5s169ms 5s169ms 03 1 4s948ms 4s948ms 04 3 11s576ms 3s858ms 09 1 5s62ms 5s62ms 10 1 4s854ms 4s854ms 11 1 5s359ms 5s359ms 12 1 5s203ms 5s203ms 16 5 25s419ms 5s83ms 23 2 10s860ms 5s430ms [ User: pubeu - Total duration: 3m22s - Times executed: 49 ]
-
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 = '1375607' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-12-12 06:32:47 Duration: 6s194ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1375607' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-12-12 06:32:45 Duration: 5s962ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1280993' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-12-12 07:51:41 Duration: 5s955ms Bind query: yes
19 3s612ms 7s181ms 3s941ms 335 22m 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 #19
Day Hour Count Duration Avg duration Dec 08 00 1 3s984ms 3s984ms 01 1 4s126ms 4s126ms 02 7 26s803ms 3s829ms 04 2 7s649ms 3s824ms 05 3 11s838ms 3s946ms 06 1 3s821ms 3s821ms 08 2 7s693ms 3s846ms 10 1 3s990ms 3s990ms 11 2 7s731ms 3s865ms 13 1 3s886ms 3s886ms 16 1 4s53ms 4s53ms 18 2 7s850ms 3s925ms 19 3 11s659ms 3s886ms 21 2 7s844ms 3s922ms 23 1 4s217ms 4s217ms Dec 09 01 2 7s655ms 3s827ms 02 1 4s256ms 4s256ms 03 1 3s907ms 3s907ms 04 5 19s611ms 3s922ms 05 2 7s740ms 3s870ms 06 2 7s939ms 3s969ms 07 3 11s517ms 3s839ms 08 1 3s808ms 3s808ms 10 2 7s843ms 3s921ms 11 2 7s799ms 3s899ms 12 1 3s785ms 3s785ms 13 2 7s769ms 3s884ms 14 3 12s49ms 4s16ms 15 1 4s69ms 4s69ms 16 2 8s478ms 4s239ms 18 3 11s537ms 3s845ms 19 2 9s334ms 4s667ms 20 5 20s86ms 4s17ms 21 4 15s577ms 3s894ms 22 2 7s640ms 3s820ms 23 1 4s421ms 4s421ms Dec 10 01 2 7s877ms 3s938ms 02 4 15s654ms 3s913ms 04 3 11s900ms 3s966ms 05 4 16s58ms 4s14ms 06 2 7s824ms 3s912ms 07 1 3s938ms 3s938ms 08 1 3s916ms 3s916ms 09 3 11s926ms 3s975ms 10 2 11s79ms 5s539ms 11 2 8s126ms 4s63ms 12 1 3s777ms 3s777ms 13 2 7s940ms 3s970ms 15 2 7s652ms 3s826ms 20 1 3s820ms 3s820ms Dec 11 00 2 7s807ms 3s903ms 01 1 4s9ms 4s9ms 02 2 9s174ms 4s587ms 03 2 7s842ms 3s921ms 04 5 19s585ms 3s917ms 05 10 39s139ms 3s913ms 06 1 4s2ms 4s2ms 07 3 11s545ms 3s848ms 08 6 22s798ms 3s799ms 09 3 11s487ms 3s829ms 10 1 3s787ms 3s787ms 11 1 3s825ms 3s825ms 14 1 3s988ms 3s988ms 15 2 7s993ms 3s996ms 16 1 3s759ms 3s759ms 20 1 3s731ms 3s731ms 22 7 27s144ms 3s877ms 23 6 23s170ms 3s861ms Dec 12 00 4 15s198ms 3s799ms 01 2 7s817ms 3s908ms 02 2 7s768ms 3s884ms 03 5 19s327ms 3s865ms 06 1 4s283ms 4s283ms 07 2 8s431ms 4s215ms 08 1 4s105ms 4s105ms 09 2 8s63ms 4s31ms 10 1 3s861ms 3s861ms 11 5 19s424ms 3s884ms 14 4 15s770ms 3s942ms 15 3 11s612ms 3s870ms 16 1 3s785ms 3s785ms 18 1 3s888ms 3s888ms 19 1 3s817ms 3s817ms 20 2 7s766ms 3s883ms 21 2 9s621ms 4s810ms 22 7 26s884ms 3s840ms 23 23 1m29s 3s900ms Dec 13 00 24 1m33s 3s880ms 01 3 12s11ms 4s3ms 03 5 19s552ms 3s910ms 04 2 8s762ms 4s381ms 06 3 11s536ms 3s845ms 07 1 4s673ms 4s673ms 09 4 15s907ms 3s976ms 10 2 7s787ms 3s893ms 11 1 3s662ms 3s662ms 12 2 7s343ms 3s671ms 13 5 19s955ms 3s991ms 14 3 11s15ms 3s671ms 15 1 3s717ms 3s717ms 16 1 4s97ms 4s97ms 18 2 7s267ms 3s633ms 19 2 8s418ms 4s209ms 20 1 4s149ms 4s149ms 22 2 7s720ms 3s860ms 23 1 4s57ms 4s57ms Dec 14 00 1 3s648ms 3s648ms 01 1 4s152ms 4s152ms 02 1 3s629ms 3s629ms 03 3 15s55ms 5s18ms 05 1 3s726ms 3s726ms 06 1 4s163ms 4s163ms 07 1 4s311ms 4s311ms 08 2 7s244ms 3s622ms 09 1 3s741ms 3s741ms 11 3 12s163ms 4s54ms 12 4 14s562ms 3s640ms 13 2 8s281ms 4s140ms 15 1 3s700ms 3s700ms 17 9 34s863ms 3s873ms 21 3 11s890ms 3s963ms 23 5 19s122ms 3s824ms [ User: pubeu - Total duration: 7m55s - Times executed: 119 ]
-
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 = '1299386') 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 = '1299386') 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-10 10:35:11 Duration: 7s181ms 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 = '1343306') 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 = '1343306') 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-14 03:49:18 Duration: 5s737ms 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 = '1343306') 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 = '1343306') 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-09 19:16:47 Duration: 5s382ms Bind query: yes
20 1s40ms 10s488ms 3s900ms 43 2m47s select ii.cd, count(ii.id) cnt from ( select ot.cd, tl.term_id id from object_type ot inner join term_label tl on ot.id = tl.object_type_id where tl.nm_fts @@ to_tsquery(?, ?) union select ?, r.id from reference r where r.title_abstract_fts @@ to_tsquery(?, ?) or r.id in ( select rpr.reference_id from reference_party_role rpr inner join reference_party rp on rpr.reference_party_id = rp.id where (substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ?)) union select ot.cd, l.object_id from db_link l inner join object_type ot on l.object_type_id = ot.id where l.type_cd = ? and (upper(l.acc_txt) like ?)) ii group by ii.cd;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Dec 08 22 1 1s103ms 1s103ms 23 2 10s549ms 5s274ms Dec 09 09 28 2m 4s320ms 19 2 2s197ms 1s98ms 20 2 2s221ms 1s110ms Dec 10 04 1 5s204ms 5s204ms 06 1 1s240ms 1s240ms 21 1 5s242ms 5s242ms Dec 11 05 1 1s40ms 1s40ms Dec 12 06 1 10s488ms 10s488ms Dec 13 17 2 2s206ms 1s103ms Dec 14 10 1 5s262ms 5s262ms [ User: pubeu - Total duration: 1m35s - Times executed: 23 ]
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', '%%%%') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '%%%%') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '%%%%')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE '%%%%')) ii GROUP BY ii.cd;
Date: 2024-12-12 06:49:34 Duration: 10s488ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'KATANA') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'KATANA') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'KATANA')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'KATANA')) ii GROUP BY ii.cd;
Date: 2024-12-09 09:40:36 Duration: 8s524ms Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'KATANA') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'KATANA') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'KATANA')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'KATANA')) ii GROUP BY ii.cd;
Date: 2024-12-09 09:40:35 Duration: 6s826ms Database: ctdprd51 User: pubeu Bind query: yes
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query NO DATASET
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 0ms 184 0ms 0ms 0ms ;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration Dec 08 08 10 0ms 0ms 09 10 0ms 0ms 10 2 0ms 0ms 16 4 0ms 0ms 17 8 0ms 0ms Dec 09 09 2 0ms 0ms 11 6 0ms 0ms 12 2 0ms 0ms 13 4 0ms 0ms 14 2 0ms 0ms 15 8 0ms 0ms 16 6 0ms 0ms 17 6 0ms 0ms 19 2 0ms 0ms Dec 10 06 6 0ms 0ms 07 2 0ms 0ms 10 2 0ms 0ms 11 2 0ms 0ms 14 2 0ms 0ms 16 8 0ms 0ms 17 8 0ms 0ms 19 2 0ms 0ms Dec 11 10 4 0ms 0ms 14 6 0ms 0ms 15 4 0ms 0ms 16 8 0ms 0ms Dec 12 05 6 0ms 0ms 06 6 0ms 0ms 11 2 0ms 0ms 12 2 0ms 0ms 14 2 0ms 0ms 16 4 0ms 0ms Dec 13 06 6 0ms 0ms 07 6 0ms 0ms 09 3 0ms 0ms 12 3 0ms 0ms 14 3 0ms 0ms 15 9 0ms 0ms 16 6 0ms 0ms [ User: pubeu - Total duration: 2m22s - Times executed: 74 ]
-
;
Date: Duration: 0ms Database: postgres User: ctdprd51 Remote: pubeu
-
Events
Log levels
Key values
- 107,174 Log entries
Events distribution
Key values
- 0 PANIC entries
- 7 FATAL entries
- 10 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 9 Max number of times the same event was reported
- 17 Total events found
Rank Times reported Error 1 9 ERROR: syntax error in ts"..."
Times Reported Most Frequent Error / Event #1
Day Hour Count Dec 08 20 1 Dec 11 08 2 Dec 12 23 1 Dec 13 07 1 23 2 Dec 14 10 1 13 1 - ERROR: syntax error in ts"沈君 130824198805210700"
- ERROR: syntax error in ts"(1001-9278(2005)19:10<39:JYXRRJ>2.0.TX | 10019278(2005)19:10<39:JYXRRJ>2.0.TX) & (2-J | 2J)"
- ERROR: syntax error in ts"藤枝市 & スマートシティ 水上"
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-08 20:46:59
Statement: SELECT /* GeneBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Symbol' THEN true ELSE false END isNameMatch ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper( l.acc_txt ) = $3 OR upper( l.acc_txt ) = $4 OR upper( l.acc_txt ) = $5 OR upper( l.acc_txt ) = $6 OR upper( l.acc_txt ) = $7 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2024-12-11 08:21:06
Statement: SELECT /* GeneBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Symbol' THEN true ELSE false END isNameMatch ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper( l.acc_txt ) = $3 OR upper( l.acc_txt ) = $4 OR upper( l.acc_txt ) = $5 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2024-12-14 10:21:41
2 6 FATAL: password authentication failed for user "..."
Times Reported Most Frequent Error / Event #2
Day Hour Count Dec 13 10 6 - FATAL: password authentication failed for user "load"
Detail: Connection matched pg_hba.conf line 85: "host all all 192.168.201.0/24 md5 "
Date: 2024-12-13 10:08:17
3 1 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #3
Day Hour Count Dec 12 10 1 4 1 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #4
Day Hour Count Dec 12 10 1