-
Global information
- Generated on Sun Dec 1 04:15:17 2024
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20241130
- Parsed 168,430 log entries in 16s
- Log start from 2024-11-24 00:00:01 to 2024-11-30 23:59:22
-
Overview
Global Stats
- 464 Number of unique normalized queries
- 7,698 Number of queries
- 13h32m58s Total query duration
- 2024-11-24 00:00:35 First query
- 2024-11-30 23:53:10 Last query
- 7 queries/s at 2024-11-26 07:23:28 Query peak
- 13h32m58s Total query duration
- 0ms Prepare/parse total duration
- 5s384ms Bind total duration
- 13h32m53s Execute total duration
- 84 Number of events
- 8 Number of unique normalized events
- 41 Max number of times the same event was reported
- 0 Number of cancellation
- 107 Total number of automatic vacuums
- 247 Total number of automatic analyzes
- 41 Number temporary file
- 40.78 GiB Max size of temporary file
- 1018.42 MiB Average size of temporary file
- 15,689 Total number of sessions
- 78 sessions at 2024-11-26 03:30:46 Session peak
- 299d17h16m43s Total duration of sessions
- 27m30s Average duration of sessions
- 0 Average queries per session
- 3s109ms Average queries duration per session
- 27m27s Average idle time per session
- 15,687 Total number of connections
- 58 connections/s at 2024-11-25 22:51:20 Connection peak
- 3 Total number of databases
SQL Traffic
Key values
- 7 queries/s Query Peak
- 2024-11-26 07:23:28 Date
SELECT Traffic
Key values
- 7 queries/s Query Peak
- 2024-11-26 07:23:28 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1 queries/s Query Peak
- 2024-11-24 10:01:06 Date
Queries duration
Key values
- 13h32m58s 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) Nov 24 00 78 0ms 19m18s 22s92ms 6s336ms 1m52s 19m27s 01 55 0ms 1m48s 3s462ms 4s617ms 6s465ms 1m48s 02 43 0ms 1m47s 6s89ms 20s710ms 21s624ms 1m47s 03 51 0ms 21s473ms 1s806ms 3s656ms 4s571ms 21s473ms 04 90 0ms 20s580ms 3s802ms 19s916ms 24s389ms 43s473ms 05 93 0ms 19s816ms 3s27ms 19s42ms 28s226ms 32s218ms 06 51 0ms 38s406ms 3s365ms 5s106ms 9s661ms 54s873ms 07 55 0ms 3s933ms 1s508ms 3s933ms 4s664ms 5s521ms 08 58 0ms 5s509ms 1s743ms 5s270ms 6s111ms 11s767ms 09 45 0ms 3m14s 5s658ms 3s583ms 3s883ms 3m14s 10 76 0ms 38s392ms 3s367ms 12s322ms 20s494ms 54s930ms 11 42 0ms 3s860ms 1s455ms 3s825ms 4s629ms 6s258ms 12 40 0ms 4s736ms 1s407ms 3s507ms 5s747ms 7s175ms 13 50 0ms 4s876ms 1s535ms 4s952ms 7s398ms 9s625ms 14 62 0ms 38s608ms 3s808ms 20s244ms 24s339ms 55s63ms 15 46 0ms 19s695ms 1s712ms 3s501ms 3s878ms 19s695ms 16 68 0ms 4s76ms 1s564ms 6s209ms 6s742ms 8s424ms 17 59 0ms 5s580ms 1s582ms 4s8ms 8s170ms 12s246ms 18 51 0ms 38s774ms 3s243ms 4s698ms 9s704ms 57s398ms 19 46 0ms 3s889ms 1s663ms 4s851ms 4s868ms 7s527ms 20 76 0ms 20s642ms 3s266ms 19s847ms 20s642ms 26s314ms 21 34 0ms 19s744ms 1s886ms 2s470ms 4s268ms 19s744ms 22 55 0ms 21s636ms 2s563ms 4s959ms 8s599ms 43s784ms 23 43 0ms 4s852ms 1s956ms 4s642ms 6s191ms 9s642ms Nov 25 00 49 0ms 19m22s 25s801ms 5s128ms 7s586ms 19m29s 01 63 0ms 6s204ms 1s981ms 6s986ms 19s61ms 25s799ms 02 62 0ms 7s416ms 1s708ms 5s792ms 6s177ms 9s435ms 03 24 0ms 4s202ms 1s637ms 2s250ms 3s801ms 10s803ms 04 11 0ms 10s775ms 3s601ms 4s682ms 9s870ms 10s775ms 05 54 0ms 13s987ms 2s468ms 13s987ms 15s997ms 29s976ms 06 31 0ms 17m26s 38s862ms 9s653ms 47s554ms 17m26s 07 18 0ms 3s889ms 2s913ms 3s773ms 5s13ms 11s309ms 08 32 0ms 5s403ms 3s81ms 4s960ms 5s18ms 7s709ms 09 21 0ms 5s362ms 2s896ms 4s948ms 5s362ms 14s576ms 10 16 0ms 38s394ms 7s112ms 1s321ms 9s660ms 48s418ms 11 33 0ms 12s322ms 3s672ms 2s806ms 22s831ms 41s503ms 12 45 0ms 1m13s 5s779ms 24s596ms 45s350ms 1m19s 13 119 0ms 34m17s 21s697ms 28s378ms 45s464ms 34m31s 14 191 0ms 2m16s 5s894ms 31s828ms 1m23s 2m23s 15 33 0ms 36s99ms 3s492ms 8s299ms 16s601ms 36s99ms 16 26 0ms 9m24s 24s465ms 2s489ms 14s421ms 9m24s 17 38 0ms 7s309ms 3s476ms 7s979ms 11s481ms 11s644ms 18 26 0ms 38s450ms 6s184ms 2s405ms 19s133ms 1m1s 19 14 0ms 5s370ms 2s751ms 4s36ms 5s320ms 9s525ms 20 45 0ms 20s181ms 1s769ms 3s776ms 4s807ms 27s144ms 21 46 0ms 32s149ms 6s504ms 5s194ms 23s880ms 3m6s 22 2 0ms 13m 13m 0ms 0ms 26m 23 0 0ms 0ms 0ms 0ms 0ms 0ms Nov 26 00 2 0ms 19m20s 9m43s 0ms 0ms 19m26s 01 0 0ms 0ms 0ms 0ms 0ms 0ms 02 0 0ms 0ms 0ms 0ms 0ms 0ms 03 0 0ms 0ms 0ms 0ms 0ms 0ms 04 0 0ms 0ms 0ms 0ms 0ms 0ms 05 62 0ms 6s728ms 2s257ms 13s190ms 25s116ms 28s691ms 06 76 0ms 38s744ms 3s66ms 11s51ms 34s272ms 56s235ms 07 35 0ms 7s593ms 2s503ms 2s902ms 4s195ms 37s974ms 08 54 0ms 3s907ms 1s999ms 2s815ms 5s289ms 36s446ms 09 55 0ms 24s269ms 3s631ms 3s797ms 7s393ms 1m11s 10 43 0ms 38s510ms 4s908ms 10s972ms 42s523ms 49s396ms 11 45 0ms 27s43ms 2s603ms 2s887ms 11s967ms 35s710ms 12 59 0ms 16s320ms 2s199ms 7s851ms 9s248ms 17s854ms 13 33 0ms 20s97ms 2s139ms 2s638ms 2s679ms 21s570ms 14 149 0ms 38s537ms 2s802ms 25s602ms 48s81ms 54s980ms 15 48 0ms 1m28s 3s303ms 3s218ms 4s121ms 1m30s 16 34 0ms 3s30ms 1s456ms 2s608ms 2s729ms 4s529ms 17 43 0ms 7s779ms 2s675ms 5s403ms 6s286ms 20s692ms 18 92 0ms 38s660ms 3s279ms 14s192ms 24s142ms 51s685ms 19 44 0ms 4s581ms 1s666ms 3s881ms 5s410ms 6s595ms 20 84 0ms 13s28ms 2s373ms 8s446ms 10s592ms 23s254ms 21 91 0ms 17m42s 14s534ms 6s406ms 26s72ms 17m49s 22 120 0ms 11s384ms 2s919ms 16s869ms 21s477ms 43s572ms 23 72 0ms 12s890ms 2s685ms 8s4ms 23s407ms 1m10s Nov 27 00 38 0ms 19m37s 32s756ms 2s648ms 5s346ms 19m44s 01 37 0ms 1m4s 3s619ms 3s856ms 5s625ms 1m5s 02 62 0ms 13s350ms 1s755ms 3s890ms 5s172ms 29s70ms 03 84 0ms 4s229ms 1s454ms 5s273ms 6s76ms 11s335ms 04 100 0ms 2m42s 3s309ms 8s468ms 10s295ms 2m43s 05 207 0ms 2m36s 7s685ms 1m15s 1m21s 12m44s 06 171 0ms 2m31s 4s669ms 14s627ms 43s369ms 7m32s 07 200 0ms 3m46s 2s742ms 14s772ms 18s928ms 3m47s 08 169 0ms 18s634ms 1s696ms 8s156ms 12s79ms 38s660ms 09 298 0ms 40s173ms 2s666ms 45s662ms 48s922ms 53s848ms 10 349 0ms 4m38s 6s227ms 1m51s 1m58s 9m19s 11 58 0ms 12s670ms 3s323ms 11s258ms 13s698ms 37s358ms 12 47 0ms 7s300ms 1s836ms 3s680ms 9s173ms 11s519ms 13 33 0ms 1s752ms 1s339ms 2s196ms 2s568ms 4s772ms 14 63 0ms 38s790ms 3s752ms 9s708ms 31s63ms 44s117ms 15 42 0ms 5s526ms 1s504ms 2s732ms 4s733ms 6s672ms 16 35 0ms 5s676ms 1s688ms 2s557ms 5s469ms 5s676ms 17 34 0ms 19s49ms 2s42ms 2s219ms 3s953ms 19s49ms 18 46 0ms 11m18s 18s317ms 8s2ms 47s631ms 11m18s 19 32 0ms 26s416ms 2s321ms 2s614ms 2s921ms 29s354ms 20 46 0ms 5s479ms 2s88ms 5s275ms 7s652ms 9s164ms 21 103 0ms 6s175ms 2s547ms 9s253ms 20s917ms 26s818ms 22 20 0ms 3s893ms 1s876ms 2s432ms 3s822ms 5s77ms 23 31 0ms 12s613ms 4s397ms 11s195ms 16s529ms 24s837ms Nov 28 00 48 0ms 19m42s 27s456ms 5s357ms 15s154ms 19m48s 01 20 0ms 5s525ms 1s628ms 1s698ms 3s657ms 5s525ms 02 30 0ms 5s593ms 2s461ms 5s273ms 6s727ms 11s169ms 03 43 0ms 5s798ms 2s391ms 5s190ms 10s40ms 28s80ms 04 17 0ms 4s820ms 2s103ms 2s803ms 2s961ms 9s623ms 05 59 0ms 6s631ms 2s485ms 6s200ms 16s640ms 30s504ms 06 19 0ms 39s348ms 7s428ms 4s19ms 23s807ms 48s523ms 07 9 0ms 36s730ms 6s403ms 3s832ms 3s965ms 38s28ms 08 4 0ms 1s473ms 1s170ms 0ms 1s64ms 1s473ms 09 10 0ms 5s477ms 2s701ms 2s364ms 5s393ms 6s524ms 10 19 0ms 39s164ms 6s825ms 3s858ms 23s963ms 48s224ms 11 29 0ms 4s38ms 2s372ms 4s38ms 5s33ms 5s234ms 12 14 0ms 5s585ms 1s990ms 1s246ms 3s872ms 5s585ms 13 21 0ms 18s955ms 2s295ms 2s541ms 5s35ms 18s955ms 14 21 0ms 38s962ms 6s9ms 1s278ms 23s905ms 50s597ms 15 15 0ms 4s512ms 1s993ms 1s709ms 4s52ms 5s716ms 16 14 0ms 3s328ms 1s313ms 1s216ms 1s268ms 3s328ms 17 46 0ms 6s208ms 2s113ms 2s479ms 17s413ms 22s451ms 18 31 0ms 39s59ms 4s654ms 3s993ms 11s94ms 55s159ms 19 13 0ms 5s535ms 2s45ms 2s572ms 5s80ms 5s535ms 20 11 0ms 2s465ms 1s301ms 1s252ms 1s482ms 2s465ms 21 22 0ms 11s327ms 3s619ms 6s530ms 11s204ms 11s327ms 22 29 0ms 4s26ms 2s412ms 4s387ms 5s292ms 6s243ms 23 28 0ms 4s365ms 1s791ms 3s841ms 3s973ms 6s678ms Nov 29 00 39 0ms 19m40s 32s940ms 5s20ms 5s100ms 19m46s 01 32 0ms 13s216ms 3s187ms 5s306ms 8s736ms 13s216ms 02 42 0ms 31s90ms 4s4ms 7s578ms 9s496ms 34s379ms 03 27 0ms 29s810ms 4s699ms 6s586ms 11s136ms 33s292ms 04 21 0ms 4m19s 15s540ms 3s971ms 4s92ms 4m19s 05 61 0ms 8s606ms 2s322ms 9s335ms 16s932ms 31s17ms 06 37 0ms 3m42s 10s545ms 5s690ms 48s362ms 3m44s 07 63 0ms 6s243ms 2s525ms 6s853ms 12s176ms 20s640ms 08 38 0ms 11s441ms 3s365ms 10s212ms 11s734ms 12s326ms 09 52 0ms 4m7s 34s614ms 12s741ms 21s540ms 23m35s 10 29 0ms 39s99ms 6s778ms 13s557ms 25s53ms 48s245ms 11 19 0ms 59s698ms 11s74ms 11s278ms 36s500ms 59s698ms 12 38 0ms 6s206ms 2s153ms 5s320ms 12s670ms 21s547ms 13 14 0ms 17s129ms 5s449ms 11s211ms 11s293ms 17s129ms 14 27 0ms 39s52ms 5s957ms 2s661ms 20s970ms 1m6s 15 21 0ms 14s754ms 3s343ms 3s984ms 4s138ms 22s227ms 16 18 0ms 5s526ms 1s522ms 1s423ms 1s473ms 5s526ms 17 18 0ms 5s404ms 1s636ms 2s231ms 3s769ms 5s404ms 18 20 0ms 39s126ms 6s359ms 2s340ms 23s828ms 48s248ms 19 11 0ms 11m45s 1m5s 1s222ms 1s702ms 11m45s 20 9 0ms 4s113ms 2s2ms 1s568ms 4s24ms 4s113ms 21 16 0ms 10m29s 40s741ms 2s618ms 2s691ms 10m29s 22 12 0ms 6s170ms 2s43ms 1s518ms 2s821ms 6s170ms 23 16 0ms 9s711ms 2s132ms 1s401ms 3s322ms 9s711ms Nov 30 00 13 0ms 19m40s 1m32s 1s505ms 3s47ms 19m45s 01 15 0ms 2s47ms 1s291ms 1s431ms 2s277ms 3s309ms 02 8 0ms 1s516ms 1s189ms 1s65ms 1s184ms 2s547ms 03 25 0ms 5s701ms 2s46ms 2s294ms 3s672ms 22s741ms 04 20 0ms 12s667ms 1s964ms 2s323ms 2s379ms 12s667ms 05 55 0ms 6s781ms 2s287ms 6s405ms 15s933ms 31s84ms 06 19 0ms 3s845ms 1s727ms 2s629ms 3s212ms 6s212ms 07 48 0ms 10s86ms 2s515ms 5s527ms 18s702ms 27s370ms 08 17 0ms 5s848ms 1s521ms 1s829ms 2s407ms 5s848ms 09 11 0ms 4s998ms 2s131ms 2s352ms 3s783ms 4s998ms 10 9 0ms 1s245ms 1s124ms 1s105ms 1s158ms 1s245ms 11 15 0ms 6s288ms 1s598ms 2s203ms 3s601ms 6s288ms 12 18 0ms 1s994ms 1s212ms 2s314ms 2s539ms 2s546ms 13 11 0ms 3s972ms 1s799ms 2s496ms 3s773ms 5s79ms 14 18 0ms 4s103ms 1s469ms 2s267ms 2s316ms 5s283ms 15 16 0ms 4s82ms 1s406ms 1s379ms 2s319ms 4s82ms 16 7 0ms 1s276ms 1s168ms 1s188ms 2s192ms 2s356ms 17 16 0ms 4s614ms 1s518ms 1s394ms 2s326ms 4s614ms 18 45 0ms 1m13s 9s707ms 40s590ms 1m5s 1m14s 19 55 0ms 23m55s 1m27s 2m 7m23s 24m49s 20 21 0ms 5s440ms 1s933ms 2s569ms 3s732ms 6s510ms 21 39 0ms 5s354ms 2s667ms 4s867ms 5s58ms 5s354ms 22 23 0ms 5s436ms 2s550ms 3s977ms 4s457ms 7s578ms 23 10 0ms 2s534ms 1s331ms 1s269ms 1s371ms 2s534ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Nov 24 00 77 0 22s301ms 5s209ms 6s336ms 3m38s 01 55 0 3s462ms 3s582ms 4s617ms 1m48s 02 43 0 6s89ms 4s28ms 20s710ms 1m47s 03 51 0 1s806ms 2s528ms 3s656ms 8s699ms 04 90 0 3s802ms 12s825ms 19s916ms 24s464ms 05 89 0 3s63ms 11s121ms 19s42ms 30s156ms 06 41 10 3s365ms 3s775ms 5s106ms 54s873ms 07 55 0 1s508ms 3s185ms 3s933ms 5s342ms 08 58 0 1s743ms 3s812ms 5s270ms 11s767ms 09 45 0 5s658ms 2s593ms 3s583ms 4s730ms 10 66 10 3s367ms 4s688ms 12s322ms 47s483ms 11 42 0 1s455ms 2s430ms 3s825ms 6s258ms 12 40 0 1s407ms 2s310ms 3s507ms 7s175ms 13 50 0 1s535ms 2s527ms 4s952ms 9s625ms 14 52 10 3s808ms 3s474ms 20s244ms 55s63ms 15 46 0 1s712ms 2s529ms 3s501ms 19s695ms 16 68 0 1s564ms 3s965ms 6s209ms 8s424ms 17 58 0 1s552ms 3s505ms 4s8ms 8s919ms 18 40 10 3s256ms 3s443ms 4s698ms 54s813ms 19 46 0 1s663ms 3s774ms 4s851ms 7s527ms 20 76 0 3s266ms 6s262ms 19s847ms 26s314ms 21 34 0 1s886ms 2s257ms 2s470ms 19s744ms 22 55 0 2s563ms 3s796ms 4s959ms 9s586ms 23 43 0 1s956ms 3s402ms 4s642ms 9s642ms Nov 25 00 48 0 26s227ms 3s824ms 5s128ms 19m23s 01 63 0 1s981ms 2s537ms 6s986ms 25s799ms 02 62 0 1s708ms 4s824ms 5s792ms 9s435ms 03 24 0 1s637ms 1s231ms 2s250ms 10s803ms 04 11 0 3s601ms 1s176ms 4s682ms 10s775ms 05 50 0 2s489ms 2s582ms 13s987ms 29s976ms 06 21 10 38s862ms 2s153ms 9s653ms 17m26s 07 18 0 2s913ms 1s163ms 3s773ms 7s625ms 08 32 0 3s81ms 3s846ms 4s960ms 7s709ms 09 21 0 2s896ms 2s182ms 4s948ms 14s576ms 10 7 9 7s112ms 1s43ms 1s321ms 48s418ms 11 32 0 3s727ms 1s247ms 2s806ms 41s503ms 12 43 0 5s937ms 4s720ms 20s860ms 1m19s 13 119 0 21s697ms 26s188ms 28s378ms 1m28s 14 180 10 5s914ms 28s312ms 31s828ms 1m55s 15 21 0 4s269ms 1s274ms 6s886ms 36s99ms 16 26 0 24s465ms 1s112ms 2s489ms 38s788ms 17 38 0 3s476ms 7s309ms 7s979ms 11s644ms 18 16 10 6s184ms 1s228ms 9s723ms 54s926ms 19 14 0 2s751ms 1s137ms 4s36ms 9s525ms 20 45 0 1s769ms 2s542ms 3s776ms 27s144ms 21 46 0 6s504ms 3s836ms 5s194ms 3m6s 22 2 0 13m 0ms 0ms 26m 23 0 0 0ms 0ms 0ms 0ms Nov 26 00 1 0 19m20s 0ms 0ms 19m20s 01 0 0 0ms 0ms 0ms 0ms 02 0 0 0ms 0ms 0ms 0ms 03 0 0 0ms 0ms 0ms 0ms 04 0 0 0ms 0ms 0ms 0ms 05 58 0 2s254ms 4s898ms 13s190ms 28s691ms 06 66 10 3s66ms 3s482ms 9s700ms 47s837ms 07 35 0 2s503ms 1s466ms 2s902ms 37s974ms 08 54 0 1s999ms 1s465ms 2s815ms 33s119ms 09 55 0 3s631ms 1s466ms 3s797ms 1m10s 10 32 9 5s34ms 2s726ms 9s730ms 49s396ms 11 45 0 2s603ms 1s478ms 2s887ms 29s665ms 12 59 0 2s199ms 3s989ms 7s851ms 13s974ms 13 33 0 2s139ms 1s490ms 2s638ms 21s570ms 14 139 10 2s802ms 10s917ms 25s602ms 54s980ms 15 48 0 3s303ms 2s640ms 3s218ms 5s341ms 16 34 0 1s456ms 1s508ms 2s608ms 2s954ms 17 43 0 2s675ms 3s958ms 5s403ms 9s866ms 18 84 8 3s279ms 9s711ms 14s192ms 27s200ms 19 44 0 1s666ms 1s514ms 3s881ms 5s740ms 20 84 0 2s373ms 5s372ms 8s446ms 16s914ms 21 90 0 14s656ms 5s285ms 6s406ms 56s206ms 22 120 0 2s919ms 11s816ms 16s869ms 40s73ms 23 72 0 2s685ms 2s578ms 8s4ms 1m10s Nov 27 00 37 0 33s491ms 1s585ms 2s648ms 5s560ms 01 37 0 3s619ms 1s525ms 3s856ms 7s979ms 02 62 0 1s755ms 2s438ms 3s890ms 6s47ms 03 84 0 1s454ms 3s882ms 5s273ms 6s832ms 04 100 0 3s309ms 5s726ms 8s468ms 10s458ms 05 201 0 7s848ms 18s935ms 1m15s 1m26s 06 161 10 4s669ms 8s727ms 14s627ms 48s79ms 07 200 0 2s742ms 9s177ms 14s772ms 22s729ms 08 169 0 1s696ms 6s934ms 8s156ms 29s293ms 09 297 0 2s668ms 23s218ms 45s662ms 50s530ms 10 339 10 6s227ms 36s320ms 1m51s 4m32s 11 58 0 3s323ms 2s919ms 11s258ms 28s340ms 12 46 0 1s803ms 2s162ms 3s680ms 10s293ms 13 33 0 1s339ms 1s476ms 2s196ms 2s576ms 14 56 7 3s752ms 5s146ms 9s708ms 38s790ms 15 42 0 1s504ms 1s491ms 2s732ms 5s526ms 16 35 0 1s688ms 1s473ms 2s557ms 5s500ms 17 34 0 2s42ms 1s482ms 2s219ms 6s593ms 18 36 10 18s317ms 2s567ms 8s2ms 11m18s 19 32 0 2s321ms 1s473ms 2s614ms 29s354ms 20 46 0 2s88ms 4s45ms 5s275ms 9s164ms 21 103 0 2s547ms 5s439ms 9s253ms 21s491ms 22 20 0 1s876ms 1s308ms 2s432ms 5s77ms 23 31 0 4s397ms 4s884ms 11s195ms 24s837ms Nov 28 00 47 0 27s920ms 4s205ms 5s357ms 15s347ms 01 20 0 1s628ms 1s202ms 1s698ms 5s525ms 02 30 0 2s461ms 3s831ms 5s273ms 11s169ms 03 43 0 2s391ms 3s966ms 5s190ms 28s80ms 04 13 0 1s970ms 1s130ms 1s247ms 9s623ms 05 55 0 2s507ms 4s 6s200ms 30s504ms 06 8 10 7s735ms 0ms 4s19ms 48s523ms 07 9 0 6s403ms 0ms 3s832ms 38s28ms 08 4 0 1s170ms 0ms 0ms 1s473ms 09 10 0 2s701ms 0ms 2s364ms 6s524ms 10 9 10 6s825ms 1s163ms 3s858ms 48s224ms 11 29 0 2s372ms 3s858ms 4s38ms 5s234ms 12 14 0 1s990ms 1s159ms 1s246ms 5s585ms 13 21 0 2s295ms 1s190ms 2s541ms 18s955ms 14 11 10 6s9ms 1s168ms 2s360ms 48s70ms 15 15 0 1s993ms 1s168ms 1s709ms 5s716ms 16 14 0 1s313ms 1s131ms 1s216ms 3s328ms 17 46 0 2s113ms 1s430ms 2s479ms 22s451ms 18 21 10 4s654ms 1s359ms 3s993ms 55s159ms 19 13 0 2s45ms 1s162ms 2s572ms 5s535ms 20 11 0 1s301ms 1s128ms 1s252ms 2s465ms 21 22 0 3s619ms 2s489ms 6s530ms 11s327ms 22 29 0 2s412ms 3s831ms 4s387ms 6s243ms 23 28 0 1s791ms 1s655ms 3s841ms 6s678ms Nov 29 00 38 0 33s660ms 4s38ms 5s20ms 19m41s 01 32 0 3s187ms 3s967ms 5s306ms 13s216ms 02 42 0 4s4ms 4s69ms 7s578ms 34s379ms 03 27 0 4s699ms 3s973ms 6s586ms 33s292ms 04 21 0 15s540ms 3s775ms 3s971ms 4m19s 05 57 0 2s328ms 2s380ms 9s335ms 31s17ms 06 27 10 10s545ms 2s916ms 5s690ms 54s950ms 07 63 0 2s525ms 5s499ms 6s853ms 12s206ms 08 38 0 3s365ms 5s552ms 10s212ms 12s177ms 09 51 0 35s228ms 3s943ms 12s741ms 23m35s 10 19 10 6s778ms 3s826ms 13s557ms 48s245ms 11 19 0 11s74ms 2s178ms 11s278ms 59s698ms 12 38 0 2s153ms 1s304ms 5s320ms 21s547ms 13 14 0 5s449ms 1s283ms 11s211ms 17s129ms 14 17 10 5s957ms 1s256ms 9s651ms 55s55ms 15 20 0 3s415ms 1s427ms 3s984ms 22s227ms 16 18 0 1s522ms 1s270ms 1s423ms 5s526ms 17 18 0 1s636ms 1s209ms 2s231ms 5s404ms 18 10 10 6s359ms 1s179ms 2s340ms 48s248ms 19 11 0 1m5s 0ms 1s222ms 11m45s 20 9 0 2s2ms 1s154ms 1s568ms 4s113ms 21 16 0 40s741ms 1s155ms 2s618ms 10m29s 22 12 0 2s43ms 1s96ms 1s518ms 6s170ms 23 16 0 2s132ms 1s163ms 1s401ms 9s711ms Nov 30 00 12 0 1m39s 1s108ms 1s505ms 19m40s 01 15 0 1s291ms 1s175ms 1s431ms 3s309ms 02 8 0 1s189ms 0ms 1s65ms 2s547ms 03 25 0 2s46ms 1s228ms 2s294ms 22s741ms 04 20 0 1s964ms 1s219ms 2s323ms 12s667ms 05 51 0 2s292ms 1s312ms 6s405ms 31s84ms 06 19 0 1s727ms 1s587ms 2s629ms 6s212ms 07 48 0 2s515ms 1s504ms 5s527ms 19s129ms 08 17 0 1s521ms 1s174ms 1s829ms 5s848ms 09 11 0 2s131ms 1s98ms 2s352ms 4s998ms 10 9 0 1s124ms 1s23ms 1s105ms 1s245ms 11 15 0 1s598ms 1s169ms 2s203ms 6s288ms 12 18 0 1s212ms 1s155ms 2s314ms 2s546ms 13 11 0 1s799ms 1s157ms 2s496ms 5s79ms 14 18 0 1s469ms 1s219ms 2s267ms 5s283ms 15 16 0 1s406ms 1s273ms 1s379ms 4s82ms 16 7 0 1s168ms 0ms 1s188ms 2s356ms 17 16 0 1s518ms 1s178ms 1s394ms 4s614ms 18 19 26 9s707ms 5s585ms 40s590ms 1m13s 19 9 46 1m27s 1m11s 2m 24m49s 20 21 0 1s933ms 1s886ms 2s569ms 6s510ms 21 39 0 2s667ms 3s911ms 4s867ms 5s354ms 22 23 0 2s550ms 3s725ms 3s977ms 7s578ms 23 10 0 1s331ms 1s133ms 1s269ms 2s534ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Nov 24 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 Nov 25 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 Nov 26 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 Nov 27 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 Nov 28 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 Nov 29 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 Nov 30 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 Nov 24 00 0 76 76.00 0.00% 01 0 55 55.00 0.00% 02 0 43 43.00 0.00% 03 0 51 51.00 0.00% 04 0 90 90.00 0.00% 05 0 93 93.00 0.00% 06 0 41 41.00 0.00% 07 0 55 55.00 0.00% 08 0 58 58.00 0.00% 09 0 45 45.00 0.00% 10 0 66 66.00 0.00% 11 0 42 42.00 0.00% 12 0 40 40.00 0.00% 13 0 50 50.00 0.00% 14 0 52 52.00 0.00% 15 0 46 46.00 0.00% 16 0 68 68.00 0.00% 17 0 59 59.00 0.00% 18 0 41 41.00 0.00% 19 0 46 46.00 0.00% 20 0 76 76.00 0.00% 21 0 34 34.00 0.00% 22 0 55 55.00 0.00% 23 0 43 43.00 0.00% Nov 25 00 0 47 47.00 0.00% 01 0 63 63.00 0.00% 02 0 62 62.00 0.00% 03 0 24 24.00 0.00% 04 0 11 11.00 0.00% 05 0 54 54.00 0.00% 06 0 23 23.00 0.00% 07 0 20 20.00 0.00% 08 0 42 42.00 0.00% 09 0 24 24.00 0.00% 10 0 7 7.00 0.00% 11 0 11 11.00 0.00% 12 0 45 45.00 0.00% 13 0 120 120.00 0.00% 14 0 181 181.00 0.00% 15 0 33 33.00 0.00% 16 0 27 27.00 0.00% 17 0 38 38.00 0.00% 18 0 16 16.00 0.00% 19 0 14 14.00 0.00% 20 0 45 45.00 0.00% 21 0 46 46.00 0.00% 22 0 2 2.00 0.00% 23 0 0 0.00 0.00% Nov 26 00 0 0 0.00 0.00% 01 0 0 0.00 0.00% 02 0 0 0.00 0.00% 03 0 0 0.00 0.00% 04 0 0 0.00 0.00% 05 0 62 62.00 0.00% 06 0 71 71.00 0.00% 07 0 40 40.00 0.00% 08 0 61 61.00 0.00% 09 0 56 56.00 0.00% 10 0 36 36.00 0.00% 11 0 57 57.00 0.00% 12 0 59 59.00 0.00% 13 0 33 33.00 0.00% 14 0 139 139.00 0.00% 15 0 46 46.00 0.00% 16 0 36 36.00 0.00% 17 0 65 65.00 0.00% 18 0 96 96.00 0.00% 19 0 44 44.00 0.00% 20 0 85 85.00 0.00% 21 0 91 91.00 0.00% 22 0 120 120.00 0.00% 23 0 72 72.00 0.00% Nov 27 00 0 37 37.00 0.00% 01 0 37 37.00 0.00% 02 0 62 62.00 0.00% 03 0 84 84.00 0.00% 04 0 100 100.00 0.00% 05 0 207 207.00 0.00% 06 0 161 161.00 0.00% 07 0 220 220.00 0.00% 08 0 173 173.00 0.00% 09 0 305 305.00 0.00% 10 0 339 339.00 0.00% 11 0 73 73.00 0.00% 12 0 56 56.00 0.00% 13 0 39 39.00 0.00% 14 0 58 58.00 0.00% 15 0 45 45.00 0.00% 16 0 38 38.00 0.00% 17 0 34 34.00 0.00% 18 0 36 36.00 0.00% 19 0 32 32.00 0.00% 20 0 46 46.00 0.00% 21 0 103 103.00 0.00% 22 0 20 20.00 0.00% 23 0 31 31.00 0.00% Nov 28 00 0 47 47.00 0.00% 01 0 20 20.00 0.00% 02 0 30 30.00 0.00% 03 0 43 43.00 0.00% 04 0 17 17.00 0.00% 05 0 59 59.00 0.00% 06 0 9 9.00 0.00% 07 0 9 9.00 0.00% 08 0 4 4.00 0.00% 09 0 10 10.00 0.00% 10 0 9 9.00 0.00% 11 0 29 29.00 0.00% 12 0 14 14.00 0.00% 13 0 21 21.00 0.00% 14 0 11 11.00 0.00% 15 0 15 15.00 0.00% 16 0 14 14.00 0.00% 17 0 46 46.00 0.00% 18 0 21 21.00 0.00% 19 0 13 13.00 0.00% 20 0 11 11.00 0.00% 21 0 22 22.00 0.00% 22 0 29 29.00 0.00% 23 0 28 28.00 0.00% Nov 29 00 0 39 39.00 0.00% 01 0 32 32.00 0.00% 02 0 42 42.00 0.00% 03 0 27 27.00 0.00% 04 0 21 21.00 0.00% 05 0 61 61.00 0.00% 06 0 30 30.00 0.00% 07 0 65 65.00 0.00% 08 0 42 42.00 0.00% 09 0 52 52.00 0.00% 10 0 19 19.00 0.00% 11 0 19 19.00 0.00% 12 0 38 38.00 0.00% 13 0 14 14.00 0.00% 14 0 17 17.00 0.00% 15 0 21 21.00 0.00% 16 0 19 19.00 0.00% 17 0 18 18.00 0.00% 18 0 10 10.00 0.00% 19 0 11 11.00 0.00% 20 0 9 9.00 0.00% 21 0 16 16.00 0.00% 22 0 12 12.00 0.00% 23 0 16 16.00 0.00% Nov 30 00 0 11 11.00 0.00% 01 0 15 15.00 0.00% 02 0 8 8.00 0.00% 03 0 25 25.00 0.00% 04 0 20 20.00 0.00% 05 0 55 55.00 0.00% 06 0 19 19.00 0.00% 07 0 48 48.00 0.00% 08 0 17 17.00 0.00% 09 0 11 11.00 0.00% 10 0 9 9.00 0.00% 11 0 15 15.00 0.00% 12 0 18 18.00 0.00% 13 0 11 11.00 0.00% 14 0 18 18.00 0.00% 15 0 16 16.00 0.00% 16 0 7 7.00 0.00% 17 0 16 16.00 0.00% 18 0 19 19.00 0.00% 19 0 9 9.00 0.00% 20 0 21 21.00 0.00% 21 0 39 39.00 0.00% 22 0 23 23.00 0.00% 23 0 10 10.00 0.00% Day Hour Count Average / Second Nov 24 00 102 0.03/s 01 85 0.02/s 02 88 0.02/s 03 89 0.02/s 04 234 0.07/s 05 129 0.04/s 06 84 0.02/s 07 113 0.03/s 08 104 0.03/s 09 90 0.03/s 10 109 0.03/s 11 91 0.03/s 12 81 0.02/s 13 88 0.02/s 14 88 0.02/s 15 87 0.02/s 16 101 0.03/s 17 78 0.02/s 18 83 0.02/s 19 76 0.02/s 20 91 0.03/s 21 84 0.02/s 22 89 0.02/s 23 93 0.03/s Nov 25 00 81 0.02/s 01 85 0.02/s 02 101 0.03/s 03 101 0.03/s 04 89 0.02/s 05 91 0.03/s 06 80 0.02/s 07 79 0.02/s 08 87 0.02/s 09 78 0.02/s 10 82 0.02/s 11 83 0.02/s 12 97 0.03/s 13 86 0.02/s 14 86 0.02/s 15 85 0.02/s 16 77 0.02/s 17 87 0.02/s 18 83 0.02/s 19 78 0.02/s 20 78 0.02/s 21 96 0.03/s 22 254 0.07/s 23 61 0.02/s Nov 26 00 66 0.02/s 01 63 0.02/s 02 64 0.02/s 03 65 0.02/s 04 64 0.02/s 05 106 0.03/s 06 80 0.02/s 07 76 0.02/s 08 86 0.02/s 09 84 0.02/s 10 123 0.03/s 11 73 0.02/s 12 85 0.02/s 13 79 0.02/s 14 124 0.03/s 15 80 0.02/s 16 85 0.02/s 17 82 0.02/s 18 112 0.03/s 19 86 0.02/s 20 94 0.03/s 21 82 0.02/s 22 88 0.02/s 23 83 0.02/s Nov 27 00 81 0.02/s 01 84 0.02/s 02 86 0.02/s 03 100 0.03/s 04 92 0.03/s 05 216 0.06/s 06 178 0.05/s 07 122 0.03/s 08 114 0.03/s 09 275 0.08/s 10 266 0.07/s 11 85 0.02/s 12 81 0.02/s 13 80 0.02/s 14 81 0.02/s 15 79 0.02/s 16 79 0.02/s 17 81 0.02/s 18 88 0.02/s 19 79 0.02/s 20 83 0.02/s 21 90 0.03/s 22 83 0.02/s 23 78 0.02/s Nov 28 00 104 0.03/s 01 78 0.02/s 02 92 0.03/s 03 102 0.03/s 04 81 0.02/s 05 96 0.03/s 06 95 0.03/s 07 82 0.02/s 08 76 0.02/s 09 79 0.02/s 10 80 0.02/s 11 82 0.02/s 12 82 0.02/s 13 76 0.02/s 14 80 0.02/s 15 82 0.02/s 16 76 0.02/s 17 87 0.02/s 18 78 0.02/s 19 76 0.02/s 20 75 0.02/s 21 78 0.02/s 22 84 0.02/s 23 78 0.02/s Nov 29 00 84 0.02/s 01 79 0.02/s 02 115 0.03/s 03 122 0.03/s 04 81 0.02/s 05 112 0.03/s 06 113 0.03/s 07 277 0.08/s 08 228 0.06/s 09 101 0.03/s 10 91 0.03/s 11 83 0.02/s 12 83 0.02/s 13 83 0.02/s 14 83 0.02/s 15 111 0.03/s 16 78 0.02/s 17 78 0.02/s 18 82 0.02/s 19 77 0.02/s 20 89 0.02/s 21 77 0.02/s 22 82 0.02/s 23 80 0.02/s Nov 30 00 76 0.02/s 01 87 0.02/s 02 82 0.02/s 03 77 0.02/s 04 86 0.02/s 05 101 0.03/s 06 81 0.02/s 07 86 0.02/s 08 80 0.02/s 09 82 0.02/s 10 82 0.02/s 11 74 0.02/s 12 81 0.02/s 13 73 0.02/s 14 79 0.02/s 15 77 0.02/s 16 78 0.02/s 17 74 0.02/s 18 81 0.02/s 19 80 0.02/s 20 77 0.02/s 21 79 0.02/s 22 78 0.02/s 23 75 0.02/s Day Hour Count Average Duration Average idle time Nov 24 00 102 24m16s 23m59s 01 85 27m16s 27m14s 02 88 27m28s 27m25s 03 89 28m5s 28m4s 04 234 10m39s 10m38s 05 129 17m4s 17m2s 06 84 26m59s 26m56s 07 113 21m26s 21m25s 08 104 23m8s 23m7s 09 90 26m29s 26m26s 10 109 22m29s 22m27s 11 91 27m16s 27m16s 12 81 29m33s 29m33s 13 88 28m25s 28m24s 14 88 26m56s 26m53s 15 87 27m51s 27m50s 16 101 23m35s 23m34s 17 78 30m15s 30m14s 18 83 29m26s 29m24s 19 76 31m8s 31m7s 20 91 25m56s 25m53s 21 84 27m44s 27m43s 22 89 27m32s 27m30s 23 93 25m51s 25m50s Nov 25 00 81 29m38s 29m23s 01 85 28m51s 28m50s 02 101 23m51s 23m50s 03 101 23m39s 23m38s 04 89 27m30s 27m30s 05 91 23m51s 23m50s 06 80 29m59s 29m44s 07 79 30m50s 30m50s 08 87 28m2s 28m1s 09 78 31m4s 31m3s 10 82 30m6s 30m5s 11 81 29m51s 29m50s 12 96 23m46s 23m43s 13 86 28m44s 28m14s 14 87 28m38s 28m25s 15 82 29m23s 29m21s 16 77 31m37s 31m28s 17 87 27m37s 27m35s 18 88 41m4s 41m2s 19 78 30m40s 30m40s 20 78 31m46s 31m45s 21 87 27m58s 27m55s 22 262 11m17s 11m11s 23 64 31m19s 31m19s Nov 26 00 65 32m5s 31m47s 01 63 30m39s 30m39s 02 63 33m23s 33m23s 03 66 36m17s 36m17s 04 64 30m39s 30m39s 05 105 36m44s 36m42s 06 80 27m28s 27m25s 07 76 32m43s 32m42s 08 86 26m49s 26m48s 09 84 29m28s 29m26s 10 121 22m50s 22m48s 11 75 6h7m25s 6h7m24s 12 85 24m58s 24m56s 13 79 30m39s 30m39s 14 123 19m33s 19m30s 15 81 29m53s 29m51s 16 85 29m13s 29m13s 17 82 29m30s 29m28s 18 112 21m51s 21m48s 19 86 27m25s 27m24s 20 96 39m32s 39m30s 21 82 27m29s 27m13s 22 88 26m30s 26m26s 23 83 30m59s 30m56s Nov 27 00 81 29m2s 28m46s 01 84 29m16s 29m15s 02 86 29m4s 29m3s 03 100 24m1s 24m 04 92 25m50s 25m47s 05 216 11m37s 11m29s 06 177 12m54s 12m50s 07 123 19m12s 19m7s 08 114 20m50s 20m48s 09 275 9m3s 9m1s 10 266 9m15s 9m7s 11 85 25m45s 25m43s 12 81 30m23s 30m21s 13 80 29m55s 29m55s 14 81 29m41s 29m38s 15 79 30m18s 30m17s 16 79 31m27s 31m26s 17 81 29m46s 29m45s 18 88 27m52s 27m42s 19 79 29m17s 29m16s 20 83 28m36s 28m35s 21 90 26m7s 26m4s 22 83 29m9s 29m9s 23 78 30m31s 30m29s Nov 28 00 104 23m49s 23m36s 01 78 29m41s 29m41s 02 92 28m4s 28m3s 03 102 22m15s 22m14s 04 81 30m47s 30m46s 05 96 23m46s 23m44s 06 95 24m34s 24m33s 07 82 30m37s 30m36s 08 76 31m7s 31m7s 09 79 30m53s 30m53s 10 80 30m8s 30m6s 11 82 29m58s 29m57s 12 82 29m30s 29m29s 13 76 29m54s 29m54s 14 80 30m26s 30m24s 15 82 29m46s 29m45s 16 76 32m2s 32m2s 17 87 28m8s 28m7s 18 78 30m17s 30m15s 19 76 31m1s 31m1s 20 75 31m59s 31m59s 21 78 29m45s 29m44s 22 84 29m5s 29m4s 23 78 30m29s 30m28s Nov 29 00 84 28m46s 28m31s 01 79 29m43s 29m42s 02 115 22m6s 22m5s 03 122 18m41s 18m40s 04 81 29m50s 29m46s 05 112 21m10s 21m9s 06 113 21m27s 21m23s 07 277 8m51s 8m51s 08 228 10m31s 10m30s 09 101 23m27s 23m9s 10 91 27m32s 27m30s 11 83 28m39s 28m37s 12 83 29m4s 29m3s 13 83 29m16s 29m15s 14 83 29m34s 29m32s 15 111 22m17s 22m16s 16 78 29m38s 29m38s 17 78 30m28s 30m28s 18 82 28m43s 28m42s 19 77 31m10s 31m1s 20 89 27m3s 27m3s 21 77 28m56s 28m48s 22 82 30m1s 30m1s 23 80 29m42s 29m42s Nov 30 00 76 31m23s 31m8s 01 87 28m29s 28m29s 02 82 30m8s 30m8s 03 77 30m43s 30m43s 04 86 27m49s 27m48s 05 101 23m30s 23m29s 06 81 29m1s 29m 07 86 28m3s 28m1s 08 80 30m47s 30m47s 09 82 29m50s 29m50s 10 82 30m20s 30m20s 11 74 31m52s 31m52s 12 81 29m40s 29m39s 13 73 32m27s 32m26s 14 79 30m38s 30m37s 15 77 31m43s 31m43s 16 78 30m47s 30m47s 17 74 31m 31m 18 80 30m27s 30m22s 19 81 31m14s 30m14s 20 77 30m58s 30m58s 21 79 27m42s 27m40s 22 78 30m51s 30m51s 23 75 32m20s 32m20s -
Connections
Established Connections
Key values
- 58 connections Connection Peak
- 2024-11-25 22:51:20 Date
Connections per database
Key values
- ctdprd51 Main Database
- 15,687 connections Total
Connections per user
Key values
- pubeu Main User
- 15,687 connections Total
-
Sessions
Simultaneous sessions
Key values
- 78 sessions Session Peak
- 2024-11-26 03:30:46 Date
Histogram of session times
Key values
- 11,894 1800000-3600000ms duration
Sessions per database
Key values
- ctdprd51 Main Database
- 15,689 sessions Total
Sessions per user
Key values
- pubeu Main User
- 15,689 sessions Total
Sessions per host
Key values
- 10.12.5.37 Main Host
- 15,689 sessions Total
Host Count Total Duration Average Duration 10.12.5.36 24 2h1m29s 5m3s 10.12.5.37 5,055 56d5h16m41s 16m 10.12.5.38 2,631 55d23h48m35s 30m38s 10.12.5.39 2,598 55d23h58m15s 31m2s 10.12.5.40 2 37s42ms 18s521ms 10.12.5.45 2,686 55d23h53m29s 30m1s 10.12.5.46 2,631 55d23h52m49s 30m38s 192.168.201.10 7 1d16h44m40s 5h49m14s ::1 53 17d17h38m33s 8h1m51s [local] 2 1m30s 45s325ms -
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 210,553 buffers Checkpoint Peak
- 2024-11-25 05:03:41 Date
- 1620.040 seconds Highest write time
- 0.013 seconds Sync time
Checkpoints Wal files
Key values
- 36 files Wal files usage Peak
- 2024-11-30 09:56:18 Date
Checkpoints distance
Key values
- 2,175.85 Mo Distance Peak
- 2024-11-28 12:56:12 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Nov 24 00 4,570 457.692s 0.003s 457.773s 01 6,889 689.773s 0.003s 689.855s 02 580 58.278s 0.002s 58.312s 03 5,899 590.808s 0.002s 590.887s 04 1,813 181.685s 0.003s 181.716s 05 756 75.808s 0.004s 75.888s 06 1,178 118.062s 0.002s 118.093s 07 753 75.491s 0.002s 75.522s 08 728 73.008s 0.003s 73.083s 09 916 91.816s 0.002s 91.847s 10 710 71.191s 0.003s 71.221s 11 1,866 186.992s 0.002s 187.065s 12 388 38.852s 0.001s 38.866s 13 49,335 2,144.106s 0.004s 2,144.284s 14 1,081 108.344s 0.002s 108.375s 15 1,241 124.373s 0.002s 124.403s 16 1,138 114.052s 0.002s 114.125s 17 901 90.332s 0.002s 90.362s 18 1,097 110.051s 0.002s 110.082s 19 841 84.333s 0.002s 84.409s 20 827 83.023s 0.003s 83.053s 21 1,130 113.262s 0.002s 113.292s 22 3,174 317.976s 0.003s 318.046s 23 1,417 142.008s 0.002s 142.08s Nov 25 00 4,626 463.393s 0.005s 463.51s 01 573 57.485s 0.002s 57.515s 02 11,435 1,144.932s 0.003s 1,144.982s 03 697 69.889s 0.002s 69.919s 04 3,442 344.721s 0.001s 344.78s 05 276,453 3,266.229s 0.004s 3,266.553s 06 991 99.367s 0.002s 99.397s 07 2,494 249.862s 0.003s 249.936s 08 7,527 753.547s 0.002s 753.668s 09 55,384 1,802.134s 0.003s 1,802.302s 10 1,035 103.758s 0.001s 103.817s 11 53,680 1,808.51s 0.004s 1,808.732s 12 1,493 149.605s 0.002s 149.634s 13 21,292 1,661.268s 0.003s 1,661.367s 14 864 86.629s 0.002s 86.701s 15 1,336 133.894s 0.003s 133.924s 16 3,069 307.461s 0.002s 307.534s 17 1,015 101.745s 0.002s 101.82s 18 987 98.838s 0.003s 98.87s 19 4,793 479.898s 0.002s 479.975s 20 1,243 124.571s 0.002s 124.601s 21 4,963 497.035s 0.003s 497.111s 22 437 43.959s 0.002s 43.988s 23 144 14.609s 0.002s 14.64s Nov 26 00 3,226 323.428s 0.004s 323.546s 01 29 3.086s 0.002s 3.117s 02 28 2.989s 0.002s 3.02s 03 12 1.377s 0.002s 1.407s 04 17 1.876s 0.002s 1.904s 05 7 0.792s 0.001s 0.807s 06 9,264 927.576s 0.002s 927.621s 07 7,215 722.266s 0.003s 722.349s 08 963 96.452s 0.003s 96.481s 09 1,686 168.852s 0.002s 168.922s 10 1,072 107.465s 0.003s 107.494s 11 1,071 107.27s 0.002s 107.391s 12 54,834 1,794.58s 0.005s 1,794.649s 13 1,866 186.969s 0.003s 187.048s 14 2,545 254.965s 0.002s 254.996s 15 1,734 173.741s 0.002s 173.825s 16 1,902 190.567s 0.003s 190.603s 17 1,836 183.954s 0.004s 183.985s 18 1,859 186.326s 0.002s 186.407s 19 1,913 191.682s 0.004s 191.756s 20 4,650 465.739s 0.002s 465.817s 21 39,845 2,218.195s 0.003s 2,218.315s 22 1,141 114.36s 0.001s 114.374s 23 5,867 587.467s 0.003s 587.546s Nov 27 00 3,662 366.788s 0.005s 366.901s 01 899 90.132s 0.002s 90.162s 02 668 67.028s 0.001s 67.042s 03 52,012 1,683.683s 0.004s 1,683.844s 04 2,237 224.044s 0.003s 224.082s 05 51,713 1,697.508s 0.003s 1,697.675s 06 3,033 303.759s 0.002s 303.839s 07 2,389 239.237s 0.003s 239.276s 08 11,948 1,196.153s 0.003s 1,196.247s 09 2,441 244.416s 0.003s 244.494s 10 13,409 1,343.966s 0.003s 1,344.031s 11 2,532 253.531s 0.002s 253.609s 12 2,038 204.224s 0.004s 204.296s 13 2,493 249.595s 0.002s 249.631s 14 80,350 1,677.931s 0.002s 1,678.103s 15 2,045 204.79s 0.002s 204.864s 16 2,471 247.573s 0.002s 247.609s 17 2,165 216.917s 0.004s 216.961s 18 2,011 201.583s 0.004s 201.672s 19 702 70.302s 0.002s 70.318s 20 1,406 140.889s 0.003s 140.918s 21 1,771 177.461s 0.003s 177.542s 22 5,228 523.507s 0.004s 523.59s 23 7,018 702.667s 0.003s 702.756s Nov 28 00 4,201 420.78s 0.004s 420.886s 01 53,231 1,619.612s 0.002s 1,619.791s 02 12,951 1,296.776s 0.003s 1,296.853s 03 6,016 602.527s 0.003s 602.573s 04 10,569 1,058.125s 0.005s 1,058.234s 05 582 58.384s 0.001s 58.399s 06 1,211 121.271s 0.004s 121.304s 07 2,909 291.382s 0.003s 291.455s 08 2,408 241.162s 0.004s 241.198s 09 1,448 145.107s 0.002s 145.138s 10 1,126 112.844s 0.004s 112.922s 11 2,457 246.047s 0.003s 246.122s 12 105,940 1,777.567s 0.006s 1,777.844s 13 739 74.008s 0.001s 74.025s 14 1,206 120.863s 0.004s 120.94s 15 2,126 213.001s 0.002s 213.031s 16 1,201 120.352s 0.003s 120.424s 17 1,322 132.496s 0.004s 132.526s 18 1,267 126.97s 0.004s 127.044s 19 1,336 133.996s 0.004s 134.025s 20 1,164 116.657s 0.003s 116.73s 21 1,707 171.057s 0.003s 171.09s 22 1,444 144.721s 0.004s 144.754s 23 1,317 131.864s 0.004s 131.944s Nov 29 00 2,945 295.171s 0.017s 295.36s 01 666 66.801s 0.004s 66.835s 02 723 72.512s 0.002s 72.541s 03 676 67.802s 0.002s 67.832s 04 678 67.994s 0.003s 68.026s 05 46,328 1,659.394s 0.002s 1,659.56s 06 756 75.719s 0.002s 75.737s 07 1,000 100.37s 0.003s 100.401s 08 1,100 110.314s 0.004s 110.348s 09 50,893 1,682.593s 0.004s 1,682.99s 10 21,039 1,643.95s 0.003s 1,643.99s 11 942 94.44s 0.003s 94.474s 12 5,670 567.939s 0.004s 568.062s 13 1,087 108.863s 0.003s 108.894s 14 885 88.726s 0.003s 88.81s 15 92,232 1,628.439s 0.002s 1,628.917s 16 705 70.701s 0.001s 70.716s 17 1,304 130.74s 0.003s 130.819s 18 1,224 122.574s 0.003s 122.608s 19 1,537 154.033s 0.003s 154.113s 20 1,308 130.986s 0.003s 131.022s 21 1,232 123.379s 0.002s 123.411s 22 1,600 160.327s 0.003s 160.411s 23 1,986 198.896s 0.003s 198.98s Nov 30 00 2,835 283.854s 0.011s 283.98s 01 445 44.583s 0.002s 44.599s 02 1,321 132.399s 0.004s 132.505s 03 493 49.475s 0.001s 49.49s 04 1,903 190.684s 0.003s 190.767s 05 951 95.329s 0.003s 95.362s 06 1,222 122.374s 0.003s 122.404s 07 1,402 140.534s 0.002s 140.617s 08 1,764 176.765s 0.004s 176.799s 09 53,483 1,785.109s 0.004s 1,785.63s 10 5,766 577.269s 0.003s 577.304s 11 5,567 557.525s 0.004s 557.664s 12 404 40.552s 0.001s 40.571s 13 911 91.218s 0.002s 91.247s 14 1,193 119.567s 0.002s 119.599s 15 29,121 1,730.091s 0.003s 1,730.407s 16 869 87.134s 0.002s 87.15s 17 1,532 153.413s 0.003s 153.502s 18 1,385 138.787s 0.002s 138.818s 19 23,673 1,715.998s 0.002s 1,716.083s 20 77,438 1,694.522s 0.003s 1,694.552s 21 1,617 161.951s 0.002s 162.033s 22 1,640 164.351s 0.003s 164.385s 23 1,427 143.023s 0.003s 143.107s Day Hour Added Removed Recycled Synced files Longest sync Average sync Nov 24 00 0 2 0 84 0.001s 0.002s 01 0 3 0 60 0.002s 0.002s 02 0 1 0 35 0.001s 0.002s 03 0 3 0 56 0.001s 0.002s 04 0 0 0 46 0.002s 0.002s 05 0 1 0 35 0.002s 0.002s 06 0 0 0 36 0.001s 0.002s 07 0 0 0 40 0.001s 0.002s 08 0 1 0 29 0.001s 0.002s 09 0 0 0 36 0.001s 0.002s 10 0 0 0 29 0.001s 0.002s 11 0 1 0 54 0.001s 0.002s 12 0 0 0 11 0.001s 0.001s 13 0 32 0 74 0.001s 0.003s 14 0 0 0 29 0.001s 0.002s 15 0 0 0 22 0.001s 0.002s 16 0 1 0 29 0.001s 0.002s 17 0 0 0 21 0.001s 0.002s 18 0 0 0 27 0.001s 0.002s 19 0 1 0 21 0.001s 0.002s 20 0 0 0 24 0.001s 0.002s 21 0 0 0 30 0.001s 0.002s 22 0 1 0 49 0.001s 0.002s 23 0 1 0 39 0.001s 0.002s Nov 25 00 0 2 0 81 0.001s 0.002s 01 0 0 0 37 0.001s 0.002s 02 0 7 0 57 0.001s 0.002s 03 0 0 0 39 0.001s 0.002s 04 0 2 0 25 0.001s 0.001s 05 0 74 0 80 0.001s 0.003s 06 0 0 0 82 0.001s 0.002s 07 0 1 0 140 0.001s 0.002s 08 0 4 0 163 0.001s 0.002s 09 0 35 0 148 0.001s 0.002s 10 0 1 0 86 0.001s 0.001s 11 0 35 0 206 0.001s 0.003s 12 0 0 0 122 0.001s 0.002s 13 0 10 0 119 0.001s 0.002s 14 0 1 0 39 0.001s 0.002s 15 0 0 0 134 0.001s 0.002s 16 0 1 0 153 0.001s 0.002s 17 0 1 0 30 0.001s 0.002s 18 0 0 0 34 0.001s 0.002s 19 0 3 0 45 0.001s 0.002s 20 0 0 0 97 0.001s 0.002s 21 0 2 0 40 0.001s 0.002s 22 0 0 0 19 0.001s 0.002s 23 0 0 0 14 0.001s 0.002s Nov 26 00 0 2 0 59 0.001s 0.002s 01 0 0 0 16 0.001s 0.002s 02 0 0 0 13 0.001s 0.002s 03 0 0 0 12 0.001s 0.002s 04 0 0 0 13 0.001s 0.002s 05 0 0 0 7 0.001s 0.001s 06 0 5 0 74 0.001s 0.002s 07 0 4 0 146 0.002s 0.002s 08 0 0 0 133 0.001s 0.002s 09 0 1 0 99 0.001s 0.002s 10 0 0 0 123 0.001s 0.002s 11 0 32 0 82 0.001s 0.001s 12 0 4 0 164 0.002s 0.003s 13 0 1 0 31 0.002s 0.002s 14 0 0 0 39 0.001s 0.002s 15 0 2 0 32 0.001s 0.002s 16 0 0 0 22 0.001s 0.002s 17 0 0 0 123 0.002s 0.002s 18 0 1 0 113 0.001s 0.002s 19 0 1 0 84 0.001s 0.002s 20 0 2 0 48 0.001s 0.002s 21 0 24 0 71 0.001s 0.003s 22 0 0 0 18 0.001s 0.001s 23 0 3 0 33 0.001s 0.002s Nov 27 00 0 3 0 93 0.001s 0.003s 01 0 0 0 42 0.001s 0.002s 02 0 0 0 19 0.001s 0.001s 03 0 34 0 49 0.001s 0.002s 04 0 0 0 47 0.002s 0.002s 05 0 35 0 53 0.001s 0.002s 06 0 1 0 56 0.001s 0.002s 07 0 0 0 100 0.001s 0.002s 08 0 7 0 160 0.001s 0.002s 09 0 1 0 83 0.001s 0.002s 10 0 7 0 102 0.002s 0.002s 11 0 1 0 67 0.001s 0.002s 12 0 1 0 124 0.002s 0.002s 13 0 0 0 136 0.001s 0.002s 14 0 35 0 132 0.001s 0.002s 15 0 1 0 72 0.001s 0.002s 16 0 0 0 124 0.001s 0.002s 17 0 1 0 232 0.002s 0.002s 18 0 1 0 53 0.002s 0.003s 19 0 0 0 10 0.002s 0.001s 20 0 0 0 21 0.001s 0.002s 21 0 1 0 21 0.002s 0.002s 22 0 3 0 39 0.002s 0.002s 23 0 4 0 42 0.002s 0.002s Nov 28 00 0 3 0 101 0.001s 0.003s 01 0 43 0 40 0.001s 0.001s 02 0 1 0 65 0.001s 0.002s 03 0 2 0 56 0.001s 0.002s 04 0 7 0 76 0.001s 0.003s 05 0 0 0 17 0.001s 0.001s 06 0 0 0 43 0.002s 0.002s 07 0 1 0 34 0.001s 0.002s 08 0 0 0 34 0.001s 0.002s 09 0 0 0 40 0.001s 0.002s 10 0 1 0 21 0.001s 0.002s 11 0 1 0 40 0.001s 0.002s 12 0 68 0 73 0.001s 0.003s 13 0 0 0 19 0.001s 0.001s 14 0 1 0 20 0.001s 0.002s 15 0 0 0 44 0.001s 0.002s 16 0 1 0 22 0.001s 0.002s 17 0 0 0 28 0.001s 0.002s 18 0 1 0 25 0.001s 0.002s 19 0 0 0 28 0.001s 0.002s 20 0 1 0 23 0.001s 0.002s 21 0 0 0 22 0.001s 0.002s 22 0 0 0 33 0.001s 0.002s 23 0 1 0 29 0.001s 0.002s Nov 29 00 0 3 0 89 0.011s 0.003s 01 0 0 0 41 0.001s 0.002s 02 0 0 0 38 0.001s 0.002s 03 0 0 0 37 0.001s 0.002s 04 0 0 0 36 0.001s 0.002s 05 0 32 0 50 0.001s 0.002s 06 0 0 0 55 0.001s 0.001s 07 0 0 0 130 0.001s 0.002s 08 0 0 0 129 0.002s 0.002s 09 0 14 20 141 0.002s 0.002s 10 0 1 0 34 0.002s 0.002s 11 0 0 0 115 0.001s 0.002s 12 0 0 3 52 0.001s 0.003s 13 0 0 0 31 0.002s 0.002s 14 0 0 1 37 0.001s 0.002s 15 0 0 34 37 0.001s 0.002s 16 0 0 0 12 0.001s 0.001s 17 0 0 1 84 0.001s 0.002s 18 0 0 0 33 0.001s 0.002s 19 0 0 1 31 0.001s 0.002s 20 0 0 0 31 0.001s 0.002s 21 0 0 0 20 0.001s 0.002s 22 0 0 1 30 0.001s 0.002s 23 0 0 1 32 0.001s 0.002s Nov 30 00 0 1 1 98 0.008s 0.003s 01 0 0 0 24 0.001s 0.001s 02 0 0 1 62 0.001s 0.003s 03 0 0 0 19 0.001s 0.001s 04 0 0 1 48 0.001s 0.002s 05 0 0 0 28 0.001s 0.002s 06 0 0 0 32 0.001s 0.002s 07 0 0 1 29 0.001s 0.002s 08 0 0 0 40 0.001s 0.002s 09 0 1 37 50 0.002s 0.002s 10 0 0 0 38 0.001s 0.002s 11 0 0 4 52 0.002s 0.003s 12 0 0 0 11 0.001s 0.001s 13 0 0 0 20 0.001s 0.002s 14 0 0 0 29 0.001s 0.002s 15 0 0 19 44 0.001s 0.003s 16 0 0 0 19 0.001s 0.001s 17 0 0 1 28 0.001s 0.002s 18 0 0 0 21 0.001s 0.002s 19 0 0 1 32 0.001s 0.002s 20 0 0 0 30 0.001s 0.002s 21 0 0 1 33 0.001s 0.002s 22 0 0 0 43 0.001s 0.002s 23 0 0 1 22 0.002s 0.002s Day Hour Count Avg time (sec) Nov 24 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 Nov 25 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 Nov 26 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 Nov 27 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 Nov 28 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 Nov 29 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 Nov 30 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 Nov 24 00 16,231.00 kB 293,238.00 kB 01 24,607.00 kB 241,307.50 kB 02 1,502.00 kB 196,800.50 kB 03 26,398.00 kB 164,247.50 kB 04 5,491.50 kB 133,910.50 kB 05 2,026.50 kB 109,188.00 kB 06 2,528.50 kB 88,926.00 kB 07 2,227.50 kB 72,436.00 kB 08 2,046.00 kB 59,058.00 kB 09 2,363.50 kB 48,285.00 kB 10 2,312.00 kB 39,542.50 kB 11 5,207.00 kB 32,973.50 kB 12 2,427.00 kB 28,524.00 kB 13 174,339.33 kB 432,538.67 kB 14 2,668.50 kB 333,396.50 kB 15 2,436.50 kB 270,538.50 kB 16 2,819.00 kB 219,675.50 kB 17 2,175.50 kB 178,356.50 kB 18 2,396.00 kB 144,927.00 kB 19 1,960.00 kB 117,768.00 kB 20 2,172.00 kB 95,787.00 kB 21 2,580.00 kB 78,085.00 kB 22 8,748.00 kB 64,744.00 kB 23 3,595.50 kB 53,187.50 kB Nov 25 00 15,126.00 kB 45,891.00 kB 01 1,778.00 kB 37,703.50 kB 02 59,778.50 kB 59,929.00 kB 03 1,429.50 kB 51,433.50 kB 04 22,621.00 kB 46,182.00 kB 05 406,215.00 kB 604,992.33 kB 06 1,899.50 kB 511,260.50 kB 07 7,317.00 kB 415,494.00 kB 08 26,224.50 kB 340,322.50 kB 09 296,028.50 kB 549,680.50 kB 10 5,938.00 kB 469,941.00 kB 11 190,096.00 kB 509,208.33 kB 12 5,055.00 kB 391,433.00 kB 13 83,212.50 kB 332,953.00 kB 14 2,305.00 kB 270,168.00 kB 15 3,491.00 kB 219,425.50 kB 16 9,587.00 kB 179,555.00 kB 17 2,575.50 kB 146,003.00 kB 18 2,566.00 kB 118,731.50 kB 19 22,364.50 kB 98,663.50 kB 20 3,392.00 kB 82,313.50 kB 21 16,647.00 kB 68,623.50 kB 22 1,470.00 kB 57,212.50 kB 23 410.00 kB 46,440.00 kB Nov 26 00 11,014.50 kB 39,645.00 kB 01 15.50 kB 32,181.00 kB 02 16.50 kB 26,069.50 kB 03 11.00 kB 21,118.50 kB 04 10.00 kB 17,108.00 kB 05 9.00 kB 14,588.00 kB 06 43,137.00 kB 49,086.50 kB 07 31,556.50 kB 75,900.50 kB 08 3,179.50 kB 64,630.00 kB 09 4,978.50 kB 53,131.00 kB 10 3,161.50 kB 43,805.50 kB 11 4,042.00 kB 37,902.00 kB 12 196,683.33 kB 527,897.67 kB 13 2,640.50 kB 405,379.00 kB 14 2,811.00 kB 328,883.00 kB 15 13,287.00 kB 268,174.50 kB 16 2,883.00 kB 218,497.50 kB 17 3,564.00 kB 177,632.50 kB 18 3,879.00 kB 144,592.50 kB 19 4,680.50 kB 117,922.50 kB 20 17,005.00 kB 97,648.50 kB 21 131,779.00 kB 249,511.33 kB 22 3,746.00 kB 281,659.00 kB 23 26,211.50 kB 243,593.50 kB Nov 27 00 13,523.00 kB 192,339.00 kB 01 1,573.00 kB 148,768.50 kB 02 2,010.00 kB 127,134.00 kB 03 275,326.00 kB 331,372.00 kB 04 6,641.50 kB 469,394.50 kB 05 280,538.50 kB 479,615.50 kB 06 8,312.00 kB 478,685.50 kB 07 4,583.50 kB 388,580.50 kB 08 55,068.00 kB 323,239.00 kB 09 5,793.50 kB 264,848.50 kB 10 62,063.00 kB 225,705.00 kB 11 5,413.50 kB 184,486.00 kB 12 5,409.50 kB 150,489.50 kB 13 6,325.50 kB 123,043.00 kB 14 283,839.50 kB 534,675.50 kB 15 5,419.00 kB 434,084.50 kB 16 5,573.50 kB 352,677.50 kB 17 7,125.50 kB 286,953.00 kB 18 3,462.00 kB 221,992.00 kB 19 4,256.00 kB 179,872.00 kB 20 3,570.50 kB 154,256.00 kB 21 4,870.50 kB 125,867.50 kB 22 21,043.50 kB 105,967.50 kB 23 32,647.00 kB 89,571.00 kB Nov 28 00 20,079.67 kB 75,432.33 kB 01 556,297.00 kB 556,297.00 kB 02 72,501.00 kB 489,041.50 kB 03 27,024.00 kB 401,524.00 kB 04 34,653.33 kB 317,384.67 kB 05 2,636.00 kB 257,903.00 kB 06 3,263.00 kB 221,009.50 kB 07 3,022.00 kB 179,552.50 kB 08 2,846.50 kB 146,014.00 kB 09 3,395.00 kB 118,889.50 kB 10 2,812.00 kB 96,855.00 kB 11 7,754.50 kB 79,508.50 kB 12 374,274.67 kB 728,636.33 kB 13 3,352.00 kB 902,993.00 kB 14 3,058.50 kB 772,506.50 kB 15 5,271.00 kB 626,548.00 kB 16 3,260.50 kB 508,304.00 kB 17 3,573.00 kB 412,403.00 kB 18 3,326.00 kB 334,671.50 kB 19 3,527.50 kB 271,732.00 kB 20 3,249.50 kB 220,742.50 kB 21 3,491.00 kB 179,449.00 kB 22 3,686.00 kB 146,045.00 kB 23 3,714.50 kB 119,014.50 kB Nov 29 00 14,753.67 kB 94,665.67 kB 01 1,718.50 kB 74,031.50 kB 02 1,691.50 kB 60,288.00 kB 03 1,627.00 kB 49,143.50 kB 04 1,639.00 kB 40,131.00 kB 05 255,076.50 kB 481,971.50 kB 06 1,878.00 kB 411,272.00 kB 07 2,705.00 kB 352,043.00 kB 08 3,142.00 kB 285,757.00 kB 09 278,002.00 kB 398,462.50 kB 10 2,205.00 kB 473,032.00 kB 11 3,008.00 kB 383,659.50 kB 12 16,982.33 kB 300,038.00 kB 13 2,468.00 kB 230,614.00 kB 14 2,012.00 kB 187,220.50 kB 15 282,091.00 kB 535,003.00 kB 16 2,379.00 kB 456,449.00 kB 17 3,788.00 kB 390,828.00 kB 18 3,465.00 kB 317,218.50 kB 19 3,762.00 kB 257,649.50 kB 20 3,940.00 kB 209,433.00 kB 21 3,907.50 kB 170,400.00 kB 22 4,235.50 kB 138,827.50 kB 23 4,550.00 kB 113,282.50 kB Nov 30 00 14,365.33 kB 90,224.67 kB 01 2,220.00 kB 74,271.00 kB 02 2,223.33 kB 60,807.33 kB 03 2,183.00 kB 49,487.00 kB 04 6,099.50 kB 43,041.00 kB 05 2,478.00 kB 35,674.00 kB 06 3,309.00 kB 29,523.00 kB 07 2,835.00 kB 24,426.50 kB 08 5,369.50 kB 20,824.00 kB 09 285,206.00 kB 292,425.50 kB 10 26,958.00 kB 489,457.50 kB 11 17,023.67 kB 380,365.67 kB 12 2,128.00 kB 308,661.00 kB 13 2,334.00 kB 264,228.50 kB 14 2,847.50 kB 214,561.00 kB 15 103,355.67 kB 254,333.67 kB 16 4,194.00 kB 247,656.00 kB 17 4,066.50 kB 212,326.50 kB 18 3,386.00 kB 172,659.00 kB 19 3,081.00 kB 140,449.00 kB 20 2,986.50 kB 114,310.00 kB 21 4,393.50 kB 93,334.50 kB 22 4,376.50 kB 76,466.50 kB 23 4,336.50 kB 62,779.50 kB -
Temporary Files
Size of temporary files
Key values
- 15.00 GiB Temp Files size Peak
- 2024-11-25 14:49:20 Date
Number of temporary files
Key values
- 15 per second Temp Files Peak
- 2024-11-25 14:49:20 Date
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Nov 24 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 Nov 25 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 41 40.78 GiB 1018.42 MiB 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 Nov 26 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 Nov 27 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 Nov 28 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 Nov 29 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 Nov 30 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 -
Vacuums
Vacuums / Analyzes Distribution
Key values
- 37.47 sec Highest CPU-cost vacuum
Table pub2.term_set_enrichment_agent
Database ctdprd51 - 2024-11-25 04:36:37 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 37.47 sec Highest CPU-cost vacuum
Table pub2.term_set_enrichment_agent
Database ctdprd51 - 2024-11-25 04:36:37 Date
Analyzes per table
Key values
- pubc.log_query (207) Main table analyzed (database ctdprd51)
- 247 analyzes Total
Table Number of analyzes ctdprd51.pubc.log_query 207 ctdprd51.pub1.term_set_enrichment 14 ctdprd51.pub1.term_set_enrichment_agent 13 ctdprd51.pub1.term_comp_agent 5 ctdprd51.pub1.term_comp 3 ctdprd51.pub2.term_set_enrichment_agent 1 ctdprd51.pub2.term_comp 1 ctdprd51.edit.exp_event_location 1 ctdprd51.pub2.term_comp_agent 1 ctdprd51.pub2.term_set_enrichment 1 Total 247 Vacuums per table
Key values
- pubc.log_query (71) Main table vacuumed on database ctdprd51
- 107 vacuums Total
Index Buffer usage Skipped WAL usage Table Vacuums scans hits misses dirtied pins frozen records full page bytes ctdprd51.pubc.log_query 71 39 83,438 0 14,753 0 3,553 19,821 1,268 10,405,545 ctdprd51.pub1.term_set_enrichment 10 0 10,603 0 2,146 0 0 4,587 12 363,351 ctdprd51.pub1.term_set_enrichment_agent 10 0 532,867 0 80,176 0 0 245,245 25 14,645,136 ctdprd51.pg_toast.pg_toast_2619 4 4 15,194 0 5,080 0 39,958 12,860 4,065 2,035,355 ctdprd51.pg_toast.pg_toast_486223 3 0 104 0 4 0 0 4 1 8,820 ctdprd51.pub1.term_comp_agent 3 0 5,447 0 12 0 0 2,608 3 175,196 ctdprd51.pg_catalog.pg_statistic 2 2 1,287 0 231 0 31 695 213 966,683 ctdprd51.edit.exp_outcome 1 1 594 0 116 0 0 159 72 502,398 ctdprd51.pub2.term_set_enrichment 1 0 8,887 0 3,934 0 0 4,392 1 267,547 ctdprd51.pub2.term_set_enrichment_agent 1 0 344,295 0 160,843 0 0 172,080 7 10,206,636 ctdprd51.pub2.term_comp 1 0 177 0 27 0 0 23 2 14,288 Total 107 46 1,002,893 3,213 267,322 0 43,542 462,474 5,669 39,590,955 Tuples removed per table
Key values
- pg_toast.pg_toast_2619 (15788) Main table with removed tuples on database ctdprd51
- 16994 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain ctdprd51.pg_toast.pg_toast_2619 4 4 15,788 77,242 0 0 50,368 ctdprd51.pg_catalog.pg_statistic 2 2 852 4,789 0 0 580 ctdprd51.pubc.log_query 71 39 330 1,457,376 3 0 58,958 ctdprd51.edit.exp_outcome 1 1 24 23,900 0 0 252 ctdprd51.pub1.term_set_enrichment 10 0 0 1,157,982 0 0 19,155 ctdprd51.pub2.term_set_enrichment 1 0 0 1,352,477 0 0 22,391 ctdprd51.pg_toast.pg_toast_486223 3 0 0 2 0 0 1 ctdprd51.pub1.term_set_enrichment_agent 10 0 0 80,869,022 0 0 918,976 ctdprd51.pub2.term_set_enrichment_agent 1 0 0 82,624,784 0 0 938,918 ctdprd51.pub1.term_comp_agent 3 0 0 395,357 0 0 3,504 ctdprd51.pub2.term_comp 1 0 0 5,224 0 0 50 Total 107 46 16,994 167,968,155 3 0 2,013,153 Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Pages removed per tables
NO DATASET
Table Number of vacuums Index scans Tuples removed Pages removed ctdprd51.pub1.term_set_enrichment 10 0 0 0 ctdprd51.pg_catalog.pg_statistic 2 2 852 0 ctdprd51.edit.exp_outcome 1 1 24 0 ctdprd51.pub2.term_set_enrichment 1 0 0 0 ctdprd51.pg_toast.pg_toast_486223 3 0 0 0 ctdprd51.pub1.term_set_enrichment_agent 10 0 0 0 ctdprd51.pg_toast.pg_toast_2619 4 4 15788 0 ctdprd51.pubc.log_query 71 39 330 0 ctdprd51.pub2.term_set_enrichment_agent 1 0 0 0 ctdprd51.pub1.term_comp_agent 3 0 0 0 ctdprd51.pub2.term_comp 1 0 0 0 Total 107 46 16,994 0 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Nov 24 00 0 3 01 0 4 02 0 2 03 0 2 04 0 2 05 0 2 06 0 1 07 0 1 08 0 1 09 0 1 10 0 1 11 0 1 12 0 1 13 0 0 14 0 1 15 0 1 16 0 0 17 0 1 18 0 0 19 0 0 20 0 1 21 0 0 22 0 0 23 0 1 Nov 25 00 0 3 01 0 4 02 0 2 03 0 1 04 0 1 05 0 1 06 0 1 07 0 1 08 0 0 09 0 1 10 0 3 11 0 2 12 0 6 13 0 3 14 0 1 15 0 1 16 0 1 17 0 0 18 0 1 19 0 3 20 0 0 21 0 1 22 0 0 23 0 0 Nov 26 00 0 0 01 0 0 02 0 0 03 0 0 04 0 0 05 0 5 06 0 13 07 0 7 08 0 3 09 0 3 10 0 2 11 0 3 12 0 2 13 0 0 14 0 1 15 0 1 16 0 1 17 0 0 18 0 1 19 0 0 20 0 3 21 0 2 22 0 1 23 0 0 Nov 27 00 0 3 01 0 3 02 0 4 03 0 6 04 0 2 05 0 5 06 0 2 07 0 2 08 0 2 09 0 3 10 0 1 11 0 1 12 0 0 13 0 3 14 0 0 15 0 1 16 0 0 17 0 1 18 0 1 19 0 0 20 0 0 21 0 1 22 0 0 23 0 0 Nov 28 00 0 3 01 0 8 02 0 4 03 0 3 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 2 13 0 1 14 0 1 15 0 0 16 0 1 17 0 0 18 0 0 19 0 1 20 0 0 21 0 0 22 0 1 23 0 0 Nov 29 00 0 3 01 0 4 02 0 2 03 0 2 04 0 1 05 0 3 06 0 1 07 0 1 08 0 1 09 0 3 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 1 19 0 1 20 0 1 21 0 1 22 0 0 23 0 1 Nov 30 00 0 3 01 0 4 02 0 2 03 0 2 04 0 2 05 0 2 06 0 1 07 0 1 08 0 1 09 0 3 10 0 0 11 0 1 12 0 0 13 0 1 14 0 0 15 0 0 16 0 1 17 0 1 18 0 0 19 0 0 20 0 1 21 0 0 22 0 1 23 0 0 - 37.47 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
- 7,326 Total read queries
- 365 Total write queries
Queries by database
Key values
- unknown Main database
- 5,267 Requests
- 9h17m31s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 11,816 Requests
User Request type Count Duration editeu Total 4 13s882ms select 4 13s882ms load Total 2 5s207ms select 2 5s207ms postgres Total 112 50m34s copy to 108 47m32s select 4 3m1s pub1 Total 6 14s296ms select 4 11s283ms tcl 2 3s12ms pub2 Total 2 4s472ms select 2 4s472ms pubeu Total 5,160 7h49m23s cte 43 2m5s select 5,117 7h47m18s qaeu Total 143 1h33m49s cte 19 1m5s select 124 1h32m44s unknown Total 11,816 1d1h54m5s copy to 686 6h34m52s cte 72 1m59s ddl 3 58s66ms others 21 49m15s select 11,034 18h27m1s Duration by user
Key values
- 1d1h54m5s (unknown) Main time consuming user
User Request type Count Duration editeu Total 4 13s882ms select 4 13s882ms load Total 2 5s207ms select 2 5s207ms postgres Total 112 50m34s copy to 108 47m32s select 4 3m1s pub1 Total 6 14s296ms select 4 11s283ms tcl 2 3s12ms pub2 Total 2 4s472ms select 2 4s472ms pubeu Total 5,160 7h49m23s cte 43 2m5s select 5,117 7h47m18s qaeu Total 143 1h33m49s cte 19 1m5s select 124 1h32m44s unknown Total 11,816 1d1h54m5s copy to 686 6h34m52s cte 72 1m59s ddl 3 58s66ms others 21 49m15s select 11,034 18h27m1s Queries by host
Key values
- unknown Main host
- 17,245 Requests
- 1d12h8m31s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 7,642 Requests
- 13h9m26s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2024-11-26 16:27:02 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 7,488 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 34m17s SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;[ Date: 2024-11-25 13:48:18 - Database: ctdprd51 - User: qaeu - Bind query: yes ]
2 23m55s COPY pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;[ Date: 2024-11-30 19:01:00 ]
3 23m49s 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-11-30 19:42:32 ]
4 19m42s /* * 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-11-28 00:19:43 ]
5 19m40s /* * 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-11-30 00:19:41 ]
6 19m40s /* * 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-11-29 00:19:41 ]
7 19m37s /* * 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-11-27 00:19:39 ]
8 19m22s /* * 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-11-25 00:19:24 ]
9 19m20s /* * 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-11-26 00:19:22 ]
10 19m18s /* * 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-11-24 00:19:20 ]
11 17m42s SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1245241') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-11-26 21:30:55 - Bind query: yes ]
12 17m26s 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 = '1241583') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-11-25 06:57:59 - Bind query: yes ]
13 13m 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 = '2087497') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2024-11-25 22:07:25 - Bind query: yes ]
14 13m 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 = '2087497') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2024-11-25 22:07:25 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
15 11m45s 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 = '1236377') and diseaseTerm.object_type_id = 3 ORDER BY phenotypeTerm.nm_sort, diseaseTerm.nm_sort LIMIT 50;[ Date: 2024-11-29 19:13:15 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
16 11m18s SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'SIRT1') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'BISPHENOL A' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;[ Date: 2024-11-27 18:43:45 - Bind query: yes ]
17 10m29s 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 = '1240744') and diseaseTerm.object_type_id = 3 ORDER BY diseaseTerm.nm_sort, phenotypeTerm.nm_sort LIMIT 50;[ Date: 2024-11-29 21:17:41 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
18 9m24s 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 = '1232154') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-11-25 16:54:16 - Bind query: yes ]
19 6m58s COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;[ Date: 2024-11-30 19:54:31 ]
20 6m57s COPY pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;[ Date: 2024-11-30 19:12:58 ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 2h16m41s 7 19m18s 19m42s 19m31s select maint_query_logs_archive ();Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Nov 24 00 1 19m18s 19m18s Nov 25 00 1 19m22s 19m22s Nov 26 00 1 19m20s 19m20s Nov 27 00 1 19m37s 19m37s Nov 28 00 1 19m42s 19m42s Nov 29 00 1 19m40s 19m40s Nov 30 00 1 19m40s 19m40s -
/* * 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-11-28 00:19:43 Duration: 19m42s
-
/* * 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-11-30 00:19:41 Duration: 19m40s
-
/* * 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-11-29 00:19:41 Duration: 19m40s
2 1h36m58s 45 1s427ms 17m42s 2m9s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Nov 24 00 4 7m23s 1m50s 09 1 3m14s 3m14s 13 2 3s40ms 1s520ms Nov 25 06 1 17m26s 17m26s 16 5 9m32s 1m54s Nov 26 09 1 3s365ms 3s365ms 10 1 3s338ms 3s338ms 21 4 17m48s 4m27s Nov 27 04 1 2m42s 2m42s 05 12 19m8s 1m35s 06 3 7m28s 2m29s 07 1 3m46s 3m46s 21 1 1s622ms 1s622ms Nov 28 22 1 3s216ms 3s216ms Nov 29 04 1 4m19s 4m19s 06 2 3m43s 1m51s 15 1 1s427ms 1s427ms 23 1 3s276ms 3s276ms Nov 30 06 1 1s587ms 1s587ms 21 1 1s766ms 1s766ms [ User: pubeu - Total duration: 18m43s - Times executed: 17 ]
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1245241') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-11-26 21:30:55 Duration: 17m42s 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 = '1241583') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-11-25 06:57:59 Duration: 17m26s 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 = '1232154') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-11-25 16:54:16 Duration: 9m24s Bind query: yes
3 50m40s 224 4s25ms 34m17s 13s573ms select g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ? || d.acc_txt "DiseaseID", case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ? order by a.action_type_nm) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", string_agg(gdr.source_acc_txt, ? order by gdr.source_acc_txt) "OmimIDs", string_agg(r.acc_txt, ? order by r.acc_txt) "PubMedIDs" from gene_disease_reference gdr inner join term g on gdr.gene_id = g.id inner join term d on gdr.disease_id = d.id left outer join reference r on gdr.reference_id = r.id left outer join term c on gdr.via_chem_id = c.id group by g.nm, g.acc_txt, d.nm, d.acc_db_cd || ? || d.acc_txt, case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ? order by a.action_type_nm) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end, c.nm, gdr.network_score order by g.nm, d.nm;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Nov 25 13 72 39m28s 32s896ms 14 152 11m11s 4s420ms [ User: qaeu - Total duration: 34m17s - Times executed: 1 ]
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2024-11-25 13:48:18 Duration: 34m17s Database: ctdprd51 User: qaeu Bind query: yes
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2024-11-25 14:07:21 Duration: 5s846ms Bind query: yes
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2024-11-25 13:54:40 Duration: 5s700ms Bind query: yes
4 40m58s 161 1s16ms 13m 15s269ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Nov 24 00 6 7s519ms 1s253ms 01 6 13s789ms 2s298ms 04 19 2m32s 8s40ms 05 3 37s994ms 12s664ms 07 6 19s225ms 3s204ms 08 10 24s62ms 2s406ms 09 1 1s635ms 1s635ms 22 3 10s113ms 3s371ms 23 3 10s117ms 3s372ms Nov 25 08 1 2s310ms 2s310ms 17 1 7s309ms 7s309ms 21 6 3m2s 30s368ms 22 2 26m 13m Nov 26 05 4 4s239ms 1s59ms 12 1 16s320ms 16s320ms 18 2 16s966ms 8s483ms 20 1 1s476ms 1s476ms Nov 27 05 2 52s950ms 26s475ms 09 5 11s483ms 2s296ms 10 6 25s286ms 4s214ms 22 1 1s58ms 1s58ms Nov 28 00 8 11s401ms 1s425ms 02 4 6s727ms 1s681ms 03 10 12s504ms 1s250ms 04 1 1s516ms 1s516ms 05 1 1s596ms 1s596ms 08 1 1s64ms 1s64ms Nov 29 02 2 1m1s 30s687ms 03 3 1m 20s266ms 07 11 35s810ms 3s255ms 08 18 58s207ms 3s233ms 09 1 2s326ms 2s326ms 15 1 14s754ms 14s754ms 16 2 3s392ms 1s696ms 18 1 1s179ms 1s179ms 20 2 6s15ms 3s7ms Nov 30 02 2 2s565ms 1s282ms 04 1 12s667ms 12s667ms 12 1 1s994ms 1s994ms 20 2 3s344ms 1s672ms [ User: pubeu - Total duration: 17m58s - Times executed: 73 ]
-
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 = '2087497') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-11-25 22:07:25 Duration: 13m 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 = '2087497') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-11-25 22:07:25 Duration: 13m 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 = '2087497') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-11-25 21:54:48 Duration: 32s149ms Bind query: yes
5 40m6s 2,067 1s67ms 2s262ms 1s164ms 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 #5
Day Hour Count Duration Avg duration Nov 24 00 34 39s271ms 1s155ms 01 23 26s649ms 1s158ms 02 20 22s982ms 1s149ms 03 27 31s83ms 1s151ms 04 13 15s37ms 1s156ms 05 27 31s62ms 1s150ms 06 17 19s783ms 1s163ms 07 25 29s37ms 1s161ms 08 29 33s546ms 1s156ms 09 15 18s2ms 1s200ms 10 25 28s793ms 1s151ms 11 20 23s374ms 1s168ms 12 31 35s856ms 1s156ms 13 28 32s477ms 1s159ms 14 29 33s528ms 1s156ms 15 15 17s278ms 1s151ms 16 33 38s220ms 1s158ms 17 18 20s546ms 1s141ms 18 30 34s481ms 1s149ms 19 22 25s447ms 1s156ms 20 34 39s104ms 1s150ms 21 21 24s84ms 1s146ms 22 24 27s374ms 1s140ms 23 15 17s116ms 1s141ms Nov 25 00 14 16s78ms 1s148ms 01 23 26s663ms 1s159ms 02 33 38s589ms 1s169ms 03 10 11s663ms 1s166ms 04 3 3s507ms 1s169ms 05 7 8s92ms 1s156ms 06 2 2s305ms 1s152ms 07 6 6s957ms 1s159ms 08 4 4s629ms 1s157ms 09 1 1s148ms 1s148ms 10 4 4s590ms 1s147ms 11 1 1s74ms 1s74ms 12 7 8s91ms 1s155ms 13 9 10s444ms 1s160ms 14 5 5s788ms 1s157ms 15 2 2s295ms 1s147ms 16 2 2s322ms 1s161ms 17 5 5s832ms 1s166ms 18 9 10s372ms 1s152ms 19 4 4s546ms 1s136ms 20 21 24s192ms 1s152ms 21 14 16s98ms 1s149ms Nov 26 05 3 3s758ms 1s252ms 07 1 1s167ms 1s167ms 08 3 3s526ms 1s175ms 10 1 1s194ms 1s194ms 11 3 3s561ms 1s187ms 12 7 8s323ms 1s189ms 13 7 8s140ms 1s162ms 14 21 25s1ms 1s190ms 15 10 11s512ms 1s151ms 16 5 5s691ms 1s138ms 17 2 2s239ms 1s119ms 18 6 7s479ms 1s246ms 19 6 6s838ms 1s139ms 20 15 18s710ms 1s247ms 21 6 7s16ms 1s169ms 22 9 10s489ms 1s165ms 23 8 9s354ms 1s169ms Nov 27 00 4 4s726ms 1s181ms 01 4 4s562ms 1s140ms 02 21 24s528ms 1s168ms 03 29 34s113ms 1s176ms 04 36 41s824ms 1s161ms 05 74 1m35s 1s293ms 06 56 1m6s 1s192ms 07 96 1m50s 1s150ms 08 100 1m54s 1s149ms 09 139 2m43s 1s175ms 10 151 2m57s 1s174ms 11 15 17s129ms 1s141ms 12 12 13s613ms 1s134ms 13 7 7s937ms 1s133ms 14 15 17s33ms 1s135ms 15 11 12s581ms 1s143ms 16 8 9s176ms 1s147ms 17 5 5s674ms 1s134ms 18 6 6s734ms 1s122ms 19 3 3s336ms 1s112ms 20 5 5s661ms 1s132ms 21 7 8s13ms 1s144ms 22 3 3s507ms 1s169ms 23 3 3s511ms 1s170ms Nov 28 00 5 5s799ms 1s159ms 01 7 8s172ms 1s167ms 02 2 2s359ms 1s179ms 03 4 4s580ms 1s145ms 04 4 4s588ms 1s147ms 05 8 9s449ms 1s181ms 06 2 2s192ms 1s96ms 08 1 1s94ms 1s94ms 09 2 2s364ms 1s182ms 10 3 3s450ms 1s150ms 11 7 8s14ms 1s144ms 12 7 8s88ms 1s155ms 13 8 9s314ms 1s164ms 14 7 8s176ms 1s168ms 15 5 5s631ms 1s126ms 16 5 5s554ms 1s110ms 17 10 11s338ms 1s133ms 18 6 6s760ms 1s126ms 19 4 4s654ms 1s163ms 20 4 4s516ms 1s129ms 21 6 6s874ms 1s145ms 22 7 8s273ms 1s181ms 23 12 13s895ms 1s157ms Nov 29 00 8 9s151ms 1s143ms 01 6 6s883ms 1s147ms 02 10 11s512ms 1s151ms 03 9 10s553ms 1s172ms 04 5 5s690ms 1s138ms 05 9 10s550ms 1s172ms 06 3 3s485ms 1s161ms 08 2 2s259ms 1s129ms 09 5 5s910ms 1s182ms 10 5 5s704ms 1s140ms 11 4 4s474ms 1s118ms 12 6 6s805ms 1s134ms 13 3 3s505ms 1s168ms 14 5 5s694ms 1s138ms 15 3 3s417ms 1s139ms 16 5 5s649ms 1s129ms 17 4 4s565ms 1s141ms 18 5 5s612ms 1s122ms 19 6 6s912ms 1s152ms 20 2 2s290ms 1s145ms 21 6 6s892ms 1s148ms 22 2 2s189ms 1s94ms 23 6 6s811ms 1s135ms Nov 30 00 5 5s842ms 1s168ms 01 9 10s464ms 1s162ms 02 3 3s426ms 1s142ms 03 11 12s729ms 1s157ms 04 13 15s56ms 1s158ms 05 8 9s458ms 1s182ms 06 3 3s379ms 1s126ms 07 7 8s126ms 1s160ms 08 4 4s486ms 1s121ms 09 3 3s451ms 1s150ms 10 4 4s482ms 1s120ms 11 5 5s779ms 1s155ms 12 9 10s147ms 1s127ms 13 4 4s518ms 1s129ms 14 7 7s985ms 1s140ms 15 6 6s886ms 1s147ms 16 3 3s537ms 1s179ms 17 3 3s442ms 1s147ms 18 5 5s650ms 1s130ms 19 3 3s351ms 1s117ms 20 5 5s688ms 1s137ms 21 7 8s219ms 1s174ms 22 6 7s180ms 1s196ms 23 5 6s100ms 1s220ms [ User: pubeu - Total duration: 11m51s - Times executed: 610 ]
[ User: qaeu - Total duration: 2s512ms - Times executed: 2 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where exposureMarkerTerm.id = '1863880' or receptorTerm.id = '1863880' 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-11-27 10:31:48 Duration: 2s262ms 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 = '1884392' or receptorTerm.id = '1884392' 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-11-27 05:56:07 Duration: 2s252ms 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 = '1834340' or receptorTerm.id = '1834340' 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-11-27 05:55:02 Duration: 2s185ms Database: ctdprd51 User: pubeu Bind query: yes
6 37m52s 580 3s650ms 13s987ms 3s917ms select coalesce(st.alt_nm, t.nm) slimtermnm, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.curated_reference_qty > ?) curatedcount, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.indirect_gene_qty > ?) inferredcount from slim_term st inner join term t on st.slim_term_id = t.id where st.slim_id = ? order by ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Nov 24 00 1 3s933ms 3s933ms 01 3 11s402ms 3s800ms 02 1 3s777ms 3s777ms 03 1 4s46ms 4s46ms 04 1 3s904ms 3s904ms 05 9 34s937ms 3s881ms 06 1 3s850ms 3s850ms 07 2 7s763ms 3s881ms 08 3 11s343ms 3s781ms 09 2 7s698ms 3s849ms 10 2 7s658ms 3s829ms 11 4 15s276ms 3s819ms 13 1 3s850ms 3s850ms 15 1 3s878ms 3s878ms 16 6 23s445ms 3s907ms 17 1 4s8ms 4s8ms 18 1 3s892ms 3s892ms 19 8 30s538ms 3s817ms 20 22 1m24s 3s832ms 21 2 8s74ms 4s37ms 22 5 19s567ms 3s913ms 23 4 15s541ms 3s885ms Nov 25 00 11 42s14ms 3s819ms 01 1 3s803ms 3s803ms 02 3 11s596ms 3s865ms 03 3 11s936ms 3s978ms 04 2 7s564ms 3s782ms 05 4 25s671ms 6s417ms 07 12 45s477ms 3s789ms 08 20 1m16s 3s820ms 09 3 11s415ms 3s805ms 12 1 3s888ms 3s888ms 13 1 3s974ms 3s974ms 14 1 3s928ms 3s928ms 15 2 7s777ms 3s888ms 17 27 1m44s 3s857ms 19 1 4s36ms 4s36ms 20 1 3s776ms 3s776ms 21 7 27s45ms 3s863ms Nov 26 05 4 15s775ms 3s943ms 06 5 19s322ms 3s864ms 07 1 4s195ms 4s195ms 08 2 7s729ms 3s864ms 09 2 7s579ms 3s789ms 10 2 7s749ms 3s874ms 12 4 16s331ms 4s82ms 14 1 3s920ms 3s920ms 15 1 3s881ms 3s881ms 17 9 35s616ms 3s957ms 18 10 40s223ms 4s22ms 19 4 15s664ms 3s916ms 20 23 1m30s 3s931ms 21 18 1m10s 3s921ms 22 8 31s292ms 3s911ms Nov 27 00 2 7s678ms 3s839ms 01 4 15s329ms 3s832ms 03 4 15s653ms 3s913ms 04 11 43s280ms 3s934ms 05 7 28s764ms 4s109ms 06 1 3s753ms 3s753ms 08 2 7s980ms 3s990ms 09 2 7s967ms 3s983ms 17 2 7s803ms 3s901ms 19 1 4s87ms 4s87ms 20 11 42s908ms 3s900ms 21 31 2m 3s897ms 22 4 15s282ms 3s820ms 23 12 47s265ms 3s938ms Nov 28 00 19 1m14s 3s926ms 01 1 3s876ms 3s876ms 02 9 35s162ms 3s906ms 03 7 27s555ms 3s936ms 04 1 3s871ms 3s871ms 05 2 8s38ms 4s19ms 06 2 7s845ms 3s922ms 07 4 15s842ms 3s960ms 09 1 3s832ms 3s832ms 10 2 7s817ms 3s908ms 11 12 46s969ms 3s914ms 12 1 3s872ms 3s872ms 13 2 7s854ms 3s927ms 15 3 11s914ms 3s971ms 18 2 8s33ms 4s16ms 19 2 7s845ms 3s922ms 22 12 46s360ms 3s863ms 23 5 19s871ms 3s974ms Nov 29 00 20 1m18s 3s929ms 01 11 43s77ms 3s916ms 02 18 1m9s 3s884ms 03 6 23s804ms 3s967ms 04 7 26s997ms 3s856ms 07 1 3s954ms 3s954ms 09 6 24s748ms 4s124ms 10 2 8s112ms 4s56ms 12 2 7s882ms 3s941ms 13 1 4s177ms 4s177ms 14 1 3s920ms 3s920ms 15 3 12s119ms 4s39ms 17 1 3s769ms 3s769ms 18 1 3s748ms 3s748ms 20 1 4s24ms 4s24ms 21 1 4s160ms 4s160ms 22 1 4s67ms 4s67ms Nov 30 00 1 4s97ms 4s97ms 06 2 7s643ms 3s821ms 07 1 4s171ms 4s171ms 09 1 3s783ms 3s783ms 13 2 7s746ms 3s873ms 14 1 4s103ms 4s103ms 15 1 4s82ms 4s82ms 20 3 11s470ms 3s823ms 21 20 1m16s 3s820ms 22 9 34s371ms 3s819ms [ User: pubeu - Total duration: 14m27s - Times executed: 220 ]
[ User: qaeu - Total duration: 12s193ms - Times executed: 3 ]
-
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 = '1434600') 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 = '1434600') 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-11-25 05:34:00 Duration: 13s987ms 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 = '1413172') 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 = '1413172') 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-11-29 09:03:09 Duration: 4s790ms 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 = '1404994') 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 = '1404994') 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-11-27 05:45:40 Duration: 4s377ms Database: ctdprd51 User: pubeu Bind query: yes
7 31m49s 21 2s52ms 4m7s 1m30s select r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refacc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, count(*) over () fullrowcount from reference r where r.id in ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?)) order by r.sort_txt limit ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Nov 26 09 1 3s233ms 3s233ms 22 2 5s592ms 2s796ms Nov 27 09 6 3m58s 39s789ms Nov 28 07 1 36s730ms 36s730ms Nov 29 04 1 24s145ms 24s145ms 09 9 26m38s 2m57s 19 1 2s52ms 2s52ms [ User: pubeu - Total duration: 27m34s - Times executed: 13 ]
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2084331')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-11-29 09:05:48 Duration: 4m7s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2084331')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-11-29 09:05:44 Duration: 4m4s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2084331')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-11-29 09:05:35 Duration: 3m53s Database: ctdprd51 User: pubeu Bind query: yes
8 26m20s 10 43s719ms 11m45s 2m38s 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 phenotypeterm.nm_sort, diseaseterm.nm_sort limit ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Nov 24 01 1 1m48s 1m48s 02 1 1m47s 1m47s Nov 27 05 1 43s719ms 43s719ms 10 6 10m15s 1m42s Nov 29 19 1 11m45s 11m45s [ User: pubeu - Total duration: 15m55s - Times executed: 4 ]
-
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 = '1236377') and diseaseTerm.object_type_id = 3 ORDER BY phenotypeTerm.nm_sort, diseaseTerm.nm_sort LIMIT 50;
Date: 2024-11-29 19:13:15 Duration: 11m45s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1213186') and diseaseTerm.object_type_id = 3 ORDER BY phenotypeTerm.nm_sort, diseaseTerm.nm_sort LIMIT 50;
Date: 2024-11-24 01:44:46 Duration: 1m48s 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 = '1213186') and diseaseTerm.object_type_id = 3 ORDER BY phenotypeTerm.nm_sort, diseaseTerm.nm_sort LIMIT 50;
Date: 2024-11-24 02:07:01 Duration: 1m47s Bind query: yes
9 23m55s 1 23m55s 23m55s 23m55s copy pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Nov 30 19 1 23m55s 23m55s -
COPY pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2024-11-30 19:01:00 Duration: 23m55s
10 23m49s 1 23m49s 23m49s 23m49s 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 #10
Day Hour Count Duration Avg duration Nov 30 19 1 23m49s 23m49s -
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-11-30 19:42:32 Duration: 23m49s
11 16m10s 25 38s392ms 39s348ms 38s815ms 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 Nov 24 06 1 38s406ms 38s406ms 10 1 38s392ms 38s392ms 14 1 38s608ms 38s608ms 18 1 38s774ms 38s774ms Nov 25 06 1 38s487ms 38s487ms 10 1 38s394ms 38s394ms 14 1 39s83ms 39s83ms 18 1 38s450ms 38s450ms Nov 26 06 1 38s744ms 38s744ms 10 1 38s510ms 38s510ms 14 1 38s537ms 38s537ms 18 1 38s660ms 38s660ms Nov 27 06 1 38s973ms 38s973ms 10 1 38s928ms 38s928ms 14 1 38s790ms 38s790ms 18 1 38s609ms 38s609ms Nov 28 06 1 39s348ms 39s348ms 10 1 39s164ms 39s164ms 14 1 38s962ms 38s962ms 18 1 39s59ms 39s59ms Nov 29 06 1 39s247ms 39s247ms 10 1 39s99ms 39s99ms 14 1 39s52ms 39s52ms 18 1 39s126ms 39s126ms Nov 30 19 1 38s978ms 38s978ms [ User: postgres - Total duration: 15m31s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 15m31s - 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-11-28 06:05:41 Duration: 39s348ms 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-11-29 06:05:41 Duration: 39s247ms 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-11-28 10:05:41 Duration: 39s164ms Database: ctdprd51 User: postgres Application: pg_dump
12 15m22s 217 1s 6s593ms 4s250ms 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 #12
Day Hour Count Duration Avg duration Nov 24 00 7 27s537ms 3s933ms 04 7 32s307ms 4s615ms 05 3 15s411ms 5s137ms 06 1 1s24ms 1s24ms 08 3 15s4ms 5s1ms 10 3 15s557ms 5s185ms 12 2 5s747ms 2s873ms 22 4 19s66ms 4s766ms 23 2 9s245ms 4s622ms Nov 25 00 2 9s765ms 4s882ms 01 6 29s200ms 4s866ms 02 7 21s897ms 3s128ms 04 3 14s553ms 4s851ms 06 1 5s301ms 5s301ms 08 1 5s403ms 5s403ms 09 6 29s855ms 4s975ms 12 1 4s720ms 4s720ms 17 2 10s278ms 5s139ms 19 5 24s911ms 4s982ms Nov 26 06 2 9s922ms 4s961ms 09 1 4s630ms 4s630ms 10 1 1s 1s 11 1 5s605ms 5s605ms 12 2 2s124ms 1s62ms 14 14 1m2s 4s496ms 15 1 1s38ms 1s38ms 22 8 43s217ms 5s402ms Nov 27 00 1 5s560ms 5s560ms 03 1 1s50ms 1s50ms 04 2 11s85ms 5s542ms 05 4 13s101ms 3s275ms 06 5 29s535ms 5s907ms 07 4 23s33ms 5s758ms 08 4 23s113ms 5s778ms 09 2 10s969ms 5s484ms 10 11 35s608ms 3s237ms 11 3 7s716ms 2s572ms 14 2 6s480ms 3s240ms 15 2 10s813ms 5s406ms 16 2 10s969ms 5s484ms 17 1 1s59ms 1s59ms 18 1 5s503ms 5s503ms 20 1 1s54ms 1s54ms 21 5 23s308ms 4s661ms 23 3 12s417ms 4s139ms Nov 28 01 1 5s525ms 5s525ms 02 2 11s169ms 5s584ms 03 6 29s135ms 4s855ms 05 1 1s58ms 1s58ms 08 1 1s48ms 1s48ms 09 5 18s429ms 3s685ms 10 1 1s30ms 1s30ms 11 1 1s57ms 1s57ms 12 1 5s545ms 5s545ms 13 1 1s46ms 1s46ms 16 1 1s44ms 1s44ms 17 5 22s968ms 4s593ms 19 2 6s688ms 3s344ms 21 3 16s154ms 5s384ms Nov 29 02 3 7s620ms 2s540ms 07 3 12s174ms 4s58ms 09 1 6s52ms 6s52ms 11 2 10s854ms 5s427ms 12 2 11s186ms 5s593ms 14 1 5s642ms 5s642ms 16 2 6s581ms 3s290ms 17 1 5s404ms 5s404ms 19 1 1s50ms 1s50ms 21 1 1s61ms 1s61ms 22 1 1s64ms 1s64ms Nov 30 02 1 1s65ms 1s65ms 03 1 5s701ms 5s701ms 04 1 5s564ms 5s564ms 06 2 2s118ms 1s59ms 07 7 28s965ms 4s137ms 08 1 5s848ms 5s848ms 18 2 10s997ms 5s498ms 20 1 5s440ms 5s440ms 21 1 5s354ms 5s354ms 23 1 1s26ms 1s26ms [ User: pubeu - Total duration: 5m18s - Times executed: 76 ]
-
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 = '1417543' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-11-26 22:24:04 Duration: 6s593ms 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 = '1418885' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-11-27 06:43:23 Duration: 6s530ms 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 = '1415944' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-11-26 14:13:58 Duration: 6s492ms Database: ctdprd51 User: pubeu Bind query: yes
13 13m32s 549 1s442ms 1s677ms 1s480ms 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 #13
Day Hour Count Duration Avg duration Nov 24 05 3 4s444ms 1s481ms 14 1 1s460ms 1s460ms 22 1 1s470ms 1s470ms Nov 25 00 1 1s456ms 1s456ms 03 1 1s465ms 1s465ms 05 3 4s382ms 1s460ms 12 1 1s544ms 1s544ms 21 1 1s487ms 1s487ms Nov 26 05 10 14s710ms 1s471ms 06 12 17s686ms 1s473ms 07 9 13s260ms 1s473ms 08 10 14s809ms 1s480ms 09 10 14s557ms 1s455ms 10 7 10s221ms 1s460ms 11 7 10s364ms 1s480ms 12 14 20s895ms 1s492ms 13 12 17s735ms 1s477ms 14 13 19s228ms 1s479ms 15 15 22s176ms 1s478ms 16 14 20s683ms 1s477ms 17 6 8s802ms 1s467ms 18 10 14s727ms 1s472ms 19 15 22s278ms 1s485ms 20 14 20s908ms 1s493ms 21 16 23s633ms 1s477ms 22 15 22s101ms 1s473ms 23 16 23s620ms 1s476ms Nov 27 00 13 19s378ms 1s490ms 01 15 22s180ms 1s478ms 02 14 20s518ms 1s465ms 03 15 22s215ms 1s481ms 04 15 22s164ms 1s477ms 05 16 24s76ms 1s504ms 06 14 21s90ms 1s506ms 07 12 17s909ms 1s492ms 08 13 19s251ms 1s480ms 09 14 21s89ms 1s506ms 10 14 20s896ms 1s492ms 11 10 14s768ms 1s476ms 12 10 14s729ms 1s472ms 13 9 13s289ms 1s476ms 14 12 17s782ms 1s481ms 15 12 17s705ms 1s475ms 16 11 16s157ms 1s468ms 17 15 22s89ms 1s472ms 18 14 20s724ms 1s480ms 19 14 20s565ms 1s468ms 20 14 20s681ms 1s477ms 21 15 22s221ms 1s481ms 22 1 1s483ms 1s483ms Nov 28 04 1 1s477ms 1s477ms 05 3 4s414ms 1s471ms 10 1 1s463ms 1s463ms 11 2 2s945ms 1s472ms 19 1 1s472ms 1s472ms 20 1 1s482ms 1s482ms Nov 29 05 2 2s995ms 1s497ms 10 1 1s481ms 1s481ms 11 1 1s476ms 1s476ms 12 1 1s470ms 1s470ms 16 1 1s473ms 1s473ms 20 1 1s495ms 1s495ms Nov 30 05 2 2s952ms 1s476ms 06 1 1s492ms 1s492ms 09 1 1s476ms 1s476ms [ User: pubeu - Total duration: 4m42s - Times executed: 191 ]
-
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-11-26 20:19:42 Duration: 1s677ms 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-11-26 12:18:50 Duration: 1s638ms 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-11-27 05:52:26 Duration: 1s630ms Bind query: yes
14 12m39s 600 1s151ms 3s390ms 1s265ms 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 #14
Day Hour Count Duration Avg duration Nov 24 00 8 9s891ms 1s236ms 01 4 5s132ms 1s283ms 02 5 6s372ms 1s274ms 03 6 7s389ms 1s231ms 04 5 6s220ms 1s244ms 05 7 8s853ms 1s264ms 06 5 6s191ms 1s238ms 07 5 6s218ms 1s243ms 08 1 1s311ms 1s311ms 09 7 8s814ms 1s259ms 10 4 4s859ms 1s214ms 11 6 7s751ms 1s291ms 12 2 2s676ms 1s338ms 13 7 8s800ms 1s257ms 14 11 13s695ms 1s245ms 15 14 17s631ms 1s259ms 16 7 8s720ms 1s245ms 17 10 12s457ms 1s245ms 18 1 1s267ms 1s267ms 19 2 2s516ms 1s258ms 20 4 4s992ms 1s248ms 21 6 7s627ms 1s271ms 22 6 7s503ms 1s250ms 23 5 6s267ms 1s253ms Nov 25 00 4 4s975ms 1s243ms 01 6 7s628ms 1s271ms 02 3 3s887ms 1s295ms 03 1 1s278ms 1s278ms 04 1 1s357ms 1s357ms 05 2 2s657ms 1s328ms 06 1 2s378ms 2s378ms 08 2 2s471ms 1s235ms 09 1 1s209ms 1s209ms 11 2 2s461ms 1s230ms 12 4 5s3ms 1s250ms 13 7 8s594ms 1s227ms 14 2 2s444ms 1s222ms 16 1 1s265ms 1s265ms 18 1 1s228ms 1s228ms 19 2 2s425ms 1s212ms 20 5 6s150ms 1s230ms 21 1 1s211ms 1s211ms Nov 26 05 4 5s593ms 1s398ms 06 4 5s365ms 1s341ms 08 1 1s324ms 1s324ms 09 3 5s970ms 1s990ms 10 1 1s278ms 1s278ms 11 4 5s397ms 1s349ms 12 1 1s289ms 1s289ms 13 3 3s726ms 1s242ms 14 1 1s261ms 1s261ms 15 4 4s857ms 1s214ms 16 4 4s842ms 1s210ms 17 1 1s221ms 1s221ms 18 3 3s778ms 1s259ms 19 5 6s203ms 1s240ms 20 3 3s752ms 1s250ms 21 2 2s448ms 1s224ms 22 1 1s292ms 1s292ms 23 1 1s336ms 1s336ms Nov 27 00 3 4s24ms 1s341ms 01 1 1s292ms 1s292ms 02 5 6s194ms 1s238ms 03 14 17s813ms 1s272ms 04 6 7s652ms 1s275ms 05 8 10s702ms 1s337ms 06 24 29s313ms 1s221ms 07 22 27s243ms 1s238ms 08 14 17s666ms 1s261ms 09 40 51s643ms 1s291ms 10 43 54s710ms 1s272ms 11 4 4s906ms 1s226ms 12 1 1s266ms 1s266ms 13 5 6s325ms 1s265ms 14 5 6s150ms 1s230ms 15 3 3s750ms 1s250ms 16 1 1s261ms 1s261ms 17 3 3s717ms 1s239ms 18 3 3s736ms 1s245ms 19 1 1s211ms 1s211ms 20 1 1s253ms 1s253ms 21 1 1s225ms 1s225ms 22 5 6s618ms 1s323ms 23 1 1s269ms 1s269ms Nov 28 00 2 2s559ms 1s279ms 02 2 2s460ms 1s230ms 03 2 2s582ms 1s291ms 05 2 2s675ms 1s337ms 07 3 4s1ms 1s333ms 09 1 1s248ms 1s248ms 10 1 1s164ms 1s164ms 11 3 3s696ms 1s232ms 12 3 3s694ms 1s231ms 13 5 6s195ms 1s239ms 14 1 1s271ms 1s271ms 15 2 2s498ms 1s249ms 16 5 6s66ms 1s213ms 17 3 3s610ms 1s203ms 18 7 8s482ms 1s211ms 20 1 1s184ms 1s184ms 21 3 3s662ms 1s220ms 22 3 3s757ms 1s252ms 23 3 3s815ms 1s271ms Nov 29 00 2 2s330ms 1s165ms 01 3 3s996ms 1s332ms 02 2 2s442ms 1s221ms 03 1 1s273ms 1s273ms 05 5 6s451ms 1s290ms 06 2 2s525ms 1s262ms 07 1 1s212ms 1s212ms 08 2 2s434ms 1s217ms 10 2 2s482ms 1s241ms 12 6 7s473ms 1s245ms 13 3 3s831ms 1s277ms 14 4 5s252ms 1s313ms 15 3 3s767ms 1s255ms 16 3 3s704ms 1s234ms 17 1 1s209ms 1s209ms 18 1 1s260ms 1s260ms 19 1 1s306ms 1s306ms 20 1 1s209ms 1s209ms 21 2 2s555ms 1s277ms 22 1 1s294ms 1s294ms 23 1 1s184ms 1s184ms Nov 30 00 2 2s739ms 1s369ms 01 1 1s176ms 1s176ms 03 2 2s455ms 1s227ms 04 3 3s686ms 1s228ms 05 5 6s366ms 1s273ms 07 3 4s150ms 1s383ms 08 6 7s281ms 1s213ms 09 3 3s688ms 1s229ms 10 1 1s245ms 1s245ms 11 2 2s619ms 1s309ms 13 3 3s668ms 1s222ms 14 2 2s446ms 1s223ms 15 5 6s508ms 1s301ms 16 2 2s449ms 1s224ms 17 4 4s908ms 1s227ms 18 5 6s332ms 1s266ms 19 1 1s187ms 1s187ms 20 3 3s676ms 1s225ms 21 3 3s803ms 1s267ms 22 1 1s226ms 1s226ms [ User: pubeu - Total duration: 4m - Times executed: 189 ]
[ User: qaeu - Total duration: 5s534ms - Times executed: 4 ]
-
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 = '1217771') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1217771') 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-11-26 09:55:46 Duration: 3s390ms 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 = '1225071') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1225071') 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-11-25 06:40:47 Duration: 2s378ms 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 = '1235942') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1235942') 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-11-28 07:58:55 Duration: 1s531ms Database: ctdprd51 User: pubeu Bind query: yes
15 11m18s 1 11m18s 11m18s 11m18s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?)) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by c.nm_sort, g.nm_sort, i.sort_txt limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Nov 27 18 1 11m18s 11m18s -
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'SIRT1') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'BISPHENOL A' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-11-27 18:43:45 Duration: 11m18s Bind query: yes
16 10m29s 1 10m29s 10m29s 10m29s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by diseaseterm.nm_sort, phenotypeterm.nm_sort limit ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Nov 29 21 1 10m29s 10m29s [ User: pubeu - Total duration: 10m29s - 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 = '1240744') and diseaseTerm.object_type_id = 3 ORDER BY diseaseTerm.nm_sort, phenotypeTerm.nm_sort LIMIT 50;
Date: 2024-11-29 21:17:41 Duration: 10m29s Database: ctdprd51 User: pubeu Bind query: yes
17 10m4s 31 17s198ms 20s642ms 19s503ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Nov 24 14 3 59s884ms 19s961ms 15 1 19s695ms 19s695ms 20 5 1m40s 20s148ms 21 1 19s744ms 19s744ms Nov 25 18 1 19s133ms 19s133ms 20 1 20s181ms 20s181ms 21 2 39s412ms 19s706ms Nov 26 13 1 20s97ms 20s97ms Nov 27 09 6 1m53s 18s908ms 10 8 2m34s 19s282ms 17 1 19s49ms 19s49ms Nov 28 13 1 18s955ms 18s955ms [ User: pubeu - Total duration: 2m53s - Times executed: 9 ]
-
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 = '2081020') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-11-24 20:32:20 Duration: 20s642ms 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 = '2081020') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-11-24 20:20:21 Duration: 20s470ms 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 = '2081451') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-11-27 10:31:29 Duration: 20s332ms Bind query: yes
18 9m59s 52 11s67ms 13s218ms 11s520ms 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 #18
Day Hour Count Duration Avg duration Nov 26 22 5 56s255ms 11s251ms Nov 27 11 9 1m43s 11s533ms 14 6 1m11s 11s840ms 23 5 59s853ms 11s970ms Nov 28 00 2 22s579ms 11s289ms 21 4 44s947ms 11s236ms Nov 29 09 3 33s510ms 11s170ms 10 5 57s851ms 11s570ms 11 7 1m21s 11s644ms 13 4 45s66ms 11s266ms 14 2 22s620ms 11s310ms [ User: pubeu - Total duration: 5m10s - Times executed: 27 ]
-
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-11-27 14:26:45 Duration: 13s218ms 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-11-29 10:04:01 Duration: 12s824ms 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-11-29 11:22:19 Duration: 12s704ms Database: ctdprd51 User: pubeu Bind query: yes
19 9m15s 2 4m37s 4m38s 4m37s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by c.nm_sort, g.nm_sort, i.sort_txt limit ? offset ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Nov 27 10 2 9m15s 4m37s [ User: pubeu - Total duration: 4m37s - Times executed: 1 ]
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA04064' AND tp.pathway_acc_db_cd = 'KEGG'))) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50 OFFSET 50;
Date: 2024-11-27 10:10:03 Duration: 4m38s Bind query: yes
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA04064' AND tp.pathway_acc_db_cd = 'KEGG'))) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50 OFFSET 50;
Date: 2024-11-27 10:10:08 Duration: 4m37s Database: ctdprd51 User: pubeu Bind query: yes
20 8m43s 381 1s157ms 7s198ms 1s374ms 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 #20
Day Hour Count Duration Avg duration Nov 24 00 3 4s128ms 1s376ms 01 5 6s323ms 1s264ms 03 3 3s761ms 1s253ms 04 6 8s201ms 1s366ms 05 4 5s282ms 1s320ms 06 3 3s793ms 1s264ms 07 8 9s884ms 1s235ms 08 2 2s384ms 1s192ms 09 10 12s514ms 1s251ms 10 3 3s876ms 1s292ms 11 4 4s920ms 1s230ms 12 2 2s598ms 1s299ms 13 2 2s464ms 1s232ms 14 3 3s829ms 1s276ms 15 3 3s779ms 1s259ms 16 6 7s993ms 1s332ms 17 7 9s363ms 1s337ms 19 2 2s534ms 1s267ms 20 2 2s402ms 1s201ms 21 1 1s245ms 1s245ms 22 1 1s266ms 1s266ms 23 4 4s986ms 1s246ms Nov 25 00 1 1s211ms 1s211ms 02 1 1s213ms 1s213ms 03 2 2s442ms 1s221ms 05 2 2s750ms 1s375ms 06 1 1s221ms 1s221ms 08 2 2s550ms 1s275ms 09 1 1s360ms 1s360ms 10 1 1s321ms 1s321ms 12 2 2s651ms 1s325ms 14 1 1s228ms 1s228ms 15 2 2s530ms 1s265ms 16 2 2s526ms 1s263ms 17 2 2s429ms 1s214ms 18 3 3s797ms 1s265ms 19 1 1s322ms 1s322ms 20 7 8s614ms 1s230ms 21 2 2s646ms 1s323ms Nov 26 05 3 4s555ms 1s518ms 06 1 1s258ms 1s258ms 09 2 2s593ms 1s296ms 10 2 2s599ms 1s299ms 11 2 2s812ms 1s406ms 12 2 2s767ms 1s383ms 13 1 1s277ms 1s277ms 14 29 43s855ms 1s512ms 15 1 1s278ms 1s278ms 18 1 1s157ms 1s157ms 19 2 2s474ms 1s237ms 21 3 3s797ms 1s265ms 23 2 2s576ms 1s288ms Nov 27 00 1 1s548ms 1s548ms 01 2 2s662ms 1s331ms 02 3 3s773ms 1s257ms 03 3 3s914ms 1s304ms 04 4 5s74ms 1s268ms 05 17 22s421ms 1s318ms 06 12 15s505ms 1s292ms 07 10 12s255ms 1s225ms 08 1 1s212ms 1s212ms 09 20 24s991ms 1s249ms 10 15 18s940ms 1s262ms 11 1 1s259ms 1s259ms 14 6 8s480ms 1s413ms 15 2 2s440ms 1s220ms 16 3 3s621ms 1s207ms 18 1 1s272ms 1s272ms 19 1 1s263ms 1s263ms 21 2 2s543ms 1s271ms 22 2 2s637ms 1s318ms 23 1 1s297ms 1s297ms Nov 28 00 4 5s290ms 1s322ms 01 2 2s569ms 1s284ms 02 3 3s810ms 1s270ms 03 4 5s49ms 1s262ms 04 1 1s247ms 1s247ms 05 2 2s702ms 1s351ms 11 3 3s742ms 1s247ms 13 1 1s217ms 1s217ms 14 1 1s278ms 1s278ms 15 1 1s256ms 1s256ms 16 2 2s393ms 1s196ms 17 1 1s303ms 1s303ms 18 1 1s336ms 1s336ms 20 1 1s262ms 1s262ms 21 2 2s667ms 1s333ms 22 1 1s274ms 1s274ms 23 1 1s173ms 1s173ms Nov 29 01 3 3s908ms 1s302ms 03 1 1s351ms 1s351ms 05 2 2s714ms 1s357ms 06 1 1s268ms 1s268ms 08 1 1s274ms 1s274ms 09 5 34s843ms 6s968ms 10 1 1s344ms 1s344ms 11 1 1s270ms 1s270ms 12 3 3s895ms 1s298ms 13 1 1s215ms 1s215ms 14 3 3s639ms 1s213ms 15 1 1s331ms 1s331ms 16 3 3s733ms 1s244ms 17 1 1s173ms 1s173ms 18 1 1s238ms 1s238ms 21 3 3s750ms 1s250ms 23 3 3s787ms 1s262ms Nov 30 01 3 3s960ms 1s320ms 03 5 6s104ms 1s220ms 05 3 3s988ms 1s329ms 06 1 1s209ms 1s209ms 08 2 2s359ms 1s179ms 09 1 1s299ms 1s299ms 11 3 4s875ms 1s625ms 12 4 5s4ms 1s251ms 13 1 1s217ms 1s217ms 14 4 4s893ms 1s223ms 15 2 2s574ms 1s287ms 17 3 3s626ms 1s208ms 18 2 2s564ms 1s282ms 19 3 3s891ms 1s297ms 20 1 1s255ms 1s255ms 21 1 1s279ms 1s279ms 22 1 1s351ms 1s351ms 23 1 1s371ms 1s371ms [ User: pubeu - Total duration: 2m32s - Times executed: 117 ]
[ User: qaeu - Total duration: 2s657ms - Times executed: 2 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.disease_id in ( select descendant_object_id from dag_path where ancestor_object_id = '2084331') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2084331') 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-11-29 09:02:06 Duration: 7s198ms 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 = '2084331') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2084331') 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-11-29 09:02:07 Duration: 7s88ms 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 = '2084331') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2084331') 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-11-29 09:02:08 Duration: 6s996ms Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 2,067 40m6s 1s67ms 2s262ms 1s164ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where exposuremarkerterm.id = ? or receptorterm.id = ? group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Nov 24 00 34 39s271ms 1s155ms 01 23 26s649ms 1s158ms 02 20 22s982ms 1s149ms 03 27 31s83ms 1s151ms 04 13 15s37ms 1s156ms 05 27 31s62ms 1s150ms 06 17 19s783ms 1s163ms 07 25 29s37ms 1s161ms 08 29 33s546ms 1s156ms 09 15 18s2ms 1s200ms 10 25 28s793ms 1s151ms 11 20 23s374ms 1s168ms 12 31 35s856ms 1s156ms 13 28 32s477ms 1s159ms 14 29 33s528ms 1s156ms 15 15 17s278ms 1s151ms 16 33 38s220ms 1s158ms 17 18 20s546ms 1s141ms 18 30 34s481ms 1s149ms 19 22 25s447ms 1s156ms 20 34 39s104ms 1s150ms 21 21 24s84ms 1s146ms 22 24 27s374ms 1s140ms 23 15 17s116ms 1s141ms Nov 25 00 14 16s78ms 1s148ms 01 23 26s663ms 1s159ms 02 33 38s589ms 1s169ms 03 10 11s663ms 1s166ms 04 3 3s507ms 1s169ms 05 7 8s92ms 1s156ms 06 2 2s305ms 1s152ms 07 6 6s957ms 1s159ms 08 4 4s629ms 1s157ms 09 1 1s148ms 1s148ms 10 4 4s590ms 1s147ms 11 1 1s74ms 1s74ms 12 7 8s91ms 1s155ms 13 9 10s444ms 1s160ms 14 5 5s788ms 1s157ms 15 2 2s295ms 1s147ms 16 2 2s322ms 1s161ms 17 5 5s832ms 1s166ms 18 9 10s372ms 1s152ms 19 4 4s546ms 1s136ms 20 21 24s192ms 1s152ms 21 14 16s98ms 1s149ms Nov 26 05 3 3s758ms 1s252ms 07 1 1s167ms 1s167ms 08 3 3s526ms 1s175ms 10 1 1s194ms 1s194ms 11 3 3s561ms 1s187ms 12 7 8s323ms 1s189ms 13 7 8s140ms 1s162ms 14 21 25s1ms 1s190ms 15 10 11s512ms 1s151ms 16 5 5s691ms 1s138ms 17 2 2s239ms 1s119ms 18 6 7s479ms 1s246ms 19 6 6s838ms 1s139ms 20 15 18s710ms 1s247ms 21 6 7s16ms 1s169ms 22 9 10s489ms 1s165ms 23 8 9s354ms 1s169ms Nov 27 00 4 4s726ms 1s181ms 01 4 4s562ms 1s140ms 02 21 24s528ms 1s168ms 03 29 34s113ms 1s176ms 04 36 41s824ms 1s161ms 05 74 1m35s 1s293ms 06 56 1m6s 1s192ms 07 96 1m50s 1s150ms 08 100 1m54s 1s149ms 09 139 2m43s 1s175ms 10 151 2m57s 1s174ms 11 15 17s129ms 1s141ms 12 12 13s613ms 1s134ms 13 7 7s937ms 1s133ms 14 15 17s33ms 1s135ms 15 11 12s581ms 1s143ms 16 8 9s176ms 1s147ms 17 5 5s674ms 1s134ms 18 6 6s734ms 1s122ms 19 3 3s336ms 1s112ms 20 5 5s661ms 1s132ms 21 7 8s13ms 1s144ms 22 3 3s507ms 1s169ms 23 3 3s511ms 1s170ms Nov 28 00 5 5s799ms 1s159ms 01 7 8s172ms 1s167ms 02 2 2s359ms 1s179ms 03 4 4s580ms 1s145ms 04 4 4s588ms 1s147ms 05 8 9s449ms 1s181ms 06 2 2s192ms 1s96ms 08 1 1s94ms 1s94ms 09 2 2s364ms 1s182ms 10 3 3s450ms 1s150ms 11 7 8s14ms 1s144ms 12 7 8s88ms 1s155ms 13 8 9s314ms 1s164ms 14 7 8s176ms 1s168ms 15 5 5s631ms 1s126ms 16 5 5s554ms 1s110ms 17 10 11s338ms 1s133ms 18 6 6s760ms 1s126ms 19 4 4s654ms 1s163ms 20 4 4s516ms 1s129ms 21 6 6s874ms 1s145ms 22 7 8s273ms 1s181ms 23 12 13s895ms 1s157ms Nov 29 00 8 9s151ms 1s143ms 01 6 6s883ms 1s147ms 02 10 11s512ms 1s151ms 03 9 10s553ms 1s172ms 04 5 5s690ms 1s138ms 05 9 10s550ms 1s172ms 06 3 3s485ms 1s161ms 08 2 2s259ms 1s129ms 09 5 5s910ms 1s182ms 10 5 5s704ms 1s140ms 11 4 4s474ms 1s118ms 12 6 6s805ms 1s134ms 13 3 3s505ms 1s168ms 14 5 5s694ms 1s138ms 15 3 3s417ms 1s139ms 16 5 5s649ms 1s129ms 17 4 4s565ms 1s141ms 18 5 5s612ms 1s122ms 19 6 6s912ms 1s152ms 20 2 2s290ms 1s145ms 21 6 6s892ms 1s148ms 22 2 2s189ms 1s94ms 23 6 6s811ms 1s135ms Nov 30 00 5 5s842ms 1s168ms 01 9 10s464ms 1s162ms 02 3 3s426ms 1s142ms 03 11 12s729ms 1s157ms 04 13 15s56ms 1s158ms 05 8 9s458ms 1s182ms 06 3 3s379ms 1s126ms 07 7 8s126ms 1s160ms 08 4 4s486ms 1s121ms 09 3 3s451ms 1s150ms 10 4 4s482ms 1s120ms 11 5 5s779ms 1s155ms 12 9 10s147ms 1s127ms 13 4 4s518ms 1s129ms 14 7 7s985ms 1s140ms 15 6 6s886ms 1s147ms 16 3 3s537ms 1s179ms 17 3 3s442ms 1s147ms 18 5 5s650ms 1s130ms 19 3 3s351ms 1s117ms 20 5 5s688ms 1s137ms 21 7 8s219ms 1s174ms 22 6 7s180ms 1s196ms 23 5 6s100ms 1s220ms [ User: pubeu - Total duration: 11m51s - Times executed: 610 ]
[ User: qaeu - Total duration: 2s512ms - Times executed: 2 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where exposureMarkerTerm.id = '1863880' or receptorTerm.id = '1863880' 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-11-27 10:31:48 Duration: 2s262ms 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 = '1884392' or receptorTerm.id = '1884392' 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-11-27 05:56:07 Duration: 2s252ms 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 = '1834340' or receptorTerm.id = '1834340' 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-11-27 05:55:02 Duration: 2s185ms Database: ctdprd51 User: pubeu Bind query: yes
2 600 12m39s 1s151ms 3s390ms 1s265ms 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 #2
Day Hour Count Duration Avg duration Nov 24 00 8 9s891ms 1s236ms 01 4 5s132ms 1s283ms 02 5 6s372ms 1s274ms 03 6 7s389ms 1s231ms 04 5 6s220ms 1s244ms 05 7 8s853ms 1s264ms 06 5 6s191ms 1s238ms 07 5 6s218ms 1s243ms 08 1 1s311ms 1s311ms 09 7 8s814ms 1s259ms 10 4 4s859ms 1s214ms 11 6 7s751ms 1s291ms 12 2 2s676ms 1s338ms 13 7 8s800ms 1s257ms 14 11 13s695ms 1s245ms 15 14 17s631ms 1s259ms 16 7 8s720ms 1s245ms 17 10 12s457ms 1s245ms 18 1 1s267ms 1s267ms 19 2 2s516ms 1s258ms 20 4 4s992ms 1s248ms 21 6 7s627ms 1s271ms 22 6 7s503ms 1s250ms 23 5 6s267ms 1s253ms Nov 25 00 4 4s975ms 1s243ms 01 6 7s628ms 1s271ms 02 3 3s887ms 1s295ms 03 1 1s278ms 1s278ms 04 1 1s357ms 1s357ms 05 2 2s657ms 1s328ms 06 1 2s378ms 2s378ms 08 2 2s471ms 1s235ms 09 1 1s209ms 1s209ms 11 2 2s461ms 1s230ms 12 4 5s3ms 1s250ms 13 7 8s594ms 1s227ms 14 2 2s444ms 1s222ms 16 1 1s265ms 1s265ms 18 1 1s228ms 1s228ms 19 2 2s425ms 1s212ms 20 5 6s150ms 1s230ms 21 1 1s211ms 1s211ms Nov 26 05 4 5s593ms 1s398ms 06 4 5s365ms 1s341ms 08 1 1s324ms 1s324ms 09 3 5s970ms 1s990ms 10 1 1s278ms 1s278ms 11 4 5s397ms 1s349ms 12 1 1s289ms 1s289ms 13 3 3s726ms 1s242ms 14 1 1s261ms 1s261ms 15 4 4s857ms 1s214ms 16 4 4s842ms 1s210ms 17 1 1s221ms 1s221ms 18 3 3s778ms 1s259ms 19 5 6s203ms 1s240ms 20 3 3s752ms 1s250ms 21 2 2s448ms 1s224ms 22 1 1s292ms 1s292ms 23 1 1s336ms 1s336ms Nov 27 00 3 4s24ms 1s341ms 01 1 1s292ms 1s292ms 02 5 6s194ms 1s238ms 03 14 17s813ms 1s272ms 04 6 7s652ms 1s275ms 05 8 10s702ms 1s337ms 06 24 29s313ms 1s221ms 07 22 27s243ms 1s238ms 08 14 17s666ms 1s261ms 09 40 51s643ms 1s291ms 10 43 54s710ms 1s272ms 11 4 4s906ms 1s226ms 12 1 1s266ms 1s266ms 13 5 6s325ms 1s265ms 14 5 6s150ms 1s230ms 15 3 3s750ms 1s250ms 16 1 1s261ms 1s261ms 17 3 3s717ms 1s239ms 18 3 3s736ms 1s245ms 19 1 1s211ms 1s211ms 20 1 1s253ms 1s253ms 21 1 1s225ms 1s225ms 22 5 6s618ms 1s323ms 23 1 1s269ms 1s269ms Nov 28 00 2 2s559ms 1s279ms 02 2 2s460ms 1s230ms 03 2 2s582ms 1s291ms 05 2 2s675ms 1s337ms 07 3 4s1ms 1s333ms 09 1 1s248ms 1s248ms 10 1 1s164ms 1s164ms 11 3 3s696ms 1s232ms 12 3 3s694ms 1s231ms 13 5 6s195ms 1s239ms 14 1 1s271ms 1s271ms 15 2 2s498ms 1s249ms 16 5 6s66ms 1s213ms 17 3 3s610ms 1s203ms 18 7 8s482ms 1s211ms 20 1 1s184ms 1s184ms 21 3 3s662ms 1s220ms 22 3 3s757ms 1s252ms 23 3 3s815ms 1s271ms Nov 29 00 2 2s330ms 1s165ms 01 3 3s996ms 1s332ms 02 2 2s442ms 1s221ms 03 1 1s273ms 1s273ms 05 5 6s451ms 1s290ms 06 2 2s525ms 1s262ms 07 1 1s212ms 1s212ms 08 2 2s434ms 1s217ms 10 2 2s482ms 1s241ms 12 6 7s473ms 1s245ms 13 3 3s831ms 1s277ms 14 4 5s252ms 1s313ms 15 3 3s767ms 1s255ms 16 3 3s704ms 1s234ms 17 1 1s209ms 1s209ms 18 1 1s260ms 1s260ms 19 1 1s306ms 1s306ms 20 1 1s209ms 1s209ms 21 2 2s555ms 1s277ms 22 1 1s294ms 1s294ms 23 1 1s184ms 1s184ms Nov 30 00 2 2s739ms 1s369ms 01 1 1s176ms 1s176ms 03 2 2s455ms 1s227ms 04 3 3s686ms 1s228ms 05 5 6s366ms 1s273ms 07 3 4s150ms 1s383ms 08 6 7s281ms 1s213ms 09 3 3s688ms 1s229ms 10 1 1s245ms 1s245ms 11 2 2s619ms 1s309ms 13 3 3s668ms 1s222ms 14 2 2s446ms 1s223ms 15 5 6s508ms 1s301ms 16 2 2s449ms 1s224ms 17 4 4s908ms 1s227ms 18 5 6s332ms 1s266ms 19 1 1s187ms 1s187ms 20 3 3s676ms 1s225ms 21 3 3s803ms 1s267ms 22 1 1s226ms 1s226ms [ User: pubeu - Total duration: 4m - Times executed: 189 ]
[ User: qaeu - Total duration: 5s534ms - Times executed: 4 ]
-
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 = '1217771') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1217771') 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-11-26 09:55:46 Duration: 3s390ms 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 = '1225071') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1225071') 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-11-25 06:40:47 Duration: 2s378ms 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 = '1235942') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1235942') 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-11-28 07:58:55 Duration: 1s531ms Database: ctdprd51 User: pubeu Bind query: yes
3 580 37m52s 3s650ms 13s987ms 3s917ms 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 Nov 24 00 1 3s933ms 3s933ms 01 3 11s402ms 3s800ms 02 1 3s777ms 3s777ms 03 1 4s46ms 4s46ms 04 1 3s904ms 3s904ms 05 9 34s937ms 3s881ms 06 1 3s850ms 3s850ms 07 2 7s763ms 3s881ms 08 3 11s343ms 3s781ms 09 2 7s698ms 3s849ms 10 2 7s658ms 3s829ms 11 4 15s276ms 3s819ms 13 1 3s850ms 3s850ms 15 1 3s878ms 3s878ms 16 6 23s445ms 3s907ms 17 1 4s8ms 4s8ms 18 1 3s892ms 3s892ms 19 8 30s538ms 3s817ms 20 22 1m24s 3s832ms 21 2 8s74ms 4s37ms 22 5 19s567ms 3s913ms 23 4 15s541ms 3s885ms Nov 25 00 11 42s14ms 3s819ms 01 1 3s803ms 3s803ms 02 3 11s596ms 3s865ms 03 3 11s936ms 3s978ms 04 2 7s564ms 3s782ms 05 4 25s671ms 6s417ms 07 12 45s477ms 3s789ms 08 20 1m16s 3s820ms 09 3 11s415ms 3s805ms 12 1 3s888ms 3s888ms 13 1 3s974ms 3s974ms 14 1 3s928ms 3s928ms 15 2 7s777ms 3s888ms 17 27 1m44s 3s857ms 19 1 4s36ms 4s36ms 20 1 3s776ms 3s776ms 21 7 27s45ms 3s863ms Nov 26 05 4 15s775ms 3s943ms 06 5 19s322ms 3s864ms 07 1 4s195ms 4s195ms 08 2 7s729ms 3s864ms 09 2 7s579ms 3s789ms 10 2 7s749ms 3s874ms 12 4 16s331ms 4s82ms 14 1 3s920ms 3s920ms 15 1 3s881ms 3s881ms 17 9 35s616ms 3s957ms 18 10 40s223ms 4s22ms 19 4 15s664ms 3s916ms 20 23 1m30s 3s931ms 21 18 1m10s 3s921ms 22 8 31s292ms 3s911ms Nov 27 00 2 7s678ms 3s839ms 01 4 15s329ms 3s832ms 03 4 15s653ms 3s913ms 04 11 43s280ms 3s934ms 05 7 28s764ms 4s109ms 06 1 3s753ms 3s753ms 08 2 7s980ms 3s990ms 09 2 7s967ms 3s983ms 17 2 7s803ms 3s901ms 19 1 4s87ms 4s87ms 20 11 42s908ms 3s900ms 21 31 2m 3s897ms 22 4 15s282ms 3s820ms 23 12 47s265ms 3s938ms Nov 28 00 19 1m14s 3s926ms 01 1 3s876ms 3s876ms 02 9 35s162ms 3s906ms 03 7 27s555ms 3s936ms 04 1 3s871ms 3s871ms 05 2 8s38ms 4s19ms 06 2 7s845ms 3s922ms 07 4 15s842ms 3s960ms 09 1 3s832ms 3s832ms 10 2 7s817ms 3s908ms 11 12 46s969ms 3s914ms 12 1 3s872ms 3s872ms 13 2 7s854ms 3s927ms 15 3 11s914ms 3s971ms 18 2 8s33ms 4s16ms 19 2 7s845ms 3s922ms 22 12 46s360ms 3s863ms 23 5 19s871ms 3s974ms Nov 29 00 20 1m18s 3s929ms 01 11 43s77ms 3s916ms 02 18 1m9s 3s884ms 03 6 23s804ms 3s967ms 04 7 26s997ms 3s856ms 07 1 3s954ms 3s954ms 09 6 24s748ms 4s124ms 10 2 8s112ms 4s56ms 12 2 7s882ms 3s941ms 13 1 4s177ms 4s177ms 14 1 3s920ms 3s920ms 15 3 12s119ms 4s39ms 17 1 3s769ms 3s769ms 18 1 3s748ms 3s748ms 20 1 4s24ms 4s24ms 21 1 4s160ms 4s160ms 22 1 4s67ms 4s67ms Nov 30 00 1 4s97ms 4s97ms 06 2 7s643ms 3s821ms 07 1 4s171ms 4s171ms 09 1 3s783ms 3s783ms 13 2 7s746ms 3s873ms 14 1 4s103ms 4s103ms 15 1 4s82ms 4s82ms 20 3 11s470ms 3s823ms 21 20 1m16s 3s820ms 22 9 34s371ms 3s819ms [ User: pubeu - Total duration: 14m27s - Times executed: 220 ]
[ User: qaeu - Total duration: 12s193ms - Times executed: 3 ]
-
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 = '1434600') 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 = '1434600') 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-11-25 05:34:00 Duration: 13s987ms 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 = '1413172') 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 = '1413172') 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-11-29 09:03:09 Duration: 4s790ms 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 = '1404994') 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 = '1404994') 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-11-27 05:45:40 Duration: 4s377ms Database: ctdprd51 User: pubeu Bind query: yes
4 549 13m32s 1s442ms 1s677ms 1s480ms 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 #4
Day Hour Count Duration Avg duration Nov 24 05 3 4s444ms 1s481ms 14 1 1s460ms 1s460ms 22 1 1s470ms 1s470ms Nov 25 00 1 1s456ms 1s456ms 03 1 1s465ms 1s465ms 05 3 4s382ms 1s460ms 12 1 1s544ms 1s544ms 21 1 1s487ms 1s487ms Nov 26 05 10 14s710ms 1s471ms 06 12 17s686ms 1s473ms 07 9 13s260ms 1s473ms 08 10 14s809ms 1s480ms 09 10 14s557ms 1s455ms 10 7 10s221ms 1s460ms 11 7 10s364ms 1s480ms 12 14 20s895ms 1s492ms 13 12 17s735ms 1s477ms 14 13 19s228ms 1s479ms 15 15 22s176ms 1s478ms 16 14 20s683ms 1s477ms 17 6 8s802ms 1s467ms 18 10 14s727ms 1s472ms 19 15 22s278ms 1s485ms 20 14 20s908ms 1s493ms 21 16 23s633ms 1s477ms 22 15 22s101ms 1s473ms 23 16 23s620ms 1s476ms Nov 27 00 13 19s378ms 1s490ms 01 15 22s180ms 1s478ms 02 14 20s518ms 1s465ms 03 15 22s215ms 1s481ms 04 15 22s164ms 1s477ms 05 16 24s76ms 1s504ms 06 14 21s90ms 1s506ms 07 12 17s909ms 1s492ms 08 13 19s251ms 1s480ms 09 14 21s89ms 1s506ms 10 14 20s896ms 1s492ms 11 10 14s768ms 1s476ms 12 10 14s729ms 1s472ms 13 9 13s289ms 1s476ms 14 12 17s782ms 1s481ms 15 12 17s705ms 1s475ms 16 11 16s157ms 1s468ms 17 15 22s89ms 1s472ms 18 14 20s724ms 1s480ms 19 14 20s565ms 1s468ms 20 14 20s681ms 1s477ms 21 15 22s221ms 1s481ms 22 1 1s483ms 1s483ms Nov 28 04 1 1s477ms 1s477ms 05 3 4s414ms 1s471ms 10 1 1s463ms 1s463ms 11 2 2s945ms 1s472ms 19 1 1s472ms 1s472ms 20 1 1s482ms 1s482ms Nov 29 05 2 2s995ms 1s497ms 10 1 1s481ms 1s481ms 11 1 1s476ms 1s476ms 12 1 1s470ms 1s470ms 16 1 1s473ms 1s473ms 20 1 1s495ms 1s495ms Nov 30 05 2 2s952ms 1s476ms 06 1 1s492ms 1s492ms 09 1 1s476ms 1s476ms [ User: pubeu - Total duration: 4m42s - Times executed: 191 ]
-
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-11-26 20:19:42 Duration: 1s677ms 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-11-26 12:18:50 Duration: 1s638ms 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-11-27 05:52:26 Duration: 1s630ms Bind query: yes
5 381 8m43s 1s157ms 7s198ms 1s374ms 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 Nov 24 00 3 4s128ms 1s376ms 01 5 6s323ms 1s264ms 03 3 3s761ms 1s253ms 04 6 8s201ms 1s366ms 05 4 5s282ms 1s320ms 06 3 3s793ms 1s264ms 07 8 9s884ms 1s235ms 08 2 2s384ms 1s192ms 09 10 12s514ms 1s251ms 10 3 3s876ms 1s292ms 11 4 4s920ms 1s230ms 12 2 2s598ms 1s299ms 13 2 2s464ms 1s232ms 14 3 3s829ms 1s276ms 15 3 3s779ms 1s259ms 16 6 7s993ms 1s332ms 17 7 9s363ms 1s337ms 19 2 2s534ms 1s267ms 20 2 2s402ms 1s201ms 21 1 1s245ms 1s245ms 22 1 1s266ms 1s266ms 23 4 4s986ms 1s246ms Nov 25 00 1 1s211ms 1s211ms 02 1 1s213ms 1s213ms 03 2 2s442ms 1s221ms 05 2 2s750ms 1s375ms 06 1 1s221ms 1s221ms 08 2 2s550ms 1s275ms 09 1 1s360ms 1s360ms 10 1 1s321ms 1s321ms 12 2 2s651ms 1s325ms 14 1 1s228ms 1s228ms 15 2 2s530ms 1s265ms 16 2 2s526ms 1s263ms 17 2 2s429ms 1s214ms 18 3 3s797ms 1s265ms 19 1 1s322ms 1s322ms 20 7 8s614ms 1s230ms 21 2 2s646ms 1s323ms Nov 26 05 3 4s555ms 1s518ms 06 1 1s258ms 1s258ms 09 2 2s593ms 1s296ms 10 2 2s599ms 1s299ms 11 2 2s812ms 1s406ms 12 2 2s767ms 1s383ms 13 1 1s277ms 1s277ms 14 29 43s855ms 1s512ms 15 1 1s278ms 1s278ms 18 1 1s157ms 1s157ms 19 2 2s474ms 1s237ms 21 3 3s797ms 1s265ms 23 2 2s576ms 1s288ms Nov 27 00 1 1s548ms 1s548ms 01 2 2s662ms 1s331ms 02 3 3s773ms 1s257ms 03 3 3s914ms 1s304ms 04 4 5s74ms 1s268ms 05 17 22s421ms 1s318ms 06 12 15s505ms 1s292ms 07 10 12s255ms 1s225ms 08 1 1s212ms 1s212ms 09 20 24s991ms 1s249ms 10 15 18s940ms 1s262ms 11 1 1s259ms 1s259ms 14 6 8s480ms 1s413ms 15 2 2s440ms 1s220ms 16 3 3s621ms 1s207ms 18 1 1s272ms 1s272ms 19 1 1s263ms 1s263ms 21 2 2s543ms 1s271ms 22 2 2s637ms 1s318ms 23 1 1s297ms 1s297ms Nov 28 00 4 5s290ms 1s322ms 01 2 2s569ms 1s284ms 02 3 3s810ms 1s270ms 03 4 5s49ms 1s262ms 04 1 1s247ms 1s247ms 05 2 2s702ms 1s351ms 11 3 3s742ms 1s247ms 13 1 1s217ms 1s217ms 14 1 1s278ms 1s278ms 15 1 1s256ms 1s256ms 16 2 2s393ms 1s196ms 17 1 1s303ms 1s303ms 18 1 1s336ms 1s336ms 20 1 1s262ms 1s262ms 21 2 2s667ms 1s333ms 22 1 1s274ms 1s274ms 23 1 1s173ms 1s173ms Nov 29 01 3 3s908ms 1s302ms 03 1 1s351ms 1s351ms 05 2 2s714ms 1s357ms 06 1 1s268ms 1s268ms 08 1 1s274ms 1s274ms 09 5 34s843ms 6s968ms 10 1 1s344ms 1s344ms 11 1 1s270ms 1s270ms 12 3 3s895ms 1s298ms 13 1 1s215ms 1s215ms 14 3 3s639ms 1s213ms 15 1 1s331ms 1s331ms 16 3 3s733ms 1s244ms 17 1 1s173ms 1s173ms 18 1 1s238ms 1s238ms 21 3 3s750ms 1s250ms 23 3 3s787ms 1s262ms Nov 30 01 3 3s960ms 1s320ms 03 5 6s104ms 1s220ms 05 3 3s988ms 1s329ms 06 1 1s209ms 1s209ms 08 2 2s359ms 1s179ms 09 1 1s299ms 1s299ms 11 3 4s875ms 1s625ms 12 4 5s4ms 1s251ms 13 1 1s217ms 1s217ms 14 4 4s893ms 1s223ms 15 2 2s574ms 1s287ms 17 3 3s626ms 1s208ms 18 2 2s564ms 1s282ms 19 3 3s891ms 1s297ms 20 1 1s255ms 1s255ms 21 1 1s279ms 1s279ms 22 1 1s351ms 1s351ms 23 1 1s371ms 1s371ms [ User: pubeu - Total duration: 2m32s - Times executed: 117 ]
[ User: qaeu - Total duration: 2s657ms - Times executed: 2 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.disease_id in ( select descendant_object_id from dag_path where ancestor_object_id = '2084331') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2084331') 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-11-29 09:02:06 Duration: 7s198ms 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 = '2084331') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2084331') 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-11-29 09:02:07 Duration: 7s88ms 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 = '2084331') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2084331') 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-11-29 09:02:08 Duration: 6s996ms Bind query: yes
6 343 8m11s 1s318ms 1s722ms 1s432ms 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 #6
Day Hour Count Duration Avg duration Nov 24 03 2 2s717ms 1s358ms 05 2 2s714ms 1s357ms 11 1 1s359ms 1s359ms 16 1 1s403ms 1s403ms 19 1 1s397ms 1s397ms 22 4 5s461ms 1s365ms Nov 25 02 1 1s355ms 1s355ms 05 2 2s762ms 1s381ms 06 1 1s383ms 1s383ms 09 1 1s355ms 1s355ms 10 1 1s348ms 1s348ms 12 1 1s567ms 1s567ms 20 1 1s355ms 1s355ms 21 3 4s115ms 1s371ms Nov 26 05 4 5s503ms 1s375ms 06 5 6s843ms 1s368ms 07 5 6s890ms 1s378ms 08 7 9s557ms 1s365ms 09 6 8s244ms 1s374ms 10 6 8s463ms 1s410ms 11 5 7s370ms 1s474ms 12 6 8s801ms 1s466ms 13 7 9s932ms 1s418ms 14 5 7s368ms 1s473ms 15 9 12s550ms 1s394ms 16 7 10s279ms 1s468ms 17 3 4s342ms 1s447ms 18 6 8s179ms 1s363ms 19 7 9s629ms 1s375ms 20 11 15s595ms 1s417ms 21 8 11s417ms 1s427ms 22 11 15s737ms 1s430ms 23 8 11s510ms 1s438ms Nov 27 00 7 10s5ms 1s429ms 01 7 9s971ms 1s424ms 02 11 15s760ms 1s432ms 03 8 11s675ms 1s459ms 04 7 10s15ms 1s430ms 05 10 14s953ms 1s495ms 06 7 10s412ms 1s487ms 07 8 11s773ms 1s471ms 08 6 8s897ms 1s482ms 09 11 16s291ms 1s481ms 10 9 13s655ms 1s517ms 11 4 5s781ms 1s445ms 12 5 7s202ms 1s440ms 13 4 5s764ms 1s441ms 14 6 8s750ms 1s458ms 15 5 7s89ms 1s417ms 16 5 7s37ms 1s407ms 17 7 10s49ms 1s435ms 18 7 10s195ms 1s456ms 19 7 10s23ms 1s431ms 20 10 14s376ms 1s437ms 21 7 10s209ms 1s458ms 23 3 4s327ms 1s442ms Nov 28 02 2 2s952ms 1s476ms 05 2 2s814ms 1s407ms 08 1 1s473ms 1s473ms 21 2 2s880ms 1s440ms Nov 29 00 2 2s869ms 1s434ms 04 4 5s455ms 1s363ms 05 2 2s778ms 1s389ms 06 4 5s840ms 1s460ms 09 3 4s282ms 1s427ms 20 1 1s420ms 1s420ms 22 4 5s864ms 1s466ms Nov 30 03 1 1s438ms 1s438ms 05 2 2s890ms 1s445ms 06 1 1s444ms 1s444ms 17 1 1s394ms 1s394ms 20 1 1s457ms 1s457ms 21 1 1s408ms 1s408ms [ User: pubeu - Total duration: 2m53s - Times executed: 121 ]
-
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-11-27 09:09:18 Duration: 1s722ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2024-11-27 10:09:58 Duration: 1s630ms Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2024-11-27 20:15:06 Duration: 1s629ms Bind query: yes
7 224 50m40s 4s25ms 34m17s 13s573ms select g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ? || d.acc_txt "DiseaseID", case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ? order by a.action_type_nm) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", string_agg(gdr.source_acc_txt, ? order by gdr.source_acc_txt) "OmimIDs", string_agg(r.acc_txt, ? order by r.acc_txt) "PubMedIDs" from gene_disease_reference gdr inner join term g on gdr.gene_id = g.id inner join term d on gdr.disease_id = d.id left outer join reference r on gdr.reference_id = r.id left outer join term c on gdr.via_chem_id = c.id group by g.nm, g.acc_txt, d.nm, d.acc_db_cd || ? || d.acc_txt, case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ? order by a.action_type_nm) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end, c.nm, gdr.network_score order by g.nm, d.nm;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Nov 25 13 72 39m28s 32s896ms 14 152 11m11s 4s420ms [ User: qaeu - Total duration: 34m17s - Times executed: 1 ]
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2024-11-25 13:48:18 Duration: 34m17s Database: ctdprd51 User: qaeu Bind query: yes
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2024-11-25 14:07:21 Duration: 5s846ms Bind query: yes
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2024-11-25 13:54:40 Duration: 5s700ms Bind query: yes
8 217 15m22s 1s 6s593ms 4s250ms select d.abbr dagabbr, d.nm dagnm, gt.level_min_no daglevelmin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pvalcorrected, te.raw_p_val pvalraw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, count(*) over () fullrowcount from term_enrichment te inner join dag_node gt on te.enriched_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, d.abbr, gt.nm_sort limit ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Nov 24 00 7 27s537ms 3s933ms 04 7 32s307ms 4s615ms 05 3 15s411ms 5s137ms 06 1 1s24ms 1s24ms 08 3 15s4ms 5s1ms 10 3 15s557ms 5s185ms 12 2 5s747ms 2s873ms 22 4 19s66ms 4s766ms 23 2 9s245ms 4s622ms Nov 25 00 2 9s765ms 4s882ms 01 6 29s200ms 4s866ms 02 7 21s897ms 3s128ms 04 3 14s553ms 4s851ms 06 1 5s301ms 5s301ms 08 1 5s403ms 5s403ms 09 6 29s855ms 4s975ms 12 1 4s720ms 4s720ms 17 2 10s278ms 5s139ms 19 5 24s911ms 4s982ms Nov 26 06 2 9s922ms 4s961ms 09 1 4s630ms 4s630ms 10 1 1s 1s 11 1 5s605ms 5s605ms 12 2 2s124ms 1s62ms 14 14 1m2s 4s496ms 15 1 1s38ms 1s38ms 22 8 43s217ms 5s402ms Nov 27 00 1 5s560ms 5s560ms 03 1 1s50ms 1s50ms 04 2 11s85ms 5s542ms 05 4 13s101ms 3s275ms 06 5 29s535ms 5s907ms 07 4 23s33ms 5s758ms 08 4 23s113ms 5s778ms 09 2 10s969ms 5s484ms 10 11 35s608ms 3s237ms 11 3 7s716ms 2s572ms 14 2 6s480ms 3s240ms 15 2 10s813ms 5s406ms 16 2 10s969ms 5s484ms 17 1 1s59ms 1s59ms 18 1 5s503ms 5s503ms 20 1 1s54ms 1s54ms 21 5 23s308ms 4s661ms 23 3 12s417ms 4s139ms Nov 28 01 1 5s525ms 5s525ms 02 2 11s169ms 5s584ms 03 6 29s135ms 4s855ms 05 1 1s58ms 1s58ms 08 1 1s48ms 1s48ms 09 5 18s429ms 3s685ms 10 1 1s30ms 1s30ms 11 1 1s57ms 1s57ms 12 1 5s545ms 5s545ms 13 1 1s46ms 1s46ms 16 1 1s44ms 1s44ms 17 5 22s968ms 4s593ms 19 2 6s688ms 3s344ms 21 3 16s154ms 5s384ms Nov 29 02 3 7s620ms 2s540ms 07 3 12s174ms 4s58ms 09 1 6s52ms 6s52ms 11 2 10s854ms 5s427ms 12 2 11s186ms 5s593ms 14 1 5s642ms 5s642ms 16 2 6s581ms 3s290ms 17 1 5s404ms 5s404ms 19 1 1s50ms 1s50ms 21 1 1s61ms 1s61ms 22 1 1s64ms 1s64ms Nov 30 02 1 1s65ms 1s65ms 03 1 5s701ms 5s701ms 04 1 5s564ms 5s564ms 06 2 2s118ms 1s59ms 07 7 28s965ms 4s137ms 08 1 5s848ms 5s848ms 18 2 10s997ms 5s498ms 20 1 5s440ms 5s440ms 21 1 5s354ms 5s354ms 23 1 1s26ms 1s26ms [ User: pubeu - Total duration: 5m18s - Times executed: 76 ]
-
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 = '1417543' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-11-26 22:24:04 Duration: 6s593ms 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 = '1418885' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-11-27 06:43:23 Duration: 6s530ms 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 = '1415944' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-11-26 14:13:58 Duration: 6s492ms Database: ctdprd51 User: pubeu Bind query: yes
9 161 40m58s 1s16ms 13m 15s269ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Nov 24 00 6 7s519ms 1s253ms 01 6 13s789ms 2s298ms 04 19 2m32s 8s40ms 05 3 37s994ms 12s664ms 07 6 19s225ms 3s204ms 08 10 24s62ms 2s406ms 09 1 1s635ms 1s635ms 22 3 10s113ms 3s371ms 23 3 10s117ms 3s372ms Nov 25 08 1 2s310ms 2s310ms 17 1 7s309ms 7s309ms 21 6 3m2s 30s368ms 22 2 26m 13m Nov 26 05 4 4s239ms 1s59ms 12 1 16s320ms 16s320ms 18 2 16s966ms 8s483ms 20 1 1s476ms 1s476ms Nov 27 05 2 52s950ms 26s475ms 09 5 11s483ms 2s296ms 10 6 25s286ms 4s214ms 22 1 1s58ms 1s58ms Nov 28 00 8 11s401ms 1s425ms 02 4 6s727ms 1s681ms 03 10 12s504ms 1s250ms 04 1 1s516ms 1s516ms 05 1 1s596ms 1s596ms 08 1 1s64ms 1s64ms Nov 29 02 2 1m1s 30s687ms 03 3 1m 20s266ms 07 11 35s810ms 3s255ms 08 18 58s207ms 3s233ms 09 1 2s326ms 2s326ms 15 1 14s754ms 14s754ms 16 2 3s392ms 1s696ms 18 1 1s179ms 1s179ms 20 2 6s15ms 3s7ms Nov 30 02 2 2s565ms 1s282ms 04 1 12s667ms 12s667ms 12 1 1s994ms 1s994ms 20 2 3s344ms 1s672ms [ User: pubeu - Total duration: 17m58s - Times executed: 73 ]
-
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 = '2087497') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-11-25 22:07:25 Duration: 13m 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 = '2087497') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-11-25 22:07:25 Duration: 13m 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 = '2087497') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-11-25 21:54:48 Duration: 32s149ms Bind query: yes
10 160 8m20s 1s1ms 24s352ms 3s127ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Nov 24 00 2 3s 1s500ms 03 3 11s182ms 3s727ms 04 1 1s169ms 1s169ms 05 1 1s322ms 1s322ms 06 1 4s777ms 4s777ms 07 2 2s483ms 1s241ms 10 5 26s368ms 5s273ms 11 2 2s138ms 1s69ms 14 1 1s343ms 1s343ms 17 1 2s378ms 2s378ms 18 2 3s394ms 1s697ms 20 2 4s926ms 2s463ms 23 1 2s489ms 2s489ms Nov 25 02 3 6s463ms 2s154ms 04 1 1s860ms 1s860ms 05 1 2s458ms 2s458ms 10 1 1s43ms 1s43ms 13 1 1s486ms 1s486ms 20 1 2s525ms 2s525ms 21 2 5s13ms 2s506ms Nov 26 09 3 8s765ms 2s921ms 10 1 1s26ms 1s26ms 14 10 33s503ms 3s350ms 17 11 44s142ms 4s12ms 18 25 1m22s 3s295ms 19 4 9s63ms 2s265ms 20 2 3s530ms 1s765ms 21 10 25s285ms 2s528ms 22 2 10s715ms 5s357ms 23 2 10s112ms 5s56ms Nov 27 00 1 2s380ms 2s380ms 03 2 2s581ms 1s290ms 05 3 4s524ms 1s508ms 07 3 8s318ms 2s772ms 08 1 2s430ms 2s430ms 09 5 13s48ms 2s609ms 10 6 17s372ms 2s895ms 20 1 2s469ms 2s469ms 21 2 5s197ms 2s598ms 22 1 2s398ms 2s398ms Nov 28 01 1 2s506ms 2s506ms 11 1 2s382ms 2s382ms 15 1 4s512ms 4s512ms 20 1 2s465ms 2s465ms 23 1 2s542ms 2s542ms Nov 29 01 1 1s19ms 1s19ms 02 3 10s125ms 3s375ms 03 1 2s606ms 2s606ms 05 2 2s380ms 1s190ms 07 3 7s9ms 2s336ms 08 3 3s615ms 1s205ms 09 3 49s768ms 16s589ms 17 1 2s408ms 2s408ms 21 1 2s618ms 2s618ms Nov 30 09 2 9s745ms 4s872ms 11 2 7s326ms 3s663ms 20 3 5s829ms 1s943ms 22 1 4s457ms 4s457ms [ User: pubeu - Total duration: 3m15s - Times executed: 66 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2084331') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-11-29 09:02:13 Duration: 24s352ms Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2084331') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-11-29 09:02:13 Duration: 23s871ms 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 = '2076748') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-11-24 10:48:36 Duration: 11s647ms Bind query: yes
11 89 3m35s 1s5ms 5s457ms 2s426ms select e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, ( select string_agg(distinct stressorterm.nm || ? || ( select cd from object_type where id = stressorterm.object_type_id) || ? || stressorterm.nm_html || ? || stressorterm.acc_txt || ? || stressorterm.acc_db_cd, ?)) as stressoragents, ( select string_agg(distinct coalesce(receptorterm.nm, ?) || ? || coalesce(( select cd from object_type where id = receptorterm.object_type_id), ?) || ? || coalesce(receptorterm.nm_html, ?) || ? || coalesce(receptorterm.acc_txt, ?) || ? || coalesce(receptorterm.acc_db_cd, ?) || ? || receptor.description, ?)) as receptors, ( select string_agg(distinct country.nm, ?)) as studycountries, ( select string_agg(distinct location.locality_txt, ?)) as localities, ( select string_agg(distinct event.medium_nm || ? || coalesce(event.medium_term_acc_txt, ?), ?)) as assaymediums, ( select string_agg(distinct exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd, ?)) as assayedmarkers, ( select string_agg(distinct diseaseterm.nm || ? || ( select cd from object_type where id = diseaseterm.object_type_id) || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd, ?)) as diseases, ( select string_agg(distinct phenotypeterm.nm || ? || ( select cd from object_type where id = phenotypeterm.object_type_id) || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd, ?)) as phenotypes, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, re.author_summary summary, count(*) over () fullrowcount from exposure e inner join reference r on e.reference_id = r.id inner join exp_stressor stressor on e.exp_stressor_id = stressor.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join term receptorterm on receptor.term_id = receptorterm.id left outer join exp_event event on e.exp_event_id = event.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join exp_event_location location on e.exp_event_id = location.exp_event_id left outer join country on location.country_id = country.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id inner join reference_exp re on e.reference_id = re.reference_id left outer join exp_study_factor expstudyfactor on re.id = expstudyfactor.reference_exp_id where e.reference_id = any (array ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like ?) and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressoragents limit ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Nov 24 04 11 24s823ms 2s256ms 10 7 17s906ms 2s558ms 20 1 1s131ms 1s131ms Nov 25 01 9 22s543ms 2s504ms 06 1 1s203ms 1s203ms Nov 26 05 1 1s93ms 1s93ms 14 9 24s723ms 2s747ms 18 2 3s954ms 1s977ms 21 2 2s370ms 1s185ms 22 9 21s277ms 2s364ms Nov 27 06 1 1s46ms 1s46ms 07 2 7s872ms 3s936ms 21 9 22s732ms 2s525ms Nov 28 02 1 2s550ms 2s550ms 17 9 22s423ms 2s491ms Nov 29 00 1 1s60ms 1s60ms 12 5 14s422ms 2s884ms Nov 30 07 9 22s841ms 2s537ms [ User: pubeu - Total duration: 44s281ms - Times executed: 20 ]
-
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-11-26 14:10:55 Duration: 5s457ms 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-11-29 12:33:20 Duration: 4s811ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '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-11-30 07:29:46 Duration: 4s804ms Bind query: yes
12 88 3m54s 1s31ms 6s850ms 2s668ms 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 #12
Day Hour Count Duration Avg duration Nov 24 04 8 21s883ms 2s735ms 09 2 2s429ms 1s214ms 10 5 14s183ms 2s836ms Nov 25 01 8 21s548ms 2s693ms 06 2 5s441ms 2s720ms Nov 26 14 11 28s490ms 2s590ms 18 1 1s384ms 1s384ms 22 9 23s352ms 2s594ms Nov 27 04 1 2s945ms 2s945ms 07 2 9s3ms 4s501ms 21 10 25s477ms 2s547ms Nov 28 06 1 6s218ms 6s218ms 17 10 24s976ms 2s497ms Nov 29 12 8 22s111ms 2s763ms Nov 30 07 10 25s408ms 2s540ms [ User: pubeu - Total duration: 53s770ms - Times executed: 19 ]
-
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-11-26 14:10:56 Duration: 6s850ms 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-11-28 06:38:04 Duration: 6s218ms 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 = '1394946'))) 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-11-24 10:16:39 Duration: 6s215ms Database: ctdprd51 User: pubeu Bind query: yes
13 60 2m25s 1s1ms 5s822ms 2s430ms select * from ( select g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, count(*) over () fullrowcount from term g where g.id in ( select gt.gene_id from dag_path dp inner join gene_taxon gt on dp.descendant_object_id = gt.taxon_id where dp.ancestor_object_id = ? union all select gcr.gene_id from dag_path dp inner join gene_chem_reference gcr on dp.descendant_object_id = gcr.taxon_id where dp.ancestor_object_id = ?) offset ?) mq order by mq.genesymbolsort limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Nov 24 05 1 1s673ms 1s673ms 17 12 28s835ms 2s402ms Nov 25 12 1 1s358ms 1s358ms 14 3 5s385ms 1s795ms 15 10 25s263ms 2s526ms Nov 26 21 1 5s706ms 5s706ms Nov 27 05 6 12s684ms 2s114ms 06 1 2s378ms 2s378ms 07 2 5s483ms 2s741ms 09 1 2s588ms 2s588ms 12 9 28s449ms 3s161ms Nov 28 01 2 2s107ms 1s53ms 05 3 15s249ms 5s83ms 18 1 1s1ms 1s1ms Nov 29 01 1 1s16ms 1s16ms 03 1 1s7ms 1s7ms 15 1 1s10ms 1s10ms 20 1 1s568ms 1s568ms Nov 30 05 1 1s9ms 1s9ms 12 1 1s46ms 1s46ms 18 1 1s6ms 1s6ms [ User: pubeu - Total duration: 36s441ms - Times executed: 17 ]
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '654815' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '654815') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-11-27 12:13:22 Duration: 5s822ms Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '654815' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '654815') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-11-28 05:14:32 Duration: 5s811ms Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '654815' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '654815') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-11-28 05:11:44 Duration: 5s744ms Database: ctdprd51 User: pubeu Bind query: yes
14 59 2m16s 1s 3s641ms 2s310ms with recursive sub_node ( object_id, id, path, lvl ) as ( select n.object_id, n.id, array[n.nm_sort], ? from dag_node n where n.object_id = ? union all select n.object_id, n.id, cast(path || n.nm_sort as varchar(?)[]), sn.lvl + ? from dag_node n inner join sub_node sn on (n.parent_id = sn.id)) select distinct t.nm prinm, t.nm_html prinmhtml, t.secondary_nm secondarynm, t.acc_db_cd accdbcd, t.acc_txt termacc, t.is_leaf isleaf, t.has_chems haschems, t.has_diseases hasdiseases, t.has_exposures hasexposures, t.has_genes hasgenes, sn.lvl, sn.path, max(sn.lvl) over () maxlvl, t.has_phenotypes hasphenotypes from sub_node sn inner join term t on sn.object_id = t.id where sn.lvl <= ? order by sn.path;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Nov 24 05 4 8s957ms 2s239ms 17 1 3s326ms 3s326ms 18 1 2s585ms 2s585ms Nov 25 05 4 8s815ms 2s203ms 11 1 1s928ms 1s928ms 12 2 4s764ms 2s382ms 14 1 1s931ms 1s931ms 15 11 24s103ms 2s191ms Nov 26 05 4 9s169ms 2s292ms 10 2 4s636ms 2s318ms 21 1 3s524ms 3s524ms Nov 27 05 6 13s353ms 2s225ms 09 1 1s990ms 1s990ms 12 1 3s350ms 3s350ms Nov 28 04 4 10s141ms 2s535ms 05 4 8s768ms 2s192ms 06 1 1s906ms 1s906ms Nov 29 05 4 8s988ms 2s247ms 09 1 3s292ms 3s292ms 15 1 1s910ms 1s910ms Nov 30 05 4 8s866ms 2s216ms [ User: pubeu - Total duration: 54s965ms - Times executed: 19 ]
[ User: qaeu - Total duration: 27s625ms - Times executed: 8 ]
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '594258' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2024-11-25 12:35:23 Duration: 3s641ms Database: ctdprd51 User: qaeu Bind query: yes
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '594258' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2024-11-26 05:40:13 Duration: 3s582ms Database: ctdprd51 User: qaeu Bind query: yes
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '594258' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2024-11-26 10:58:55 Duration: 3s548ms Database: ctdprd51 User: pubeu Bind query: yes
15 56 8m1s 1s24ms 24s269ms 8s593ms select sq.*, count(*) over () fullrowcount from ( select distinct gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid from dag_node gt inner join gene_go_annot gga on gt.object_id = gga.go_term_id inner join term g on gga.gene_id = g.id where gt.id in ( select p.descendant_dag_node_id from dag_path p where p.ancestor_object_id = ?) and gga.is_not = false) sq order by sq.gonmsort, sq.genesymbolsort limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Nov 24 00 2 6s336ms 3s168ms 01 1 2s254ms 2s254ms 02 5 1m44s 20s987ms 03 1 21s473ms 21s473ms 11 1 1s65ms 1s65ms 15 1 1s124ms 1s124ms 16 1 3s15ms 3s15ms 17 3 3s919ms 1s306ms 22 2 42s562ms 21s281ms Nov 25 00 2 2s124ms 1s62ms 06 4 14s915ms 3s728ms 15 1 1s215ms 1s215ms 16 4 23s950ms 5s987ms Nov 26 09 3 1m11s 23s771ms 10 1 21s569ms 21s569ms 20 1 5s292ms 5s292ms 21 4 41s573ms 10s393ms Nov 27 03 2 2s331ms 1s165ms 04 1 4s355ms 4s355ms 05 1 2s374ms 2s374ms 07 2 3s591ms 1s795ms 09 4 54s587ms 13s646ms Nov 28 02 1 1s577ms 1s577ms 23 2 3s246ms 1s623ms Nov 29 02 1 1s276ms 1s276ms 08 1 10s794ms 10s794ms 13 1 17s129ms 17s129ms 23 2 6s695ms 3s347ms Nov 30 17 1 4s614ms 4s614ms [ User: pubeu - Total duration: 2m59s - Times executed: 19 ]
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1217771') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-11-26 09:56:03 Duration: 24s269ms Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1221429') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-11-27 09:56:53 Duration: 23s931ms Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1221429') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-11-27 09:56:47 Duration: 23s760ms Database: ctdprd51 User: pubeu Bind query: yes
16 53 2m6s 1s4ms 5s400ms 2s378ms 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 #16
Day Hour Count Duration Avg duration Nov 24 23 2 2s76ms 1s38ms Nov 26 06 7 15s667ms 2s238ms 07 8 17s199ms 2s149ms 08 18 39s465ms 2s192ms 09 10 21s113ms 2s111ms 20 2 2s64ms 1s32ms Nov 29 09 1 1s712ms 1s712ms Nov 30 03 4 21s463ms 5s365ms 05 1 5s300ms 5s300ms [ User: pubeu - Total duration: 33s440ms - Times executed: 12 ]
-
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', 'NEOHESPERIDIN_QT') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'NEOHESPERIDIN_QT') 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 'NEOHESPERIDIN_QT')) 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 'NEOHESPERIDIN_QT')) ii GROUP BY ii.cd;
Date: 2024-11-30 03:26:34 Duration: 5s400ms 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', 'NEOHESPERIDIN_QT') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'NEOHESPERIDIN_QT') 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 'NEOHESPERIDIN_QT')) 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 'NEOHESPERIDIN_QT')) ii GROUP BY ii.cd;
Date: 2024-11-30 03:26:34 Duration: 5s382ms 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', 'NEOHESPERIDIN_QT') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'NEOHESPERIDIN_QT') 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 'NEOHESPERIDIN_QT')) 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 'NEOHESPERIDIN_QT')) ii GROUP BY ii.cd;
Date: 2024-11-30 03:26:33 Duration: 5s360ms Database: ctdprd51 User: pubeu Bind query: yes
17 52 9m59s 11s67ms 13s218ms 11s520ms 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 #17
Day Hour Count Duration Avg duration Nov 26 22 5 56s255ms 11s251ms Nov 27 11 9 1m43s 11s533ms 14 6 1m11s 11s840ms 23 5 59s853ms 11s970ms Nov 28 00 2 22s579ms 11s289ms 21 4 44s947ms 11s236ms Nov 29 09 3 33s510ms 11s170ms 10 5 57s851ms 11s570ms 11 7 1m21s 11s644ms 13 4 45s66ms 11s266ms 14 2 22s620ms 11s310ms [ User: pubeu - Total duration: 5m10s - Times executed: 27 ]
-
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-11-27 14:26:45 Duration: 13s218ms 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-11-29 10:04:01 Duration: 12s824ms 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-11-29 11:22:19 Duration: 12s704ms Database: ctdprd51 User: pubeu Bind query: yes
18 45 1h36m58s 1s427ms 17m42s 2m9s 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 #18
Day Hour Count Duration Avg duration Nov 24 00 4 7m23s 1m50s 09 1 3m14s 3m14s 13 2 3s40ms 1s520ms Nov 25 06 1 17m26s 17m26s 16 5 9m32s 1m54s Nov 26 09 1 3s365ms 3s365ms 10 1 3s338ms 3s338ms 21 4 17m48s 4m27s Nov 27 04 1 2m42s 2m42s 05 12 19m8s 1m35s 06 3 7m28s 2m29s 07 1 3m46s 3m46s 21 1 1s622ms 1s622ms Nov 28 22 1 3s216ms 3s216ms Nov 29 04 1 4m19s 4m19s 06 2 3m43s 1m51s 15 1 1s427ms 1s427ms 23 1 3s276ms 3s276ms Nov 30 06 1 1s587ms 1s587ms 21 1 1s766ms 1s766ms [ User: pubeu - Total duration: 18m43s - Times executed: 17 ]
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1245241') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-11-26 21:30:55 Duration: 17m42s 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 = '1241583') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-11-25 06:57:59 Duration: 17m26s 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 = '1232154') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-11-25 16:54:16 Duration: 9m24s Bind query: yes
19 38 2m27s 1s50ms 26s416ms 3s888ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ? offset ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Nov 24 04 4 17s246ms 4s311ms 06 1 1s50ms 1s50ms 14 2 7s70ms 3s535ms 15 2 2s629ms 1s314ms 16 2 2s222ms 1s111ms 23 1 1s632ms 1s632ms Nov 25 02 1 1s311ms 1s311ms 15 1 8s299ms 8s299ms 21 2 4s74ms 2s37ms Nov 26 12 1 6s293ms 6s293ms 22 1 1s53ms 1s53ms Nov 27 01 1 7s979ms 7s979ms 04 2 2s726ms 1s363ms 07 7 38s772ms 5s538ms 09 1 7s117ms 7s117ms 19 1 26s416ms 26s416ms Nov 28 01 1 1s783ms 1s783ms 19 1 1s412ms 1s412ms Nov 29 05 1 2s605ms 2s605ms 09 2 2s510ms 1s255ms 17 2 2s151ms 1s75ms Nov 30 02 1 1s396ms 1s396ms [ User: pubeu - Total duration: 1m11s - Times executed: 13 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2084331') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 4315600;
Date: 2024-11-27 19:22:34 Duration: 26s416ms 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 = '2085568') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 1518600;
Date: 2024-11-27 07:37:36 Duration: 8s369ms 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 = '2081931') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 1518350;
Date: 2024-11-25 15:15:31 Duration: 8s299ms Database: ctdprd51 User: pubeu Bind query: yes
20 36 1m36s 2s548ms 3s54ms 2s679ms 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 gd.network_score desc nulls last, g.nm_sort, d.nm_sort;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Nov 24 16 1 2s727ms 2s727ms Nov 29 05 4 10s846ms 2s711ms 06 8 21s147ms 2s643ms 07 17 45s826ms 2s695ms 08 2 5s510ms 2s755ms 09 1 2s601ms 2s601ms 10 2 5s209ms 2s604ms 15 1 2s606ms 2s606ms [ User: pubeu - Total duration: 48s157ms - Times executed: 18 ]
-
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 = '2081332') ORDER BY gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-11-29 07:35:55 Duration: 3s54ms 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 = '2081332') ORDER BY gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-11-29 05:55:47 Duration: 2s942ms 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 = '2081332') ORDER BY gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-11-29 07:35:55 Duration: 2s929ms Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 23m55s 23m55s 23m55s 1 23m55s copy pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Nov 30 19 1 23m55s 23m55s -
COPY pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2024-11-30 19:01:00 Duration: 23m55s
2 23m49s 23m49s 23m49s 1 23m49s copy pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Nov 30 19 1 23m49s 23m49s -
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-11-30 19:42:32 Duration: 23m49s
3 19m18s 19m42s 19m31s 7 2h16m41s select maint_query_logs_archive ();Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Nov 24 00 1 19m18s 19m18s Nov 25 00 1 19m22s 19m22s Nov 26 00 1 19m20s 19m20s Nov 27 00 1 19m37s 19m37s Nov 28 00 1 19m42s 19m42s Nov 29 00 1 19m40s 19m40s Nov 30 00 1 19m40s 19m40s -
/* * 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-11-28 00:19:43 Duration: 19m42s
-
/* * 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-11-30 00:19:41 Duration: 19m40s
-
/* * 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-11-29 00:19:41 Duration: 19m40s
4 11m18s 11m18s 11m18s 1 11m18s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?)) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by c.nm_sort, g.nm_sort, i.sort_txt limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Nov 27 18 1 11m18s 11m18s -
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'SIRT1') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'BISPHENOL A' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-11-27 18:43:45 Duration: 11m18s Bind query: yes
5 10m29s 10m29s 10m29s 1 10m29s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by diseaseterm.nm_sort, phenotypeterm.nm_sort limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Nov 29 21 1 10m29s 10m29s [ User: pubeu - Total duration: 10m29s - 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 = '1240744') and diseaseTerm.object_type_id = 3 ORDER BY diseaseTerm.nm_sort, phenotypeTerm.nm_sort LIMIT 50;
Date: 2024-11-29 21:17:41 Duration: 10m29s Database: ctdprd51 User: pubeu Bind query: yes
6 4m37s 4m38s 4m37s 2 9m15s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by c.nm_sort, g.nm_sort, i.sort_txt limit ? offset ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Nov 27 10 2 9m15s 4m37s [ User: pubeu - Total duration: 4m37s - Times executed: 1 ]
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA04064' AND tp.pathway_acc_db_cd = 'KEGG'))) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50 OFFSET 50;
Date: 2024-11-27 10:10:03 Duration: 4m38s Bind query: yes
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA04064' AND tp.pathway_acc_db_cd = 'KEGG'))) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50 OFFSET 50;
Date: 2024-11-27 10:10:08 Duration: 4m37s Database: ctdprd51 User: pubeu Bind query: yes
7 43s719ms 11m45s 2m38s 10 26m20s 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 phenotypeterm.nm_sort, diseaseterm.nm_sort limit ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Nov 24 01 1 1m48s 1m48s 02 1 1m47s 1m47s Nov 27 05 1 43s719ms 43s719ms 10 6 10m15s 1m42s Nov 29 19 1 11m45s 11m45s [ User: pubeu - Total duration: 15m55s - Times executed: 4 ]
-
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 = '1236377') and diseaseTerm.object_type_id = 3 ORDER BY phenotypeTerm.nm_sort, diseaseTerm.nm_sort LIMIT 50;
Date: 2024-11-29 19:13:15 Duration: 11m45s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1213186') and diseaseTerm.object_type_id = 3 ORDER BY phenotypeTerm.nm_sort, diseaseTerm.nm_sort LIMIT 50;
Date: 2024-11-24 01:44:46 Duration: 1m48s 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 = '1213186') and diseaseTerm.object_type_id = 3 ORDER BY phenotypeTerm.nm_sort, diseaseTerm.nm_sort LIMIT 50;
Date: 2024-11-24 02:07:01 Duration: 1m47s Bind query: yes
8 1s427ms 17m42s 2m9s 45 1h36m58s 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 Nov 24 00 4 7m23s 1m50s 09 1 3m14s 3m14s 13 2 3s40ms 1s520ms Nov 25 06 1 17m26s 17m26s 16 5 9m32s 1m54s Nov 26 09 1 3s365ms 3s365ms 10 1 3s338ms 3s338ms 21 4 17m48s 4m27s Nov 27 04 1 2m42s 2m42s 05 12 19m8s 1m35s 06 3 7m28s 2m29s 07 1 3m46s 3m46s 21 1 1s622ms 1s622ms Nov 28 22 1 3s216ms 3s216ms Nov 29 04 1 4m19s 4m19s 06 2 3m43s 1m51s 15 1 1s427ms 1s427ms 23 1 3s276ms 3s276ms Nov 30 06 1 1s587ms 1s587ms 21 1 1s766ms 1s766ms [ User: pubeu - Total duration: 18m43s - Times executed: 17 ]
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1245241') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-11-26 21:30:55 Duration: 17m42s 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 = '1241583') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-11-25 06:57:59 Duration: 17m26s 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 = '1232154') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-11-25 16:54:16 Duration: 9m24s Bind query: yes
9 2s52ms 4m7s 1m30s 21 31m49s select r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refacc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, count(*) over () fullrowcount from reference r where r.id in ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?)) order by r.sort_txt limit ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Nov 26 09 1 3s233ms 3s233ms 22 2 5s592ms 2s796ms Nov 27 09 6 3m58s 39s789ms Nov 28 07 1 36s730ms 36s730ms Nov 29 04 1 24s145ms 24s145ms 09 9 26m38s 2m57s 19 1 2s52ms 2s52ms [ User: pubeu - Total duration: 27m34s - Times executed: 13 ]
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2084331')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-11-29 09:05:48 Duration: 4m7s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2084331')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-11-29 09:05:44 Duration: 4m4s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2084331')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-11-29 09:05:35 Duration: 3m53s Database: ctdprd51 User: pubeu Bind query: yes
10 38s392ms 39s348ms 38s815ms 25 16m10s 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 Nov 24 06 1 38s406ms 38s406ms 10 1 38s392ms 38s392ms 14 1 38s608ms 38s608ms 18 1 38s774ms 38s774ms Nov 25 06 1 38s487ms 38s487ms 10 1 38s394ms 38s394ms 14 1 39s83ms 39s83ms 18 1 38s450ms 38s450ms Nov 26 06 1 38s744ms 38s744ms 10 1 38s510ms 38s510ms 14 1 38s537ms 38s537ms 18 1 38s660ms 38s660ms Nov 27 06 1 38s973ms 38s973ms 10 1 38s928ms 38s928ms 14 1 38s790ms 38s790ms 18 1 38s609ms 38s609ms Nov 28 06 1 39s348ms 39s348ms 10 1 39s164ms 39s164ms 14 1 38s962ms 38s962ms 18 1 39s59ms 39s59ms Nov 29 06 1 39s247ms 39s247ms 10 1 39s99ms 39s99ms 14 1 39s52ms 39s52ms 18 1 39s126ms 39s126ms Nov 30 19 1 38s978ms 38s978ms [ User: postgres - Total duration: 15m31s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 15m31s - 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-11-28 06:05:41 Duration: 39s348ms 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-11-29 06:05:41 Duration: 39s247ms 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-11-28 10:05:41 Duration: 39s164ms Database: ctdprd51 User: postgres Application: pg_dump
11 17s198ms 20s642ms 19s503ms 31 10m4s select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Nov 24 14 3 59s884ms 19s961ms 15 1 19s695ms 19s695ms 20 5 1m40s 20s148ms 21 1 19s744ms 19s744ms Nov 25 18 1 19s133ms 19s133ms 20 1 20s181ms 20s181ms 21 2 39s412ms 19s706ms Nov 26 13 1 20s97ms 20s97ms Nov 27 09 6 1m53s 18s908ms 10 8 2m34s 19s282ms 17 1 19s49ms 19s49ms Nov 28 13 1 18s955ms 18s955ms [ User: pubeu - Total duration: 2m53s - Times executed: 9 ]
-
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 = '2081020') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-11-24 20:32:20 Duration: 20s642ms 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 = '2081020') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-11-24 20:20:21 Duration: 20s470ms 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 = '2081451') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-11-27 10:31:29 Duration: 20s332ms Bind query: yes
12 1s16ms 13m 15s269ms 161 40m58s 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 #12
Day Hour Count Duration Avg duration Nov 24 00 6 7s519ms 1s253ms 01 6 13s789ms 2s298ms 04 19 2m32s 8s40ms 05 3 37s994ms 12s664ms 07 6 19s225ms 3s204ms 08 10 24s62ms 2s406ms 09 1 1s635ms 1s635ms 22 3 10s113ms 3s371ms 23 3 10s117ms 3s372ms Nov 25 08 1 2s310ms 2s310ms 17 1 7s309ms 7s309ms 21 6 3m2s 30s368ms 22 2 26m 13m Nov 26 05 4 4s239ms 1s59ms 12 1 16s320ms 16s320ms 18 2 16s966ms 8s483ms 20 1 1s476ms 1s476ms Nov 27 05 2 52s950ms 26s475ms 09 5 11s483ms 2s296ms 10 6 25s286ms 4s214ms 22 1 1s58ms 1s58ms Nov 28 00 8 11s401ms 1s425ms 02 4 6s727ms 1s681ms 03 10 12s504ms 1s250ms 04 1 1s516ms 1s516ms 05 1 1s596ms 1s596ms 08 1 1s64ms 1s64ms Nov 29 02 2 1m1s 30s687ms 03 3 1m 20s266ms 07 11 35s810ms 3s255ms 08 18 58s207ms 3s233ms 09 1 2s326ms 2s326ms 15 1 14s754ms 14s754ms 16 2 3s392ms 1s696ms 18 1 1s179ms 1s179ms 20 2 6s15ms 3s7ms Nov 30 02 2 2s565ms 1s282ms 04 1 12s667ms 12s667ms 12 1 1s994ms 1s994ms 20 2 3s344ms 1s672ms [ User: pubeu - Total duration: 17m58s - Times executed: 73 ]
-
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 = '2087497') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-11-25 22:07:25 Duration: 13m 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 = '2087497') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-11-25 22:07:25 Duration: 13m 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 = '2087497') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-11-25 21:54:48 Duration: 32s149ms Bind query: yes
13 4s25ms 34m17s 13s573ms 224 50m40s select g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ? || d.acc_txt "DiseaseID", case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ? order by a.action_type_nm) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", string_agg(gdr.source_acc_txt, ? order by gdr.source_acc_txt) "OmimIDs", string_agg(r.acc_txt, ? order by r.acc_txt) "PubMedIDs" from gene_disease_reference gdr inner join term g on gdr.gene_id = g.id inner join term d on gdr.disease_id = d.id left outer join reference r on gdr.reference_id = r.id left outer join term c on gdr.via_chem_id = c.id group by g.nm, g.acc_txt, d.nm, d.acc_db_cd || ? || d.acc_txt, case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ? order by a.action_type_nm) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end, c.nm, gdr.network_score order by g.nm, d.nm;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Nov 25 13 72 39m28s 32s896ms 14 152 11m11s 4s420ms [ User: qaeu - Total duration: 34m17s - Times executed: 1 ]
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2024-11-25 13:48:18 Duration: 34m17s Database: ctdprd51 User: qaeu Bind query: yes
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2024-11-25 14:07:21 Duration: 5s846ms Bind query: yes
-
SELECT /* AllGDRelationsDAO */ g.nm "GeneSymbol", g.acc_txt "GeneID", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(r.acc_txt, '|' ORDER BY r.acc_txt) "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id GROUP BY g.nm, g.acc_txt, d.nm, d.acc_db_cd || ':' || d.acc_txt, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|' ORDER BY a.action_type_nm) FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY g.nm, d.nm;
Date: 2024-11-25 13:54:40 Duration: 5s700ms Bind query: yes
14 11s67ms 13s218ms 11s520ms 52 9m59s select distinct phenotypeterm.nm as gonm, phenotypeterm.nm_html as gonmhtml, phenotypeterm.acc_txt as goacc, diseaseterm.nm as diseasenm, diseaseterm.nm_html as diseasenmhtml, diseaseterm.acc_txt as diseaseacc, diseaseterm.acc_db_cd as diseaseaccdbcd, chemterm.nm as chemnm, chemterm.nm_html as chemnmhtml, chemterm.acc_txt as chemacc, geneterm.nm as genesymbol, geneterm.nm_html as genesymbolhtml, geneterm.acc_txt as geneacc, count(*) over () fullrowcount from phenotype_term_reference viachemptr, phenotype_term_reference viageneptr, term phenotypeterm, term diseaseterm, term geneterm, term chemterm where viachemptr.via_term_id in ( select baseterm.id from term baseterm where baseterm.object_type_id = ? and baseterm.id in ( select term_id from term_label tl where upper(tl.nm) = ? and tl.object_type_id = ?)) and viachemptr.phenotype_id = phenotypeterm.id and viachemptr.term_object_type_id = ? and viachemptr.term_id = diseaseterm.id and viachemptr.via_term_object_type_id = ? and viachemptr.via_term_id = chemterm.id and viachemptr.term_id = viageneptr.term_id and viachemptr.phenotype_id = viageneptr.phenotype_id and viageneptr.via_term_object_type_id = ? and viageneptr.via_term_id = geneterm.id and exists ( select ? from gene_chem_reference where gene_id = geneterm.id and chem_id = chemterm.id) group by phenotypeterm.nm, phenotypeterm.nm_html, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.nm_html, diseaseterm.acc_txt, diseaseterm.acc_db_cd, chemterm.nm, chemterm.nm_html, chemterm.acc_txt, geneterm.nm, geneterm.nm_html, geneterm.acc_txt order by chemterm.nm;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Nov 26 22 5 56s255ms 11s251ms Nov 27 11 9 1m43s 11s533ms 14 6 1m11s 11s840ms 23 5 59s853ms 11s970ms Nov 28 00 2 22s579ms 11s289ms 21 4 44s947ms 11s236ms Nov 29 09 3 33s510ms 11s170ms 10 5 57s851ms 11s570ms 11 7 1m21s 11s644ms 13 4 45s66ms 11s266ms 14 2 22s620ms 11s310ms [ User: pubeu - Total duration: 5m10s - Times executed: 27 ]
-
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-11-27 14:26:45 Duration: 13s218ms 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-11-29 10:04:01 Duration: 12s824ms 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-11-29 11:22:19 Duration: 12s704ms Database: ctdprd51 User: pubeu Bind query: yes
15 1s24ms 24s269ms 8s593ms 56 8m1s select sq.*, count(*) over () fullrowcount from ( select distinct gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid from dag_node gt inner join gene_go_annot gga on gt.object_id = gga.go_term_id inner join term g on gga.gene_id = g.id where gt.id in ( select p.descendant_dag_node_id from dag_path p where p.ancestor_object_id = ?) and gga.is_not = false) sq order by sq.gonmsort, sq.genesymbolsort limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Nov 24 00 2 6s336ms 3s168ms 01 1 2s254ms 2s254ms 02 5 1m44s 20s987ms 03 1 21s473ms 21s473ms 11 1 1s65ms 1s65ms 15 1 1s124ms 1s124ms 16 1 3s15ms 3s15ms 17 3 3s919ms 1s306ms 22 2 42s562ms 21s281ms Nov 25 00 2 2s124ms 1s62ms 06 4 14s915ms 3s728ms 15 1 1s215ms 1s215ms 16 4 23s950ms 5s987ms Nov 26 09 3 1m11s 23s771ms 10 1 21s569ms 21s569ms 20 1 5s292ms 5s292ms 21 4 41s573ms 10s393ms Nov 27 03 2 2s331ms 1s165ms 04 1 4s355ms 4s355ms 05 1 2s374ms 2s374ms 07 2 3s591ms 1s795ms 09 4 54s587ms 13s646ms Nov 28 02 1 1s577ms 1s577ms 23 2 3s246ms 1s623ms Nov 29 02 1 1s276ms 1s276ms 08 1 10s794ms 10s794ms 13 1 17s129ms 17s129ms 23 2 6s695ms 3s347ms Nov 30 17 1 4s614ms 4s614ms [ User: pubeu - Total duration: 2m59s - Times executed: 19 ]
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1217771') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-11-26 09:56:03 Duration: 24s269ms Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1221429') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-11-27 09:56:53 Duration: 23s931ms Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1221429') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-11-27 09:56:47 Duration: 23s760ms Database: ctdprd51 User: pubeu Bind query: yes
16 1s 6s593ms 4s250ms 217 15m22s select d.abbr dagabbr, d.nm dagnm, gt.level_min_no daglevelmin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pvalcorrected, te.raw_p_val pvalraw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, count(*) over () fullrowcount from term_enrichment te inner join dag_node gt on te.enriched_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, d.abbr, gt.nm_sort limit ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Nov 24 00 7 27s537ms 3s933ms 04 7 32s307ms 4s615ms 05 3 15s411ms 5s137ms 06 1 1s24ms 1s24ms 08 3 15s4ms 5s1ms 10 3 15s557ms 5s185ms 12 2 5s747ms 2s873ms 22 4 19s66ms 4s766ms 23 2 9s245ms 4s622ms Nov 25 00 2 9s765ms 4s882ms 01 6 29s200ms 4s866ms 02 7 21s897ms 3s128ms 04 3 14s553ms 4s851ms 06 1 5s301ms 5s301ms 08 1 5s403ms 5s403ms 09 6 29s855ms 4s975ms 12 1 4s720ms 4s720ms 17 2 10s278ms 5s139ms 19 5 24s911ms 4s982ms Nov 26 06 2 9s922ms 4s961ms 09 1 4s630ms 4s630ms 10 1 1s 1s 11 1 5s605ms 5s605ms 12 2 2s124ms 1s62ms 14 14 1m2s 4s496ms 15 1 1s38ms 1s38ms 22 8 43s217ms 5s402ms Nov 27 00 1 5s560ms 5s560ms 03 1 1s50ms 1s50ms 04 2 11s85ms 5s542ms 05 4 13s101ms 3s275ms 06 5 29s535ms 5s907ms 07 4 23s33ms 5s758ms 08 4 23s113ms 5s778ms 09 2 10s969ms 5s484ms 10 11 35s608ms 3s237ms 11 3 7s716ms 2s572ms 14 2 6s480ms 3s240ms 15 2 10s813ms 5s406ms 16 2 10s969ms 5s484ms 17 1 1s59ms 1s59ms 18 1 5s503ms 5s503ms 20 1 1s54ms 1s54ms 21 5 23s308ms 4s661ms 23 3 12s417ms 4s139ms Nov 28 01 1 5s525ms 5s525ms 02 2 11s169ms 5s584ms 03 6 29s135ms 4s855ms 05 1 1s58ms 1s58ms 08 1 1s48ms 1s48ms 09 5 18s429ms 3s685ms 10 1 1s30ms 1s30ms 11 1 1s57ms 1s57ms 12 1 5s545ms 5s545ms 13 1 1s46ms 1s46ms 16 1 1s44ms 1s44ms 17 5 22s968ms 4s593ms 19 2 6s688ms 3s344ms 21 3 16s154ms 5s384ms Nov 29 02 3 7s620ms 2s540ms 07 3 12s174ms 4s58ms 09 1 6s52ms 6s52ms 11 2 10s854ms 5s427ms 12 2 11s186ms 5s593ms 14 1 5s642ms 5s642ms 16 2 6s581ms 3s290ms 17 1 5s404ms 5s404ms 19 1 1s50ms 1s50ms 21 1 1s61ms 1s61ms 22 1 1s64ms 1s64ms Nov 30 02 1 1s65ms 1s65ms 03 1 5s701ms 5s701ms 04 1 5s564ms 5s564ms 06 2 2s118ms 1s59ms 07 7 28s965ms 4s137ms 08 1 5s848ms 5s848ms 18 2 10s997ms 5s498ms 20 1 5s440ms 5s440ms 21 1 5s354ms 5s354ms 23 1 1s26ms 1s26ms [ User: pubeu - Total duration: 5m18s - Times executed: 76 ]
-
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 = '1417543' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-11-26 22:24:04 Duration: 6s593ms 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 = '1418885' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-11-27 06:43:23 Duration: 6s530ms 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 = '1415944' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-11-26 14:13:58 Duration: 6s492ms Database: ctdprd51 User: pubeu Bind query: yes
17 3s650ms 13s987ms 3s917ms 580 37m52s select coalesce(st.alt_nm, t.nm) slimtermnm, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.curated_reference_qty > ?) curatedcount, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.indirect_gene_qty > ?) inferredcount from slim_term st inner join term t on st.slim_term_id = t.id where st.slim_id = ? order by ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Nov 24 00 1 3s933ms 3s933ms 01 3 11s402ms 3s800ms 02 1 3s777ms 3s777ms 03 1 4s46ms 4s46ms 04 1 3s904ms 3s904ms 05 9 34s937ms 3s881ms 06 1 3s850ms 3s850ms 07 2 7s763ms 3s881ms 08 3 11s343ms 3s781ms 09 2 7s698ms 3s849ms 10 2 7s658ms 3s829ms 11 4 15s276ms 3s819ms 13 1 3s850ms 3s850ms 15 1 3s878ms 3s878ms 16 6 23s445ms 3s907ms 17 1 4s8ms 4s8ms 18 1 3s892ms 3s892ms 19 8 30s538ms 3s817ms 20 22 1m24s 3s832ms 21 2 8s74ms 4s37ms 22 5 19s567ms 3s913ms 23 4 15s541ms 3s885ms Nov 25 00 11 42s14ms 3s819ms 01 1 3s803ms 3s803ms 02 3 11s596ms 3s865ms 03 3 11s936ms 3s978ms 04 2 7s564ms 3s782ms 05 4 25s671ms 6s417ms 07 12 45s477ms 3s789ms 08 20 1m16s 3s820ms 09 3 11s415ms 3s805ms 12 1 3s888ms 3s888ms 13 1 3s974ms 3s974ms 14 1 3s928ms 3s928ms 15 2 7s777ms 3s888ms 17 27 1m44s 3s857ms 19 1 4s36ms 4s36ms 20 1 3s776ms 3s776ms 21 7 27s45ms 3s863ms Nov 26 05 4 15s775ms 3s943ms 06 5 19s322ms 3s864ms 07 1 4s195ms 4s195ms 08 2 7s729ms 3s864ms 09 2 7s579ms 3s789ms 10 2 7s749ms 3s874ms 12 4 16s331ms 4s82ms 14 1 3s920ms 3s920ms 15 1 3s881ms 3s881ms 17 9 35s616ms 3s957ms 18 10 40s223ms 4s22ms 19 4 15s664ms 3s916ms 20 23 1m30s 3s931ms 21 18 1m10s 3s921ms 22 8 31s292ms 3s911ms Nov 27 00 2 7s678ms 3s839ms 01 4 15s329ms 3s832ms 03 4 15s653ms 3s913ms 04 11 43s280ms 3s934ms 05 7 28s764ms 4s109ms 06 1 3s753ms 3s753ms 08 2 7s980ms 3s990ms 09 2 7s967ms 3s983ms 17 2 7s803ms 3s901ms 19 1 4s87ms 4s87ms 20 11 42s908ms 3s900ms 21 31 2m 3s897ms 22 4 15s282ms 3s820ms 23 12 47s265ms 3s938ms Nov 28 00 19 1m14s 3s926ms 01 1 3s876ms 3s876ms 02 9 35s162ms 3s906ms 03 7 27s555ms 3s936ms 04 1 3s871ms 3s871ms 05 2 8s38ms 4s19ms 06 2 7s845ms 3s922ms 07 4 15s842ms 3s960ms 09 1 3s832ms 3s832ms 10 2 7s817ms 3s908ms 11 12 46s969ms 3s914ms 12 1 3s872ms 3s872ms 13 2 7s854ms 3s927ms 15 3 11s914ms 3s971ms 18 2 8s33ms 4s16ms 19 2 7s845ms 3s922ms 22 12 46s360ms 3s863ms 23 5 19s871ms 3s974ms Nov 29 00 20 1m18s 3s929ms 01 11 43s77ms 3s916ms 02 18 1m9s 3s884ms 03 6 23s804ms 3s967ms 04 7 26s997ms 3s856ms 07 1 3s954ms 3s954ms 09 6 24s748ms 4s124ms 10 2 8s112ms 4s56ms 12 2 7s882ms 3s941ms 13 1 4s177ms 4s177ms 14 1 3s920ms 3s920ms 15 3 12s119ms 4s39ms 17 1 3s769ms 3s769ms 18 1 3s748ms 3s748ms 20 1 4s24ms 4s24ms 21 1 4s160ms 4s160ms 22 1 4s67ms 4s67ms Nov 30 00 1 4s97ms 4s97ms 06 2 7s643ms 3s821ms 07 1 4s171ms 4s171ms 09 1 3s783ms 3s783ms 13 2 7s746ms 3s873ms 14 1 4s103ms 4s103ms 15 1 4s82ms 4s82ms 20 3 11s470ms 3s823ms 21 20 1m16s 3s820ms 22 9 34s371ms 3s819ms [ User: pubeu - Total duration: 14m27s - Times executed: 220 ]
[ User: qaeu - Total duration: 12s193ms - Times executed: 3 ]
-
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 = '1434600') 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 = '1434600') 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-11-25 05:34:00 Duration: 13s987ms 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 = '1413172') 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 = '1413172') 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-11-29 09:03:09 Duration: 4s790ms 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 = '1404994') 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 = '1404994') 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-11-27 05:45:40 Duration: 4s377ms Database: ctdprd51 User: pubeu Bind query: yes
18 1s50ms 26s416ms 3s888ms 38 2m27s select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ? offset ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Nov 24 04 4 17s246ms 4s311ms 06 1 1s50ms 1s50ms 14 2 7s70ms 3s535ms 15 2 2s629ms 1s314ms 16 2 2s222ms 1s111ms 23 1 1s632ms 1s632ms Nov 25 02 1 1s311ms 1s311ms 15 1 8s299ms 8s299ms 21 2 4s74ms 2s37ms Nov 26 12 1 6s293ms 6s293ms 22 1 1s53ms 1s53ms Nov 27 01 1 7s979ms 7s979ms 04 2 2s726ms 1s363ms 07 7 38s772ms 5s538ms 09 1 7s117ms 7s117ms 19 1 26s416ms 26s416ms Nov 28 01 1 1s783ms 1s783ms 19 1 1s412ms 1s412ms Nov 29 05 1 2s605ms 2s605ms 09 2 2s510ms 1s255ms 17 2 2s151ms 1s75ms Nov 30 02 1 1s396ms 1s396ms [ User: pubeu - Total duration: 1m11s - Times executed: 13 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2084331') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 4315600;
Date: 2024-11-27 19:22:34 Duration: 26s416ms 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 = '2085568') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 1518600;
Date: 2024-11-27 07:37:36 Duration: 8s369ms 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 = '2081931') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 1518350;
Date: 2024-11-25 15:15:31 Duration: 8s299ms Database: ctdprd51 User: pubeu Bind query: yes
19 1s1ms 24s352ms 3s127ms 160 8m20s select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Nov 24 00 2 3s 1s500ms 03 3 11s182ms 3s727ms 04 1 1s169ms 1s169ms 05 1 1s322ms 1s322ms 06 1 4s777ms 4s777ms 07 2 2s483ms 1s241ms 10 5 26s368ms 5s273ms 11 2 2s138ms 1s69ms 14 1 1s343ms 1s343ms 17 1 2s378ms 2s378ms 18 2 3s394ms 1s697ms 20 2 4s926ms 2s463ms 23 1 2s489ms 2s489ms Nov 25 02 3 6s463ms 2s154ms 04 1 1s860ms 1s860ms 05 1 2s458ms 2s458ms 10 1 1s43ms 1s43ms 13 1 1s486ms 1s486ms 20 1 2s525ms 2s525ms 21 2 5s13ms 2s506ms Nov 26 09 3 8s765ms 2s921ms 10 1 1s26ms 1s26ms 14 10 33s503ms 3s350ms 17 11 44s142ms 4s12ms 18 25 1m22s 3s295ms 19 4 9s63ms 2s265ms 20 2 3s530ms 1s765ms 21 10 25s285ms 2s528ms 22 2 10s715ms 5s357ms 23 2 10s112ms 5s56ms Nov 27 00 1 2s380ms 2s380ms 03 2 2s581ms 1s290ms 05 3 4s524ms 1s508ms 07 3 8s318ms 2s772ms 08 1 2s430ms 2s430ms 09 5 13s48ms 2s609ms 10 6 17s372ms 2s895ms 20 1 2s469ms 2s469ms 21 2 5s197ms 2s598ms 22 1 2s398ms 2s398ms Nov 28 01 1 2s506ms 2s506ms 11 1 2s382ms 2s382ms 15 1 4s512ms 4s512ms 20 1 2s465ms 2s465ms 23 1 2s542ms 2s542ms Nov 29 01 1 1s19ms 1s19ms 02 3 10s125ms 3s375ms 03 1 2s606ms 2s606ms 05 2 2s380ms 1s190ms 07 3 7s9ms 2s336ms 08 3 3s615ms 1s205ms 09 3 49s768ms 16s589ms 17 1 2s408ms 2s408ms 21 1 2s618ms 2s618ms Nov 30 09 2 9s745ms 4s872ms 11 2 7s326ms 3s663ms 20 3 5s829ms 1s943ms 22 1 4s457ms 4s457ms [ User: pubeu - Total duration: 3m15s - Times executed: 66 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2084331') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-11-29 09:02:13 Duration: 24s352ms Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2084331') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-11-29 09:02:13 Duration: 23s871ms 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 = '2076748') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-11-24 10:48:36 Duration: 11s647ms Bind query: yes
20 2s548ms 3s54ms 2s679ms 36 1m36s 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 gd.network_score desc nulls last, g.nm_sort, d.nm_sort;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Nov 24 16 1 2s727ms 2s727ms Nov 29 05 4 10s846ms 2s711ms 06 8 21s147ms 2s643ms 07 17 45s826ms 2s695ms 08 2 5s510ms 2s755ms 09 1 2s601ms 2s601ms 10 2 5s209ms 2s604ms 15 1 2s606ms 2s606ms [ User: pubeu - Total duration: 48s157ms - Times executed: 18 ]
-
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 = '2081332') ORDER BY gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-11-29 07:35:55 Duration: 3s54ms 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 = '2081332') ORDER BY gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-11-29 05:55:47 Duration: 2s942ms 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 = '2081332') ORDER BY gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-11-29 07:35:55 Duration: 2s929ms 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 8s570ms 6 1s411ms 1s445ms 1s428ms SELECT DISTINCT stressorTerm.nm as chemNm;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration Nov 30 09 6 8s570ms 1s428ms -
SELECT DISTINCT stressorTerm.nm as chemNm;
Date: 2024-11-29 09:01:59 Duration: 1s445ms Database: postgres parameters: $1 = '2084331', $2 = '2084331'
-
SELECT DISTINCT stressorTerm.nm as chemNm;
Date: 2024-11-29 09:02:01 Duration: 1s411ms Database: postgres parameters: $1 = '2084331', $2 = '2084331'
2 0ms 243 0ms 0ms 0ms ;Times Reported Time consuming bind #2
Day Hour Count Duration Avg duration Nov 23 04 1 0ms 0ms 05 2 0ms 0ms 07 3 0ms 0ms Nov 24 02 1 0ms 0ms Nov 25 05 4 0ms 0ms 06 4 0ms 0ms 07 4 0ms 0ms 08 14 0ms 0ms 09 6 0ms 0ms 13 2 0ms 0ms 15 4 0ms 0ms 16 2 0ms 0ms Nov 26 06 8 0ms 0ms 07 4 0ms 0ms 08 10 0ms 0ms 11 16 0ms 0ms 16 2 0ms 0ms 17 30 0ms 0ms 18 10 0ms 0ms 20 2 0ms 0ms 21 2 0ms 0ms Nov 27 07 30 0ms 0ms 08 6 0ms 0ms 09 10 0ms 0ms 11 16 0ms 0ms 12 10 0ms 0ms 13 10 0ms 0ms 15 2 0ms 0ms 16 2 0ms 0ms 21 2 0ms 0ms Nov 28 00 1 0ms 0ms Nov 29 00 2 0ms 0ms 06 6 0ms 0ms 07 3 0ms 0ms 08 9 0ms 0ms 16 3 0ms 0ms [ User: pubeu - Total duration: 3m14s - Times executed: 85 ]
-
;
Date: Duration: 0ms Database: postgres User: ctdprd51 Remote: pubeu parameters: $1 = '1999408', $2 = '1999408'
-
Events
Log levels
Key values
- 95,515 Log entries
Events distribution
Key values
- 0 PANIC entries
- 46 FATAL entries
- 38 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 41 Max number of times the same event was reported
- 84 Total events found
Rank Times reported Error 1 41 FATAL: canceling authentication due to timeout
Times Reported Most Frequent Error / Event #1
Day Hour Count Nov 25 21 1 22 3 Nov 26 00 14 02 13 03 10 2 23 ERROR: syntax error in ts"..."
Times Reported Most Frequent Error / Event #2
Day Hour Count Nov 26 06 2 07 3 08 5 09 3 19 1 Nov 27 01 1 09 1 16 1 Nov 28 11 2 Nov 29 03 1 Nov 30 09 2 10 1 - ERROR: syntax error in ts">HSD11B1</I"
- ERROR: syntax error in ts">HSD11B1</I"
- ERROR: syntax error in ts"(1001-6791 | 10016791) & 2014 & 25 & 5<752 & BHHJXC>2.0.TX & (2-M | 2M)"
Statement: SELECT /* BasicCountsDAO gen */ ii.cd ,COUNT(ii.id) cnt FROM (SELECT ot.cd ,tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops',$1) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',$2) OR r.id IN (SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $3 ) ) UNION SELECT ot.cd ,l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper( l.acc_txt ) LIKE $4 ) ) ii GROUP BY ii.cd
Date: 2024-11-26 06:52:49
Statement: SELECT /* BasicCountsDAO gen */ ii.cd ,COUNT(ii.id) cnt FROM (SELECT ot.cd ,tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops',$1) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',$2) OR r.id IN (SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $3 ) ) UNION SELECT ot.cd ,l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper( l.acc_txt ) LIKE $4 ) ) ii GROUP BY ii.cd 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 = $1 AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm,1,1)),'[^A-Z]','#') = $2 ORDER BY t.nm_sort LIMIT 100
Date: 2024-11-26 08:12:13
Statement: SELECT /* GeneBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Symbol' THEN true ELSE false END isNameMatch ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper( l.acc_txt ) = $3 OR upper( l.acc_txt ) = $4 OR upper( l.acc_txt ) = $5 OR upper( l.acc_txt ) = $6 OR upper( l.acc_txt ) = $7 OR upper( l.acc_txt ) = $8 OR upper( l.acc_txt ) = $9 OR upper( l.acc_txt ) = $10 OR upper( l.acc_txt ) = $11 AND l.db_id = (SELECT id FROM db WHERE cd = $12) ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2024-11-26 19:53:51 Database: ctdprd51 Application: User: pubeu Remote:
3 6 LOG: could not receive data from client: Connection timed out
Times Reported Most Frequent Error / Event #3
Day Hour Count Nov 25 18 4 Nov 26 20 2 4 5 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #4
Day Hour Count Nov 25 06 2 Nov 26 21 1 Nov 29 19 1 21 1 5 5 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #5
Day Hour Count Nov 25 06 2 Nov 26 21 1 Nov 29 19 1 21 1 6 2 ERROR: invalid byte sequence for encoding
Times Reported Most Frequent Error / Event #6
Day Hour Count Nov 24 10 1 Nov 27 06 1 - ERROR: invalid byte sequence for encoding "UTF8": 0x00
Context: unnamed portal parameter $1
Statement: SELECT /* ObjectIdDAOImpl.LabelsAndAccs */ t.id ,t.nm ,t.nm_sort nmSort ,t.acc_txt acc ,t.acc_db_cd accDbCd FROM term t ,(SELECT li.term_id FROM term_label li WHERE UPPER(li.nm) = $1 AND li.object_type_id = 2 UNION SELECT l.object_id FROM db_link l WHERE upper( l.acc_txt ) = $2 AND l.object_type_id = 2 AND l.type_cd = 'A') ids WHERE t.id = ids.term_id ORDER BY CASE WHEN UPPER(t.nm) = $3 THEN 1 ELSE 2 END ,t.nm_sortDate: 2024-11-24 10:39:27 Database: ctdprd51 Application: User: pubeu Remote:
7 1 ERROR: syntax error in ts"..." ,COUNT(...) cnt FROM (...) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery(...) OR r.id IN (...),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 (...) LIKE ) ) ii GROUP BY ii.cd
Times Reported Most Frequent Error / Event #7
Day Hour Count Nov 26 06 1 - ERROR: syntax error in ts">HSD11B1</I" ,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
Statement: SELECT /* BasicCountsDAO gen */ ii.cd
Date: 2024-11-26 06:52:46
8 1 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #8
Day Hour Count Nov 26 05 1