-
Global information
- Generated on Sun Oct 6 04:15:16 2024
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20241005
- Parsed 169,953 log entries in 14s
- Log start from 2024-09-29 00:00:01 to 2024-10-05 23:57:41
-
Overview
Global Stats
- 426 Number of unique normalized queries
- 7,427 Number of queries
- 9h45m8s Total query duration
- 2024-09-29 00:00:58 First query
- 2024-10-05 23:55:37 Last query
- 3 queries/s at 2024-10-02 12:42:11 Query peak
- 9h45m8s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 9h45m8s Execute total duration
- 59 Number of events
- 10 Number of unique normalized events
- 28 Max number of times the same event was reported
- 0 Number of cancellation
- 46 Total number of automatic vacuums
- 187 Total number of automatic analyzes
- 6 Number temporary file
- 1.00 GiB Max size of temporary file
- 999.72 MiB Average size of temporary file
- 15,585 Total number of sessions
- 59 sessions at 2024-09-30 18:20:57 Session peak
- 289d20h32m45s Total duration of sessions
- 26m46s Average duration of sessions
- 0 Average queries per session
- 2s252ms Average queries duration per session
- 26m44s Average idle time per session
- 15,585 Total number of connections
- 68 connections/s at 2024-09-29 13:35:13 Connection peak
- 3 Total number of databases
SQL Traffic
Key values
- 3 queries/s Query Peak
- 2024-10-02 12:42:11 Date
SELECT Traffic
Key values
- 3 queries/s Query Peak
- 2024-10-02 12:42:11 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1 queries/s Query Peak
- 2024-10-02 18:00:44 Date
Queries duration
Key values
- 9h45m8s 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) Sep 29 00 27 0ms 17m6s 40s120ms 3s654ms 12s39ms 17m13s 01 37 0ms 3s870ms 1s424ms 2s687ms 3s526ms 7s60ms 02 36 0ms 3s894ms 1s443ms 2s732ms 3s780ms 4s984ms 03 37 0ms 8s677ms 2s273ms 2s736ms 3s790ms 41s721ms 04 53 0ms 4s628ms 1s581ms 5s117ms 5s400ms 14s88ms 05 79 0ms 6s744ms 1s993ms 10s464ms 16s491ms 26s698ms 06 52 0ms 34s312ms 4s287ms 7s560ms 33s617ms 55s834ms 07 49 0ms 3s966ms 1s687ms 5s276ms 7s282ms 7s920ms 08 25 0ms 16s218ms 2s607ms 2s782ms 8s789ms 16s218ms 09 25 0ms 4s787ms 1s563ms 2s181ms 3s673ms 4s787ms 10 43 0ms 34s131ms 3s505ms 3s516ms 11s897ms 55s735ms 11 25 0ms 3s927ms 1s771ms 3s393ms 3s917ms 6s662ms 12 37 0ms 4s93ms 1s512ms 2s728ms 6s442ms 8s180ms 13 22 0ms 3s932ms 1s566ms 2s340ms 2s533ms 3s932ms 14 47 0ms 34s133ms 3s511ms 7s350ms 12s133ms 54s524ms 15 35 0ms 4s671ms 1s402ms 2s756ms 3s633ms 9s139ms 16 24 0ms 3s917ms 1s344ms 2s390ms 2s439ms 3s917ms 17 47 0ms 59s195ms 2s738ms 5s182ms 6s875ms 59s195ms 18 33 0ms 34s71ms 4s124ms 2s505ms 12s238ms 56s2ms 19 36 0ms 54s543ms 3s94ms 3s828ms 5s847ms 57s286ms 20 46 0ms 14s904ms 1s912ms 3s486ms 3s938ms 16s283ms 21 35 0ms 3s883ms 1s664ms 3s844ms 3s882ms 6s735ms 22 34 0ms 10s93ms 1s984ms 3s960ms 4s852ms 20s144ms 23 37 0ms 10s97ms 1s641ms 2s526ms 4s999ms 10s97ms Sep 30 00 16 0ms 16m53s 1m5s 3s891ms 4s913ms 16m53s 01 44 0ms 5s256ms 1s490ms 2s747ms 3s972ms 8s350ms 02 54 0ms 16s553ms 2s895ms 14s964ms 17s888ms 21s676ms 03 23 0ms 4s931ms 1s889ms 1s389ms 4s787ms 14s33ms 04 58 0ms 19s428ms 2s237ms 5s764ms 13s81ms 23s279ms 05 84 0ms 6s480ms 2s50ms 14s874ms 15s422ms 28s51ms 06 50 0ms 34s264ms 3s159ms 4s899ms 23s810ms 42s528ms 07 38 0ms 3s973ms 1s375ms 3s906ms 5s799ms 6s667ms 08 29 0ms 16s787ms 2s826ms 4s16ms 10s175ms 16s787ms 09 36 0ms 5s225ms 1s736ms 3s886ms 6s472ms 6s661ms 10 55 0ms 34s411ms 3s678ms 14s547ms 23s709ms 42s676ms 11 27 0ms 2s626ms 1s294ms 2s551ms 3s491ms 5s738ms 12 40 0ms 7s311ms 2s287ms 6s107ms 7s190ms 17s813ms 13 34 0ms 10s174ms 1s607ms 2s771ms 3s919ms 10s174ms 14 50 0ms 34s235ms 3s465ms 3s943ms 28s334ms 45s30ms 15 33 0ms 4s84ms 1s499ms 2s571ms 4s84ms 7s978ms 16 39 0ms 7s920ms 1s786ms 3s959ms 5s894ms 9s294ms 17 63 0ms 16s697ms 2s391ms 12s798ms 18s79ms 20s925ms 18 40 0ms 34s79ms 3s769ms 7s239ms 41s863ms 45s141ms 19 26 0ms 6s481ms 1s759ms 2s539ms 6s481ms 10s271ms 20 28 0ms 1s431ms 1s294ms 2s591ms 3s751ms 4s 21 36 0ms 5s377ms 1s534ms 3s833ms 5s377ms 6s948ms 22 15 0ms 17s212ms 3s503ms 2s337ms 16s182ms 17s212ms 23 38 0ms 5s679ms 1s396ms 2s785ms 3s906ms 5s721ms Oct 01 00 41 0ms 17m1s 26s618ms 6s210ms 7s42ms 17m6s 01 13 0ms 7m58s 38s386ms 2s554ms 4s126ms 7m58s 02 39 0ms 6s430ms 1s558ms 2s626ms 5s195ms 7s846ms 03 28 0ms 9s103ms 2s957ms 3s859ms 4s964ms 43s836ms 04 25 0ms 5s609ms 1s660ms 3s33ms 4s128ms 5s609ms 05 67 0ms 10s213ms 2s282ms 10s213ms 14s600ms 29s187ms 06 46 0ms 34s175ms 3s716ms 11s48ms 43s810ms 54s521ms 07 33 0ms 6s574ms 1s634ms 2s705ms 5s531ms 8s941ms 08 43 0ms 3s985ms 1s444ms 3s193ms 3s984ms 8s336ms 09 17 0ms 4s30ms 1s917ms 1s937ms 3s858ms 8s5ms 10 39 0ms 2m9s 7s287ms 4s337ms 44s724ms 2m10s 11 35 0ms 5s242ms 1s495ms 3s780ms 5s83ms 6s651ms 12 31 0ms 5s640ms 1s759ms 4s219ms 4s981ms 5s640ms 13 26 0ms 8s597ms 2s284ms 2s883ms 3s888ms 25s475ms 14 44 0ms 34s330ms 5s863ms 15s390ms 42s782ms 1m36s 15 34 0ms 7s422ms 1s897ms 4s217ms 5s880ms 8s365ms 16 35 0ms 5s302ms 1s804ms 5s276ms 5s367ms 6s721ms 17 34 0ms 17s607ms 2s713ms 4s218ms 9s3ms 17s607ms 18 41 0ms 34s331ms 3s880ms 4s164ms 9s646ms 55s755ms 19 50 0ms 4s747ms 1s352ms 3s661ms 4s652ms 8s58ms 20 25 0ms 5s587ms 1s684ms 2s591ms 2s842ms 13s323ms 21 28 0ms 4s50ms 1s443ms 2s737ms 3s509ms 8s666ms 22 16 0ms 6s716ms 1s837ms 1s652ms 2s634ms 6s716ms 23 17 0ms 2s863ms 1s337ms 1s415ms 2s659ms 7s523ms Oct 02 00 23 0ms 16m57s 45s634ms 2s611ms 4s657ms 16m58s 01 52 0ms 4s13ms 1s379ms 3s737ms 6s123ms 12s628ms 02 43 0ms 19s215ms 1s883ms 3s636ms 5s417ms 20s645ms 03 36 0ms 3s964ms 1s346ms 2s835ms 3s720ms 5s807ms 04 52 0ms 4s141ms 1s655ms 4s751ms 5s463ms 11s13ms 05 89 0ms 6s629ms 2s171ms 15s327ms 17s796ms 29s797ms 06 26 0ms 34s172ms 4s943ms 2s437ms 23s782ms 46s165ms 07 36 0ms 5s391ms 1s793ms 3s999ms 5s327ms 6s777ms 08 27 0ms 4s48ms 1s597ms 3s549ms 3s950ms 5s92ms 09 39 0ms 10s833ms 1s843ms 5s278ms 6s982ms 12s34ms 10 30 0ms 34s124ms 4s708ms 4s428ms 23s781ms 42s356ms 11 27 0ms 5s72ms 1s759ms 2s697ms 3s951ms 5s473ms 12 38 0ms 16s562ms 2s645ms 6s647ms 9s45ms 26s174ms 13 46 0ms 11s914ms 1s989ms 6s111ms 8s414ms 16s518ms 14 51 0ms 8m43s 19s772ms 26s189ms 59s922ms 8m58s 15 41 0ms 11s651ms 2s636ms 9s652ms 12s359ms 12s967ms 16 54 0ms 3s605ms 1s743ms 3s801ms 11s705ms 17s560ms 17 28 0ms 4s71ms 1s595ms 3s957ms 4s572ms 9s61ms 18 40 0ms 34s209ms 3s852ms 4s543ms 9s633ms 54s619ms 19 20 0ms 15s696ms 2s210ms 3s415ms 7s525ms 16s790ms 20 24 0ms 10s544ms 1s874ms 2s518ms 3s451ms 11s949ms 21 20 0ms 17s310ms 2s167ms 1s417ms 2s478ms 21s28ms 22 35 0ms 4s63ms 1s558ms 2s826ms 3s880ms 6s658ms 23 29 0ms 5s339ms 1s535ms 1s425ms 4s16ms 5s339ms Oct 03 00 16 0ms 16m55s 1m5s 4s30ms 5s53ms 16m55s 01 24 0ms 10s942ms 2s8ms 2s629ms 5s287ms 10s942ms 02 39 0ms 6s833ms 2s58ms 2s827ms 6s738ms 25s463ms 03 14 0ms 5s261ms 1s792ms 1s431ms 3s937ms 5s261ms 04 25 0ms 9s117ms 3s171ms 2s596ms 13s776ms 43s884ms 05 67 0ms 6s696ms 2s24ms 5s780ms 16s169ms 30s62ms 06 40 0ms 34s186ms 3s788ms 5s102ms 40s356ms 42s494ms 07 51 0ms 7s167ms 1s988ms 5s455ms 7s34ms 9s879ms 08 20 0ms 3s988ms 1s575ms 2s561ms 2s659ms 5s405ms 09 44 0ms 3m49s 7s881ms 8s190ms 10s586ms 3m49s 10 64 0ms 34s270ms 3s142ms 6s701ms 25s232ms 42s535ms 11 43 0ms 5s429ms 1s782ms 4s100ms 5s429ms 9s271ms 12 39 0ms 4s20ms 1s551ms 2s830ms 4s20ms 5s59ms 13 22 0ms 4s87ms 1s965ms 3s882ms 5s422ms 6s486ms 14 185 0ms 34s177ms 1s948ms 19s221ms 23s372ms 1m1s 15 40 0ms 4s419ms 1s797ms 5s758ms 6s613ms 11s156ms 16 29 0ms 5s354ms 1s715ms 3s938ms 5s354ms 7s198ms 17 55 0ms 32s713ms 3s109ms 5s725ms 32s8ms 34s288ms 18 45 0ms 34s201ms 3s438ms 5s705ms 23s693ms 43s852ms 19 46 0ms 5s276ms 1s338ms 3s449ms 3s738ms 7s925ms 20 27 0ms 1m2s 3s871ms 3s410ms 8s732ms 1m3s 21 55 0ms 4s111ms 1s833ms 5s515ms 6s549ms 9s57ms 22 50 0ms 16s491ms 2s494ms 6s414ms 13s830ms 23s184ms 23 44 0ms 5s385ms 1s883ms 5s534ms 6s809ms 7s845ms Oct 04 00 72 0ms 17m3s 15s731ms 7s550ms 9s746ms 17m8s 01 36 0ms 11m27s 22s271ms 7s861ms 8s150ms 11m27s 02 54 0ms 17s382ms 2s266ms 6s421ms 9s629ms 17s382ms 03 46 0ms 4m41s 8s902ms 5s983ms 7s841ms 4m41s 04 31 0ms 30s510ms 2s770ms 3s943ms 7s7ms 31s913ms 05 100 0ms 31s42ms 2s695ms 17s828ms 27s972ms 31s42ms 06 33 0ms 34s211ms 5s205ms 9s613ms 17s502ms 55s894ms 07 34 0ms 6s433ms 1s988ms 2s972ms 3s977ms 26s9ms 08 29 0ms 5s381ms 1s630ms 3s711ms 3s947ms 5s381ms 09 41 0ms 4s803ms 1s601ms 3s673ms 6s220ms 8s620ms 10 56 0ms 34s230ms 4s1ms 9s641ms 12s670ms 54s506ms 11 31 0ms 5s510ms 2s107ms 3s919ms 5s453ms 11s19ms 12 45 0ms 5s459ms 1s500ms 4s270ms 5s670ms 6s800ms 13 35 0ms 52s598ms 2s842ms 3s731ms 5s892ms 55s418ms 14 114 0ms 4m19s 7s332ms 37s880ms 54s680ms 4m51s 15 250 0ms 1m36s 7s439ms 48s669ms 1m32s 1m56s 16 347 0ms 41s851ms 5s186ms 37s27ms 41s282ms 52s761ms 17 29 0ms 9s320ms 2s463ms 1s417ms 5s575ms 31s30ms 18 65 0ms 34s169ms 3s103ms 5s672ms 23s724ms 43s61ms 19 30 0ms 5s370ms 1s696ms 2s823ms 3s931ms 7s440ms 20 24 0ms 11s633ms 2s306ms 4s24ms 4s85ms 11s633ms 21 33 0ms 17s664ms 3s599ms 10s986ms 16s17ms 24s385ms 22 34 0ms 1s618ms 1s319ms 2s760ms 4s229ms 11s244ms 23 24 0ms 5s416ms 1s567ms 2s315ms 3s621ms 5s473ms Oct 05 00 27 0ms 16m57s 39s877ms 3s693ms 7s628ms 16m59s 01 32 0ms 5s575ms 1s862ms 2s920ms 5s788ms 14s442ms 02 43 0ms 3s760ms 2s487ms 7s260ms 8s575ms 21s673ms 03 97 0ms 6s104ms 3s335ms 14s574ms 19s331ms 28s640ms 04 146 0ms 1m52s 3s964ms 21s744ms 25s198ms 1m52s 05 68 0ms 6s615ms 2s63ms 5s775ms 16s765ms 29s223ms 06 26 0ms 5s313ms 1s630ms 2s828ms 3s922ms 5s313ms 07 87 0ms 3s763ms 3s289ms 18s860ms 24s292ms 27s245ms 08 68 0ms 5s585ms 2s699ms 13s884ms 21s234ms 27s711ms 09 18 0ms 7s307ms 2s991ms 6s64ms 7s272ms 14s610ms 10 21 0ms 8s999ms 3s599ms 2s490ms 15s67ms 43s285ms 11 30 0ms 9s151ms 2s994ms 4s870ms 14s210ms 43s744ms 12 60 0ms 5s524ms 1s668ms 6s171ms 7s170ms 16s336ms 13 22 0ms 5s751ms 1s731ms 2s728ms 3s946ms 5s751ms 14 28 0ms 4s433ms 1s515ms 2s330ms 4s433ms 9s294ms 15 28 0ms 8s978ms 2s692ms 2s625ms 8s740ms 28s57ms 16 26 0ms 14s18ms 1s841ms 2s518ms 2s839ms 15s281ms 17 43 0ms 11s863ms 1s743ms 4s72ms 8s568ms 11s863ms 18 51 0ms 1m11s 8s639ms 50s218ms 1m4s 1m11s 19 71 0ms 23m43s 1m7s 1m29s 7m16s 23m45s 20 19 0ms 2s974ms 1s391ms 2s252ms 2s855ms 4s489ms 21 53 0ms 4s488ms 1s573ms 4s19ms 6s435ms 15s134ms 22 45 0ms 6s415ms 2s89ms 5s633ms 7s651ms 11s757ms 23 51 0ms 6s143ms 2s704ms 6s609ms 9s518ms 13s169ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Sep 29 00 26 0 41s468ms 1s387ms 3s654ms 17m8s 01 37 0 1s424ms 2s394ms 2s687ms 7s60ms 02 36 0 1s443ms 2s397ms 2s732ms 4s984ms 03 37 0 2s273ms 1s381ms 2s736ms 41s721ms 04 53 0 1s581ms 3s262ms 5s117ms 14s88ms 05 75 0 1s968ms 2s583ms 10s464ms 26s698ms 06 42 10 4s287ms 5s44ms 7s560ms 54s716ms 07 49 0 1s687ms 3s353ms 5s276ms 7s920ms 08 25 0 2s607ms 1s384ms 2s782ms 16s218ms 09 25 0 1s563ms 1s386ms 2s181ms 4s787ms 10 33 10 3s505ms 2s484ms 3s516ms 54s486ms 11 25 0 1s771ms 1s384ms 3s393ms 6s662ms 12 37 0 1s512ms 1s385ms 2s728ms 8s180ms 13 22 0 1s566ms 1s389ms 2s340ms 3s932ms 14 37 10 3s511ms 2s559ms 7s350ms 54s524ms 15 35 0 1s402ms 2s463ms 2s756ms 9s139ms 16 24 0 1s344ms 1s356ms 2s390ms 3s917ms 17 47 0 2s738ms 2s454ms 5s182ms 8s920ms 18 23 10 4s124ms 1s380ms 2s535ms 54s630ms 19 36 0 3s94ms 2s245ms 3s828ms 57s286ms 20 45 0 1s911ms 2s485ms 3s486ms 14s585ms 21 35 0 1s664ms 2s369ms 3s844ms 6s735ms 22 34 0 1s984ms 1s702ms 3s960ms 20s144ms 23 37 0 1s641ms 1s395ms 2s526ms 10s97ms Sep 30 00 15 0 1m9s 1s383ms 2s493ms 16m53s 01 44 0 1s490ms 2s402ms 2s747ms 8s350ms 02 54 0 2s895ms 3s952ms 14s964ms 21s676ms 03 23 0 1s889ms 1s375ms 1s389ms 14s33ms 04 58 0 2s237ms 4s151ms 5s764ms 23s279ms 05 81 0 2s31ms 3s589ms 14s874ms 28s51ms 06 40 10 3s159ms 2s344ms 4s899ms 42s528ms 07 38 0 1s375ms 2s313ms 3s906ms 6s667ms 08 29 0 2s826ms 1s381ms 4s16ms 16s787ms 09 36 0 1s736ms 2s593ms 3s886ms 6s661ms 10 45 10 3s678ms 3s832ms 14s547ms 42s676ms 11 27 0 1s294ms 1s367ms 2s551ms 5s738ms 12 38 0 2s235ms 3s917ms 6s107ms 14s437ms 13 34 0 1s607ms 2s483ms 2s771ms 10s174ms 14 40 10 3s465ms 2s749ms 4s587ms 40s460ms 15 33 0 1s499ms 1s682ms 2s571ms 5s796ms 16 39 0 1s786ms 2s740ms 3s959ms 9s294ms 17 61 0 2s394ms 6s771ms 12s798ms 20s925ms 18 30 10 3s769ms 2s617ms 7s239ms 42s313ms 19 26 0 1s759ms 1s422ms 2s539ms 10s271ms 20 28 0 1s294ms 2s277ms 2s591ms 4s 21 36 0 1s534ms 2s335ms 3s833ms 6s948ms 22 15 0 3s503ms 1s343ms 2s337ms 17s212ms 23 38 0 1s396ms 2s26ms 2s785ms 5s721ms Oct 01 00 40 0 27s161ms 2s516ms 6s210ms 17m1s 01 13 0 38s386ms 1s412ms 2s554ms 7m58s 02 39 0 1s558ms 2s373ms 2s626ms 7s846ms 03 27 0 2s976ms 1s395ms 2s572ms 43s836ms 04 25 0 1s660ms 1s420ms 3s33ms 5s609ms 05 63 0 2s288ms 3s598ms 10s213ms 29s187ms 06 36 10 3s716ms 3s867ms 9s640ms 54s521ms 07 33 0 1s634ms 2s347ms 2s705ms 8s941ms 08 43 0 1s444ms 2s445ms 3s193ms 8s336ms 09 17 0 1s917ms 1s230ms 1s937ms 8s5ms 10 29 10 7s287ms 2s450ms 4s343ms 54s596ms 11 35 0 1s495ms 1s432ms 3s780ms 6s651ms 12 31 0 1s759ms 1s430ms 4s219ms 5s640ms 13 26 0 2s284ms 1s420ms 2s883ms 25s475ms 14 34 10 5s863ms 2s428ms 15s390ms 1m36s 15 34 0 1s897ms 2s56ms 4s217ms 8s365ms 16 35 0 1s804ms 2s279ms 5s276ms 6s721ms 17 34 0 2s713ms 2s714ms 4s218ms 17s607ms 18 31 10 3s880ms 2s711ms 4s164ms 54s587ms 19 50 0 1s352ms 2s542ms 3s661ms 8s58ms 20 25 0 1s684ms 1s420ms 2s591ms 13s323ms 21 28 0 1s443ms 1s421ms 2s737ms 8s666ms 22 16 0 1s837ms 1s419ms 1s652ms 6s716ms 23 17 0 1s337ms 1s102ms 1s415ms 7s523ms Oct 02 00 22 0 47s473ms 1s409ms 2s590ms 16m58s 01 52 0 1s379ms 2s292ms 3s737ms 7s326ms 02 43 0 1s883ms 2s230ms 3s636ms 20s645ms 03 36 0 1s346ms 1s421ms 2s835ms 5s807ms 04 52 0 1s655ms 2s621ms 4s751ms 5s996ms 05 85 0 2s169ms 3s920ms 15s327ms 29s797ms 06 16 10 4s943ms 1s428ms 2s615ms 42s434ms 07 36 0 1s793ms 2s830ms 3s999ms 6s777ms 08 27 0 1s597ms 1s935ms 3s549ms 5s92ms 09 39 0 1s843ms 2s310ms 5s278ms 12s34ms 10 20 10 4s708ms 2s176ms 4s428ms 42s356ms 11 27 0 1s759ms 2s77ms 2s697ms 5s473ms 12 38 0 2s645ms 2s301ms 6s647ms 26s174ms 13 46 0 1s989ms 2s692ms 6s111ms 16s518ms 14 40 10 9s707ms 11s344ms 17s26ms 59s922ms 15 41 0 2s636ms 3s750ms 9s652ms 12s967ms 16 54 0 1s743ms 2s560ms 3s801ms 17s560ms 17 28 0 1s595ms 2s326ms 3s957ms 9s61ms 18 30 10 3s852ms 2s569ms 4s543ms 54s619ms 19 20 0 2s210ms 1s401ms 3s415ms 16s790ms 20 24 0 1s874ms 1s415ms 2s518ms 11s949ms 21 20 0 2s167ms 1s412ms 1s417ms 21s28ms 22 35 0 1s558ms 1s637ms 2s826ms 6s658ms 23 29 0 1s535ms 1s416ms 1s425ms 5s339ms Oct 03 00 15 0 1m9s 1s473ms 2s954ms 16m55s 01 24 0 2s8ms 1s413ms 2s629ms 10s942ms 02 39 0 2s58ms 1s417ms 2s827ms 7s204ms 03 14 0 1s792ms 1s400ms 1s431ms 5s261ms 04 25 0 3s171ms 1s601ms 2s596ms 43s884ms 05 63 0 2s15ms 2s357ms 3s635ms 30s62ms 06 30 10 3s788ms 2s654ms 5s102ms 42s494ms 07 50 0 1s989ms 4s88ms 5s455ms 9s879ms 08 20 0 1s575ms 1s413ms 2s561ms 5s405ms 09 44 0 7s881ms 2s491ms 8s190ms 36s763ms 10 54 10 3s142ms 4s76ms 6s701ms 40s400ms 11 43 0 1s782ms 2s819ms 4s100ms 5s438ms 12 39 0 1s551ms 2s515ms 2s830ms 4s611ms 13 22 0 1s965ms 1s417ms 3s882ms 6s486ms 14 175 10 1s948ms 18s734ms 19s221ms 42s423ms 15 40 0 1s797ms 2s489ms 5s758ms 11s156ms 16 29 0 1s715ms 1s417ms 3s938ms 7s198ms 17 55 0 3s109ms 2s663ms 5s725ms 32s713ms 18 35 10 3s438ms 2s310ms 5s705ms 42s444ms 19 46 0 1s338ms 2s237ms 3s449ms 7s925ms 20 27 0 3s871ms 1s412ms 3s410ms 1m3s 21 55 0 1s833ms 3s617ms 5s515ms 7s289ms 22 50 0 2s494ms 3s686ms 6s414ms 16s491ms 23 44 0 1s883ms 3s953ms 5s534ms 7s274ms Oct 04 00 71 0 15s881ms 3s334ms 7s550ms 14s169ms 01 36 0 22s271ms 3s986ms 7s861ms 11m27s 02 54 0 2s266ms 3s688ms 6s421ms 15s367ms 03 46 0 8s902ms 4s48ms 5s983ms 43s917ms 04 31 0 2s770ms 1s962ms 3s943ms 31s913ms 05 96 0 2s716ms 6s9ms 17s828ms 28s756ms 06 23 10 5s205ms 2s295ms 9s613ms 54s626ms 07 34 0 1s988ms 1s421ms 2s972ms 26s9ms 08 29 0 1s630ms 1s420ms 3s711ms 5s381ms 09 41 0 1s601ms 1s533ms 3s673ms 7s565ms 10 46 10 4s1ms 7s300ms 9s641ms 54s506ms 11 31 0 2s107ms 2s579ms 3s919ms 11s19ms 12 45 0 1s500ms 2s694ms 4s270ms 6s800ms 13 35 0 2s842ms 1s415ms 3s731ms 55s418ms 14 104 10 7s332ms 16s914ms 37s880ms 1m31s 15 250 0 7s439ms 39s170ms 48s669ms 1m41s 16 347 0 5s186ms 35s327ms 37s27ms 47s99ms 17 29 0 2s463ms 1s413ms 1s417ms 31s30ms 18 55 10 3s103ms 5s135ms 5s672ms 42s410ms 19 30 0 1s696ms 1s417ms 2s823ms 7s440ms 20 24 0 2s306ms 2s286ms 4s24ms 11s633ms 21 33 0 3s599ms 2s388ms 10s986ms 24s385ms 22 34 0 1s319ms 2s230ms 2s760ms 11s244ms 23 24 0 1s567ms 1s417ms 2s315ms 5s473ms Oct 05 00 26 0 41s211ms 2s443ms 3s671ms 16m59s 01 32 0 1s862ms 2s444ms 2s920ms 14s442ms 02 43 0 2s487ms 3s552ms 7s260ms 10s616ms 03 97 0 3s335ms 10s952ms 14s574ms 21s906ms 04 146 0 3s964ms 18s78ms 21s744ms 25s729ms 05 64 0 2s55ms 2s368ms 3s975ms 29s223ms 06 26 0 1s630ms 1s412ms 2s828ms 5s313ms 07 87 0 3s289ms 14s74ms 18s860ms 27s245ms 08 68 0 2s699ms 3s714ms 13s884ms 27s711ms 09 18 0 2s991ms 2s668ms 6s64ms 14s610ms 10 21 0 3s599ms 1s402ms 2s490ms 43s285ms 11 30 0 2s994ms 2s553ms 4s870ms 43s744ms 12 60 0 1s668ms 3s866ms 6s171ms 16s336ms 13 22 0 1s731ms 1s407ms 2s728ms 5s751ms 14 28 0 1s515ms 1s371ms 2s330ms 9s294ms 15 28 0 2s692ms 1s418ms 2s625ms 28s57ms 16 26 0 1s841ms 1s270ms 2s518ms 15s281ms 17 43 0 1s743ms 2s393ms 4s72ms 11s863ms 18 26 25 8s639ms 2s581ms 50s218ms 1m5s 19 25 46 1m7s 1m10s 1m29s 23m41s 20 19 0 1s391ms 1s255ms 2s252ms 4s489ms 21 53 0 1s573ms 2s342ms 4s19ms 15s134ms 22 45 0 2s89ms 3s928ms 5s633ms 11s757ms 23 51 0 2s704ms 5s359ms 6s609ms 10s175ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Sep 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 Sep 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 Oct 01 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 Oct 02 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 Oct 03 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 Oct 04 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 Oct 05 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Sep 29 00 0 25 25.00 0.00% 01 0 37 37.00 0.00% 02 0 36 36.00 0.00% 03 0 37 37.00 0.00% 04 0 53 53.00 0.00% 05 0 79 79.00 0.00% 06 0 42 42.00 0.00% 07 0 49 49.00 0.00% 08 0 25 25.00 0.00% 09 0 25 25.00 0.00% 10 0 33 33.00 0.00% 11 0 25 25.00 0.00% 12 0 37 37.00 0.00% 13 0 22 22.00 0.00% 14 0 37 37.00 0.00% 15 0 35 35.00 0.00% 16 0 24 24.00 0.00% 17 0 47 47.00 0.00% 18 0 23 23.00 0.00% 19 0 36 36.00 0.00% 20 0 46 46.00 0.00% 21 0 35 35.00 0.00% 22 0 34 34.00 0.00% 23 0 37 37.00 0.00% Sep 30 00 0 14 14.00 0.00% 01 0 44 44.00 0.00% 02 0 54 54.00 0.00% 03 0 23 23.00 0.00% 04 0 58 58.00 0.00% 05 0 84 84.00 0.00% 06 0 40 40.00 0.00% 07 0 38 38.00 0.00% 08 0 29 29.00 0.00% 09 0 36 36.00 0.00% 10 0 44 44.00 0.00% 11 0 29 29.00 0.00% 12 0 42 42.00 0.00% 13 0 34 34.00 0.00% 14 0 42 42.00 0.00% 15 0 37 37.00 0.00% 16 0 39 39.00 0.00% 17 0 65 65.00 0.00% 18 0 30 30.00 0.00% 19 0 26 26.00 0.00% 20 0 28 28.00 0.00% 21 0 36 36.00 0.00% 22 0 15 15.00 0.00% 23 0 38 38.00 0.00% Oct 01 00 0 39 39.00 0.00% 01 0 13 13.00 0.00% 02 0 39 39.00 0.00% 03 0 28 28.00 0.00% 04 0 25 25.00 0.00% 05 0 66 66.00 0.00% 06 0 36 36.00 0.00% 07 0 33 33.00 0.00% 08 0 43 43.00 0.00% 09 0 19 19.00 0.00% 10 0 36 36.00 0.00% 11 0 36 36.00 0.00% 12 0 32 32.00 0.00% 13 0 26 26.00 0.00% 14 0 36 36.00 0.00% 15 0 37 37.00 0.00% 16 0 36 36.00 0.00% 17 0 33 33.00 0.00% 18 0 31 31.00 0.00% 19 0 50 50.00 0.00% 20 0 25 25.00 0.00% 21 0 28 28.00 0.00% 22 0 16 16.00 0.00% 23 0 17 17.00 0.00% Oct 02 00 0 21 21.00 0.00% 01 0 52 52.00 0.00% 02 0 43 43.00 0.00% 03 0 36 36.00 0.00% 04 0 52 52.00 0.00% 05 0 89 89.00 0.00% 06 0 16 16.00 0.00% 07 0 36 36.00 0.00% 08 0 27 27.00 0.00% 09 0 41 41.00 0.00% 10 0 20 20.00 0.00% 11 0 30 30.00 0.00% 12 0 42 42.00 0.00% 13 0 46 46.00 0.00% 14 0 41 41.00 0.00% 15 0 41 41.00 0.00% 16 0 54 54.00 0.00% 17 0 28 28.00 0.00% 18 0 30 30.00 0.00% 19 0 20 20.00 0.00% 20 0 24 24.00 0.00% 21 0 20 20.00 0.00% 22 0 35 35.00 0.00% 23 0 29 29.00 0.00% Oct 03 00 0 14 14.00 0.00% 01 0 24 24.00 0.00% 02 0 39 39.00 0.00% 03 0 14 14.00 0.00% 04 0 25 25.00 0.00% 05 0 67 67.00 0.00% 06 0 30 30.00 0.00% 07 0 53 53.00 0.00% 08 0 22 22.00 0.00% 09 0 44 44.00 0.00% 10 0 57 57.00 0.00% 11 0 46 46.00 0.00% 12 0 39 39.00 0.00% 13 0 23 23.00 0.00% 14 0 175 175.00 0.00% 15 0 40 40.00 0.00% 16 0 29 29.00 0.00% 17 0 55 55.00 0.00% 18 0 35 35.00 0.00% 19 0 46 46.00 0.00% 20 0 25 25.00 0.00% 21 0 55 55.00 0.00% 22 0 50 50.00 0.00% 23 0 44 44.00 0.00% Oct 04 00 0 70 70.00 0.00% 01 0 36 36.00 0.00% 02 0 54 54.00 0.00% 03 0 46 46.00 0.00% 04 0 31 31.00 0.00% 05 0 100 100.00 0.00% 06 0 23 23.00 0.00% 07 0 34 34.00 0.00% 08 0 29 29.00 0.00% 09 0 41 41.00 0.00% 10 0 47 47.00 0.00% 11 0 31 31.00 0.00% 12 0 45 45.00 0.00% 13 0 36 36.00 0.00% 14 0 103 103.00 0.00% 15 0 254 254.00 0.00% 16 0 347 347.00 0.00% 17 0 29 29.00 0.00% 18 0 55 55.00 0.00% 19 0 30 30.00 0.00% 20 0 24 24.00 0.00% 21 0 33 33.00 0.00% 22 0 34 34.00 0.00% 23 0 24 24.00 0.00% Oct 05 00 0 26 26.00 0.00% 01 0 32 32.00 0.00% 02 0 43 43.00 0.00% 03 0 97 97.00 0.00% 04 0 146 146.00 0.00% 05 0 68 68.00 0.00% 06 0 26 26.00 0.00% 07 0 87 87.00 0.00% 08 0 68 68.00 0.00% 09 0 18 18.00 0.00% 10 0 21 21.00 0.00% 11 0 30 30.00 0.00% 12 0 60 60.00 0.00% 13 0 22 22.00 0.00% 14 0 28 28.00 0.00% 15 0 28 28.00 0.00% 16 0 26 26.00 0.00% 17 0 43 43.00 0.00% 18 0 26 26.00 0.00% 19 0 25 25.00 0.00% 20 0 19 19.00 0.00% 21 0 53 53.00 0.00% 22 0 45 45.00 0.00% 23 0 51 51.00 0.00% Day Hour Count Average / Second Sep 29 00 111 0.03/s 01 99 0.03/s 02 96 0.03/s 03 92 0.03/s 04 157 0.04/s 05 133 0.04/s 06 95 0.03/s 07 94 0.03/s 08 95 0.03/s 09 88 0.02/s 10 89 0.02/s 11 70 0.02/s 12 82 0.02/s 13 307 0.09/s 14 90 0.03/s 15 88 0.02/s 16 81 0.02/s 17 83 0.02/s 18 88 0.02/s 19 81 0.02/s 20 91 0.03/s 21 84 0.02/s 22 100 0.03/s 23 82 0.02/s Sep 30 00 79 0.02/s 01 82 0.02/s 02 94 0.03/s 03 95 0.03/s 04 94 0.03/s 05 103 0.03/s 06 92 0.03/s 07 84 0.02/s 08 82 0.02/s 09 92 0.03/s 10 83 0.02/s 11 80 0.02/s 12 85 0.02/s 13 87 0.02/s 14 89 0.02/s 15 81 0.02/s 16 75 0.02/s 17 111 0.03/s 18 81 0.02/s 19 89 0.02/s 20 81 0.02/s 21 80 0.02/s 22 77 0.02/s 23 93 0.03/s Oct 01 00 88 0.02/s 01 77 0.02/s 02 89 0.02/s 03 84 0.02/s 04 84 0.02/s 05 116 0.03/s 06 86 0.02/s 07 98 0.03/s 08 83 0.02/s 09 78 0.02/s 10 81 0.02/s 11 95 0.03/s 12 94 0.03/s 13 81 0.02/s 14 102 0.03/s 15 111 0.03/s 16 89 0.02/s 17 88 0.02/s 18 82 0.02/s 19 87 0.02/s 20 98 0.03/s 21 81 0.02/s 22 81 0.02/s 23 87 0.02/s Oct 02 00 77 0.02/s 01 89 0.02/s 02 98 0.03/s 03 81 0.02/s 04 123 0.03/s 05 128 0.04/s 06 86 0.02/s 07 83 0.02/s 08 75 0.02/s 09 75 0.02/s 10 102 0.03/s 11 84 0.02/s 12 97 0.03/s 13 91 0.03/s 14 95 0.03/s 15 83 0.02/s 16 81 0.02/s 17 76 0.02/s 18 88 0.02/s 19 98 0.03/s 20 81 0.02/s 21 76 0.02/s 22 101 0.03/s 23 76 0.02/s Oct 03 00 89 0.02/s 01 83 0.02/s 02 133 0.04/s 03 78 0.02/s 04 86 0.02/s 05 95 0.03/s 06 82 0.02/s 07 73 0.02/s 08 81 0.02/s 09 103 0.03/s 10 93 0.03/s 11 86 0.02/s 12 87 0.02/s 13 86 0.02/s 14 106 0.03/s 15 82 0.02/s 16 85 0.02/s 17 91 0.03/s 18 81 0.02/s 19 87 0.02/s 20 84 0.02/s 21 86 0.02/s 22 120 0.03/s 23 103 0.03/s Oct 04 00 178 0.05/s 01 89 0.02/s 02 90 0.03/s 03 88 0.02/s 04 88 0.02/s 05 111 0.03/s 06 74 0.02/s 07 104 0.03/s 08 93 0.03/s 09 108 0.03/s 10 91 0.03/s 11 87 0.02/s 12 92 0.03/s 13 104 0.03/s 14 111 0.03/s 15 148 0.04/s 16 171 0.05/s 17 96 0.03/s 18 94 0.03/s 19 85 0.02/s 20 84 0.02/s 21 82 0.02/s 22 83 0.02/s 23 81 0.02/s Oct 05 00 87 0.02/s 01 81 0.02/s 02 84 0.02/s 03 91 0.03/s 04 97 0.03/s 05 94 0.03/s 06 81 0.02/s 07 87 0.02/s 08 84 0.02/s 09 75 0.02/s 10 78 0.02/s 11 77 0.02/s 12 162 0.04/s 13 87 0.02/s 14 87 0.02/s 15 89 0.02/s 16 82 0.02/s 17 90 0.03/s 18 85 0.02/s 19 84 0.02/s 20 90 0.03/s 21 78 0.02/s 22 87 0.02/s 23 87 0.02/s Day Hour Count Average Duration Average idle time Sep 29 00 111 21m19s 21m9s 01 99 25m5s 25m5s 02 96 24m56s 24m56s 03 92 26m 25m59s 04 157 15m20s 15m20s 05 133 18m34s 18m33s 06 95 25m56s 25m54s 07 94 26m26s 26m26s 08 95 25m18s 25m17s 09 88 27m58s 27m57s 10 89 26m49s 26m48s 11 70 30m51s 30m51s 12 82 30m15s 30m15s 13 307 7m43s 7m43s 14 90 27m27s 27m25s 15 88 28m9s 28m8s 16 81 29m32s 29m31s 17 83 28m6s 28m4s 18 88 27m41s 27m40s 19 81 28m39s 28m38s 20 91 25m9s 25m8s 21 84 27m40s 27m40s 22 100 23m51s 23m50s 23 82 29m40s 29m39s Sep 30 00 79 30m54s 30m41s 01 82 29m20s 29m20s 02 94 25m31s 25m29s 03 95 25m39s 25m38s 04 94 26m19s 26m17s 05 103 22m50s 22m48s 06 92 26m37s 26m35s 07 84 29m21s 29m20s 08 82 28m14s 28m13s 09 92 26m25s 26m24s 10 77 28m34s 28m31s 11 80 30m24s 30m24s 12 85 29m18s 29m17s 13 87 27m13s 27m13s 14 89 27m33s 27m31s 15 81 27m32s 27m32s 16 75 29m42s 29m41s 17 108 26m51s 26m50s 18 87 1h1m42s 1h1m41s 19 92 31m17s 31m16s 20 81 30m12s 30m11s 21 80 29m6s 29m6s 22 77 30m54s 30m53s 23 93 24m40s 24m39s Oct 01 00 88 25m35s 25m22s 01 77 30m8s 30m1s 02 89 26m32s 26m31s 03 84 30m1s 30m 04 84 28m56s 28m56s 05 116 21m3s 21m2s 06 86 28m9s 28m7s 07 98 24m16s 24m16s 08 83 28m21s 28m21s 09 78 29m28s 29m28s 10 81 29m55s 29m51s 11 95 26m20s 26m20s 12 94 26m18s 26m18s 13 81 29m21s 29m20s 14 102 23m46s 23m44s 15 111 22m16s 22m16s 16 85 28m24s 28m23s 17 89 27m18s 27m17s 18 82 29m33s 29m31s 19 87 26m15s 26m14s 20 98 24m45s 24m45s 21 81 28m26s 28m25s 22 81 30m13s 30m12s 23 90 39m20s 39m19s Oct 02 00 77 29m52s 29m38s 01 89 27m42s 27m41s 02 98 24m56s 24m55s 03 81 29m6s 29m5s 04 123 19m36s 19m35s 05 128 18m45s 18m44s 06 86 28m5s 28m4s 07 83 28m43s 28m42s 08 75 30m22s 30m22s 09 75 31m39s 31m38s 10 96 25m54s 25m53s 11 84 28m57s 28m57s 12 97 24m58s 24m57s 13 91 26m55s 26m54s 14 95 26m5s 25m54s 15 83 28m54s 28m52s 16 81 29m38s 29m37s 17 76 30m19s 30m19s 18 94 57m59s 57m58s 19 98 24m20s 24m20s 20 81 29m51s 29m51s 21 76 30m15s 30m14s 22 101 24m20s 24m19s 23 76 30m14s 30m14s Oct 03 00 89 26m33s 26m22s 01 83 29m26s 29m25s 02 133 19m8s 19m7s 03 78 30m 29m59s 04 86 27m23s 27m22s 05 95 24m51s 24m50s 06 82 28m34s 28m32s 07 73 30m39s 30m37s 08 81 31m44s 31m43s 09 103 24m4s 24m1s 10 89 26m22s 26m19s 11 86 27m54s 27m53s 12 87 28m26s 28m26s 13 81 28m56s 28m55s 14 106 23m1s 22m58s 15 82 30m18s 30m17s 16 85 28m11s 28m10s 17 91 26m6s 26m4s 18 81 30m 29m58s 19 87 27m57s 27m56s 20 84 28m2s 28m1s 21 86 27m7s 27m6s 22 128 58m6s 58m5s 23 104 28m21s 28m20s Oct 04 00 178 13m23s 13m16s 01 89 27m54s 27m45s 02 90 26m19s 26m17s 03 88 27m13s 27m8s 04 88 26m31s 26m30s 05 111 22m3s 22m1s 06 74 29m40s 29m38s 07 104 24m21s 24m21s 08 93 24m55s 24m55s 09 108 22m18s 22m18s 10 90 26m10s 26m7s 11 87 28m13s 28m13s 12 92 26m18s 26m17s 13 104 22m42s 22m41s 14 111 22m36s 22m29s 15 148 16m34s 16m21s 16 171 14m29s 14m18s 17 96 24m27s 24m26s 18 94 26m20s 26m18s 19 85 27m43s 27m43s 20 84 28m38s 28m38s 21 82 28m10s 28m9s 22 84 37m11s 37m11s 23 81 30m44s 30m43s Oct 05 00 87 28m19s 28m6s 01 81 29m48s 29m47s 02 84 28m16s 28m15s 03 91 26m44s 26m40s 04 97 24m27s 24m21s 05 94 23m35s 23m34s 06 81 29m56s 29m55s 07 87 27m1s 26m58s 08 84 28m32s 28m30s 09 75 31m25s 31m24s 10 78 30m22s 30m21s 11 77 32m3s 32m2s 12 162 15m12s 15m11s 13 87 27m56s 27m56s 14 87 27m51s 27m51s 15 89 26m56s 26m55s 16 82 29m21s 29m20s 17 90 25m52s 25m51s 18 84 29m21s 29m15s 19 85 30m2s 29m5s 20 90 26m19s 26m18s 21 78 29m56s 29m55s 22 87 27m17s 27m16s 23 87 28m46s 28m45s -
Connections
Established Connections
Key values
- 68 connections Connection Peak
- 2024-09-29 13:35:13 Date
Connections per database
Key values
- ctdprd51 Main Database
- 15,585 connections Total
Connections per user
Key values
- pubeu Main User
- 15,585 connections Total
-
Sessions
Simultaneous sessions
Key values
- 59 sessions Session Peak
- 2024-09-30 18:20:57 Date
Histogram of session times
Key values
- 12,136 1800000-3600000ms duration
Sessions per database
Key values
- ctdprd51 Main Database
- 15,585 sessions Total
Sessions per user
Key values
- pubeu Main User
- 15,585 sessions Total
Sessions per host
Key values
- 10.12.5.37 Main Host
- 15,585 sessions Total
Host Count Total Duration Average Duration 10.12.5.37 4,728 56d1h54m26s 17m4s 10.12.5.38 2,632 56d1h20m36s 30m40s 10.12.5.39 2,615 56d1h13m41s 30m51s 10.12.5.40 1 6m44s 6m44s 10.12.5.45 2,668 55d23h57m41s 30m13s 10.12.5.46 2,632 56d1h16m32s 30m40s 192.168.201.10 14 4d21h19m 8h22m47s 192.168.201.14 6 1d7h27m55s 5h14m39s 192.168.201.18 4 1d46m34s 6h11m38s 192.168.201.22 7 2d6h54m45s 7h50m40s ::1 52 2h13m42s 2m34s [local] 226 1m3s 283ms -
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 348,305 buffers Checkpoint Peak
- 2024-09-29 22:37:11 Date
- 1620.001 seconds Highest write time
- 0.014 seconds Sync time
Checkpoints Wal files
Key values
- 66 files Wal files usage Peak
- 2024-10-03 15:37:21 Date
Checkpoints distance
Key values
- 2,225.99 Mo Distance Peak
- 2024-09-30 05:07:11 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Sep 29 00 700 70.238s 0.004s 70.311s 01 331 33.351s 0.002s 33.382s 02 1,223 122.711s 0.002s 122.79s 03 3,459 346.719s 0.002s 346.799s 04 4,804 481.373s 0.002s 481.461s 05 49,535 1,635.785s 0.003s 1,635.963s 06 379 38.158s 0.002s 38.188s 07 185 18.719s 0.002s 18.748s 08 118 12.005s 0.002s 12.039s 09 208 20.934s 0.002s 20.967s 10 216 21.829s 0.002s 21.86s 11 127 12.91s 0.002s 12.941s 12 314 31.638s 0.002s 31.718s 13 794 79.728s 0.002s 79.759s 14 213 21.522s 0.002s 21.553s 15 115 11.706s 0.002s 11.736s 16 116 11.8s 0.002s 11.831s 17 123 12.504s 0.002s 12.534s 18 206 20.823s 0.002s 20.854s 19 115 11.701s 0.002s 11.732s 20 221 22.346s 0.002s 22.377s 21 62 6.308s 0.001s 6.324s 22 402,143 3,239.72s 0.003s 3,240.125s 23 50,483 1,631.45s 0.004s 1,631.514s Sep 30 00 813 81.659s 0.003s 81.693s 01 71 7.203s 0.001s 7.219s 02 49,988 1,639.3s 0.004s 1,639.504s 03 136 13.804s 0.002s 13.836s 04 92 9.309s 0.001s 9.325s 05 104,984 1,635.755s 0.003s 1,636.016s 06 2,585 259.15s 0.002s 259.224s 07 1,347 135.149s 0.002s 135.185s 08 108 11.004s 0.002s 11.035s 09 2,091 209.577s 0.002s 209.65s 10 133 13.502s 0.002s 13.537s 11 443 44.577s 0.003s 44.613s 12 464 46.667s 0.002s 46.699s 13 90 9.193s 0.002s 9.223s 14 222 22.33s 0.002s 22.363s 15 319 32.146s 0.002s 32.177s 16 397 39.964s 0.002s 40.044s 17 1,280 128.354s 0.003s 128.385s 18 735 73.819s 0.002s 73.849s 19 854 85.74s 0.002s 85.772s 20 818 82.13s 0.002s 82.16s 21 955 95.855s 0.002s 95.885s 22 568 57.086s 0.002s 57.118s 23 391 39.35s 0.002s 39.381s Oct 01 00 1,249 125.364s 0.003s 125.436s 01 583 58.488s 0.002s 58.518s 02 618 62.1s 0.003s 62.134s 03 521 52.372s 0.002s 52.403s 04 1,901 190.676s 0.002s 190.752s 05 850 85.354s 0.002s 85.385s 06 49,733 1,647.732s 0.002s 1,647.915s 07 4,536 454.404s 0.002s 454.485s 08 513 51.58s 0.002s 51.612s 09 6,984 699.767s 0.003s 699.849s 10 69,514 2,037.877s 0.015s 2,038.073s 11 782 78.554s 0.002s 78.584s 12 846 84.995s 0.003s 85.027s 13 1,375 137.937s 0.002s 137.967s 14 663 66.529s 0.002s 66.56s 15 741 74.451s 0.002s 74.528s 16 700 70.323s 0.002s 70.353s 17 3,275 328.212s 0.003s 328.284s 18 4,336 434.538s 0.002s 434.583s 19 555 55.789s 0.002s 55.823s 20 500 50.279s 0.003s 50.309s 21 396 39.858s 0.002s 39.887s 22 222 22.431s 0.002s 22.461s 23 283 28.541s 0.002s 28.571s Oct 02 00 826 82.946s 0.003s 83.018s 01 272 27.44s 0.002s 27.472s 02 375 37.758s 0.002s 37.829s 03 424 42.665s 0.002s 42.7s 04 412 41.458s 0.002s 41.488s 05 527 52.829s 0.002s 52.86s 06 434 43.665s 0.002s 43.695s 07 311 31.339s 0.002s 31.369s 08 497 49.977s 0.002s 50.007s 09 436 43.895s 0.003s 43.926s 10 597 60.007s 0.002s 60.084s 11 9,634 964.781s 0.003s 964.864s 12 536 53.791s 0.002s 53.869s 13 1,405 140.922s 0.002s 140.956s 14 4,485 449.552s 0.004s 449.721s 15 3,888 389.609s 0.002s 389.695s 16 611 61.397s 0.002s 61.432s 17 3,733 374.153s 0.002s 374.235s 18 515 51.781s 0.002s 51.817s 19 319 32.142s 0.002s 32.173s 20 270 27.227s 0.002s 27.302s 21 311 31.332s 0.002s 31.362s 22 360 36.263s 0.002s 36.293s 23 300 30.253s 0.002s 30.284s Oct 03 00 800 80.341s 0.003s 80.425s 01 354 35.55s 0.002s 35.581s 02 816 81.966s 0.002s 81.996s 03 303 30.443s 0.001s 30.459s 04 56,120 1,637.757s 0.004s 1,637.948s 05 114 11.511s 0.001s 11.526s 06 50,379 1,677.806s 0.004s 1,677.992s 07 1,454 145.837s 0.002s 145.911s 08 3,261 326.785s 0.004s 326.836s 09 514 51.709s 0.002s 51.74s 10 617 62.004s 0.003s 62.037s 11 392 39.369s 0.002s 39.4s 12 492 49.522s 0.002s 49.609s 13 1,673 167.792s 0.002s 167.822s 14 1,939 194.332s 0.002s 194.415s 15 99,208 1,649.355s 0.003s 1,650.215s 16 476 47.785s 0.002s 47.815s 17 532 53.482s 0.002s 53.513s 18 363 36.556s 0.002s 36.587s 19 193 19.427s 0.001s 19.442s 20 71,305 1,670.527s 0.003s 1,671.051s 21 427 43.006s 0.002s 43.039s 22 589 59.192s 0.002s 59.224s 23 402 40.456s 0.002s 40.487s Oct 04 00 1,376 138.048s 0.004s 138.119s 01 2,011 201.734s 0.003s 201.768s 02 777 78.026s 0.003s 78.058s 03 300 30.249s 0.002s 30.335s 04 334 33.662s 0.002s 33.692s 05 1,739 174.435s 0.003s 174.517s 06 11,482 1,150.018s 0.002s 1,150.129s 07 316 31.843s 0.002s 31.873s 08 589 59.21s 0.004s 59.243s 09 1,441 144.473s 0.003s 144.56s 10 4,266 427.61s 0.003s 427.713s 11 1,305 130.95s 0.003s 131s 12 418 42.063s 0.002s 42.093s 13 490 49.28s 0.002s 49.311s 14 66,783 1,668.533s 0.004s 1,669.103s 15 743 74.546s 0.003s 74.579s 16 582 58.528s 0.002s 58.56s 17 800 80.346s 0.002s 80.433s 18 294 29.632s 0.002s 29.662s 19 557 56.014s 0.002s 56.046s 20 305 30.735s 0.002s 30.764s 21 374 37.673s 0.003s 37.704s 22 265 26.638s 0.002s 26.669s 23 377 37.957s 0.002s 37.988s Oct 05 00 1,183 118.735s 0.005s 118.859s 01 155 15.728s 0.002s 15.761s 02 319 32.163s 0.002s 32.194s 03 215 21.717s 0.002s 21.748s 04 432 43.478s 0.002s 43.509s 05 278 28.041s 0.002s 28.071s 06 313 31.54s 0.002s 31.57s 07 281 28.24s 0.002s 28.27s 08 285 28.74s 0.002s 28.771s 09 269 27.139s 0.002s 27.169s 10 176 17.728s 0.001s 17.743s 11 82,036 1,768.096s 0.004s 1,768.587s 12 316 31.839s 0.002s 31.871s 13 250 25.225s 0.002s 25.254s 14 314 31.65s 0.002s 31.681s 15 199 20.119s 0.002s 20.151s 16 397 39.96s 0.002s 39.991s 17 469 47.19s 0.002s 47.221s 18 521 52.391s 0.002s 52.422s 19 390 39.158s 0.002s 39.244s 20 82,229 1,627.622s 0.002s 1,627.657s 21 452 45.475s 0.002s 45.506s 22 374 37.677s 0.002s 37.707s 23 472 47.475s 0.002s 47.505s Day Hour Added Removed Recycled Synced files Longest sync Average sync Sep 29 00 0 0 0 70 0.002s 0.002s 01 0 0 0 39 0.001s 0.002s 02 0 1 0 38 0.001s 0.002s 03 0 1 0 54 0.001s 0.002s 04 0 3 0 50 0.001s 0.002s 05 0 33 0 50 0.001s 0.002s 06 0 0 0 43 0.001s 0.002s 07 0 0 0 31 0.001s 0.002s 08 0 0 0 28 0.001s 0.002s 09 0 0 0 31 0.001s 0.002s 10 0 0 0 36 0.001s 0.002s 11 0 0 0 23 0.001s 0.002s 12 0 1 0 33 0.001s 0.002s 13 0 0 0 33 0.001s 0.002s 14 0 0 0 31 0.001s 0.002s 15 0 0 0 22 0.001s 0.002s 16 0 0 0 21 0.001s 0.002s 17 0 0 0 20 0.001s 0.002s 18 0 0 0 29 0.001s 0.002s 19 0 0 0 21 0.001s 0.002s 20 0 0 0 27 0.001s 0.002s 21 0 0 0 10 0.001s 0.001s 22 0 106 0 63 0.001s 0.002s 23 0 2 0 44 0.002s 0.003s Sep 30 00 0 0 0 67 0.001s 0.002s 01 0 0 0 16 0.001s 0.001s 02 0 33 0 71 0.001s 0.003s 03 0 0 0 26 0.001s 0.002s 04 0 0 0 18 0.001s 0.001s 05 0 70 0 62 0.001s 0.002s 06 0 1 0 47 0.001s 0.002s 07 0 0 0 43 0.001s 0.002s 08 0 0 0 27 0.001s 0.002s 09 0 1 0 46 0.001s 0.002s 10 0 0 0 35 0.001s 0.002s 11 0 0 0 179 0.001s 0.002s 12 0 0 0 120 0.001s 0.002s 13 0 0 0 20 0.001s 0.002s 14 0 0 0 73 0.001s 0.002s 15 0 0 0 105 0.001s 0.002s 16 0 1 0 73 0.001s 0.002s 17 0 0 0 101 0.001s 0.002s 18 0 0 0 24 0.001s 0.002s 19 0 0 0 21 0.001s 0.002s 20 0 0 0 20 0.001s 0.002s 21 0 0 0 38 0.001s 0.002s 22 0 0 0 25 0.001s 0.002s 23 0 0 0 20 0.001s 0.002s Oct 01 00 0 0 0 76 0.001s 0.002s 01 0 0 0 27 0.001s 0.002s 02 0 0 0 34 0.001s 0.002s 03 0 0 0 32 0.001s 0.002s 04 0 1 0 46 0.001s 0.002s 05 0 0 0 50 0.001s 0.002s 06 0 33 0 49 0.001s 0.002s 07 0 3 0 42 0.001s 0.002s 08 0 0 0 24 0.001s 0.002s 09 0 3 0 134 0.001s 0.002s 10 0 43 0 149 0.011s 0.002s 11 0 0 0 130 0.001s 0.002s 12 0 0 0 130 0.001s 0.002s 13 0 0 0 29 0.001s 0.002s 14 0 0 0 106 0.001s 0.002s 15 0 1 0 190 0.001s 0.002s 16 0 0 0 82 0.001s 0.002s 17 0 2 0 38 0.001s 0.002s 18 0 2 0 46 0.001s 0.002s 19 0 0 0 20 0.001s 0.002s 20 0 0 0 28 0.002s 0.002s 21 0 0 0 22 0.001s 0.002s 22 0 0 0 21 0.001s 0.002s 23 0 0 0 24 0.001s 0.002s Oct 02 00 0 0 0 73 0.001s 0.002s 01 0 0 0 27 0.001s 0.002s 02 0 1 0 30 0.001s 0.002s 03 0 0 0 37 0.001s 0.002s 04 0 0 0 30 0.001s 0.002s 05 0 0 0 35 0.001s 0.002s 06 0 0 0 49 0.001s 0.002s 07 0 0 0 30 0.001s 0.002s 08 0 0 0 40 0.001s 0.002s 09 0 0 0 102 0.001s 0.002s 10 0 1 0 63 0.001s 0.002s 11 0 3 0 206 0.001s 0.002s 12 0 1 0 118 0.001s 0.002s 13 0 0 0 38 0.001s 0.002s 14 0 32 0 232 0.001s 0.002s 15 0 1 0 85 0.001s 0.002s 16 0 0 0 32 0.001s 0.002s 17 0 2 0 48 0.001s 0.002s 18 0 0 0 38 0.001s 0.002s 19 0 0 0 19 0.001s 0.002s 20 0 1 0 20 0.001s 0.002s 21 0 0 0 21 0.001s 0.002s 22 0 0 0 33 0.001s 0.002s 23 0 0 0 23 0.001s 0.002s Oct 03 00 0 0 0 72 0.001s 0.002s 01 0 0 0 38 0.001s 0.002s 02 0 0 0 47 0.001s 0.002s 03 0 0 0 28 0.001s 0.001s 04 0 33 0 58 0.001s 0.003s 05 0 0 0 11 0.001s 0.001s 06 0 34 0 87 0.002s 0.003s 07 0 1 0 34 0.001s 0.002s 08 0 0 1 155 0.001s 0.002s 09 0 0 0 86 0.001s 0.002s 10 0 0 0 188 0.001s 0.002s 11 0 0 0 111 0.001s 0.002s 12 0 0 1 70 0.001s 0.002s 13 0 0 0 76 0.001s 0.002s 14 0 0 1 49 0.001s 0.002s 15 0 0 66 109 0.001s 0.002s 16 0 0 0 25 0.001s 0.002s 17 0 0 0 30 0.001s 0.002s 18 0 0 0 23 0.001s 0.002s 19 0 0 0 12 0.001s 0.001s 20 0 1 36 55 0.001s 0.003s 21 0 0 0 20 0.001s 0.002s 22 0 0 0 28 0.001s 0.002s 23 0 0 0 23 0.001s 0.002s Oct 04 00 0 0 0 77 0.001s 0.002s 01 0 0 0 59 0.001s 0.002s 02 0 0 0 46 0.001s 0.002s 03 0 0 1 29 0.001s 0.002s 04 0 0 0 35 0.001s 0.002s 05 0 0 1 49 0.001s 0.002s 06 0 0 6 60 0.001s 0.002s 07 0 0 0 30 0.001s 0.002s 08 0 0 0 78 0.001s 0.002s 09 0 0 1 104 0.001s 0.002s 10 0 0 2 150 0.001s 0.002s 11 0 0 1 39 0.001s 0.002s 12 0 0 0 24 0.001s 0.002s 13 0 0 0 78 0.001s 0.002s 14 0 0 42 161 0.001s 0.002s 15 0 0 0 70 0.001s 0.002s 16 0 0 0 30 0.001s 0.002s 17 0 0 1 44 0.001s 0.002s 18 0 0 0 35 0.001s 0.002s 19 0 0 0 37 0.001s 0.002s 20 0 0 0 32 0.001s 0.002s 21 0 0 0 23 0.001s 0.002s 22 0 0 0 22 0.001s 0.002s 23 0 0 0 30 0.001s 0.002s Oct 05 00 0 0 1 76 0.001s 0.002s 01 0 0 0 30 0.001s 0.002s 02 0 0 0 34 0.001s 0.002s 03 0 0 0 30 0.001s 0.002s 04 0 0 0 37 0.001s 0.002s 05 0 0 0 29 0.001s 0.002s 06 0 0 0 29 0.001s 0.002s 07 0 0 0 29 0.001s 0.002s 08 0 0 0 29 0.001s 0.002s 09 0 0 0 31 0.001s 0.002s 10 0 0 0 14 0.001s 0.001s 11 0 0 34 62 0.001s 0.003s 12 0 0 0 30 0.001s 0.002s 13 0 0 0 20 0.001s 0.002s 14 0 0 0 29 0.001s 0.002s 15 0 0 0 22 0.001s 0.002s 16 0 0 0 30 0.001s 0.002s 17 0 0 0 38 0.001s 0.002s 18 0 0 0 29 0.001s 0.002s 19 0 0 1 32 0.001s 0.002s 20 0 0 0 27 0.001s 0.002s 21 0 0 0 28 0.001s 0.002s 22 0 0 0 31 0.001s 0.002s 23 0 0 0 30 0.001s 0.002s Day Hour Count Avg time (sec) Sep 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 Sep 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 Oct 01 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 Oct 02 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 Oct 03 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 Oct 04 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 Oct 05 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Day Hour Mean distance Mean estimate Sep 29 00 2,134.00 kB 391,183.00 kB 01 730.50 kB 317,020.50 kB 02 3,636.50 kB 257,195.00 kB 03 13,313.00 kB 210,001.00 kB 04 23,741.50 kB 173,680.00 kB 05 268,511.00 kB 509,379.00 kB 06 685.00 kB 412,740.00 kB 07 421.50 kB 334,397.50 kB 08 192.00 kB 270,918.00 kB 09 459.50 kB 219,527.50 kB 10 533.00 kB 177,915.50 kB 11 190.00 kB 144,153.50 kB 12 655.50 kB 116,886.50 kB 13 2,087.00 kB 95,076.50 kB 14 489.00 kB 77,083.00 kB 15 196.50 kB 62,499.00 kB 16 222.00 kB 50,662.50 kB 17 214.00 kB 41,078.50 kB 18 443.00 kB 33,360.50 kB 19 213.50 kB 27,060.50 kB 20 547.50 kB 21,992.00 kB 21 220.00 kB 18,815.00 kB 22 605,684.50 kB 605,684.50 kB 23 183,767.67 kB 558,323.00 kB Sep 30 00 2,481.00 kB 428,467.00 kB 01 342.00 kB 365,433.00 kB 02 181,101.00 kB 490,043.00 kB 03 252.50 kB 375,780.00 kB 04 435.00 kB 320,450.00 kB 05 570,275.50 kB 1,082,763.00 kB 06 7,780.50 kB 877,884.50 kB 07 3,796.00 kB 712,154.50 kB 08 221.50 kB 577,200.50 kB 09 6,010.50 kB 468,171.00 kB 10 267.00 kB 379,770.50 kB 11 1,271.00 kB 307,833.50 kB 12 1,225.50 kB 249,568.00 kB 13 176.50 kB 202,219.50 kB 14 536.50 kB 163,868.00 kB 15 651.50 kB 132,860.50 kB 16 642.50 kB 107,761.00 kB 17 1,138.00 kB 87,459.00 kB 18 219.50 kB 70,931.50 kB 19 250.00 kB 57,502.00 kB 20 247.50 kB 46,622.00 kB 21 701.50 kB 37,877.00 kB 22 225.50 kB 30,744.50 kB 23 207.00 kB 24,944.00 kB Oct 01 00 2,418.50 kB 20,600.50 kB 01 188.50 kB 16,793.00 kB 02 381.00 kB 13,659.00 kB 03 249.00 kB 11,124.00 kB 04 5,031.00 kB 9,948.50 kB 05 1,041.00 kB 8,248.50 kB 06 273,534.50 kB 519,583.50 kB 07 21,211.00 kB 424,870.00 kB 08 179.50 kB 344,200.00 kB 09 27,043.50 kB 283,801.00 kB 10 349,209.50 kB 624,777.00 kB 11 1,351.00 kB 508,205.50 kB 12 1,237.50 kB 411,889.50 kB 13 472.00 kB 333,762.00 kB 14 573.50 kB 270,437.50 kB 15 1,403.50 kB 219,272.50 kB 16 1,049.00 kB 177,872.00 kB 17 15,169.00 kB 145,636.00 kB 18 20,227.00 kB 122,291.50 kB 19 182.50 kB 99,933.50 kB 20 434.00 kB 81,005.50 kB 21 244.00 kB 65,677.50 kB 22 178.00 kB 53,238.50 kB 23 245.50 kB 43,169.00 kB Oct 02 00 1,973.00 kB 35,281.50 kB 01 186.00 kB 28,681.00 kB 02 245.50 kB 23,277.50 kB 03 394.00 kB 18,914.50 kB 04 498.50 kB 15,393.00 kB 05 495.50 kB 12,577.00 kB 06 640.00 kB 10,310.50 kB 07 379.00 kB 8,422.00 kB 08 598.00 kB 6,918.00 kB 09 593.50 kB 5,738.00 kB 10 7,049.00 kB 9,218.50 kB 11 29,309.50 kB 34,509.00 kB 12 958.50 kB 48,622.50 kB 13 5,227.50 kB 39,969.50 kB 14 257,910.50 kB 274,651.00 kB 15 13,322.00 kB 441,796.00 kB 16 783.50 kB 358,723.00 kB 17 16,895.50 kB 293,778.00 kB 18 544.50 kB 238,035.50 kB 19 230.00 kB 192,885.00 kB 20 169.00 kB 156,269.50 kB 21 183.00 kB 126,611.50 kB 22 451.00 kB 102,617.50 kB 23 193.50 kB 83,180.00 kB Oct 03 00 2,002.00 kB 67,700.00 kB 01 434.00 kB 54,965.50 kB 02 1,985.00 kB 44,764.50 kB 03 1,467.00 kB 38,477.00 kB 04 178,665.00 kB 483,651.00 kB 05 129.00 kB 390,348.00 kB 06 185,197.00 kB 499,481.67 kB 07 5,839.50 kB 383,667.00 kB 08 12,668.50 kB 313,658.50 kB 09 682.50 kB 254,215.00 kB 10 1,397.00 kB 206,094.50 kB 11 758.50 kB 167,142.00 kB 12 822.00 kB 135,567.50 kB 13 5,368.50 kB 110,378.00 kB 14 6,808.00 kB 91,112.00 kB 15 541,374.00 kB 1,028,352.50 kB 16 330.00 kB 833,027.00 kB 17 481.50 kB 674,847.50 kB 18 249.00 kB 546,671.50 kB 19 316.00 kB 466,154.00 kB 20 197,726.33 kB 507,887.67 kB 21 252.50 kB 390,865.00 kB 22 541.00 kB 316,679.50 kB 23 370.00 kB 256,601.50 kB Oct 04 00 2,698.50 kB 208,302.00 kB 01 2,578.00 kB 169,221.00 kB 02 1,503.50 kB 137,306.00 kB 03 310.50 kB 111,387.50 kB 04 498.00 kB 90,301.00 kB 05 5,702.00 kB 73,764.50 kB 06 55,938.50 kB 106,093.50 kB 07 494.50 kB 86,028.00 kB 08 1,005.50 kB 69,862.50 kB 09 4,214.50 kB 57,056.00 kB 10 19,655.50 kB 48,571.50 kB 11 4,114.50 kB 41,825.50 kB 12 403.00 kB 33,963.50 kB 13 813.50 kB 27,657.00 kB 14 346,139.50 kB 655,498.00 kB 15 1,337.00 kB 531,273.00 kB 16 797.50 kB 430,497.00 kB 17 2,144.50 kB 349,123.00 kB 18 418.00 kB 282,867.50 kB 19 1,147.00 kB 229,277.00 kB 20 525.50 kB 185,876.50 kB 21 467.00 kB 150,649.00 kB 22 384.50 kB 122,098.50 kB 23 776.00 kB 99,018.50 kB Oct 05 00 3,660.50 kB 80,865.50 kB 01 249.50 kB 65,610.50 kB 02 440.50 kB 53,227.50 kB 03 337.00 kB 43,188.50 kB 04 738.00 kB 35,114.50 kB 05 368.50 kB 28,505.00 kB 06 498.00 kB 23,201.50 kB 07 400.00 kB 18,868.00 kB 08 422.50 kB 15,362.00 kB 09 411.00 kB 12,523.50 kB 10 506.00 kB 10,737.00 kB 11 185,762.00 kB 502,065.00 kB 12 472.00 kB 385,024.50 kB 13 227.00 kB 311,934.50 kB 14 482.00 kB 252,738.50 kB 15 225.00 kB 204,783.00 kB 16 620.50 kB 165,983.00 kB 17 688.00 kB 134,557.00 kB 18 404.00 kB 109,090.00 kB 19 647.50 kB 88,458.00 kB 20 304.00 kB 71,740.50 kB 21 1,047.00 kB 58,307.50 kB 22 620.00 kB 47,343.50 kB 23 981.50 kB 38,477.50 kB -
Temporary Files
Size of temporary files
Key values
- 3.00 GiB Temp Files size Peak
- 2024-10-04 14:59:06 Date
Number of temporary files
Key values
- 3 per second Temp Files Peak
- 2024-10-04 14:59:07 Date
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Sep 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 Sep 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 Oct 01 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 Oct 02 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 Oct 03 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 Oct 04 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 6 5.86 GiB 999.72 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 Oct 05 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Queries generating the most temporary files (N)
Rank Count Total size Min size Max size Avg size Query 1 6 5.86 GiB 878.34 MiB 1.00 GiB 999.72 MiB select distinct ;-
select distinct ;
Date: 2024-10-04 14:59:06 Duration: 0ms
Queries generating the largest temporary files
Rank Size Query 1 1.00 GiB select distinct ;[ Date: 2024-10-04 14:59:06 ]
2 1.00 GiB select distinct ;[ Date: 2024-10-04 14:59:06 ]
3 1.00 GiB select distinct ;[ Date: 2024-10-04 14:59:06 ]
4 1.00 GiB select distinct ;[ Date: 2024-10-04 14:59:07 ]
5 1.00 GiB select distinct ;[ Date: 2024-10-04 14:59:07 ]
6 878.34 MiB select distinct ;[ Date: 2024-10-04 14:59:07 ]
-
Vacuums
Vacuums / Analyzes Distribution
Key values
- 68.12 sec Highest CPU-cost vacuum
Table pub2.term_set_enrichment_agent
Database ctdprd51 - 2024-09-29 21:54:28 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 68.12 sec Highest CPU-cost vacuum
Table pub2.term_set_enrichment_agent
Database ctdprd51 - 2024-09-29 21:54:28 Date
Analyzes per table
Key values
- pubc.log_query (146) Main table analyzed (database ctdprd51)
- 187 analyzes Total
Table Number of analyzes ctdprd51.pubc.log_query 146 ctdprd51.pub1.term_set_enrichment 14 ctdprd51.pub1.term_set_enrichment_agent 11 ctdprd51.pub1.term_comp 6 ctdprd51.pub1.term_comp_agent 5 ctdprd51.pubc.new_bots 1 ctdprd51.pub2.term_set_enrichment 1 ctdprd51.edit.exp_outcome 1 ctdprd51.load.ixn_prose 1 ctdprd51.pg_catalog.pg_attribute 1 Total 187 Vacuums per table
Key values
- pubc.log_query (21) Main table vacuumed on database ctdprd51
- 46 vacuums Total
Index Buffer usage Skipped WAL usage Table Vacuums scans hits misses dirtied pins frozen records full page bytes ctdprd51.pubc.log_query 21 18 7,699 0 1,488 0 0 2,220 532 3,786,171 ctdprd51.pub1.term_set_enrichment 7 0 7,130 0 1,651 0 0 3,255 10 267,010 ctdprd51.pub1.term_set_enrichment_agent 7 0 418,437 0 66,514 0 0 205,546 20 12,272,737 ctdprd51.pub1.term_comp_agent 3 0 694 0 102 0 0 209 5 48,276 ctdprd51.pg_catalog.pg_statistic 3 3 1,897 0 374 0 70 1,076 329 1,504,089 ctdprd51.pg_toast.pg_toast_2619 2 2 7,948 0 3,037 0 19,899 6,912 2,201 1,129,804 ctdprd51.load.ixn_prose 1 0 54,849 0 50,741 0 0 52,773 2 3,130,130 ctdprd51.pub2.term_set_enrichment_agent 1 0 628,184 0 292,098 0 0 313,972 12 18,622,934 ctdprd51.pg_toast.pg_toast_486223 1 0 48 0 0 0 0 1 0 188 Total 46 23 1,126,886 52,810 416,005 0 19,969 585,964 3,111 40,761,339 Tuples removed per table
Key values
- pg_toast.pg_toast_2619 (8379) Main table with removed tuples on database ctdprd51
- 9786 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain ctdprd51.pg_toast.pg_toast_2619 2 2 8,379 41,227 0 0 25,184 ctdprd51.pg_catalog.pg_statistic 3 3 1,237 7,416 0 0 870 ctdprd51.pubc.log_query 21 18 170 44,977 0 0 1,862 ctdprd51.pub1.term_comp_agent 3 0 0 54,573 0 0 492 ctdprd51.pub1.term_set_enrichment 7 0 0 783,131 0 0 12,979 ctdprd51.load.ixn_prose 1 0 0 2,912,354 0 0 52,772 ctdprd51.pub1.term_set_enrichment_agent 7 0 0 66,906,288 0 0 760,306 ctdprd51.pub2.term_set_enrichment_agent 1 0 0 144,121,025 0 0 1,637,738 ctdprd51.pg_toast.pg_toast_486223 1 0 0 0 0 0 0 Total 46 23 9,786 214,870,991 0 0 2,492,203 Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Pages removed per tables
NO DATASET
Table Number of vacuums Index scans Tuples removed Pages removed ctdprd51.pub1.term_comp_agent 3 0 0 0 ctdprd51.pub1.term_set_enrichment 7 0 0 0 ctdprd51.load.ixn_prose 1 0 0 0 ctdprd51.pub1.term_set_enrichment_agent 7 0 0 0 ctdprd51.pg_toast.pg_toast_2619 2 2 8379 0 ctdprd51.pg_catalog.pg_statistic 3 3 1237 0 ctdprd51.pub2.term_set_enrichment_agent 1 0 0 0 ctdprd51.pg_toast.pg_toast_486223 1 0 0 0 ctdprd51.pubc.log_query 21 18 170 0 Total 46 23 9,786 0 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Sep 29 00 0 3 01 0 2 02 0 2 03 0 2 04 0 1 05 0 3 06 0 1 07 0 1 08 0 0 09 0 2 10 0 0 11 0 0 12 0 1 13 0 0 14 0 1 15 0 0 16 0 0 17 0 1 18 0 0 19 0 0 20 0 0 21 0 2 22 0 0 23 0 0 Sep 30 00 0 1 01 0 1 02 0 3 03 0 1 04 0 1 05 0 3 06 0 0 07 0 1 08 0 0 09 0 1 10 0 1 11 0 1 12 0 0 13 0 0 14 0 1 15 0 1 16 0 1 17 0 1 18 0 0 19 0 0 20 0 1 21 0 0 22 0 0 23 0 0 Oct 01 00 0 1 01 0 1 02 0 2 03 0 1 04 0 2 05 0 4 06 0 2 07 0 1 08 0 2 09 0 3 10 0 1 11 0 1 12 0 1 13 0 0 14 0 0 15 0 1 16 0 2 17 0 1 18 0 1 19 0 0 20 0 1 21 0 0 22 0 0 23 0 0 Oct 02 00 0 1 01 0 1 02 0 2 03 0 1 04 0 2 05 0 2 06 0 1 07 0 1 08 0 1 09 0 1 10 0 0 11 0 2 12 0 1 13 0 0 14 0 3 15 0 2 16 0 2 17 0 0 18 0 1 19 0 0 20 0 0 21 0 0 22 0 1 23 0 0 Oct 03 00 0 1 01 0 3 02 0 4 03 0 3 04 0 1 05 0 5 06 0 3 07 0 1 08 0 0 09 0 1 10 0 1 11 0 1 12 0 0 13 0 0 14 0 6 15 0 1 16 0 0 17 0 1 18 0 0 19 0 3 20 0 0 21 0 0 22 0 1 23 0 0 Oct 04 00 0 1 01 0 2 02 0 2 03 0 2 04 0 1 05 0 6 06 0 1 07 0 1 08 0 0 09 0 2 10 0 0 11 0 1 12 0 0 13 0 2 14 0 6 15 0 1 16 0 1 17 0 2 18 0 0 19 0 1 20 0 0 21 0 0 22 0 0 23 0 1 Oct 05 00 0 2 01 0 3 02 0 2 03 0 1 04 0 1 05 0 3 06 0 1 07 0 1 08 0 0 09 0 1 10 0 2 11 0 0 12 0 1 13 0 0 14 0 1 15 0 0 16 0 1 17 0 1 18 0 0 19 0 1 20 0 0 21 0 1 22 0 0 23 0 1 - 68.12 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,074 Total read queries
- 346 Total write queries
Queries by database
Key values
- unknown Main database
- 4,928 Requests
- 7h15m20s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 11,756 Requests
User Request type Count Duration edit Total 4 9s791ms select 4 9s791ms editeu Total 20 2m23s select 20 2m23s load Total 4 5m25s select 4 5m25s postgres Total 112 45m26s copy to 108 43m19s select 4 2m6s pub1 Total 2 2s33ms select 2 2s33ms pub2 Total 3 3s282ms select 3 3s282ms pubc Total 2 7s153ms select 2 7s153ms pubeu Total 5,569 4h38m35s cte 25 1m18s select 5,544 4h37m17s qaeu Total 88 4m29s cte 17 57s368ms select 71 3m31s unknown Total 11,756 17h44m58s copy to 696 6h34m46s cte 40 52s204ms ddl 2 17m26s others 9 45s688ms select 11,009 10h51m8s Duration by user
Key values
- 17h44m58s (unknown) Main time consuming user
User Request type Count Duration edit Total 4 9s791ms select 4 9s791ms editeu Total 20 2m23s select 20 2m23s load Total 4 5m25s select 4 5m25s postgres Total 112 45m26s copy to 108 43m19s select 4 2m6s pub1 Total 2 2s33ms select 2 2s33ms pub2 Total 3 3s282ms select 3 3s282ms pubc Total 2 7s153ms select 2 7s153ms pubeu Total 5,569 4h38m35s cte 25 1m18s select 5,544 4h37m17s qaeu Total 88 4m29s cte 17 57s368ms select 71 3m31s unknown Total 11,756 17h44m58s copy to 696 6h34m46s cte 40 52s204ms ddl 2 17m26s others 9 45s688ms select 11,009 10h51m8s Queries by host
Key values
- unknown Main host
- 17,560 Requests
- 23h21m40s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 7,371 Requests
- 9h24m7s (unknown)
- Main time consuming application
Application Request type Count Duration pgAdmin 4 - CONN:1257951 Total 1 1s16ms select 1 1s16ms pgAdmin 4 - CONN:8036707 Total 1 2s448ms select 1 2s448ms pgAdmin 4 - CONN:8851405 Total 1 2s447ms select 1 2s447ms pgAdmin 4 - DB:ctdprd51 Total 1 1s94ms select 1 1s94ms pg_dump Total 49 19m47s copy to 49 19m47s psql Total 3 1m6s select 3 1m6s unknown Total 7,371 9h24m7s copy to 262 1h49m25s cte 34 1m18s ddl 1 8m43s others 7 35s405ms select 7,067 7h24m5s Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2024-10-01 15:46:54 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 7,168 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 23m43s 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-10-05 19:00:41 ]
2 23m39s 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-10-05 19:41:48 ]
3 17m6s /* * 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-09-29 00:17:08 ]
4 17m3s /* * 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-10-04 00:17:05 ]
5 17m1s /* * 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-10-01 00:17:03 ]
6 16m57s /* * 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-10-05 00:16:58 ]
7 16m57s /* * 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-10-02 00:16:58 ]
8 16m55s /* * 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-10-03 00:16:57 ]
9 16m53s /* * 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-09-30 00:16:55 ]
10 11m27s 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 = '1240631') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-10-04 01:46:13 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
11 8m43s drop table load.ixn_prose; create table load.ixn_prose as select edit.get_ixn_prose (ri.ixn_id) as ixn_prose_txt, ri.reference_acc_txt, ri.taxon_acc_txt, ri.mod_tm, t.nm from edit.reference_ixn ri, edit.ixn i, edit.ixn_type t where ri.ixn_id = i.id and i.ixn_type_id = t.id;[ Date: 2024-10-02 14:24:12 ]
12 7m58s SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2081088') and diseaseTerm.object_type_id = 3 ORDER BY phenotypeTerm.nm_sort, diseaseTerm.nm_sort LIMIT 50;[ Date: 2024-10-01 01:48:05 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
13 6m55s COPY pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;[ Date: 2024-10-05 19:12:32 ]
14 6m46s COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;[ Date: 2024-10-05 19:53:28 ]
15 4m41s 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 = '1235195') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-10-04 03:38:52 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
16 4m19s select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where diseaseTerm.id = ANY (ARRAY ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'HYPERTENSION' AND tl.object_type_id = 3))) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;[ Date: 2024-10-04 14:59:06 - Bind query: yes ]
17 3m49s 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 = '1232937') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-10-03 09:44:45 - Bind query: yes ]
18 2m41s SELECT r.ixn_id, edit.get_ixn_prose (r.ixn_id), r.reference_acc_txt, r.taxon_acc_txt, r.internal_note, r.field_cd, edit.get_ixn_xml (r.ixn_id), to_char(r.create_tm, 'mm-dd-yyyy'), r.evidence_cd, i.create_by FROM edit.REFERENCE_IXN r, edit.IXN i where r.ixn_id = i.id and i.ixn_type_id = ( select id from edit.IXN_TYPE where nm = 'PHENOTYPE');[ Date: 2024-10-02 14:29:54 - Database: ctdprd51 - User: load - Bind query: yes ]
19 2m9s COPY pub2.term_set_enrichment_agent (term_ids_digest, enriched_object_type_id, enriched_term_id, agent_term_id) TO stdout;[ Date: 2024-10-05 19:56:05 ]
20 2m9s SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'mRNA'))) 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 'NFE2L2')))) ORDER BY g.nm_sort, g.id LIMIT 50;[ Date: 2024-10-01 10:07:13 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 1h58m55s 7 16m53s 17m6s 16m59s select maint_query_logs_archive ();Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Sep 29 00 1 17m6s 17m6s Sep 30 00 1 16m53s 16m53s Oct 01 00 1 17m1s 17m1s Oct 02 00 1 16m57s 16m57s Oct 03 00 1 16m55s 16m55s Oct 04 00 1 17m3s 17m3s Oct 05 00 1 16m57s 16m57s -
/* * 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-09-29 00:17:08 Duration: 17m6s
-
/* * 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-10-04 00:17:05 Duration: 17m3s
-
/* * 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-10-01 00:17:03 Duration: 17m1s
2 42m42s 1,825 1s350ms 1s593ms 1s403ms 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 #2
Day Hour Count Duration Avg duration Sep 29 00 6 8s214ms 1s369ms 01 10 13s772ms 1s377ms 02 18 24s845ms 1s380ms 03 10 13s778ms 1s377ms 04 10 14s39ms 1s403ms 05 16 22s330ms 1s395ms 06 11 15s189ms 1s380ms 07 12 16s474ms 1s372ms 08 8 11s58ms 1s382ms 09 12 16s574ms 1s381ms 10 15 20s584ms 1s372ms 11 11 15s124ms 1s374ms 12 11 15s144ms 1s376ms 13 8 10s938ms 1s367ms 14 9 12s439ms 1s382ms 15 9 12s399ms 1s377ms 16 5 6s865ms 1s373ms 17 13 17s868ms 1s374ms 18 9 12s409ms 1s378ms 19 15 20s604ms 1s373ms 20 23 31s886ms 1s386ms 21 12 16s517ms 1s376ms 22 9 12s367ms 1s374ms 23 15 20s605ms 1s373ms Sep 30 00 5 6s910ms 1s382ms 01 19 26s142ms 1s375ms 02 10 13s772ms 1s377ms 03 8 11s38ms 1s379ms 04 15 20s708ms 1s380ms 05 16 22s41ms 1s377ms 06 14 19s330ms 1s380ms 07 6 8s279ms 1s379ms 08 10 13s777ms 1s377ms 09 15 20s774ms 1s384ms 10 16 22s12ms 1s375ms 11 7 9s621ms 1s374ms 12 8 11s27ms 1s378ms 13 15 20s634ms 1s375ms 14 19 26s135ms 1s375ms 15 11 15s172ms 1s379ms 16 15 20s628ms 1s375ms 17 10 14s64ms 1s406ms 18 16 22s640ms 1s415ms 19 8 11s274ms 1s409ms 20 13 18s364ms 1s412ms 21 5 7s30ms 1s406ms 22 2 2s845ms 1s422ms 23 11 15s463ms 1s405ms Oct 01 00 4 5s655ms 1s413ms 01 2 2s832ms 1s416ms 02 8 11s289ms 1s411ms 03 5 7s32ms 1s406ms 04 6 8s458ms 1s409ms 05 7 9s868ms 1s409ms 06 12 16s986ms 1s415ms 07 11 15s694ms 1s426ms 08 16 22s535ms 1s408ms 09 2 2s829ms 1s414ms 10 11 15s628ms 1s420ms 11 10 14s229ms 1s422ms 12 9 12s746ms 1s416ms 13 7 9s886ms 1s412ms 14 10 14s153ms 1s415ms 15 6 8s529ms 1s421ms 16 13 18s373ms 1s413ms 17 12 17s 1s416ms 18 7 9s981ms 1s425ms 19 14 19s894ms 1s421ms 20 9 12s767ms 1s418ms 21 10 14s174ms 1s417ms 22 8 11s352ms 1s419ms 23 3 4s273ms 1s424ms Oct 02 00 8 11s278ms 1s409ms 01 16 22s581ms 1s411ms 02 20 28s519ms 1s425ms 03 14 19s756ms 1s411ms 04 15 21s154ms 1s410ms 05 15 21s186ms 1s412ms 06 7 9s893ms 1s413ms 07 10 14s120ms 1s412ms 08 7 9s959ms 1s422ms 09 7 9s944ms 1s420ms 10 2 2s837ms 1s418ms 11 8 11s323ms 1s415ms 12 10 14s147ms 1s414ms 13 20 28s294ms 1s414ms 14 5 7s39ms 1s407ms 15 8 11s283ms 1s410ms 16 13 18s354ms 1s411ms 17 4 5s656ms 1s414ms 18 8 11s276ms 1s409ms 19 6 8s479ms 1s413ms 20 13 18s325ms 1s409ms 21 11 15s540ms 1s412ms 22 15 21s154ms 1s410ms 23 19 26s825ms 1s411ms Oct 03 00 5 7s141ms 1s428ms 01 11 15s487ms 1s407ms 02 11 15s480ms 1s407ms 03 6 8s481ms 1s413ms 04 9 12s702ms 1s411ms 05 17 23s992ms 1s411ms 06 12 16s915ms 1s409ms 07 17 23s962ms 1s409ms 08 9 12s749ms 1s416ms 09 11 15s567ms 1s415ms 10 29 40s926ms 1s411ms 11 16 22s558ms 1s409ms 12 20 28s189ms 1s409ms 13 13 18s351ms 1s411ms 14 12 17s23ms 1s418ms 15 4 5s653ms 1s413ms 16 11 15s512ms 1s410ms 17 20 28s244ms 1s412ms 18 11 15s567ms 1s415ms 19 13 18s396ms 1s415ms 20 8 11s283ms 1s410ms 21 17 24s57ms 1s415ms 22 9 12s741ms 1s415ms 23 11 15s554ms 1s414ms Oct 04 00 13 18s358ms 1s412ms 01 12 16s877ms 1s406ms 02 18 25s535ms 1s418ms 03 14 19s650ms 1s403ms 04 10 14s96ms 1s409ms 05 13 18s351ms 1s411ms 06 15 21s190ms 1s412ms 07 18 25s406ms 1s411ms 08 12 16s910ms 1s409ms 09 11 15s523ms 1s411ms 10 12 16s936ms 1s411ms 11 12 16s957ms 1s413ms 12 11 15s496ms 1s408ms 13 11 15s544ms 1s413ms 14 20 28s270ms 1s413ms 15 13 18s397ms 1s415ms 16 13 18s426ms 1s417ms 17 16 22s558ms 1s409ms 18 32 45s133ms 1s410ms 19 13 18s369ms 1s413ms 20 8 11s247ms 1s405ms 21 12 16s891ms 1s407ms 22 11 15s532ms 1s412ms 23 10 14s121ms 1s412ms Oct 05 00 4 5s626ms 1s406ms 01 10 14s129ms 1s412ms 02 8 11s273ms 1s409ms 03 5 7s71ms 1s414ms 04 8 11s316ms 1s414ms 05 22 30s965ms 1s407ms 06 12 16s908ms 1s409ms 08 9 12s669ms 1s407ms 09 3 4s227ms 1s409ms 10 4 5s655ms 1s413ms 11 5 7s42ms 1s408ms 12 11 15s580ms 1s416ms 13 10 14s41ms 1s404ms 14 3 4s416ms 1s472ms 15 3 4s239ms 1s413ms 16 6 8s467ms 1s411ms 17 9 12s684ms 1s409ms 18 5 7s46ms 1s409ms 19 11 15s657ms 1s423ms 20 5 7s109ms 1s421ms 21 8 11s303ms 1s412ms 22 7 9s899ms 1s414ms 23 11 15s508ms 1s409ms [ User: pubeu - Total duration: 18m - Times executed: 769 ]
[ User: qaeu - Total duration: 1s519ms - Times executed: 1 ]
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2024-10-05 14:23:13 Duration: 1s593ms 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-09-29 04:31:38 Duration: 1s566ms 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-10-02 02:56:11 Duration: 1s558ms Database: ctdprd51 User: pubeu Bind query: yes
3 23m43s 1 23m43s 23m43s 23m43s copy pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Oct 05 19 1 23m43s 23m43s -
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-10-05 19:00:41 Duration: 23m43s
4 23m39s 1 23m39s 23m39s 23m39s copy pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Oct 05 19 1 23m39s 23m39s -
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-10-05 19:41:48 Duration: 23m39s
5 22m2s 11 1s338ms 11m27s 2m 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 #5
Day Hour Count Duration Avg duration Sep 29 11 1 1s338ms 1s338ms Sep 30 09 1 1s616ms 1s616ms Oct 01 12 1 1s733ms 1s733ms 22 1 1s652ms 1s652ms Oct 02 11 1 1s606ms 1s606ms Oct 03 09 1 3m49s 3m49s 12 1 3s205ms 3s205ms Oct 04 01 1 11m27s 11m27s 03 1 4m41s 4m41s 11 1 1s505ms 1s505ms Oct 05 04 1 1m52s 1m52s [ User: pubeu - Total duration: 16m16s - Times executed: 7 ]
-
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 = '1240631') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-10-04 01:46:13 Duration: 11m27s 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 = '1235195') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-10-04 03:38:52 Duration: 4m41s 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 = '1232937') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-10-03 09:44:45 Duration: 3m49s Bind query: yes
6 21m 354 3s3ms 3s806ms 3s561ms select distinct phenotypeterm.nm as gonm, phenotypeterm.nm_html as gonmhtml, phenotypeterm.acc_txt as goacc, diseaseterm.nm as diseasenm, diseaseterm.nm_html as diseasenmhtml, diseaseterm.acc_txt as diseaseacc, diseaseterm.acc_db_cd as diseaseaccdbcd, chemterm.nm as chemnm, chemterm.nm_html as chemnmhtml, chemterm.acc_txt as chemacc, geneterm.nm as genesymbol, geneterm.nm_html as genesymbolhtml, geneterm.acc_txt as geneacc, count(*) over () fullrowcount from phenotype_term_reference viachemptr, phenotype_term_reference viageneptr, term phenotypeterm, term diseaseterm, term geneterm, term chemterm where exists ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and upper(baseterm.nm) like ?) and diseaseterm.id = dp.descendant_object_id) and viachemptr.phenotype_id = phenotypeterm.id and viachemptr.term_object_type_id = ? and viachemptr.term_id = diseaseterm.id and viachemptr.via_term_object_type_id = ? and viachemptr.via_term_id = chemterm.id and viachemptr.term_id = viageneptr.term_id and viachemptr.phenotype_id = viageneptr.phenotype_id and viageneptr.via_term_object_type_id = ? and viageneptr.via_term_id = geneterm.id and exists ( select ? from gene_chem_reference where gene_id = geneterm.id and chem_id = chemterm.id) group by phenotypeterm.nm, phenotypeterm.nm_html, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.nm_html, diseaseterm.acc_txt, diseaseterm.acc_db_cd, chemterm.nm, chemterm.nm_html, chemterm.acc_txt, geneterm.nm, geneterm.nm_html, geneterm.acc_txt order by chemterm.nm limit ? offset ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Oct 03 21 3 10s787ms 3s595ms Oct 05 00 6 21s274ms 3s545ms 01 2 7s58ms 3s529ms 02 22 1m19s 3s608ms 03 72 4m21s 3s626ms 04 117 7m3s 3s617ms 07 78 4m34s 3s513ms 08 41 2m23s 3s503ms 09 2 6s261ms 3s130ms 22 5 15s508ms 3s101ms 23 6 18s435ms 3s72ms [ User: pubeu - Total duration: 4m31s - Times executed: 76 ]
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 3 and upper(baseTerm.nm) LIKE 'MEMORY DISORDERS') and diseaseTerm.id = dp.descendant_object_id) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50 OFFSET 7650;
Date: 2024-10-05 04:22:32 Duration: 3s806ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 3 and upper(baseTerm.nm) LIKE 'MEMORY DISORDERS') and diseaseTerm.id = dp.descendant_object_id) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50 OFFSET 5650;
Date: 2024-10-05 04:03:13 Duration: 3s805ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 3 and upper(baseTerm.nm) LIKE 'MEMORY DISORDERS') and diseaseTerm.id = dp.descendant_object_id) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50 OFFSET 7350;
Date: 2024-10-05 04:20:42 Duration: 3s804ms Database: ctdprd51 User: pubeu Bind query: yes
7 20m32s 1,064 1s64ms 1s411ms 1s157ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where exposuremarkerterm.id = ? or receptorterm.id = ? group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Sep 29 00 4 4s590ms 1s147ms 01 7 8s265ms 1s180ms 02 6 7s212ms 1s202ms 03 9 10s781ms 1s197ms 04 6 7s209ms 1s201ms 05 14 16s592ms 1s185ms 06 7 8s146ms 1s163ms 07 10 11s442ms 1s144ms 08 3 3s347ms 1s115ms 09 3 3s449ms 1s149ms 10 4 4s678ms 1s169ms 11 3 3s640ms 1s213ms 12 8 9s275ms 1s159ms 13 6 6s906ms 1s151ms 14 13 14s971ms 1s151ms 15 6 7s32ms 1s172ms 16 5 5s665ms 1s133ms 17 12 13s885ms 1s157ms 18 9 10s368ms 1s152ms 19 8 9s198ms 1s149ms 20 8 9s331ms 1s166ms 21 8 9s129ms 1s141ms 22 5 5s881ms 1s176ms 23 9 10s536ms 1s170ms Sep 30 00 4 4s726ms 1s181ms 01 10 11s969ms 1s196ms 02 7 8s263ms 1s180ms 03 4 4s709ms 1s177ms 04 11 12s916ms 1s174ms 05 14 16s657ms 1s189ms 06 10 11s586ms 1s158ms 07 9 10s491ms 1s165ms 08 4 4s618ms 1s154ms 09 4 4s659ms 1s164ms 10 7 8s250ms 1s178ms 11 5 5s858ms 1s171ms 12 4 4s613ms 1s153ms 13 8 9s265ms 1s158ms 14 8 9s257ms 1s157ms 15 6 6s951ms 1s158ms 16 8 9s281ms 1s160ms 17 8 9s395ms 1s174ms 18 5 5s816ms 1s163ms 19 8 9s238ms 1s154ms 20 10 11s529ms 1s152ms 21 11 12s856ms 1s168ms 22 6 7s91ms 1s181ms 23 8 9s256ms 1s157ms Oct 01 00 6 6s924ms 1s154ms 01 1 1s161ms 1s161ms 02 14 16s248ms 1s160ms 03 5 5s707ms 1s141ms 04 9 10s371ms 1s152ms 05 10 11s670ms 1s167ms 06 7 8s39ms 1s148ms 07 13 15s216ms 1s170ms 08 8 9s104ms 1s138ms 09 4 4s596ms 1s149ms 10 5 5s709ms 1s141ms 11 11 12s697ms 1s154ms 12 12 14s71ms 1s172ms 13 7 8s147ms 1s163ms 14 2 2s316ms 1s158ms 15 10 11s659ms 1s165ms 16 4 4s573ms 1s143ms 17 1 1s171ms 1s171ms 18 11 12s632ms 1s148ms 19 15 17s335ms 1s155ms 20 4 4s560ms 1s140ms 21 5 5s863ms 1s172ms 22 1 1s181ms 1s181ms 23 4 4s690ms 1s172ms Oct 02 00 6 7s30ms 1s171ms 01 9 10s447ms 1s160ms 02 5 5s773ms 1s154ms 03 11 12s804ms 1s164ms 04 3 3s831ms 1s277ms 05 14 16s577ms 1s184ms 06 4 4s693ms 1s173ms 07 7 7s950ms 1s135ms 08 4 4s594ms 1s148ms 09 13 14s907ms 1s146ms 10 4 4s656ms 1s164ms 11 8 9s141ms 1s142ms 12 3 3s392ms 1s130ms 13 5 5s711ms 1s142ms 14 3 3s492ms 1s164ms 15 9 10s461ms 1s162ms 16 13 15s52ms 1s157ms 17 6 7s24ms 1s170ms 18 4 4s629ms 1s157ms 19 6 6s772ms 1s128ms 20 5 5s722ms 1s144ms 21 2 2s302ms 1s151ms 22 9 10s306ms 1s145ms Oct 03 00 3 3s443ms 1s147ms 01 5 5s876ms 1s175ms 02 5 5s787ms 1s157ms 03 2 2s371ms 1s185ms 04 4 4s702ms 1s175ms 05 9 10s599ms 1s177ms 06 3 3s570ms 1s190ms 07 4 4s629ms 1s157ms 08 4 4s697ms 1s174ms 09 10 11s367ms 1s136ms 10 6 6s868ms 1s144ms 11 7 7s998ms 1s142ms 12 2 2s309ms 1s154ms 13 1 1s121ms 1s121ms 14 3 3s522ms 1s174ms 15 10 11s524ms 1s152ms 16 3 3s350ms 1s116ms 17 6 6s863ms 1s143ms 18 3 3s449ms 1s149ms 19 12 13s688ms 1s140ms 20 5 5s745ms 1s149ms 21 7 7s983ms 1s140ms 22 10 11s392ms 1s139ms 23 3 3s426ms 1s142ms Oct 04 00 4 4s439ms 1s109ms 01 2 2s250ms 1s125ms 02 9 10s175ms 1s130ms 03 3 3s418ms 1s139ms 04 3 3s525ms 1s175ms 05 9 10s745ms 1s193ms 06 2 2s295ms 1s147ms 07 3 3s393ms 1s131ms 08 6 6s857ms 1s142ms 09 3 3s486ms 1s162ms 10 1 1s122ms 1s122ms 11 4 4s669ms 1s167ms 12 10 11s502ms 1s150ms 13 5 5s709ms 1s141ms 14 8 8s962ms 1s120ms 15 9 10s253ms 1s139ms 16 8 9s195ms 1s149ms 17 3 3s467ms 1s155ms 18 5 5s655ms 1s131ms 19 6 6s856ms 1s142ms 20 1 1s150ms 1s150ms 21 8 9s163ms 1s145ms 22 9 10s322ms 1s146ms 23 4 4s521ms 1s130ms Oct 05 00 6 6s807ms 1s134ms 01 2 2s332ms 1s166ms 02 4 4s600ms 1s150ms 03 4 4s548ms 1s137ms 04 4 4s576ms 1s144ms 05 5 6s1ms 1s200ms 06 3 3s424ms 1s141ms 07 3 3s409ms 1s136ms 08 5 5s767ms 1s153ms 09 3 3s500ms 1s166ms 10 1 1s138ms 1s138ms 11 4 4s696ms 1s174ms 12 7 7s932ms 1s133ms 13 2 2s292ms 1s146ms 14 9 10s311ms 1s145ms 15 5 5s690ms 1s138ms 16 6 6s885ms 1s147ms 17 10 11s342ms 1s134ms 18 10 11s646ms 1s164ms 19 7 7s666ms 1s95ms 20 6 6s916ms 1s152ms 21 12 13s763ms 1s146ms 22 11 12s925ms 1s175ms 23 9 10s662ms 1s184ms [ User: pubeu - Total duration: 8m19s - Times executed: 432 ]
-
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 = '2033402' or receptorTerm.id = '2033402' 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-10-02 05:48:51 Duration: 1s411ms 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 = '2031644' or receptorTerm.id = '2031644' 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-09-29 14:27:34 Duration: 1s389ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where exposureMarkerTerm.id = '2033402' or receptorTerm.id = '2033402' 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-10-02 04:22:27 Duration: 1s384ms Bind query: yes
8 19m43s 294 3s784ms 14s18ms 4s26ms select coalesce(st.alt_nm, t.nm) slimtermnm, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.curated_reference_qty > ?) curatedcount, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.indirect_gene_qty > ?) inferredcount from slim_term st inner join term t on st.slim_term_id = t.id where st.slim_id = ? order by ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Sep 29 00 1 3s843ms 3s843ms 01 1 3s870ms 3s870ms 02 1 3s894ms 3s894ms 04 1 4s96ms 4s96ms 05 1 3s845ms 3s845ms 07 4 15s525ms 3s881ms 09 1 3s798ms 3s798ms 11 4 15s457ms 3s864ms 12 3 12s74ms 4s24ms 13 1 3s932ms 3s932ms 14 1 3s943ms 3s943ms 16 1 3s917ms 3s917ms 17 1 3s825ms 3s825ms 20 1 3s938ms 3s938ms 21 5 19s323ms 3s864ms 22 2 8s3ms 4s1ms Sep 30 00 1 3s891ms 3s891ms 01 1 3s972ms 3s972ms 02 3 11s839ms 3s946ms 04 5 20s14ms 4s2ms 05 1 3s919ms 3s919ms 07 2 7s879ms 3s939ms 08 1 4s16ms 4s16ms 09 2 7s782ms 3s891ms 10 1 3s832ms 3s832ms 12 4 15s850ms 3s962ms 13 1 3s919ms 3s919ms 14 3 11s712ms 3s904ms 15 2 8s30ms 4s15ms 16 2 7s837ms 3s918ms 21 1 3s833ms 3s833ms 22 1 3s959ms 3s959ms Oct 01 01 1 4s18ms 4s18ms 02 1 4s5ms 4s5ms 03 2 7s913ms 3s956ms 04 2 8s1ms 4s 05 1 3s989ms 3s989ms 06 2 7s697ms 3s848ms 07 2 8s92ms 4s46ms 08 2 7s970ms 3s985ms 09 3 11s946ms 3s982ms 10 2 8s175ms 4s87ms 11 1 3s903ms 3s903ms 12 1 4s219ms 4s219ms 13 1 3s888ms 3s888ms 14 2 8s128ms 4s64ms 15 3 12s582ms 4s194ms 16 5 19s974ms 3s994ms 17 3 12s437ms 4s145ms 18 5 20s153ms 4s30ms 21 1 4s50ms 4s50ms Oct 02 01 1 4s13ms 4s13ms 02 1 3s998ms 3s998ms 03 1 3s964ms 3s964ms 04 3 11s930ms 3s976ms 07 4 15s847ms 3s961ms 08 3 11s934ms 3s978ms 09 1 4s447ms 4s447ms 11 3 11s880ms 3s960ms 13 3 12s698ms 4s232ms 14 10 40s659ms 4s65ms 15 6 24s984ms 4s164ms 17 4 15s838ms 3s959ms 18 1 3s963ms 3s963ms 22 3 11s744ms 3s914ms Oct 03 00 1 4s30ms 4s30ms 01 1 4s40ms 4s40ms 03 1 3s937ms 3s937ms 06 2 8s28ms 4s14ms 07 2 7s976ms 3s988ms 08 2 7s921ms 3s960ms 09 2 8s485ms 4s242ms 10 4 16s11ms 4s2ms 11 2 7s917ms 3s958ms 12 2 8s10ms 4s5ms 13 5 19s953ms 3s990ms 14 9 36s222ms 4s24ms 15 7 28s35ms 4s5ms 16 2 8s72ms 4s36ms 21 5 20s18ms 4s3ms 22 2 7s845ms 3s922ms 23 6 24s243ms 4s40ms Oct 04 01 9 35s543ms 3s949ms 02 3 11s707ms 3s902ms 03 7 27s560ms 3s937ms 04 2 8s71ms 4s35ms 05 3 12s539ms 4s179ms 07 1 3s838ms 3s838ms 08 2 7s856ms 3s928ms 09 1 3s975ms 3s975ms 10 4 15s712ms 3s928ms 11 2 8s149ms 4s74ms 12 2 8s197ms 4s98ms 14 2 7s978ms 3s989ms 18 6 23s831ms 3s971ms 19 1 3s931ms 3s931ms 20 5 19s876ms 3s975ms 21 3 11s949ms 3s983ms Oct 05 01 2 7s791ms 3s895ms 03 5 19s816ms 3s963ms 04 2 7s870ms 3s935ms 05 1 3s975ms 3s975ms 06 1 3s925ms 3s925ms 10 1 4s187ms 4s187ms 11 1 3s940ms 3s940ms 12 1 3s866ms 3s866ms 13 1 3s801ms 3s801ms 14 1 3s870ms 3s870ms 16 1 14s18ms 14s18ms 17 1 4s72ms 4s72ms 18 1 4s190ms 4s190ms 21 6 24s81ms 4s13ms 22 7 28s576ms 4s82ms 23 10 39s712ms 3s971ms [ User: pubeu - Total duration: 7m56s - Times executed: 119 ]
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1434692') 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 = '1434692') 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-10-05 16:12:51 Duration: 14s18ms 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 = '1270515') 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 = '1270515') 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-10-05 21:05:39 Duration: 4s488ms 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 = '1326305') 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 = '1326305') 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-10-04 05:38:32 Duration: 4s484ms Database: ctdprd51 User: pubeu Bind query: yes
9 14m41s 105 1s553ms 24s220ms 8s395ms select distinct phenotypeterm.nm as gonm, phenotypeterm.nm_html as gonmhtml, phenotypeterm.acc_txt as goacc, diseaseterm.nm as diseasenm, diseaseterm.nm_html as diseasenmhtml, diseaseterm.acc_txt as diseaseacc, diseaseterm.acc_db_cd as diseaseaccdbcd, chemterm.nm as chemnm, chemterm.nm_html as chemnmhtml, chemterm.acc_txt as chemacc, geneterm.nm as genesymbol, geneterm.nm_html as genesymbolhtml, geneterm.acc_txt as geneacc, count(*) over () fullrowcount from phenotype_term_reference viachemptr, phenotype_term_reference viageneptr, term phenotypeterm, term diseaseterm, term geneterm, term chemterm where viachemptr.via_term_id in ( select baseterm.id from term baseterm where baseterm.object_type_id = ? and baseterm.id in ( select term_id from term_label tl where upper(tl.nm) = ? and tl.object_type_id = ?)) and viageneptr.via_term_id in ( select baseterm.id from term baseterm where baseterm.object_type_id = ? and baseterm.id in ( select term_id from term_label tl where upper(tl.nm) = ? and tl.object_type_id = ?)) and viachemptr.phenotype_id = phenotypeterm.id and viachemptr.term_object_type_id = ? and viachemptr.term_id = diseaseterm.id and viachemptr.via_term_object_type_id = ? and viachemptr.via_term_id = chemterm.id and viachemptr.term_id = viageneptr.term_id and viachemptr.phenotype_id = viageneptr.phenotype_id and viageneptr.via_term_object_type_id = ? and viageneptr.via_term_id = geneterm.id and exists ( select ? from gene_chem_reference where gene_id = geneterm.id and chem_id = chemterm.id) group by phenotypeterm.nm, phenotypeterm.nm_html, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.nm_html, diseaseterm.acc_txt, diseaseterm.acc_db_cd, chemterm.nm, chemterm.nm_html, chemterm.acc_txt, geneterm.nm, geneterm.nm_html, geneterm.acc_txt order by chemterm.nm limit ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Oct 04 15 105 14m41s 8s395ms [ User: pubeu - Total duration: 4m42s - Times executed: 23 ]
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'TNF' AND tl.object_type_id = 4)) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;
Date: 2024-10-04 15:44:14 Duration: 24s220ms Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'IL1B' AND tl.object_type_id = 4)) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;
Date: 2024-10-04 15:45:47 Duration: 23s718ms Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'PTGS2' AND tl.object_type_id = 4)) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;
Date: 2024-10-04 15:50:19 Duration: 23s46ms Bind query: yes
10 14m14s 25 33s817ms 34s411ms 34s196ms 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 Sep 29 06 1 34s312ms 34s312ms 10 1 34s131ms 34s131ms 14 1 34s133ms 34s133ms 18 1 34s71ms 34s71ms Sep 30 06 1 34s264ms 34s264ms 10 1 34s411ms 34s411ms 14 1 34s235ms 34s235ms 18 1 34s79ms 34s79ms Oct 01 06 1 34s175ms 34s175ms 10 1 34s283ms 34s283ms 14 1 34s330ms 34s330ms 18 1 34s331ms 34s331ms Oct 02 06 1 34s172ms 34s172ms 10 1 34s124ms 34s124ms 14 1 34s163ms 34s163ms 18 1 34s209ms 34s209ms Oct 03 06 1 34s186ms 34s186ms 10 1 34s270ms 34s270ms 14 1 34s177ms 34s177ms 18 1 34s201ms 34s201ms Oct 04 06 1 34s211ms 34s211ms 10 1 34s230ms 34s230ms 14 1 34s206ms 34s206ms 18 1 34s169ms 34s169ms Oct 05 19 1 33s817ms 33s817ms [ User: postgres - Total duration: 13m41s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 13m41s - 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-09-30 10:05:36 Duration: 34s411ms 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-10-01 18:05:36 Duration: 34s331ms 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-10-01 14:05:36 Duration: 34s330ms Database: ctdprd51 User: postgres Application: pg_dump
11 9m12s 92 1s308ms 39s726ms 6s8ms select distinct phenotypeterm.nm as gonm, phenotypeterm.nm_html as gonmhtml, phenotypeterm.acc_txt as goacc, diseaseterm.nm as diseasenm, diseaseterm.nm_html as diseasenmhtml, diseaseterm.acc_txt as diseaseacc, diseaseterm.acc_db_cd as diseaseaccdbcd, chemterm.nm as chemnm, chemterm.nm_html as chemnmhtml, chemterm.acc_txt as chemacc, geneterm.nm as genesymbol, geneterm.nm_html as genesymbolhtml, geneterm.acc_txt as geneacc, count(*) over () fullrowcount from phenotype_term_reference viachemptr, phenotype_term_reference viageneptr, term phenotypeterm, term diseaseterm, term geneterm, term chemterm where exists ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and baseterm.id in ( select term_id from term_label tl where upper(tl.nm) = ? and tl.object_type_id = ?)) and viachemptr.via_term_id = dp.descendant_object_id) and exists ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and baseterm.id in ( select term_id from term_label tl where upper(tl.nm) = ? and tl.object_type_id = ?)) and phenotypeterm.id = dp.descendant_object_id) and viachemptr.phenotype_id = phenotypeterm.id and viachemptr.term_object_type_id = ? and viachemptr.term_id = diseaseterm.id and viachemptr.via_term_object_type_id = ? and viachemptr.via_term_id = chemterm.id and viachemptr.term_id = viageneptr.term_id and viachemptr.phenotype_id = viageneptr.phenotype_id and viageneptr.via_term_object_type_id = ? and viageneptr.via_term_id = geneterm.id and exists ( select ? from gene_chem_reference where gene_id = geneterm.id and chem_id = chemterm.id) group by phenotypeterm.nm, phenotypeterm.nm_html, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.nm_html, diseaseterm.acc_txt, diseaseterm.acc_db_cd, chemterm.nm, chemterm.nm_html, chemterm.acc_txt, geneterm.nm, geneterm.nm_html, geneterm.acc_txt order by chemterm.nm limit ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Oct 04 16 89 8m45s 5s901ms 17 3 27s573ms 9s191ms [ User: pubeu - Total duration: 2m41s - Times executed: 19 ]
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaChemPTR.via_term_id = dp.descendant_object_id) and exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CELL DEATH' AND tl.object_type_id = 5)) and phenotypeTerm.id = dp.descendant_object_id) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;
Date: 2024-10-04 16:57:26 Duration: 39s726ms Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaChemPTR.via_term_id = dp.descendant_object_id) and exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'APOPTOTIC PROCESS' AND tl.object_type_id = 5)) and phenotypeTerm.id = dp.descendant_object_id) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;
Date: 2024-10-04 16:55:17 Duration: 39s645ms Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaChemPTR.via_term_id = dp.descendant_object_id) and exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CELL PROLIFERATION' AND tl.object_type_id = 5)) and phenotypeTerm.id = dp.descendant_object_id) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;
Date: 2024-10-04 16:56:07 Duration: 24s880ms Database: ctdprd51 User: pubeu Bind query: yes
12 8m43s 1 8m43s 8m43s 8m43s drop table load.ixn_prose; create table load.ixn_prose as select edit.get_ixn_prose (ri.ixn_id) as ixn_prose_txt, ri.reference_acc_txt, ri.taxon_acc_txt, ri.mod_tm, t.nm from edit.reference_ixn ri, edit.ixn i, edit.ixn_type t where ri.ixn_id = i.id and i.ixn_type_id = t.id;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Oct 02 14 1 8m43s 8m43s -
drop table load.ixn_prose; create table load.ixn_prose as select edit.get_ixn_prose (ri.ixn_id) as ixn_prose_txt, ri.reference_acc_txt, ri.taxon_acc_txt, ri.mod_tm, t.nm from edit.reference_ixn ri, edit.ixn i, edit.ixn_type t where ri.ixn_id = i.id and i.ixn_type_id = t.id;
Date: 2024-10-02 14:24:12 Duration: 8m43s
13 8m41s 452 1s78ms 1s998ms 1s153ms 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;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Sep 29 00 2 2s336ms 1s168ms 01 1 1s194ms 1s194ms 02 4 4s764ms 1s191ms 03 6 7s97ms 1s182ms 04 3 3s576ms 1s192ms 05 10 11s809ms 1s180ms 06 5 5s788ms 1s157ms 07 1 1s178ms 1s178ms 11 2 2s274ms 1s137ms 12 8 9s247ms 1s155ms 14 4 4s617ms 1s154ms 15 1 1s139ms 1s139ms 17 11 12s414ms 1s128ms 19 4 4s673ms 1s168ms 20 2 2s304ms 1s152ms 21 3 3s434ms 1s144ms 22 1 1s190ms 1s190ms 23 2 2s342ms 1s171ms Sep 30 01 6 7s111ms 1s185ms 02 7 8s199ms 1s171ms 03 2 2s404ms 1s202ms 04 6 6s915ms 1s152ms 05 3 3s506ms 1s168ms 06 8 9s305ms 1s163ms 07 9 10s347ms 1s149ms 10 1 1s146ms 1s146ms 11 5 5s743ms 1s148ms 12 4 4s629ms 1s157ms 13 4 4s659ms 1s164ms 15 8 9s266ms 1s158ms 16 3 3s456ms 1s152ms 17 5 5s644ms 1s128ms 18 4 4s578ms 1s144ms 20 1 1s174ms 1s174ms 21 10 11s426ms 1s142ms 23 8 9s182ms 1s147ms Oct 01 00 4 4s508ms 1s127ms 03 4 4s579ms 1s144ms 04 1 1s143ms 1s143ms 05 4 4s627ms 1s156ms 06 5 5s555ms 1s111ms 07 1 1s139ms 1s139ms 09 1 1s122ms 1s122ms 10 1 1s114ms 1s114ms 11 3 3s479ms 1s159ms 12 2 2s279ms 1s139ms 13 1 1s145ms 1s145ms 14 4 4s563ms 1s140ms 15 1 1s121ms 1s121ms 16 1 1s162ms 1s162ms 19 9 10s408ms 1s156ms 21 6 7s3ms 1s167ms 23 1 1s156ms 1s156ms Oct 02 00 3 3s524ms 1s174ms 01 13 15s128ms 1s163ms 02 5 5s766ms 1s153ms 03 8 9s261ms 1s157ms 04 1 1s195ms 1s195ms 05 7 8s136ms 1s162ms 06 1 1s157ms 1s157ms 07 5 5s682ms 1s136ms 08 1 1s87ms 1s87ms 13 5 5s764ms 1s152ms 15 4 4s701ms 1s175ms 17 9 10s156ms 1s128ms 18 1 1s138ms 1s138ms 19 4 4s514ms 1s128ms 20 1 1s154ms 1s154ms 21 2 2s281ms 1s140ms Oct 03 03 1 1s176ms 1s176ms 05 1 1s175ms 1s175ms 06 2 2s289ms 1s144ms 09 8 9s198ms 1s149ms 10 3 3s417ms 1s139ms 12 1 1s146ms 1s146ms 14 9 10s464ms 1s162ms 15 8 9s154ms 1s144ms 16 4 4s599ms 1s149ms 17 4 4s613ms 1s153ms 18 5 5s707ms 1s141ms 19 8 9s231ms 1s153ms 20 9 10s206ms 1s134ms 21 9 10s247ms 1s138ms 22 8 9s260ms 1s157ms 23 4 4s544ms 1s136ms Oct 04 00 4 4s422ms 1s105ms 03 1 1s122ms 1s122ms 04 1 1s120ms 1s120ms 05 4 4s600ms 1s150ms 07 2 2s319ms 1s159ms 08 3 3s415ms 1s138ms 09 5 5s734ms 1s146ms 12 7 7s875ms 1s125ms 13 1 1s151ms 1s151ms 14 4 5s430ms 1s357ms 15 7 8s41ms 1s148ms 17 2 2s316ms 1s158ms 18 1 1s137ms 1s137ms 20 1 1s136ms 1s136ms Oct 05 01 4 4s624ms 1s156ms 02 1 1s164ms 1s164ms 03 1 1s85ms 1s85ms 04 5 5s746ms 1s149ms 05 1 1s136ms 1s136ms 08 6 6s931ms 1s155ms 11 7 8s23ms 1s146ms 14 4 4s504ms 1s126ms 15 4 4s624ms 1s156ms 17 5 5s705ms 1s141ms 18 2 2s345ms 1s172ms 19 1 1s119ms 1s119ms 21 1 1s160ms 1s160ms [ User: pubeu - Total duration: 43s329ms - Times executed: 38 ]
-
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 = '2042421' or receptorTerm.id = '2042421' 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;
Date: 2024-10-04 14:58:44 Duration: 1s998ms 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 = '1456750' or receptorTerm.id = '1456750' 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;
Date: 2024-09-30 03:03:37 Duration: 1s215ms 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 = '1454234' or receptorTerm.id = '1454234' 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;
Date: 2024-09-29 05:41:09 Duration: 1s212ms Bind query: yes
14 8m15s 12 1s970ms 4m19s 41s287ms select distinct phenotypeterm.nm as gonm, phenotypeterm.nm_html as gonmhtml, phenotypeterm.acc_txt as goacc, diseaseterm.nm as diseasenm, diseaseterm.nm_html as diseasenmhtml, diseaseterm.acc_txt as diseaseacc, diseaseterm.acc_db_cd as diseaseaccdbcd, chemterm.nm as chemnm, chemterm.nm_html as chemnmhtml, chemterm.acc_txt as chemacc, geneterm.nm as genesymbol, geneterm.nm_html as genesymbolhtml, geneterm.acc_txt as geneacc, count(*) over () fullrowcount from phenotype_term_reference viachemptr, phenotype_term_reference viageneptr, term phenotypeterm, term diseaseterm, term geneterm, term chemterm where diseaseterm.id = any (array ( select baseterm.id from term baseterm where baseterm.object_type_id = ? and baseterm.id in ( select term_id from term_label tl where upper(tl.nm) = ? and tl.object_type_id = ?))) and viachemptr.phenotype_id = phenotypeterm.id and viachemptr.term_object_type_id = ? and viachemptr.term_id = diseaseterm.id and viachemptr.via_term_object_type_id = ? and viachemptr.via_term_id = chemterm.id and viachemptr.term_id = viageneptr.term_id and viachemptr.phenotype_id = viageneptr.phenotype_id and viageneptr.via_term_object_type_id = ? and viageneptr.via_term_id = geneterm.id and exists ( select ? from gene_chem_reference where gene_id = geneterm.id and chem_id = chemterm.id) group by phenotypeterm.nm, phenotypeterm.nm_html, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.nm_html, diseaseterm.acc_txt, diseaseterm.acc_db_cd, chemterm.nm, chemterm.nm_html, chemterm.acc_txt, geneterm.nm, geneterm.nm_html, geneterm.acc_txt order by chemterm.nm limit ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Oct 04 14 2 4m26s 2m13s 15 10 3m48s 22s896ms [ User: pubeu - Total duration: 1m56s - Times executed: 4 ]
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where diseaseTerm.id = ANY (ARRAY ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'HYPERTENSION' AND tl.object_type_id = 3))) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;
Date: 2024-10-04 14:59:06 Duration: 4m19s Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where diseaseTerm.id = ANY (ARRAY ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'BREAST NEOPLASMS' AND tl.object_type_id = 3))) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;
Date: 2024-10-04 15:07:40 Duration: 1m24s 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 diseaseTerm.id = ANY (ARRAY ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CHEMICAL AND DRUG INDUCED LIVER INJURY' AND tl.object_type_id = 3))) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;
Date: 2024-10-04 15:01:28 Duration: 1m13s Bind query: yes
15 7m58s 1 7m58s 7m58s 7m58s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where diseaseterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by phenotypeterm.nm_sort, diseaseterm.nm_sort limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Oct 01 01 1 7m58s 7m58s [ User: pubeu - Total duration: 7m58s - 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 diseaseTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2081088') and diseaseTerm.object_type_id = 3 ORDER BY phenotypeTerm.nm_sort, diseaseTerm.nm_sort LIMIT 50;
Date: 2024-10-01 01:48:05 Duration: 7m58s Database: ctdprd51 User: pubeu Bind query: yes
16 7m38s 89 1s38ms 18s123ms 5s155ms select distinct phenotypeterm.nm as gonm, phenotypeterm.nm_html as gonmhtml, phenotypeterm.acc_txt as goacc, diseaseterm.nm as diseasenm, diseaseterm.nm_html as diseasenmhtml, diseaseterm.acc_txt as diseaseacc, diseaseterm.acc_db_cd as diseaseaccdbcd, chemterm.nm as chemnm, chemterm.nm_html as chemnmhtml, chemterm.acc_txt as chemacc, geneterm.nm as genesymbol, geneterm.nm_html as genesymbolhtml, geneterm.acc_txt as geneacc, count(*) over () fullrowcount from phenotype_term_reference viachemptr, phenotype_term_reference viageneptr, term phenotypeterm, term diseaseterm, term geneterm, term chemterm where exists ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and baseterm.id in ( select term_id from term_label tl where upper(tl.nm) = ? and tl.object_type_id = ?)) and viachemptr.via_term_id = dp.descendant_object_id) and exists ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and baseterm.id in ( select term_id from term_label tl where upper(tl.nm) = ? and tl.object_type_id = ?)) and diseaseterm.id = dp.descendant_object_id) and viachemptr.phenotype_id = phenotypeterm.id and viachemptr.term_object_type_id = ? and viachemptr.term_id = diseaseterm.id and viachemptr.via_term_object_type_id = ? and viachemptr.via_term_id = chemterm.id and viachemptr.term_id = viageneptr.term_id and viachemptr.phenotype_id = viageneptr.phenotype_id and viageneptr.via_term_object_type_id = ? and viageneptr.via_term_id = geneterm.id and exists ( select ? from gene_chem_reference where gene_id = geneterm.id and chem_id = chemterm.id) group by phenotypeterm.nm, phenotypeterm.nm_html, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.nm_html, diseaseterm.acc_txt, diseaseterm.acc_db_cd, chemterm.nm, chemterm.nm_html, chemterm.acc_txt, geneterm.nm, geneterm.nm_html, geneterm.acc_txt order by chemterm.nm limit ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Oct 04 10 1 7s918ms 7s918ms 16 88 7m30s 5s124ms [ User: pubeu - Total duration: 1m39s - Times executed: 18 ]
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaChemPTR.via_term_id = dp.descendant_object_id) and exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'KIDNEY DISEASES' AND tl.object_type_id = 3)) and diseaseTerm.id = dp.descendant_object_id) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;
Date: 2024-10-04 16:51:35 Duration: 18s123ms Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaChemPTR.via_term_id = dp.descendant_object_id) and exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'BREAST NEOPLASMS' AND tl.object_type_id = 3)) and diseaseTerm.id = dp.descendant_object_id) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;
Date: 2024-10-04 16:52:09 Duration: 16s812ms Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'ACETAMINOPHEN' AND tl.object_type_id = 2)) and viaChemPTR.via_term_id = dp.descendant_object_id) and exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'DRUG-RELATED SIDE EFFECTS AND ADVERSE REACTIONS' AND tl.object_type_id = 3)) and diseaseTerm.id = dp.descendant_object_id) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;
Date: 2024-10-04 16:30:41 Duration: 14s546ms Bind query: yes
17 7m8s 341 1s166ms 1s410ms 1s255ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or receptorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Sep 29 00 1 1s262ms 1s262ms 01 5 6s314ms 1s262ms 02 2 2s542ms 1s271ms 03 1 1s292ms 1s292ms 04 3 3s801ms 1s267ms 05 2 2s718ms 1s359ms 06 1 1s254ms 1s254ms 07 1 1s275ms 1s275ms 08 2 2s450ms 1s225ms 10 3 3s770ms 1s256ms 12 2 2s535ms 1s267ms 15 13 16s97ms 1s238ms 16 11 13s380ms 1s216ms 17 2 2s499ms 1s249ms 18 4 5s83ms 1s270ms 19 4 4s979ms 1s244ms 20 2 2s485ms 1s242ms 21 1 1s236ms 1s236ms 22 5 6s597ms 1s319ms 23 1 1s266ms 1s266ms Sep 30 00 2 2s612ms 1s306ms 02 4 5s294ms 1s323ms 03 2 2s500ms 1s250ms 04 2 2s495ms 1s247ms 05 4 5s512ms 1s378ms 06 3 3s747ms 1s249ms 07 4 4s974ms 1s243ms 08 4 4s897ms 1s224ms 09 2 2s576ms 1s288ms 10 4 4s982ms 1s245ms 11 4 5s13ms 1s253ms 13 4 4s966ms 1s241ms 14 1 1s207ms 1s207ms 16 1 1s219ms 1s219ms 17 3 3s689ms 1s229ms 19 2 2s459ms 1s229ms 21 1 1s208ms 1s208ms 22 1 1s245ms 1s245ms 23 1 1s256ms 1s256ms Oct 01 00 8 10s90ms 1s261ms 01 4 5s55ms 1s263ms 02 1 1s235ms 1s235ms 03 1 1s314ms 1s314ms 04 2 2s535ms 1s267ms 05 3 3s967ms 1s322ms 06 2 2s463ms 1s231ms 07 1 1s355ms 1s355ms 08 3 3s694ms 1s231ms 11 1 1s219ms 1s219ms 13 1 1s268ms 1s268ms 14 2 2s494ms 1s247ms 15 1 1s259ms 1s259ms 17 3 3s865ms 1s288ms 18 3 3s769ms 1s256ms 19 2 2s483ms 1s241ms 20 1 1s333ms 1s333ms 21 4 5s4ms 1s251ms 23 1 1s236ms 1s236ms Oct 02 00 2 2s436ms 1s218ms 02 3 3s875ms 1s291ms 03 1 1s276ms 1s276ms 05 2 2s740ms 1s370ms 08 2 2s380ms 1s190ms 09 4 5s32ms 1s258ms 11 1 1s247ms 1s247ms 12 2 2s485ms 1s242ms 13 3 3s701ms 1s233ms 14 3 3s752ms 1s250ms 15 4 5s 1s250ms 16 2 2s396ms 1s198ms 17 2 2s542ms 1s271ms 18 1 1s251ms 1s251ms 20 1 1s243ms 1s243ms 21 1 1s186ms 1s186ms 22 1 1s281ms 1s281ms 23 3 3s856ms 1s285ms Oct 03 01 2 2s473ms 1s236ms 02 2 2s547ms 1s273ms 03 2 2s464ms 1s232ms 05 4 5s156ms 1s289ms 06 4 5s22ms 1s255ms 07 8 9s989ms 1s248ms 08 1 1s254ms 1s254ms 09 2 2s575ms 1s287ms 12 4 5s14ms 1s253ms 13 2 2s429ms 1s214ms 15 2 2s527ms 1s263ms 16 3 3s714ms 1s238ms 17 3 3s777ms 1s259ms 21 2 2s539ms 1s269ms 22 2 2s535ms 1s267ms 23 4 4s995ms 1s248ms Oct 04 00 4 4s952ms 1s238ms 01 1 1s288ms 1s288ms 02 4 5s89ms 1s272ms 03 1 1s190ms 1s190ms 05 3 3s920ms 1s306ms 06 2 2s444ms 1s222ms 08 2 2s462ms 1s231ms 09 1 1s256ms 1s256ms 11 1 1s265ms 1s265ms 12 2 2s506ms 1s253ms 13 3 3s778ms 1s259ms 14 3 3s590ms 1s196ms 15 7 8s565ms 1s223ms 16 3 3s771ms 1s257ms 18 1 1s240ms 1s240ms 19 1 1s242ms 1s242ms 20 4 5s21ms 1s255ms 22 2 2s447ms 1s223ms Oct 05 01 1 1s208ms 1s208ms 02 3 3s637ms 1s212ms 04 3 3s767ms 1s255ms 05 4 5s89ms 1s272ms 06 3 3s637ms 1s212ms 07 3 3s765ms 1s255ms 08 1 1s166ms 1s166ms 09 2 2s557ms 1s278ms 10 1 1s241ms 1s241ms 11 1 1s179ms 1s179ms 12 1 1s246ms 1s246ms 13 3 3s814ms 1s271ms 14 2 2s539ms 1s269ms 15 1 1s233ms 1s233ms 16 1 1s270ms 1s270ms 17 6 7s640ms 1s273ms 18 2 2s511ms 1s255ms 19 2 2s385ms 1s192ms 20 5 6s271ms 1s254ms 21 5 6s197ms 1s239ms 22 2 2s573ms 1s286ms [ User: pubeu - Total duration: 2m29s - Times executed: 119 ]
[ User: qaeu - Total duration: 6s800ms - Times executed: 5 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1216070') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1216070') 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-09-30 05:38:44 Duration: 1s410ms 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 = '1217866') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1217866') 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-09-30 05:43:41 Duration: 1s405ms Database: ctdprd51 User: qaeu 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 = '1216070') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1216070') 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-09-29 05:38:39 Duration: 1s399ms Bind query: yes
18 7m5s 106 1s 6s574ms 4s11ms select d.abbr dagabbr, d.nm dagnm, gt.level_min_no daglevelmin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pvalcorrected, te.raw_p_val pvalraw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, count(*) over () fullrowcount from term_enrichment te inner join dag_node gt on te.enriched_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, d.abbr, gt.nm_sort limit ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Sep 29 04 1 4s628ms 4s628ms 06 1 4s761ms 4s761ms 08 1 4s444ms 4s444ms 17 1 4s620ms 4s620ms Sep 30 01 1 5s256ms 5s256ms 03 1 4s931ms 4s931ms 04 1 5s90ms 5s90ms 05 2 10s12ms 5s6ms 09 1 4s848ms 4s848ms 14 1 4s587ms 4s587ms 16 1 4s674ms 4s674ms 20 1 1s223ms 1s223ms 21 3 11s689ms 3s896ms 23 1 5s679ms 5s679ms Oct 01 00 3 11s129ms 3s709ms 07 1 6s574ms 6s574ms 11 1 5s242ms 5s242ms 12 2 10s713ms 5s356ms 15 1 5s880ms 5s880ms 16 2 6s315ms 3s157ms 18 1 1s74ms 1s74ms 19 4 4s229ms 1s57ms 20 1 5s587ms 5s587ms Oct 02 02 1 1s22ms 1s22ms 07 3 11s735ms 3s911ms 08 1 1s44ms 1s44ms 10 1 1s16ms 1s16ms 11 1 5s72ms 5s72ms 12 1 5s401ms 5s401ms 16 1 1s12ms 1s12ms 23 1 5s339ms 5s339ms Oct 03 02 1 5s338ms 5s338ms 03 1 5s261ms 5s261ms 04 1 1s15ms 1s15ms 07 1 1s18ms 1s18ms 11 4 12s696ms 3s174ms 12 1 1s19ms 1s19ms 16 1 5s354ms 5s354ms 18 1 5s343ms 5s343ms 19 1 5s276ms 5s276ms 21 1 1s53ms 1s53ms 23 1 5s355ms 5s355ms Oct 04 01 1 5s867ms 5s867ms 03 1 1s11ms 1s11ms 04 1 5s604ms 5s604ms 05 8 40s282ms 5s35ms 06 1 5s180ms 5s180ms 08 2 6s425ms 3s212ms 09 1 1s11ms 1s11ms 10 4 17s663ms 4s415ms 11 4 21s971ms 5s492ms 12 2 2s67ms 1s33ms 14 1 1s50ms 1s50ms 17 1 5s575ms 5s575ms 18 1 5s362ms 5s362ms 19 1 5s370ms 5s370ms 21 3 16s267ms 5s422ms 23 1 5s416ms 5s416ms Oct 05 01 3 11s973ms 3s991ms 03 1 5s370ms 5s370ms 06 1 5s313ms 5s313ms 08 1 5s585ms 5s585ms 10 2 10s880ms 5s440ms 12 2 6s556ms 3s278ms 13 1 5s751ms 5s751ms 15 1 1s23ms 1s23ms 16 2 2s150ms 1s75ms 17 1 5s504ms 5s504ms 23 1 5s379ms 5s379ms [ User: pubeu - Total duration: 2m44s - Times executed: 39 ]
-
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 = '1298815' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-10-01 07:31:11 Duration: 6s574ms 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 = '1326305' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-10-04 05:50:41 Duration: 6s9ms 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 = '1326305' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-10-04 05:52:10 Duration: 6s3ms Bind query: yes
19 6m55s 1 6m55s 6m55s 6m55s copy pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Oct 05 19 1 6m55s 6m55s -
COPY pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-10-05 19:12:32 Duration: 6m55s
20 6m46s 1 6m46s 6m46s 6m46s copy pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Oct 05 19 1 6m46s 6m46s -
COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-10-05 19:53:28 Duration: 6m46s
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 1,825 42m42s 1s350ms 1s593ms 1s403ms select coalesce(d.abbr_display, d.nm_display) nm # ?, d.description # ?, coalesce(d.abbr, d.nm) anchor # ?, get_homepage_url (d.id) url # ? from db d # ? where d.id in (# ? select l.db_id # ? from db_link l # ? where l.type_cd = ? # ? and l.object_type_id = ?) # ? order by ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Sep 29 00 6 8s214ms 1s369ms 01 10 13s772ms 1s377ms 02 18 24s845ms 1s380ms 03 10 13s778ms 1s377ms 04 10 14s39ms 1s403ms 05 16 22s330ms 1s395ms 06 11 15s189ms 1s380ms 07 12 16s474ms 1s372ms 08 8 11s58ms 1s382ms 09 12 16s574ms 1s381ms 10 15 20s584ms 1s372ms 11 11 15s124ms 1s374ms 12 11 15s144ms 1s376ms 13 8 10s938ms 1s367ms 14 9 12s439ms 1s382ms 15 9 12s399ms 1s377ms 16 5 6s865ms 1s373ms 17 13 17s868ms 1s374ms 18 9 12s409ms 1s378ms 19 15 20s604ms 1s373ms 20 23 31s886ms 1s386ms 21 12 16s517ms 1s376ms 22 9 12s367ms 1s374ms 23 15 20s605ms 1s373ms Sep 30 00 5 6s910ms 1s382ms 01 19 26s142ms 1s375ms 02 10 13s772ms 1s377ms 03 8 11s38ms 1s379ms 04 15 20s708ms 1s380ms 05 16 22s41ms 1s377ms 06 14 19s330ms 1s380ms 07 6 8s279ms 1s379ms 08 10 13s777ms 1s377ms 09 15 20s774ms 1s384ms 10 16 22s12ms 1s375ms 11 7 9s621ms 1s374ms 12 8 11s27ms 1s378ms 13 15 20s634ms 1s375ms 14 19 26s135ms 1s375ms 15 11 15s172ms 1s379ms 16 15 20s628ms 1s375ms 17 10 14s64ms 1s406ms 18 16 22s640ms 1s415ms 19 8 11s274ms 1s409ms 20 13 18s364ms 1s412ms 21 5 7s30ms 1s406ms 22 2 2s845ms 1s422ms 23 11 15s463ms 1s405ms Oct 01 00 4 5s655ms 1s413ms 01 2 2s832ms 1s416ms 02 8 11s289ms 1s411ms 03 5 7s32ms 1s406ms 04 6 8s458ms 1s409ms 05 7 9s868ms 1s409ms 06 12 16s986ms 1s415ms 07 11 15s694ms 1s426ms 08 16 22s535ms 1s408ms 09 2 2s829ms 1s414ms 10 11 15s628ms 1s420ms 11 10 14s229ms 1s422ms 12 9 12s746ms 1s416ms 13 7 9s886ms 1s412ms 14 10 14s153ms 1s415ms 15 6 8s529ms 1s421ms 16 13 18s373ms 1s413ms 17 12 17s 1s416ms 18 7 9s981ms 1s425ms 19 14 19s894ms 1s421ms 20 9 12s767ms 1s418ms 21 10 14s174ms 1s417ms 22 8 11s352ms 1s419ms 23 3 4s273ms 1s424ms Oct 02 00 8 11s278ms 1s409ms 01 16 22s581ms 1s411ms 02 20 28s519ms 1s425ms 03 14 19s756ms 1s411ms 04 15 21s154ms 1s410ms 05 15 21s186ms 1s412ms 06 7 9s893ms 1s413ms 07 10 14s120ms 1s412ms 08 7 9s959ms 1s422ms 09 7 9s944ms 1s420ms 10 2 2s837ms 1s418ms 11 8 11s323ms 1s415ms 12 10 14s147ms 1s414ms 13 20 28s294ms 1s414ms 14 5 7s39ms 1s407ms 15 8 11s283ms 1s410ms 16 13 18s354ms 1s411ms 17 4 5s656ms 1s414ms 18 8 11s276ms 1s409ms 19 6 8s479ms 1s413ms 20 13 18s325ms 1s409ms 21 11 15s540ms 1s412ms 22 15 21s154ms 1s410ms 23 19 26s825ms 1s411ms Oct 03 00 5 7s141ms 1s428ms 01 11 15s487ms 1s407ms 02 11 15s480ms 1s407ms 03 6 8s481ms 1s413ms 04 9 12s702ms 1s411ms 05 17 23s992ms 1s411ms 06 12 16s915ms 1s409ms 07 17 23s962ms 1s409ms 08 9 12s749ms 1s416ms 09 11 15s567ms 1s415ms 10 29 40s926ms 1s411ms 11 16 22s558ms 1s409ms 12 20 28s189ms 1s409ms 13 13 18s351ms 1s411ms 14 12 17s23ms 1s418ms 15 4 5s653ms 1s413ms 16 11 15s512ms 1s410ms 17 20 28s244ms 1s412ms 18 11 15s567ms 1s415ms 19 13 18s396ms 1s415ms 20 8 11s283ms 1s410ms 21 17 24s57ms 1s415ms 22 9 12s741ms 1s415ms 23 11 15s554ms 1s414ms Oct 04 00 13 18s358ms 1s412ms 01 12 16s877ms 1s406ms 02 18 25s535ms 1s418ms 03 14 19s650ms 1s403ms 04 10 14s96ms 1s409ms 05 13 18s351ms 1s411ms 06 15 21s190ms 1s412ms 07 18 25s406ms 1s411ms 08 12 16s910ms 1s409ms 09 11 15s523ms 1s411ms 10 12 16s936ms 1s411ms 11 12 16s957ms 1s413ms 12 11 15s496ms 1s408ms 13 11 15s544ms 1s413ms 14 20 28s270ms 1s413ms 15 13 18s397ms 1s415ms 16 13 18s426ms 1s417ms 17 16 22s558ms 1s409ms 18 32 45s133ms 1s410ms 19 13 18s369ms 1s413ms 20 8 11s247ms 1s405ms 21 12 16s891ms 1s407ms 22 11 15s532ms 1s412ms 23 10 14s121ms 1s412ms Oct 05 00 4 5s626ms 1s406ms 01 10 14s129ms 1s412ms 02 8 11s273ms 1s409ms 03 5 7s71ms 1s414ms 04 8 11s316ms 1s414ms 05 22 30s965ms 1s407ms 06 12 16s908ms 1s409ms 08 9 12s669ms 1s407ms 09 3 4s227ms 1s409ms 10 4 5s655ms 1s413ms 11 5 7s42ms 1s408ms 12 11 15s580ms 1s416ms 13 10 14s41ms 1s404ms 14 3 4s416ms 1s472ms 15 3 4s239ms 1s413ms 16 6 8s467ms 1s411ms 17 9 12s684ms 1s409ms 18 5 7s46ms 1s409ms 19 11 15s657ms 1s423ms 20 5 7s109ms 1s421ms 21 8 11s303ms 1s412ms 22 7 9s899ms 1s414ms 23 11 15s508ms 1s409ms [ User: pubeu - Total duration: 18m - Times executed: 769 ]
[ User: qaeu - Total duration: 1s519ms - Times executed: 1 ]
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2024-10-05 14:23:13 Duration: 1s593ms 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-09-29 04:31:38 Duration: 1s566ms 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-10-02 02:56:11 Duration: 1s558ms Database: ctdprd51 User: pubeu Bind query: yes
2 1,064 20m32s 1s64ms 1s411ms 1s157ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where exposuremarkerterm.id = ? or receptorterm.id = ? group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Sep 29 00 4 4s590ms 1s147ms 01 7 8s265ms 1s180ms 02 6 7s212ms 1s202ms 03 9 10s781ms 1s197ms 04 6 7s209ms 1s201ms 05 14 16s592ms 1s185ms 06 7 8s146ms 1s163ms 07 10 11s442ms 1s144ms 08 3 3s347ms 1s115ms 09 3 3s449ms 1s149ms 10 4 4s678ms 1s169ms 11 3 3s640ms 1s213ms 12 8 9s275ms 1s159ms 13 6 6s906ms 1s151ms 14 13 14s971ms 1s151ms 15 6 7s32ms 1s172ms 16 5 5s665ms 1s133ms 17 12 13s885ms 1s157ms 18 9 10s368ms 1s152ms 19 8 9s198ms 1s149ms 20 8 9s331ms 1s166ms 21 8 9s129ms 1s141ms 22 5 5s881ms 1s176ms 23 9 10s536ms 1s170ms Sep 30 00 4 4s726ms 1s181ms 01 10 11s969ms 1s196ms 02 7 8s263ms 1s180ms 03 4 4s709ms 1s177ms 04 11 12s916ms 1s174ms 05 14 16s657ms 1s189ms 06 10 11s586ms 1s158ms 07 9 10s491ms 1s165ms 08 4 4s618ms 1s154ms 09 4 4s659ms 1s164ms 10 7 8s250ms 1s178ms 11 5 5s858ms 1s171ms 12 4 4s613ms 1s153ms 13 8 9s265ms 1s158ms 14 8 9s257ms 1s157ms 15 6 6s951ms 1s158ms 16 8 9s281ms 1s160ms 17 8 9s395ms 1s174ms 18 5 5s816ms 1s163ms 19 8 9s238ms 1s154ms 20 10 11s529ms 1s152ms 21 11 12s856ms 1s168ms 22 6 7s91ms 1s181ms 23 8 9s256ms 1s157ms Oct 01 00 6 6s924ms 1s154ms 01 1 1s161ms 1s161ms 02 14 16s248ms 1s160ms 03 5 5s707ms 1s141ms 04 9 10s371ms 1s152ms 05 10 11s670ms 1s167ms 06 7 8s39ms 1s148ms 07 13 15s216ms 1s170ms 08 8 9s104ms 1s138ms 09 4 4s596ms 1s149ms 10 5 5s709ms 1s141ms 11 11 12s697ms 1s154ms 12 12 14s71ms 1s172ms 13 7 8s147ms 1s163ms 14 2 2s316ms 1s158ms 15 10 11s659ms 1s165ms 16 4 4s573ms 1s143ms 17 1 1s171ms 1s171ms 18 11 12s632ms 1s148ms 19 15 17s335ms 1s155ms 20 4 4s560ms 1s140ms 21 5 5s863ms 1s172ms 22 1 1s181ms 1s181ms 23 4 4s690ms 1s172ms Oct 02 00 6 7s30ms 1s171ms 01 9 10s447ms 1s160ms 02 5 5s773ms 1s154ms 03 11 12s804ms 1s164ms 04 3 3s831ms 1s277ms 05 14 16s577ms 1s184ms 06 4 4s693ms 1s173ms 07 7 7s950ms 1s135ms 08 4 4s594ms 1s148ms 09 13 14s907ms 1s146ms 10 4 4s656ms 1s164ms 11 8 9s141ms 1s142ms 12 3 3s392ms 1s130ms 13 5 5s711ms 1s142ms 14 3 3s492ms 1s164ms 15 9 10s461ms 1s162ms 16 13 15s52ms 1s157ms 17 6 7s24ms 1s170ms 18 4 4s629ms 1s157ms 19 6 6s772ms 1s128ms 20 5 5s722ms 1s144ms 21 2 2s302ms 1s151ms 22 9 10s306ms 1s145ms Oct 03 00 3 3s443ms 1s147ms 01 5 5s876ms 1s175ms 02 5 5s787ms 1s157ms 03 2 2s371ms 1s185ms 04 4 4s702ms 1s175ms 05 9 10s599ms 1s177ms 06 3 3s570ms 1s190ms 07 4 4s629ms 1s157ms 08 4 4s697ms 1s174ms 09 10 11s367ms 1s136ms 10 6 6s868ms 1s144ms 11 7 7s998ms 1s142ms 12 2 2s309ms 1s154ms 13 1 1s121ms 1s121ms 14 3 3s522ms 1s174ms 15 10 11s524ms 1s152ms 16 3 3s350ms 1s116ms 17 6 6s863ms 1s143ms 18 3 3s449ms 1s149ms 19 12 13s688ms 1s140ms 20 5 5s745ms 1s149ms 21 7 7s983ms 1s140ms 22 10 11s392ms 1s139ms 23 3 3s426ms 1s142ms Oct 04 00 4 4s439ms 1s109ms 01 2 2s250ms 1s125ms 02 9 10s175ms 1s130ms 03 3 3s418ms 1s139ms 04 3 3s525ms 1s175ms 05 9 10s745ms 1s193ms 06 2 2s295ms 1s147ms 07 3 3s393ms 1s131ms 08 6 6s857ms 1s142ms 09 3 3s486ms 1s162ms 10 1 1s122ms 1s122ms 11 4 4s669ms 1s167ms 12 10 11s502ms 1s150ms 13 5 5s709ms 1s141ms 14 8 8s962ms 1s120ms 15 9 10s253ms 1s139ms 16 8 9s195ms 1s149ms 17 3 3s467ms 1s155ms 18 5 5s655ms 1s131ms 19 6 6s856ms 1s142ms 20 1 1s150ms 1s150ms 21 8 9s163ms 1s145ms 22 9 10s322ms 1s146ms 23 4 4s521ms 1s130ms Oct 05 00 6 6s807ms 1s134ms 01 2 2s332ms 1s166ms 02 4 4s600ms 1s150ms 03 4 4s548ms 1s137ms 04 4 4s576ms 1s144ms 05 5 6s1ms 1s200ms 06 3 3s424ms 1s141ms 07 3 3s409ms 1s136ms 08 5 5s767ms 1s153ms 09 3 3s500ms 1s166ms 10 1 1s138ms 1s138ms 11 4 4s696ms 1s174ms 12 7 7s932ms 1s133ms 13 2 2s292ms 1s146ms 14 9 10s311ms 1s145ms 15 5 5s690ms 1s138ms 16 6 6s885ms 1s147ms 17 10 11s342ms 1s134ms 18 10 11s646ms 1s164ms 19 7 7s666ms 1s95ms 20 6 6s916ms 1s152ms 21 12 13s763ms 1s146ms 22 11 12s925ms 1s175ms 23 9 10s662ms 1s184ms [ User: pubeu - Total duration: 8m19s - Times executed: 432 ]
-
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 = '2033402' or receptorTerm.id = '2033402' 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-10-02 05:48:51 Duration: 1s411ms 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 = '2031644' or receptorTerm.id = '2031644' 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-09-29 14:27:34 Duration: 1s389ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where exposureMarkerTerm.id = '2033402' or receptorTerm.id = '2033402' 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-10-02 04:22:27 Duration: 1s384ms Bind query: yes
3 452 8m41s 1s78ms 1s998ms 1s153ms 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;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Sep 29 00 2 2s336ms 1s168ms 01 1 1s194ms 1s194ms 02 4 4s764ms 1s191ms 03 6 7s97ms 1s182ms 04 3 3s576ms 1s192ms 05 10 11s809ms 1s180ms 06 5 5s788ms 1s157ms 07 1 1s178ms 1s178ms 11 2 2s274ms 1s137ms 12 8 9s247ms 1s155ms 14 4 4s617ms 1s154ms 15 1 1s139ms 1s139ms 17 11 12s414ms 1s128ms 19 4 4s673ms 1s168ms 20 2 2s304ms 1s152ms 21 3 3s434ms 1s144ms 22 1 1s190ms 1s190ms 23 2 2s342ms 1s171ms Sep 30 01 6 7s111ms 1s185ms 02 7 8s199ms 1s171ms 03 2 2s404ms 1s202ms 04 6 6s915ms 1s152ms 05 3 3s506ms 1s168ms 06 8 9s305ms 1s163ms 07 9 10s347ms 1s149ms 10 1 1s146ms 1s146ms 11 5 5s743ms 1s148ms 12 4 4s629ms 1s157ms 13 4 4s659ms 1s164ms 15 8 9s266ms 1s158ms 16 3 3s456ms 1s152ms 17 5 5s644ms 1s128ms 18 4 4s578ms 1s144ms 20 1 1s174ms 1s174ms 21 10 11s426ms 1s142ms 23 8 9s182ms 1s147ms Oct 01 00 4 4s508ms 1s127ms 03 4 4s579ms 1s144ms 04 1 1s143ms 1s143ms 05 4 4s627ms 1s156ms 06 5 5s555ms 1s111ms 07 1 1s139ms 1s139ms 09 1 1s122ms 1s122ms 10 1 1s114ms 1s114ms 11 3 3s479ms 1s159ms 12 2 2s279ms 1s139ms 13 1 1s145ms 1s145ms 14 4 4s563ms 1s140ms 15 1 1s121ms 1s121ms 16 1 1s162ms 1s162ms 19 9 10s408ms 1s156ms 21 6 7s3ms 1s167ms 23 1 1s156ms 1s156ms Oct 02 00 3 3s524ms 1s174ms 01 13 15s128ms 1s163ms 02 5 5s766ms 1s153ms 03 8 9s261ms 1s157ms 04 1 1s195ms 1s195ms 05 7 8s136ms 1s162ms 06 1 1s157ms 1s157ms 07 5 5s682ms 1s136ms 08 1 1s87ms 1s87ms 13 5 5s764ms 1s152ms 15 4 4s701ms 1s175ms 17 9 10s156ms 1s128ms 18 1 1s138ms 1s138ms 19 4 4s514ms 1s128ms 20 1 1s154ms 1s154ms 21 2 2s281ms 1s140ms Oct 03 03 1 1s176ms 1s176ms 05 1 1s175ms 1s175ms 06 2 2s289ms 1s144ms 09 8 9s198ms 1s149ms 10 3 3s417ms 1s139ms 12 1 1s146ms 1s146ms 14 9 10s464ms 1s162ms 15 8 9s154ms 1s144ms 16 4 4s599ms 1s149ms 17 4 4s613ms 1s153ms 18 5 5s707ms 1s141ms 19 8 9s231ms 1s153ms 20 9 10s206ms 1s134ms 21 9 10s247ms 1s138ms 22 8 9s260ms 1s157ms 23 4 4s544ms 1s136ms Oct 04 00 4 4s422ms 1s105ms 03 1 1s122ms 1s122ms 04 1 1s120ms 1s120ms 05 4 4s600ms 1s150ms 07 2 2s319ms 1s159ms 08 3 3s415ms 1s138ms 09 5 5s734ms 1s146ms 12 7 7s875ms 1s125ms 13 1 1s151ms 1s151ms 14 4 5s430ms 1s357ms 15 7 8s41ms 1s148ms 17 2 2s316ms 1s158ms 18 1 1s137ms 1s137ms 20 1 1s136ms 1s136ms Oct 05 01 4 4s624ms 1s156ms 02 1 1s164ms 1s164ms 03 1 1s85ms 1s85ms 04 5 5s746ms 1s149ms 05 1 1s136ms 1s136ms 08 6 6s931ms 1s155ms 11 7 8s23ms 1s146ms 14 4 4s504ms 1s126ms 15 4 4s624ms 1s156ms 17 5 5s705ms 1s141ms 18 2 2s345ms 1s172ms 19 1 1s119ms 1s119ms 21 1 1s160ms 1s160ms [ User: pubeu - Total duration: 43s329ms - Times executed: 38 ]
-
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 = '2042421' or receptorTerm.id = '2042421' 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;
Date: 2024-10-04 14:58:44 Duration: 1s998ms 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 = '1456750' or receptorTerm.id = '1456750' 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;
Date: 2024-09-30 03:03:37 Duration: 1s215ms 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 = '1454234' or receptorTerm.id = '1454234' 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;
Date: 2024-09-29 05:41:09 Duration: 1s212ms Bind query: yes
4 354 21m 3s3ms 3s806ms 3s561ms select distinct phenotypeterm.nm as gonm, phenotypeterm.nm_html as gonmhtml, phenotypeterm.acc_txt as goacc, diseaseterm.nm as diseasenm, diseaseterm.nm_html as diseasenmhtml, diseaseterm.acc_txt as diseaseacc, diseaseterm.acc_db_cd as diseaseaccdbcd, chemterm.nm as chemnm, chemterm.nm_html as chemnmhtml, chemterm.acc_txt as chemacc, geneterm.nm as genesymbol, geneterm.nm_html as genesymbolhtml, geneterm.acc_txt as geneacc, count(*) over () fullrowcount from phenotype_term_reference viachemptr, phenotype_term_reference viageneptr, term phenotypeterm, term diseaseterm, term geneterm, term chemterm where exists ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and upper(baseterm.nm) like ?) and diseaseterm.id = dp.descendant_object_id) and viachemptr.phenotype_id = phenotypeterm.id and viachemptr.term_object_type_id = ? and viachemptr.term_id = diseaseterm.id and viachemptr.via_term_object_type_id = ? and viachemptr.via_term_id = chemterm.id and viachemptr.term_id = viageneptr.term_id and viachemptr.phenotype_id = viageneptr.phenotype_id and viageneptr.via_term_object_type_id = ? and viageneptr.via_term_id = geneterm.id and exists ( select ? from gene_chem_reference where gene_id = geneterm.id and chem_id = chemterm.id) group by phenotypeterm.nm, phenotypeterm.nm_html, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.nm_html, diseaseterm.acc_txt, diseaseterm.acc_db_cd, chemterm.nm, chemterm.nm_html, chemterm.acc_txt, geneterm.nm, geneterm.nm_html, geneterm.acc_txt order by chemterm.nm limit ? offset ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Oct 03 21 3 10s787ms 3s595ms Oct 05 00 6 21s274ms 3s545ms 01 2 7s58ms 3s529ms 02 22 1m19s 3s608ms 03 72 4m21s 3s626ms 04 117 7m3s 3s617ms 07 78 4m34s 3s513ms 08 41 2m23s 3s503ms 09 2 6s261ms 3s130ms 22 5 15s508ms 3s101ms 23 6 18s435ms 3s72ms [ User: pubeu - Total duration: 4m31s - Times executed: 76 ]
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 3 and upper(baseTerm.nm) LIKE 'MEMORY DISORDERS') and diseaseTerm.id = dp.descendant_object_id) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50 OFFSET 7650;
Date: 2024-10-05 04:22:32 Duration: 3s806ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 3 and upper(baseTerm.nm) LIKE 'MEMORY DISORDERS') and diseaseTerm.id = dp.descendant_object_id) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50 OFFSET 5650;
Date: 2024-10-05 04:03:13 Duration: 3s805ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 3 and upper(baseTerm.nm) LIKE 'MEMORY DISORDERS') and diseaseTerm.id = dp.descendant_object_id) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50 OFFSET 7350;
Date: 2024-10-05 04:20:42 Duration: 3s804ms Database: ctdprd51 User: pubeu Bind query: yes
5 341 7m8s 1s166ms 1s410ms 1s255ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or receptorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Sep 29 00 1 1s262ms 1s262ms 01 5 6s314ms 1s262ms 02 2 2s542ms 1s271ms 03 1 1s292ms 1s292ms 04 3 3s801ms 1s267ms 05 2 2s718ms 1s359ms 06 1 1s254ms 1s254ms 07 1 1s275ms 1s275ms 08 2 2s450ms 1s225ms 10 3 3s770ms 1s256ms 12 2 2s535ms 1s267ms 15 13 16s97ms 1s238ms 16 11 13s380ms 1s216ms 17 2 2s499ms 1s249ms 18 4 5s83ms 1s270ms 19 4 4s979ms 1s244ms 20 2 2s485ms 1s242ms 21 1 1s236ms 1s236ms 22 5 6s597ms 1s319ms 23 1 1s266ms 1s266ms Sep 30 00 2 2s612ms 1s306ms 02 4 5s294ms 1s323ms 03 2 2s500ms 1s250ms 04 2 2s495ms 1s247ms 05 4 5s512ms 1s378ms 06 3 3s747ms 1s249ms 07 4 4s974ms 1s243ms 08 4 4s897ms 1s224ms 09 2 2s576ms 1s288ms 10 4 4s982ms 1s245ms 11 4 5s13ms 1s253ms 13 4 4s966ms 1s241ms 14 1 1s207ms 1s207ms 16 1 1s219ms 1s219ms 17 3 3s689ms 1s229ms 19 2 2s459ms 1s229ms 21 1 1s208ms 1s208ms 22 1 1s245ms 1s245ms 23 1 1s256ms 1s256ms Oct 01 00 8 10s90ms 1s261ms 01 4 5s55ms 1s263ms 02 1 1s235ms 1s235ms 03 1 1s314ms 1s314ms 04 2 2s535ms 1s267ms 05 3 3s967ms 1s322ms 06 2 2s463ms 1s231ms 07 1 1s355ms 1s355ms 08 3 3s694ms 1s231ms 11 1 1s219ms 1s219ms 13 1 1s268ms 1s268ms 14 2 2s494ms 1s247ms 15 1 1s259ms 1s259ms 17 3 3s865ms 1s288ms 18 3 3s769ms 1s256ms 19 2 2s483ms 1s241ms 20 1 1s333ms 1s333ms 21 4 5s4ms 1s251ms 23 1 1s236ms 1s236ms Oct 02 00 2 2s436ms 1s218ms 02 3 3s875ms 1s291ms 03 1 1s276ms 1s276ms 05 2 2s740ms 1s370ms 08 2 2s380ms 1s190ms 09 4 5s32ms 1s258ms 11 1 1s247ms 1s247ms 12 2 2s485ms 1s242ms 13 3 3s701ms 1s233ms 14 3 3s752ms 1s250ms 15 4 5s 1s250ms 16 2 2s396ms 1s198ms 17 2 2s542ms 1s271ms 18 1 1s251ms 1s251ms 20 1 1s243ms 1s243ms 21 1 1s186ms 1s186ms 22 1 1s281ms 1s281ms 23 3 3s856ms 1s285ms Oct 03 01 2 2s473ms 1s236ms 02 2 2s547ms 1s273ms 03 2 2s464ms 1s232ms 05 4 5s156ms 1s289ms 06 4 5s22ms 1s255ms 07 8 9s989ms 1s248ms 08 1 1s254ms 1s254ms 09 2 2s575ms 1s287ms 12 4 5s14ms 1s253ms 13 2 2s429ms 1s214ms 15 2 2s527ms 1s263ms 16 3 3s714ms 1s238ms 17 3 3s777ms 1s259ms 21 2 2s539ms 1s269ms 22 2 2s535ms 1s267ms 23 4 4s995ms 1s248ms Oct 04 00 4 4s952ms 1s238ms 01 1 1s288ms 1s288ms 02 4 5s89ms 1s272ms 03 1 1s190ms 1s190ms 05 3 3s920ms 1s306ms 06 2 2s444ms 1s222ms 08 2 2s462ms 1s231ms 09 1 1s256ms 1s256ms 11 1 1s265ms 1s265ms 12 2 2s506ms 1s253ms 13 3 3s778ms 1s259ms 14 3 3s590ms 1s196ms 15 7 8s565ms 1s223ms 16 3 3s771ms 1s257ms 18 1 1s240ms 1s240ms 19 1 1s242ms 1s242ms 20 4 5s21ms 1s255ms 22 2 2s447ms 1s223ms Oct 05 01 1 1s208ms 1s208ms 02 3 3s637ms 1s212ms 04 3 3s767ms 1s255ms 05 4 5s89ms 1s272ms 06 3 3s637ms 1s212ms 07 3 3s765ms 1s255ms 08 1 1s166ms 1s166ms 09 2 2s557ms 1s278ms 10 1 1s241ms 1s241ms 11 1 1s179ms 1s179ms 12 1 1s246ms 1s246ms 13 3 3s814ms 1s271ms 14 2 2s539ms 1s269ms 15 1 1s233ms 1s233ms 16 1 1s270ms 1s270ms 17 6 7s640ms 1s273ms 18 2 2s511ms 1s255ms 19 2 2s385ms 1s192ms 20 5 6s271ms 1s254ms 21 5 6s197ms 1s239ms 22 2 2s573ms 1s286ms [ User: pubeu - Total duration: 2m29s - Times executed: 119 ]
[ User: qaeu - Total duration: 6s800ms - Times executed: 5 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1216070') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1216070') 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-09-30 05:38:44 Duration: 1s410ms 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 = '1217866') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1217866') 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-09-30 05:43:41 Duration: 1s405ms Database: ctdprd51 User: qaeu 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 = '1216070') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1216070') 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-09-29 05:38:39 Duration: 1s399ms Bind query: yes
6 294 19m43s 3s784ms 14s18ms 4s26ms 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 Sep 29 00 1 3s843ms 3s843ms 01 1 3s870ms 3s870ms 02 1 3s894ms 3s894ms 04 1 4s96ms 4s96ms 05 1 3s845ms 3s845ms 07 4 15s525ms 3s881ms 09 1 3s798ms 3s798ms 11 4 15s457ms 3s864ms 12 3 12s74ms 4s24ms 13 1 3s932ms 3s932ms 14 1 3s943ms 3s943ms 16 1 3s917ms 3s917ms 17 1 3s825ms 3s825ms 20 1 3s938ms 3s938ms 21 5 19s323ms 3s864ms 22 2 8s3ms 4s1ms Sep 30 00 1 3s891ms 3s891ms 01 1 3s972ms 3s972ms 02 3 11s839ms 3s946ms 04 5 20s14ms 4s2ms 05 1 3s919ms 3s919ms 07 2 7s879ms 3s939ms 08 1 4s16ms 4s16ms 09 2 7s782ms 3s891ms 10 1 3s832ms 3s832ms 12 4 15s850ms 3s962ms 13 1 3s919ms 3s919ms 14 3 11s712ms 3s904ms 15 2 8s30ms 4s15ms 16 2 7s837ms 3s918ms 21 1 3s833ms 3s833ms 22 1 3s959ms 3s959ms Oct 01 01 1 4s18ms 4s18ms 02 1 4s5ms 4s5ms 03 2 7s913ms 3s956ms 04 2 8s1ms 4s 05 1 3s989ms 3s989ms 06 2 7s697ms 3s848ms 07 2 8s92ms 4s46ms 08 2 7s970ms 3s985ms 09 3 11s946ms 3s982ms 10 2 8s175ms 4s87ms 11 1 3s903ms 3s903ms 12 1 4s219ms 4s219ms 13 1 3s888ms 3s888ms 14 2 8s128ms 4s64ms 15 3 12s582ms 4s194ms 16 5 19s974ms 3s994ms 17 3 12s437ms 4s145ms 18 5 20s153ms 4s30ms 21 1 4s50ms 4s50ms Oct 02 01 1 4s13ms 4s13ms 02 1 3s998ms 3s998ms 03 1 3s964ms 3s964ms 04 3 11s930ms 3s976ms 07 4 15s847ms 3s961ms 08 3 11s934ms 3s978ms 09 1 4s447ms 4s447ms 11 3 11s880ms 3s960ms 13 3 12s698ms 4s232ms 14 10 40s659ms 4s65ms 15 6 24s984ms 4s164ms 17 4 15s838ms 3s959ms 18 1 3s963ms 3s963ms 22 3 11s744ms 3s914ms Oct 03 00 1 4s30ms 4s30ms 01 1 4s40ms 4s40ms 03 1 3s937ms 3s937ms 06 2 8s28ms 4s14ms 07 2 7s976ms 3s988ms 08 2 7s921ms 3s960ms 09 2 8s485ms 4s242ms 10 4 16s11ms 4s2ms 11 2 7s917ms 3s958ms 12 2 8s10ms 4s5ms 13 5 19s953ms 3s990ms 14 9 36s222ms 4s24ms 15 7 28s35ms 4s5ms 16 2 8s72ms 4s36ms 21 5 20s18ms 4s3ms 22 2 7s845ms 3s922ms 23 6 24s243ms 4s40ms Oct 04 01 9 35s543ms 3s949ms 02 3 11s707ms 3s902ms 03 7 27s560ms 3s937ms 04 2 8s71ms 4s35ms 05 3 12s539ms 4s179ms 07 1 3s838ms 3s838ms 08 2 7s856ms 3s928ms 09 1 3s975ms 3s975ms 10 4 15s712ms 3s928ms 11 2 8s149ms 4s74ms 12 2 8s197ms 4s98ms 14 2 7s978ms 3s989ms 18 6 23s831ms 3s971ms 19 1 3s931ms 3s931ms 20 5 19s876ms 3s975ms 21 3 11s949ms 3s983ms Oct 05 01 2 7s791ms 3s895ms 03 5 19s816ms 3s963ms 04 2 7s870ms 3s935ms 05 1 3s975ms 3s975ms 06 1 3s925ms 3s925ms 10 1 4s187ms 4s187ms 11 1 3s940ms 3s940ms 12 1 3s866ms 3s866ms 13 1 3s801ms 3s801ms 14 1 3s870ms 3s870ms 16 1 14s18ms 14s18ms 17 1 4s72ms 4s72ms 18 1 4s190ms 4s190ms 21 6 24s81ms 4s13ms 22 7 28s576ms 4s82ms 23 10 39s712ms 3s971ms [ User: pubeu - Total duration: 7m56s - Times executed: 119 ]
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1434692') 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 = '1434692') 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-10-05 16:12:51 Duration: 14s18ms 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 = '1270515') 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 = '1270515') 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-10-05 21:05:39 Duration: 4s488ms 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 = '1326305') 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 = '1326305') 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-10-04 05:38:32 Duration: 4s484ms Database: ctdprd51 User: pubeu Bind query: yes
7 184 3m56s 1s166ms 1s981ms 1s286ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where outcome.disease_id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or receptorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Sep 29 00 1 1s295ms 1s295ms 01 1 1s359ms 1s359ms 03 1 1s287ms 1s287ms 04 3 5s200ms 1s733ms 05 2 2s797ms 1s398ms 08 2 2s531ms 1s265ms 09 3 3s711ms 1s237ms 12 1 1s278ms 1s278ms 13 4 5s17ms 1s254ms 14 1 1s215ms 1s215ms 16 1 1s273ms 1s273ms 17 1 1s248ms 1s248ms 20 1 1s286ms 1s286ms 21 2 2s565ms 1s282ms 23 1 1s379ms 1s379ms Sep 30 01 2 2s633ms 1s316ms 02 1 1s341ms 1s341ms 04 1 1s223ms 1s223ms 05 3 4s50ms 1s350ms 06 1 1s256ms 1s256ms 07 1 1s329ms 1s329ms 08 3 3s666ms 1s222ms 09 1 1s253ms 1s253ms 10 1 1s218ms 1s218ms 12 1 1s310ms 1s310ms 17 3 3s911ms 1s303ms 19 1 1s274ms 1s274ms 20 2 2s573ms 1s286ms 21 2 2s542ms 1s271ms 23 4 4s946ms 1s236ms Oct 01 01 2 2s554ms 1s277ms 02 2 2s683ms 1s341ms 05 2 2s754ms 1s377ms 06 2 2s624ms 1s312ms 08 1 1s295ms 1s295ms 09 1 1s279ms 1s279ms 10 2 2s450ms 1s225ms 11 1 1s260ms 1s260ms 12 1 1s270ms 1s270ms 13 2 2s503ms 1s251ms 15 1 1s443ms 1s443ms 16 3 4s5ms 1s335ms 17 1 1s291ms 1s291ms 20 1 1s271ms 1s271ms 22 1 1s285ms 1s285ms 23 1 1s252ms 1s252ms Oct 02 04 4 5s181ms 1s295ms 05 4 5s390ms 1s347ms 06 2 2s437ms 1s218ms 07 1 1s263ms 1s263ms 10 1 1s232ms 1s232ms 11 3 3s822ms 1s274ms 12 1 1s257ms 1s257ms 13 1 1s269ms 1s269ms 16 2 2s544ms 1s272ms 18 1 1s210ms 1s210ms 19 1 1s231ms 1s231ms 22 2 2s619ms 1s309ms Oct 03 00 1 1s479ms 1s479ms 01 1 1s255ms 1s255ms 02 1 1s300ms 1s300ms 04 1 1s195ms 1s195ms 05 2 2s661ms 1s330ms 10 1 1s324ms 1s324ms 11 2 2s637ms 1s318ms 14 1 1s279ms 1s279ms 15 1 1s264ms 1s264ms 17 2 2s507ms 1s253ms 19 3 3s854ms 1s284ms 21 2 2s601ms 1s300ms 22 2 2s548ms 1s274ms Oct 04 02 3 3s713ms 1s237ms 03 1 1s240ms 1s240ms 04 1 1s227ms 1s227ms 05 11 13s844ms 1s258ms 07 1 1s305ms 1s305ms 10 1 1s275ms 1s275ms 11 1 1s230ms 1s230ms 12 4 4s926ms 1s231ms 14 1 1s232ms 1s232ms 16 1 1s246ms 1s246ms 18 3 3s735ms 1s245ms 20 3 3s692ms 1s230ms 21 3 3s668ms 1s222ms 23 1 1s238ms 1s238ms Oct 05 00 2 2s499ms 1s249ms 01 4 5s115ms 1s278ms 02 2 2s471ms 1s235ms 05 2 2s813ms 1s406ms 06 3 3s853ms 1s284ms 08 2 2s642ms 1s321ms 10 4 4s994ms 1s248ms 12 1 1s260ms 1s260ms 13 1 1s414ms 1s414ms 15 1 1s262ms 1s262ms 16 1 1s247ms 1s247ms 17 2 2s674ms 1s337ms 18 1 1s252ms 1s252ms 19 1 1s275ms 1s275ms 20 1 1s216ms 1s216ms 21 1 1s231ms 1s231ms 23 1 1s407ms 1s407ms [ User: pubeu - Total duration: 1m12s - Times executed: 57 ]
-
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 = '2077331') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2077331') 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-09-29 04:11:48 Duration: 1s981ms 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 = '2077331') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2077331') 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-09-29 04:11:46 Duration: 1s974ms 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 = '2081817') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2081817') 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-10-01 16:42:48 Duration: 1s591ms Database: ctdprd51 User: pubeu Bind query: yes
8 121 3m25s 1s 6s481ms 1s697ms 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;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Sep 29 00 4 6s61ms 1s515ms 01 4 5s744ms 1s436ms 14 4 6s18ms 1s504ms 22 3 3s162ms 1s54ms Sep 30 19 1 6s481ms 6s481ms Oct 01 00 4 5s713ms 1s428ms 08 4 5s922ms 1s480ms 15 3 4s330ms 1s443ms 16 1 1s32ms 1s32ms 17 4 5s269ms 1s317ms Oct 02 05 5 14s814ms 2s962ms 18 4 7s133ms 1s783ms 23 2 2s826ms 1s413ms Oct 03 00 2 2s954ms 1s477ms 02 9 18s236ms 2s26ms 14 1 1s 1s 18 3 4s304ms 1s434ms 23 2 2s116ms 1s58ms Oct 04 00 16 23s668ms 1s479ms 05 4 6s102ms 1s525ms 07 1 6s433ms 6s433ms 13 4 5s729ms 1s432ms 16 6 8s827ms 1s471ms Oct 05 12 22 37s220ms 1s691ms 15 4 7s79ms 1s769ms 17 4 7s193ms 1s798ms [ User: pubeu - Total duration: 1m26s - Times executed: 50 ]
-
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 = '1395038'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort;
Date: 2024-09-30 19:51:57 Duration: 6s481ms 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 = '1395038'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort;
Date: 2024-10-02 05:09:08 Duration: 6s455ms 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 = '1395038'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort;
Date: 2024-10-04 07:38:39 Duration: 6s433ms Bind query: yes
9 114 2m36s 1s306ms 1s502ms 1s373ms select t.nm, t.nm_html nmhtml, t.secondary_nm secondarynm, t.acc_txt acc, ? || t.nm accquerystr, t.has_chems haschems, t.has_diseases hasdiseases, t.has_exposures hasexposures, t.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term t where t.object_type_id = ? and regexp_replace(upper(substring(t.nm, ?, ?)), ?, ?) = ? order by t.nm_sort limit ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Sep 29 03 1 1s313ms 1s313ms 04 1 1s409ms 1s409ms 05 2 2s812ms 1s406ms 06 2 2s643ms 1s321ms 09 1 1s369ms 1s369ms 12 2 2s720ms 1s360ms 14 1 1s307ms 1s307ms 21 1 1s364ms 1s364ms 23 3 4s91ms 1s363ms Sep 30 01 1 1s348ms 1s348ms 05 3 4s122ms 1s374ms 12 1 1s335ms 1s335ms 14 1 1s353ms 1s353ms 17 2 2s797ms 1s398ms Oct 01 03 2 2s723ms 1s361ms 04 1 1s441ms 1s441ms 05 3 4s178ms 1s392ms 08 1 1s312ms 1s312ms 10 1 1s354ms 1s354ms 13 2 2s883ms 1s441ms 15 1 1s379ms 1s379ms 16 1 1s411ms 1s411ms 22 1 1s408ms 1s408ms Oct 02 03 1 1s402ms 1s402ms 04 1 1s316ms 1s316ms 05 2 2s728ms 1s364ms 07 1 1s400ms 1s400ms 08 2 2s714ms 1s357ms 09 1 1s407ms 1s407ms 13 4 5s558ms 1s389ms 16 5 6s755ms 1s351ms 20 1 1s415ms 1s415ms 22 1 1s398ms 1s398ms Oct 03 00 1 1s318ms 1s318ms 01 1 1s325ms 1s325ms 05 3 4s127ms 1s375ms 06 1 1s326ms 1s326ms 07 1 1s360ms 1s360ms 08 1 1s309ms 1s309ms 10 2 2s863ms 1s431ms 17 1 1s336ms 1s336ms 21 1 1s330ms 1s330ms 22 1 1s411ms 1s411ms Oct 04 02 2 2s724ms 1s362ms 04 3 3s996ms 1s332ms 05 7 9s474ms 1s353ms 09 2 2s719ms 1s359ms 11 2 2s754ms 1s377ms 13 2 2s624ms 1s312ms 19 2 2s831ms 1s415ms 22 1 1s334ms 1s334ms 23 3 4s217ms 1s405ms Oct 05 00 1 1s401ms 1s401ms 01 1 1s408ms 1s408ms 03 2 2s728ms 1s364ms 05 2 2s722ms 1s361ms 06 1 1s414ms 1s414ms 09 2 2s791ms 1s395ms 10 3 4s199ms 1s399ms 11 5 6s988ms 1s397ms 12 2 2s862ms 1s431ms 13 1 1s415ms 1s415ms 14 1 1s371ms 1s371ms 16 2 2s730ms 1s365ms [ User: pubeu - Total duration: 1m5s - Times executed: 48 ]
-
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-09-29 05:42:09 Duration: 1s502ms 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-10-05 12:31:27 Duration: 1s488ms 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-10-01 05:42:09 Duration: 1s457ms Bind query: yes
10 106 7m5s 1s 6s574ms 4s11ms 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 #10
Day Hour Count Duration Avg duration Sep 29 04 1 4s628ms 4s628ms 06 1 4s761ms 4s761ms 08 1 4s444ms 4s444ms 17 1 4s620ms 4s620ms Sep 30 01 1 5s256ms 5s256ms 03 1 4s931ms 4s931ms 04 1 5s90ms 5s90ms 05 2 10s12ms 5s6ms 09 1 4s848ms 4s848ms 14 1 4s587ms 4s587ms 16 1 4s674ms 4s674ms 20 1 1s223ms 1s223ms 21 3 11s689ms 3s896ms 23 1 5s679ms 5s679ms Oct 01 00 3 11s129ms 3s709ms 07 1 6s574ms 6s574ms 11 1 5s242ms 5s242ms 12 2 10s713ms 5s356ms 15 1 5s880ms 5s880ms 16 2 6s315ms 3s157ms 18 1 1s74ms 1s74ms 19 4 4s229ms 1s57ms 20 1 5s587ms 5s587ms Oct 02 02 1 1s22ms 1s22ms 07 3 11s735ms 3s911ms 08 1 1s44ms 1s44ms 10 1 1s16ms 1s16ms 11 1 5s72ms 5s72ms 12 1 5s401ms 5s401ms 16 1 1s12ms 1s12ms 23 1 5s339ms 5s339ms Oct 03 02 1 5s338ms 5s338ms 03 1 5s261ms 5s261ms 04 1 1s15ms 1s15ms 07 1 1s18ms 1s18ms 11 4 12s696ms 3s174ms 12 1 1s19ms 1s19ms 16 1 5s354ms 5s354ms 18 1 5s343ms 5s343ms 19 1 5s276ms 5s276ms 21 1 1s53ms 1s53ms 23 1 5s355ms 5s355ms Oct 04 01 1 5s867ms 5s867ms 03 1 1s11ms 1s11ms 04 1 5s604ms 5s604ms 05 8 40s282ms 5s35ms 06 1 5s180ms 5s180ms 08 2 6s425ms 3s212ms 09 1 1s11ms 1s11ms 10 4 17s663ms 4s415ms 11 4 21s971ms 5s492ms 12 2 2s67ms 1s33ms 14 1 1s50ms 1s50ms 17 1 5s575ms 5s575ms 18 1 5s362ms 5s362ms 19 1 5s370ms 5s370ms 21 3 16s267ms 5s422ms 23 1 5s416ms 5s416ms Oct 05 01 3 11s973ms 3s991ms 03 1 5s370ms 5s370ms 06 1 5s313ms 5s313ms 08 1 5s585ms 5s585ms 10 2 10s880ms 5s440ms 12 2 6s556ms 3s278ms 13 1 5s751ms 5s751ms 15 1 1s23ms 1s23ms 16 2 2s150ms 1s75ms 17 1 5s504ms 5s504ms 23 1 5s379ms 5s379ms [ User: pubeu - Total duration: 2m44s - Times executed: 39 ]
-
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 = '1298815' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-10-01 07:31:11 Duration: 6s574ms 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 = '1326305' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-10-04 05:50:41 Duration: 6s9ms 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 = '1326305' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-10-04 05:52:10 Duration: 6s3ms Bind query: yes
11 105 14m41s 1s553ms 24s220ms 8s395ms select distinct phenotypeterm.nm as gonm, phenotypeterm.nm_html as gonmhtml, phenotypeterm.acc_txt as goacc, diseaseterm.nm as diseasenm, diseaseterm.nm_html as diseasenmhtml, diseaseterm.acc_txt as diseaseacc, diseaseterm.acc_db_cd as diseaseaccdbcd, chemterm.nm as chemnm, chemterm.nm_html as chemnmhtml, chemterm.acc_txt as chemacc, geneterm.nm as genesymbol, geneterm.nm_html as genesymbolhtml, geneterm.acc_txt as geneacc, count(*) over () fullrowcount from phenotype_term_reference viachemptr, phenotype_term_reference viageneptr, term phenotypeterm, term diseaseterm, term geneterm, term chemterm where viachemptr.via_term_id in ( select baseterm.id from term baseterm where baseterm.object_type_id = ? and baseterm.id in ( select term_id from term_label tl where upper(tl.nm) = ? and tl.object_type_id = ?)) and viageneptr.via_term_id in ( select baseterm.id from term baseterm where baseterm.object_type_id = ? and baseterm.id in ( select term_id from term_label tl where upper(tl.nm) = ? and tl.object_type_id = ?)) and viachemptr.phenotype_id = phenotypeterm.id and viachemptr.term_object_type_id = ? and viachemptr.term_id = diseaseterm.id and viachemptr.via_term_object_type_id = ? and viachemptr.via_term_id = chemterm.id and viachemptr.term_id = viageneptr.term_id and viachemptr.phenotype_id = viageneptr.phenotype_id and viageneptr.via_term_object_type_id = ? and viageneptr.via_term_id = geneterm.id and exists ( select ? from gene_chem_reference where gene_id = geneterm.id and chem_id = chemterm.id) group by phenotypeterm.nm, phenotypeterm.nm_html, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.nm_html, diseaseterm.acc_txt, diseaseterm.acc_db_cd, chemterm.nm, chemterm.nm_html, chemterm.acc_txt, geneterm.nm, geneterm.nm_html, geneterm.acc_txt order by chemterm.nm limit ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Oct 04 15 105 14m41s 8s395ms [ User: pubeu - Total duration: 4m42s - Times executed: 23 ]
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'TNF' AND tl.object_type_id = 4)) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;
Date: 2024-10-04 15:44:14 Duration: 24s220ms Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'IL1B' AND tl.object_type_id = 4)) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;
Date: 2024-10-04 15:45:47 Duration: 23s718ms Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'PTGS2' AND tl.object_type_id = 4)) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;
Date: 2024-10-04 15:50:19 Duration: 23s46ms Bind query: yes
12 105 3m32s 1s12ms 5s242ms 2s19ms 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 #12
Day Hour Count Duration Avg duration Sep 29 00 1 1s560ms 1s560ms 08 1 1s615ms 1s615ms 21 1 1s598ms 1s598ms 22 2 3s392ms 1s696ms Sep 30 04 4 12s916ms 3s229ms 05 4 9s605ms 2s401ms 06 1 1s819ms 1s819ms 17 1 1s113ms 1s113ms 18 1 1s503ms 1s503ms 19 1 5s16ms 5s16ms 23 1 1s613ms 1s613ms Oct 01 02 1 1s520ms 1s520ms 04 1 1s320ms 1s320ms 05 2 3s104ms 1s552ms 06 1 5s242ms 5s242ms 08 1 1s610ms 1s610ms 14 2 3s48ms 1s524ms 15 1 1s632ms 1s632ms 16 1 1s88ms 1s88ms 17 1 2s512ms 2s512ms 18 1 1s295ms 1s295ms 19 1 1s283ms 1s283ms Oct 02 00 1 1s801ms 1s801ms 01 3 4s195ms 1s398ms 02 1 1s723ms 1s723ms 04 1 2s612ms 2s612ms 05 2 8s781ms 4s390ms 07 1 1s120ms 1s120ms 12 1 1s595ms 1s595ms 16 1 1s566ms 1s566ms 22 2 2s787ms 1s393ms Oct 03 02 2 6s719ms 3s359ms 03 1 1s402ms 1s402ms 04 2 6s790ms 3s395ms 07 1 1s267ms 1s267ms 11 2 2s710ms 1s355ms 12 1 1s846ms 1s846ms 14 1 1s602ms 1s602ms 15 1 1s862ms 1s862ms 16 1 1s475ms 1s475ms 22 1 1s81ms 1s81ms 23 5 5s595ms 1s119ms Oct 04 00 3 3s122ms 1s40ms 03 2 3s128ms 1s564ms 04 1 1s604ms 1s604ms 06 1 1s267ms 1s267ms 07 3 8s192ms 2s730ms 09 2 3s470ms 1s735ms 10 8 23s684ms 2s960ms 12 1 1s597ms 1s597ms 13 1 1s279ms 1s279ms 14 1 1s267ms 1s267ms 16 1 1s607ms 1s607ms 22 3 4s476ms 1s492ms 23 1 1s527ms 1s527ms Oct 05 01 1 1s521ms 1s521ms 02 1 1s71ms 1s71ms 03 1 5s164ms 5s164ms 04 3 4s441ms 1s480ms 05 1 1s534ms 1s534ms 09 1 2s937ms 2s937ms 12 4 6s888ms 1s722ms 18 1 1s618ms 1s618ms 22 1 1s514ms 1s514ms 23 1 5s157ms 5s157ms [ User: pubeu - Total duration: 1m7s - Times executed: 33 ]
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1395038') 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 = '1395038') 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-10-01 06:25:35 Duration: 5s242ms 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 = '1395038') 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 = '1395038') 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-10-04 10:17:07 Duration: 5s240ms 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 = '1393242') 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 = '1393242') 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-09-30 04:56:57 Duration: 5s217ms Bind query: yes
13 102 5m39s 1s6ms 12s497ms 3s330ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Sep 29 01 1 1s72ms 1s72ms 02 1 1s307ms 1s307ms 04 2 2s716ms 1s358ms 08 1 1s6ms 1s6ms 09 2 6s31ms 3s15ms 10 2 2s177ms 1s88ms 14 2 10s918ms 5s459ms 15 2 2s314ms 1s157ms 17 2 2s641ms 1s320ms 18 1 1s675ms 1s675ms 22 3 21s191ms 7s63ms 23 4 17s901ms 4s475ms Sep 30 03 1 4s894ms 4s894ms 08 3 17s252ms 5s750ms 09 2 2s336ms 1s168ms 10 2 6s657ms 3s328ms 11 1 2s626ms 2s626ms 13 1 10s174ms 10s174ms 14 2 2s109ms 1s54ms 15 1 1s190ms 1s190ms 16 1 1s193ms 1s193ms 17 1 1s391ms 1s391ms Oct 01 02 1 6s430ms 6s430ms 05 1 10s213ms 10s213ms 06 1 1s13ms 1s13ms 15 1 1s48ms 1s48ms 16 1 1s135ms 1s135ms 17 2 2s505ms 1s252ms 19 2 7s456ms 3s728ms 21 1 2s737ms 2s737ms Oct 02 00 1 1s282ms 1s282ms 02 1 4s979ms 4s979ms 07 1 1s535ms 1s535ms 10 1 1s332ms 1s332ms 12 2 24s803ms 12s401ms 13 2 6s140ms 3s70ms 14 1 4s155ms 4s155ms 15 1 11s651ms 11s651ms 18 2 5s126ms 2s563ms 20 1 10s544ms 10s544ms Oct 03 00 1 5s2ms 5s2ms 02 1 1s308ms 1s308ms 07 1 6s522ms 6s522ms 08 1 1s22ms 1s22ms 11 3 11s62ms 3s687ms 12 3 4s891ms 1s630ms 13 1 1s374ms 1s374ms 20 1 1s314ms 1s314ms 21 1 1s68ms 1s68ms 22 2 7s683ms 3s841ms Oct 04 00 4 12s907ms 3s226ms 04 1 2s732ms 2s732ms 10 1 5s881ms 5s881ms 11 2 2s551ms 1s275ms 14 1 11s912ms 11s912ms 15 1 1s80ms 1s80ms 16 1 6s644ms 6s644ms 18 1 1s207ms 1s207ms 19 1 1s32ms 1s32ms Oct 05 06 1 1s217ms 1s217ms 08 1 1s28ms 1s28ms 16 1 1s19ms 1s19ms 18 1 1s25ms 1s25ms 19 1 1s194ms 1s194ms 20 1 2s974ms 2s974ms 22 4 10s181ms 2s545ms 23 3 9s41ms 3s13ms [ User: pubeu - Total duration: 2m8s - Times executed: 45 ]
-
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 = '2081060') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-10-02 12:04:04 Duration: 12s497ms 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 = '2081060') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-10-02 12:04:03 Duration: 12s305ms 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 = '2081060') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-10-04 14:05:54 Duration: 11s912ms Database: ctdprd51 User: pubeu Bind query: yes
14 92 9m12s 1s308ms 39s726ms 6s8ms select distinct phenotypeterm.nm as gonm, phenotypeterm.nm_html as gonmhtml, phenotypeterm.acc_txt as goacc, diseaseterm.nm as diseasenm, diseaseterm.nm_html as diseasenmhtml, diseaseterm.acc_txt as diseaseacc, diseaseterm.acc_db_cd as diseaseaccdbcd, chemterm.nm as chemnm, chemterm.nm_html as chemnmhtml, chemterm.acc_txt as chemacc, geneterm.nm as genesymbol, geneterm.nm_html as genesymbolhtml, geneterm.acc_txt as geneacc, count(*) over () fullrowcount from phenotype_term_reference viachemptr, phenotype_term_reference viageneptr, term phenotypeterm, term diseaseterm, term geneterm, term chemterm where exists ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and baseterm.id in ( select term_id from term_label tl where upper(tl.nm) = ? and tl.object_type_id = ?)) and viachemptr.via_term_id = dp.descendant_object_id) and exists ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and baseterm.id in ( select term_id from term_label tl where upper(tl.nm) = ? and tl.object_type_id = ?)) and phenotypeterm.id = dp.descendant_object_id) and viachemptr.phenotype_id = phenotypeterm.id and viachemptr.term_object_type_id = ? and viachemptr.term_id = diseaseterm.id and viachemptr.via_term_object_type_id = ? and viachemptr.via_term_id = chemterm.id and viachemptr.term_id = viageneptr.term_id and viachemptr.phenotype_id = viageneptr.phenotype_id and viageneptr.via_term_object_type_id = ? and viageneptr.via_term_id = geneterm.id and exists ( select ? from gene_chem_reference where gene_id = geneterm.id and chem_id = chemterm.id) group by phenotypeterm.nm, phenotypeterm.nm_html, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.nm_html, diseaseterm.acc_txt, diseaseterm.acc_db_cd, chemterm.nm, chemterm.nm_html, chemterm.acc_txt, geneterm.nm, geneterm.nm_html, geneterm.acc_txt order by chemterm.nm limit ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Oct 04 16 89 8m45s 5s901ms 17 3 27s573ms 9s191ms [ User: pubeu - Total duration: 2m41s - Times executed: 19 ]
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaChemPTR.via_term_id = dp.descendant_object_id) and exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CELL DEATH' AND tl.object_type_id = 5)) and phenotypeTerm.id = dp.descendant_object_id) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;
Date: 2024-10-04 16:57:26 Duration: 39s726ms Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaChemPTR.via_term_id = dp.descendant_object_id) and exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'APOPTOTIC PROCESS' AND tl.object_type_id = 5)) and phenotypeTerm.id = dp.descendant_object_id) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;
Date: 2024-10-04 16:55:17 Duration: 39s645ms Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaChemPTR.via_term_id = dp.descendant_object_id) and exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CELL PROLIFERATION' AND tl.object_type_id = 5)) and phenotypeTerm.id = dp.descendant_object_id) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;
Date: 2024-10-04 16:56:07 Duration: 24s880ms Database: ctdprd51 User: pubeu Bind query: yes
15 89 7m38s 1s38ms 18s123ms 5s155ms select distinct phenotypeterm.nm as gonm, phenotypeterm.nm_html as gonmhtml, phenotypeterm.acc_txt as goacc, diseaseterm.nm as diseasenm, diseaseterm.nm_html as diseasenmhtml, diseaseterm.acc_txt as diseaseacc, diseaseterm.acc_db_cd as diseaseaccdbcd, chemterm.nm as chemnm, chemterm.nm_html as chemnmhtml, chemterm.acc_txt as chemacc, geneterm.nm as genesymbol, geneterm.nm_html as genesymbolhtml, geneterm.acc_txt as geneacc, count(*) over () fullrowcount from phenotype_term_reference viachemptr, phenotype_term_reference viageneptr, term phenotypeterm, term diseaseterm, term geneterm, term chemterm where exists ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and baseterm.id in ( select term_id from term_label tl where upper(tl.nm) = ? and tl.object_type_id = ?)) and viachemptr.via_term_id = dp.descendant_object_id) and exists ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and baseterm.id in ( select term_id from term_label tl where upper(tl.nm) = ? and tl.object_type_id = ?)) and diseaseterm.id = dp.descendant_object_id) and viachemptr.phenotype_id = phenotypeterm.id and viachemptr.term_object_type_id = ? and viachemptr.term_id = diseaseterm.id and viachemptr.via_term_object_type_id = ? and viachemptr.via_term_id = chemterm.id and viachemptr.term_id = viageneptr.term_id and viachemptr.phenotype_id = viageneptr.phenotype_id and viageneptr.via_term_object_type_id = ? and viageneptr.via_term_id = geneterm.id and exists ( select ? from gene_chem_reference where gene_id = geneterm.id and chem_id = chemterm.id) group by phenotypeterm.nm, phenotypeterm.nm_html, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.nm_html, diseaseterm.acc_txt, diseaseterm.acc_db_cd, chemterm.nm, chemterm.nm_html, chemterm.acc_txt, geneterm.nm, geneterm.nm_html, geneterm.acc_txt order by chemterm.nm limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Oct 04 10 1 7s918ms 7s918ms 16 88 7m30s 5s124ms [ User: pubeu - Total duration: 1m39s - Times executed: 18 ]
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaChemPTR.via_term_id = dp.descendant_object_id) and exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'KIDNEY DISEASES' AND tl.object_type_id = 3)) and diseaseTerm.id = dp.descendant_object_id) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;
Date: 2024-10-04 16:51:35 Duration: 18s123ms Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaChemPTR.via_term_id = dp.descendant_object_id) and exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'BREAST NEOPLASMS' AND tl.object_type_id = 3)) and diseaseTerm.id = dp.descendant_object_id) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;
Date: 2024-10-04 16:52:09 Duration: 16s812ms Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'ACETAMINOPHEN' AND tl.object_type_id = 2)) and viaChemPTR.via_term_id = dp.descendant_object_id) and exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'DRUG-RELATED SIDE EFFECTS AND ADVERSE REACTIONS' AND tl.object_type_id = 3)) and diseaseTerm.id = dp.descendant_object_id) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;
Date: 2024-10-04 16:30:41 Duration: 14s546ms Bind query: yes
16 86 6m33s 1s 11s560ms 4s570ms select distinct phenotypeterm.nm as gonm, phenotypeterm.nm_html as gonmhtml, phenotypeterm.acc_txt as goacc, diseaseterm.nm as diseasenm, diseaseterm.nm_html as diseasenmhtml, diseaseterm.acc_txt as diseaseacc, diseaseterm.acc_db_cd as diseaseaccdbcd, chemterm.nm as chemnm, chemterm.nm_html as chemnmhtml, chemterm.acc_txt as chemacc, geneterm.nm as genesymbol, geneterm.nm_html as genesymbolhtml, geneterm.acc_txt as geneacc, count(*) over () fullrowcount from phenotype_term_reference viachemptr, phenotype_term_reference viageneptr, term phenotypeterm, term diseaseterm, term geneterm, term chemterm where exists ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and baseterm.id in ( select term_id from term_label tl where upper(tl.nm) = ? and tl.object_type_id = ?)) and viachemptr.via_term_id = dp.descendant_object_id) and viageneptr.via_term_id in ( select baseterm.id from term baseterm where baseterm.object_type_id = ? and baseterm.id in ( select term_id from term_label tl where upper(tl.nm) = ? and tl.object_type_id = ?)) and viachemptr.phenotype_id = phenotypeterm.id and viachemptr.term_object_type_id = ? and viachemptr.term_id = diseaseterm.id and viachemptr.via_term_object_type_id = ? and viachemptr.via_term_id = chemterm.id and viachemptr.term_id = viageneptr.term_id and viachemptr.phenotype_id = viageneptr.phenotype_id and viageneptr.via_term_object_type_id = ? and viageneptr.via_term_id = geneterm.id and exists ( select ? from gene_chem_reference where gene_id = geneterm.id and chem_id = chemterm.id) group by phenotypeterm.nm, phenotypeterm.nm_html, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.nm_html, diseaseterm.acc_txt, diseaseterm.acc_db_cd, chemterm.nm, chemterm.nm_html, chemterm.acc_txt, geneterm.nm, geneterm.nm_html, geneterm.acc_txt order by chemterm.nm limit ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Oct 04 16 86 6m33s 4s570ms [ User: pubeu - Total duration: 1m37s - Times executed: 18 ]
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaChemPTR.via_term_id = dp.descendant_object_id) and viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'TNF' AND tl.object_type_id = 4)) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;
Date: 2024-10-04 16:46:27 Duration: 11s560ms Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaChemPTR.via_term_id = dp.descendant_object_id) and viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'IL1B' AND tl.object_type_id = 4)) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;
Date: 2024-10-04 16:47:08 Duration: 11s189ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaChemPTR.via_term_id = dp.descendant_object_id) and viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'PTGS2' AND tl.object_type_id = 4)) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;
Date: 2024-10-04 16:49:03 Duration: 10s122ms Database: ctdprd51 User: pubeu Bind query: yes
17 61 2m52s 1s440ms 19s215ms 2s826ms 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 #17
Day Hour Count Duration Avg duration Sep 29 04 12 24s15ms 2s1ms 07 1 2s140ms 2s140ms 20 1 14s904ms 14s904ms 22 1 1s523ms 1s523ms Oct 01 10 1 1s440ms 1s440ms 15 1 7s422ms 7s422ms Oct 02 01 1 1s952ms 1s952ms 02 1 19s215ms 19s215ms 04 21 32s602ms 1s552ms 05 1 1s535ms 1s535ms 06 1 1s893ms 1s893ms 08 1 1s935ms 1s935ms 19 1 15s696ms 15s696ms Oct 03 11 1 1s581ms 1s581ms 15 1 4s419ms 4s419ms Oct 04 07 1 1s926ms 1s926ms 10 1 2s128ms 2s128ms 12 4 6s115ms 1s528ms 15 1 7s539ms 7s539ms 17 4 9s936ms 2s484ms 20 1 1s587ms 1s587ms Oct 05 07 1 1s941ms 1s941ms 12 1 4s543ms 4s543ms 14 1 4s433ms 4s433ms [ User: pubeu - Total duration: 1m7s - Times executed: 28 ]
-
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 = '2086841') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-10-02 02:51:03 Duration: 19s215ms 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 = '2078552') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-10-02 19:09:07 Duration: 15s696ms 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 = '2074168') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-09-29 20:15:57 Duration: 14s904ms Bind query: yes
18 57 2m19s 1s219ms 6s833ms 2s448ms 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 #18
Day Hour Count Duration Avg duration Sep 29 00 1 1s337ms 1s337ms 01 1 1s315ms 1s315ms 14 1 1s331ms 1s331ms Sep 30 04 4 12s355ms 3s88ms 05 2 7s383ms 3s691ms Oct 01 00 1 1s328ms 1s328ms 06 1 6s127ms 6s127ms 08 1 1s322ms 1s322ms 15 1 1s345ms 1s345ms 17 1 1s220ms 1s220ms Oct 02 05 2 8s59ms 4s29ms 18 1 1s654ms 1s654ms 23 1 1s342ms 1s342ms Oct 03 02 3 9s514ms 3s171ms 04 1 6s153ms 6s153ms 18 1 1s349ms 1s349ms Oct 04 00 9 12s265ms 1s362ms 01 1 1s896ms 1s896ms 02 1 1s897ms 1s897ms 05 1 1s392ms 1s392ms 07 1 6s106ms 6s106ms 09 1 1s341ms 1s341ms 10 4 14s196ms 3s549ms 13 1 1s326ms 1s326ms 16 3 6s34ms 2s11ms Oct 05 03 1 6s104ms 6s104ms 12 7 11s47ms 1s578ms 15 1 1s661ms 1s661ms 16 1 3s350ms 3s350ms 17 1 1s677ms 1s677ms 23 1 6s143ms 6s143ms [ User: pubeu - Total duration: 41s537ms - Times executed: 21 ]
-
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 = '1395038'))) 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-10-03 02:24:12 Duration: 6s833ms 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 = '1395038'))) 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-10-04 10:17:00 Duration: 6s178ms 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 = '1395038'))) 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-10-03 04:57:03 Duration: 6s153ms Bind query: yes
19 55 6m15s 1s3ms 10s942ms 6s830ms 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;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Sep 29 03 4 33s823ms 8s455ms Sep 30 05 1 1s3ms 1s3ms 07 4 5s327ms 1s331ms Oct 01 03 4 35s407ms 8s851ms 13 2 17s92ms 8s546ms 21 1 1s577ms 1s577ms Oct 03 01 1 10s942ms 10s942ms 04 4 35s718ms 8s929ms 09 5 44s751ms 8s950ms 19 4 5s317ms 1s329ms Oct 04 01 4 35s81ms 8s770ms 03 4 35s746ms 8s936ms 07 1 1s600ms 1s600ms Oct 05 10 4 35s133ms 8s783ms 11 4 35s556ms 8s889ms 14 4 6s192ms 1s548ms 15 4 35s386ms 8s846ms [ User: pubeu - Total duration: 2m19s - Times executed: 17 ]
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1217862') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort;
Date: 2024-10-03 01:37:18 Duration: 10s942ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1259602') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort;
Date: 2024-10-04 03:00:18 Duration: 9s186ms 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 = '1256855') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort;
Date: 2024-10-03 09:54:49 Duration: 9s167ms Bind query: yes
20 55 1m17s 1s43ms 2s419ms 1s408ms select fg.nm fromgenesymbol, fg.acc_txt fromgeneacc, tg.nm togenesymbol, tg.acc_txt togeneacc, ft.nm fromtaxonnm, ft.secondary_nm fromtaxoncommonnm, ft.acc_txt fromtaxonacc, tt.nm totaxonnm, tt.secondary_nm totaxoncommonnm, tt.acc_txt totaxonacc, ggr.experimental_sys_nm, ggr.experimental_sys_type, ( select string_agg(ggt.throughput_txt, ? order by ggt.throughput_txt) from gene_gene_ref_throughput ggt where ggt.gene_gene_reference_id = ggr.id) throughput, count(*) over () fullrowcount from gene_gene_reference ggr inner join term fg on ggr.from_gene_id = fg.id inner join term tg on ggr.to_gene_id = tg.id inner join term ft on ggr.from_taxon_id = ft.id inner join term tt on ggr.to_taxon_id = tt.id where ggr.reference_id = ? order by fg.nm_sort, tg.nm_sort limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Sep 29 05 4 6s720ms 1s680ms 20 1 1s176ms 1s176ms Sep 30 00 1 1s109ms 1s109ms 05 4 5s611ms 1s402ms 09 1 1s151ms 1s151ms 17 1 1s369ms 1s369ms 18 1 1s147ms 1s147ms Oct 01 02 2 2s376ms 1s188ms 05 4 5s876ms 1s469ms 07 1 1s43ms 1s43ms 08 1 1s270ms 1s270ms 11 1 1s285ms 1s285ms 19 1 1s218ms 1s218ms 22 1 1s247ms 1s247ms Oct 02 05 4 6s778ms 1s694ms 09 1 1s201ms 1s201ms 15 1 1s268ms 1s268ms 19 1 1s143ms 1s143ms Oct 03 05 4 6s847ms 1s711ms 15 1 1s260ms 1s260ms 17 1 1s234ms 1s234ms 21 1 1s194ms 1s194ms 22 2 2s407ms 1s203ms Oct 04 00 1 1s259ms 1s259ms 02 1 1s266ms 1s266ms 05 4 6s998ms 1s749ms 19 1 1s195ms 1s195ms 23 1 1s111ms 1s111ms Oct 05 03 1 1s267ms 1s267ms 05 4 6s1ms 1s500ms 16 1 1s156ms 1s156ms 23 1 1s288ms 1s288ms [ User: pubeu - Total duration: 20s974ms - Times executed: 17 ]
[ User: qaeu - Total duration: 9s49ms - Times executed: 5 ]
-
SELECT /* ReferenceGeneGeneIxnsDAO */ fg.nm fromGeneSymbol, fg.acc_txt fromGeneAcc, tg.nm toGeneSymbol, tg.acc_txt toGeneAcc, ft.nm fromTaxonNm, ft.secondary_nm fromTaxonCommonNm, ft.acc_txt fromTaxonAcc, tt.nm toTaxonNm, tt.secondary_nm toTaxonCommonNm, tt.acc_txt toTaxonAcc, ggr.experimental_sys_nm, ggr.experimental_sys_type, ( SELECT STRING_AGG(ggt.throughput_txt, ', ' ORDER BY ggt.throughput_txt) FROM gene_gene_ref_throughput ggt WHERE ggt.gene_gene_reference_id = ggr.id) throughput, COUNT(*) OVER () fullRowCount FROM gene_gene_reference ggr INNER JOIN term fg ON ggr.from_gene_id = fg.id INNER JOIN term tg ON ggr.to_gene_id = tg.id INNER JOIN term ft ON ggr.from_taxon_id = ft.id INNER JOIN term tt ON ggr.to_taxon_id = tt.id WHERE ggr.reference_id = '111363' ORDER BY fg.nm_sort, tg.nm_sort LIMIT 50;
Date: 2024-09-29 05:43:14 Duration: 2s419ms Database: ctdprd51 User: qaeu Bind query: yes
-
SELECT /* ReferenceGeneGeneIxnsDAO */ fg.nm fromGeneSymbol, fg.acc_txt fromGeneAcc, tg.nm toGeneSymbol, tg.acc_txt toGeneAcc, ft.nm fromTaxonNm, ft.secondary_nm fromTaxonCommonNm, ft.acc_txt fromTaxonAcc, tt.nm toTaxonNm, tt.secondary_nm toTaxonCommonNm, tt.acc_txt toTaxonAcc, ggr.experimental_sys_nm, ggr.experimental_sys_type, ( SELECT STRING_AGG(ggt.throughput_txt, ', ' ORDER BY ggt.throughput_txt) FROM gene_gene_ref_throughput ggt WHERE ggt.gene_gene_reference_id = ggr.id) throughput, COUNT(*) OVER () fullRowCount FROM gene_gene_reference ggr INNER JOIN term fg ON ggr.from_gene_id = fg.id INNER JOIN term tg ON ggr.to_gene_id = tg.id INNER JOIN term ft ON ggr.from_taxon_id = ft.id INNER JOIN term tt ON ggr.to_taxon_id = tt.id WHERE ggr.reference_id = '111363' ORDER BY fg.nm_sort, tg.nm_sort LIMIT 50;
Date: 2024-10-03 05:43:06 Duration: 2s136ms Bind query: yes
-
SELECT /* ReferenceGeneGeneIxnsDAO */ fg.nm fromGeneSymbol, fg.acc_txt fromGeneAcc, tg.nm toGeneSymbol, tg.acc_txt toGeneAcc, ft.nm fromTaxonNm, ft.secondary_nm fromTaxonCommonNm, ft.acc_txt fromTaxonAcc, tt.nm toTaxonNm, tt.secondary_nm toTaxonCommonNm, tt.acc_txt toTaxonAcc, ggr.experimental_sys_nm, ggr.experimental_sys_type, ( SELECT STRING_AGG(ggt.throughput_txt, ', ' ORDER BY ggt.throughput_txt) FROM gene_gene_ref_throughput ggt WHERE ggt.gene_gene_reference_id = ggr.id) throughput, COUNT(*) OVER () fullRowCount FROM gene_gene_reference ggr INNER JOIN term fg ON ggr.from_gene_id = fg.id INNER JOIN term tg ON ggr.to_gene_id = tg.id INNER JOIN term ft ON ggr.from_taxon_id = ft.id INNER JOIN term tt ON ggr.to_taxon_id = tt.id WHERE ggr.reference_id = '111363' ORDER BY fg.nm_sort, tg.nm_sort LIMIT 50;
Date: 2024-10-04 05:43:08 Duration: 2s117ms Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 23m43s 23m43s 23m43s 1 23m43s 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 Oct 05 19 1 23m43s 23m43s -
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-10-05 19:00:41 Duration: 23m43s
2 23m39s 23m39s 23m39s 1 23m39s 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 Oct 05 19 1 23m39s 23m39s -
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-10-05 19:41:48 Duration: 23m39s
3 16m53s 17m6s 16m59s 7 1h58m55s select maint_query_logs_archive ();Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Sep 29 00 1 17m6s 17m6s Sep 30 00 1 16m53s 16m53s Oct 01 00 1 17m1s 17m1s Oct 02 00 1 16m57s 16m57s Oct 03 00 1 16m55s 16m55s Oct 04 00 1 17m3s 17m3s Oct 05 00 1 16m57s 16m57s -
/* * 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-09-29 00:17:08 Duration: 17m6s
-
/* * 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-10-04 00:17:05 Duration: 17m3s
-
/* * 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-10-01 00:17:03 Duration: 17m1s
4 8m43s 8m43s 8m43s 1 8m43s drop table load.ixn_prose; create table load.ixn_prose as select edit.get_ixn_prose (ri.ixn_id) as ixn_prose_txt, ri.reference_acc_txt, ri.taxon_acc_txt, ri.mod_tm, t.nm from edit.reference_ixn ri, edit.ixn i, edit.ixn_type t where ri.ixn_id = i.id and i.ixn_type_id = t.id;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Oct 02 14 1 8m43s 8m43s -
drop table load.ixn_prose; create table load.ixn_prose as select edit.get_ixn_prose (ri.ixn_id) as ixn_prose_txt, ri.reference_acc_txt, ri.taxon_acc_txt, ri.mod_tm, t.nm from edit.reference_ixn ri, edit.ixn i, edit.ixn_type t where ri.ixn_id = i.id and i.ixn_type_id = t.id;
Date: 2024-10-02 14:24:12 Duration: 8m43s
5 7m58s 7m58s 7m58s 1 7m58s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where diseaseterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by phenotypeterm.nm_sort, diseaseterm.nm_sort limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Oct 01 01 1 7m58s 7m58s [ User: pubeu - Total duration: 7m58s - 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 diseaseTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2081088') and diseaseTerm.object_type_id = 3 ORDER BY phenotypeTerm.nm_sort, diseaseTerm.nm_sort LIMIT 50;
Date: 2024-10-01 01:48:05 Duration: 7m58s Database: ctdprd51 User: pubeu Bind query: yes
6 6m55s 6m55s 6m55s 1 6m55s copy pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Oct 05 19 1 6m55s 6m55s -
COPY pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-10-05 19:12:32 Duration: 6m55s
7 6m46s 6m46s 6m46s 1 6m46s copy pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Oct 05 19 1 6m46s 6m46s -
COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-10-05 19:53:28 Duration: 6m46s
8 1s338ms 11m27s 2m 11 22m2s 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 Sep 29 11 1 1s338ms 1s338ms Sep 30 09 1 1s616ms 1s616ms Oct 01 12 1 1s733ms 1s733ms 22 1 1s652ms 1s652ms Oct 02 11 1 1s606ms 1s606ms Oct 03 09 1 3m49s 3m49s 12 1 3s205ms 3s205ms Oct 04 01 1 11m27s 11m27s 03 1 4m41s 4m41s 11 1 1s505ms 1s505ms Oct 05 04 1 1m52s 1m52s [ User: pubeu - Total duration: 16m16s - Times executed: 7 ]
-
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 = '1240631') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-10-04 01:46:13 Duration: 11m27s 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 = '1235195') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-10-04 03:38:52 Duration: 4m41s 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 = '1232937') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-10-03 09:44:45 Duration: 3m49s Bind query: yes
9 1s970ms 4m19s 41s287ms 12 8m15s select distinct phenotypeterm.nm as gonm, phenotypeterm.nm_html as gonmhtml, phenotypeterm.acc_txt as goacc, diseaseterm.nm as diseasenm, diseaseterm.nm_html as diseasenmhtml, diseaseterm.acc_txt as diseaseacc, diseaseterm.acc_db_cd as diseaseaccdbcd, chemterm.nm as chemnm, chemterm.nm_html as chemnmhtml, chemterm.acc_txt as chemacc, geneterm.nm as genesymbol, geneterm.nm_html as genesymbolhtml, geneterm.acc_txt as geneacc, count(*) over () fullrowcount from phenotype_term_reference viachemptr, phenotype_term_reference viageneptr, term phenotypeterm, term diseaseterm, term geneterm, term chemterm where diseaseterm.id = any (array ( select baseterm.id from term baseterm where baseterm.object_type_id = ? and baseterm.id in ( select term_id from term_label tl where upper(tl.nm) = ? and tl.object_type_id = ?))) and viachemptr.phenotype_id = phenotypeterm.id and viachemptr.term_object_type_id = ? and viachemptr.term_id = diseaseterm.id and viachemptr.via_term_object_type_id = ? and viachemptr.via_term_id = chemterm.id and viachemptr.term_id = viageneptr.term_id and viachemptr.phenotype_id = viageneptr.phenotype_id and viageneptr.via_term_object_type_id = ? and viageneptr.via_term_id = geneterm.id and exists ( select ? from gene_chem_reference where gene_id = geneterm.id and chem_id = chemterm.id) group by phenotypeterm.nm, phenotypeterm.nm_html, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.nm_html, diseaseterm.acc_txt, diseaseterm.acc_db_cd, chemterm.nm, chemterm.nm_html, chemterm.acc_txt, geneterm.nm, geneterm.nm_html, geneterm.acc_txt order by chemterm.nm limit ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Oct 04 14 2 4m26s 2m13s 15 10 3m48s 22s896ms [ User: pubeu - Total duration: 1m56s - Times executed: 4 ]
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where diseaseTerm.id = ANY (ARRAY ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'HYPERTENSION' AND tl.object_type_id = 3))) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;
Date: 2024-10-04 14:59:06 Duration: 4m19s Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where diseaseTerm.id = ANY (ARRAY ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'BREAST NEOPLASMS' AND tl.object_type_id = 3))) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;
Date: 2024-10-04 15:07:40 Duration: 1m24s 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 diseaseTerm.id = ANY (ARRAY ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CHEMICAL AND DRUG INDUCED LIVER INJURY' AND tl.object_type_id = 3))) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;
Date: 2024-10-04 15:01:28 Duration: 1m13s Bind query: yes
10 33s817ms 34s411ms 34s196ms 25 14m14s 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 Sep 29 06 1 34s312ms 34s312ms 10 1 34s131ms 34s131ms 14 1 34s133ms 34s133ms 18 1 34s71ms 34s71ms Sep 30 06 1 34s264ms 34s264ms 10 1 34s411ms 34s411ms 14 1 34s235ms 34s235ms 18 1 34s79ms 34s79ms Oct 01 06 1 34s175ms 34s175ms 10 1 34s283ms 34s283ms 14 1 34s330ms 34s330ms 18 1 34s331ms 34s331ms Oct 02 06 1 34s172ms 34s172ms 10 1 34s124ms 34s124ms 14 1 34s163ms 34s163ms 18 1 34s209ms 34s209ms Oct 03 06 1 34s186ms 34s186ms 10 1 34s270ms 34s270ms 14 1 34s177ms 34s177ms 18 1 34s201ms 34s201ms Oct 04 06 1 34s211ms 34s211ms 10 1 34s230ms 34s230ms 14 1 34s206ms 34s206ms 18 1 34s169ms 34s169ms Oct 05 19 1 33s817ms 33s817ms [ User: postgres - Total duration: 13m41s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 13m41s - 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-09-30 10:05:36 Duration: 34s411ms 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-10-01 18:05:36 Duration: 34s331ms 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-10-01 14:05:36 Duration: 34s330ms Database: ctdprd51 User: postgres Application: pg_dump
11 1s553ms 24s220ms 8s395ms 105 14m41s select distinct phenotypeterm.nm as gonm, phenotypeterm.nm_html as gonmhtml, phenotypeterm.acc_txt as goacc, diseaseterm.nm as diseasenm, diseaseterm.nm_html as diseasenmhtml, diseaseterm.acc_txt as diseaseacc, diseaseterm.acc_db_cd as diseaseaccdbcd, chemterm.nm as chemnm, chemterm.nm_html as chemnmhtml, chemterm.acc_txt as chemacc, geneterm.nm as genesymbol, geneterm.nm_html as genesymbolhtml, geneterm.acc_txt as geneacc, count(*) over () fullrowcount from phenotype_term_reference viachemptr, phenotype_term_reference viageneptr, term phenotypeterm, term diseaseterm, term geneterm, term chemterm where viachemptr.via_term_id in ( select baseterm.id from term baseterm where baseterm.object_type_id = ? and baseterm.id in ( select term_id from term_label tl where upper(tl.nm) = ? and tl.object_type_id = ?)) and viageneptr.via_term_id in ( select baseterm.id from term baseterm where baseterm.object_type_id = ? and baseterm.id in ( select term_id from term_label tl where upper(tl.nm) = ? and tl.object_type_id = ?)) and viachemptr.phenotype_id = phenotypeterm.id and viachemptr.term_object_type_id = ? and viachemptr.term_id = diseaseterm.id and viachemptr.via_term_object_type_id = ? and viachemptr.via_term_id = chemterm.id and viachemptr.term_id = viageneptr.term_id and viachemptr.phenotype_id = viageneptr.phenotype_id and viageneptr.via_term_object_type_id = ? and viageneptr.via_term_id = geneterm.id and exists ( select ? from gene_chem_reference where gene_id = geneterm.id and chem_id = chemterm.id) group by phenotypeterm.nm, phenotypeterm.nm_html, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.nm_html, diseaseterm.acc_txt, diseaseterm.acc_db_cd, chemterm.nm, chemterm.nm_html, chemterm.acc_txt, geneterm.nm, geneterm.nm_html, geneterm.acc_txt order by chemterm.nm limit ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Oct 04 15 105 14m41s 8s395ms [ User: pubeu - Total duration: 4m42s - Times executed: 23 ]
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'TNF' AND tl.object_type_id = 4)) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;
Date: 2024-10-04 15:44:14 Duration: 24s220ms Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'IL1B' AND tl.object_type_id = 4)) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;
Date: 2024-10-04 15:45:47 Duration: 23s718ms Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'PTGS2' AND tl.object_type_id = 4)) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;
Date: 2024-10-04 15:50:19 Duration: 23s46ms Bind query: yes
12 1s3ms 10s942ms 6s830ms 55 6m15s 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;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Sep 29 03 4 33s823ms 8s455ms Sep 30 05 1 1s3ms 1s3ms 07 4 5s327ms 1s331ms Oct 01 03 4 35s407ms 8s851ms 13 2 17s92ms 8s546ms 21 1 1s577ms 1s577ms Oct 03 01 1 10s942ms 10s942ms 04 4 35s718ms 8s929ms 09 5 44s751ms 8s950ms 19 4 5s317ms 1s329ms Oct 04 01 4 35s81ms 8s770ms 03 4 35s746ms 8s936ms 07 1 1s600ms 1s600ms Oct 05 10 4 35s133ms 8s783ms 11 4 35s556ms 8s889ms 14 4 6s192ms 1s548ms 15 4 35s386ms 8s846ms [ User: pubeu - Total duration: 2m19s - Times executed: 17 ]
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1217862') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort;
Date: 2024-10-03 01:37:18 Duration: 10s942ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1259602') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort;
Date: 2024-10-04 03:00:18 Duration: 9s186ms 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 = '1256855') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort;
Date: 2024-10-03 09:54:49 Duration: 9s167ms Bind query: yes
13 1s308ms 39s726ms 6s8ms 92 9m12s select distinct phenotypeterm.nm as gonm, phenotypeterm.nm_html as gonmhtml, phenotypeterm.acc_txt as goacc, diseaseterm.nm as diseasenm, diseaseterm.nm_html as diseasenmhtml, diseaseterm.acc_txt as diseaseacc, diseaseterm.acc_db_cd as diseaseaccdbcd, chemterm.nm as chemnm, chemterm.nm_html as chemnmhtml, chemterm.acc_txt as chemacc, geneterm.nm as genesymbol, geneterm.nm_html as genesymbolhtml, geneterm.acc_txt as geneacc, count(*) over () fullrowcount from phenotype_term_reference viachemptr, phenotype_term_reference viageneptr, term phenotypeterm, term diseaseterm, term geneterm, term chemterm where exists ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and baseterm.id in ( select term_id from term_label tl where upper(tl.nm) = ? and tl.object_type_id = ?)) and viachemptr.via_term_id = dp.descendant_object_id) and exists ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and baseterm.id in ( select term_id from term_label tl where upper(tl.nm) = ? and tl.object_type_id = ?)) and phenotypeterm.id = dp.descendant_object_id) and viachemptr.phenotype_id = phenotypeterm.id and viachemptr.term_object_type_id = ? and viachemptr.term_id = diseaseterm.id and viachemptr.via_term_object_type_id = ? and viachemptr.via_term_id = chemterm.id and viachemptr.term_id = viageneptr.term_id and viachemptr.phenotype_id = viageneptr.phenotype_id and viageneptr.via_term_object_type_id = ? and viageneptr.via_term_id = geneterm.id and exists ( select ? from gene_chem_reference where gene_id = geneterm.id and chem_id = chemterm.id) group by phenotypeterm.nm, phenotypeterm.nm_html, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.nm_html, diseaseterm.acc_txt, diseaseterm.acc_db_cd, chemterm.nm, chemterm.nm_html, chemterm.acc_txt, geneterm.nm, geneterm.nm_html, geneterm.acc_txt order by chemterm.nm limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Oct 04 16 89 8m45s 5s901ms 17 3 27s573ms 9s191ms [ User: pubeu - Total duration: 2m41s - Times executed: 19 ]
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaChemPTR.via_term_id = dp.descendant_object_id) and exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CELL DEATH' AND tl.object_type_id = 5)) and phenotypeTerm.id = dp.descendant_object_id) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;
Date: 2024-10-04 16:57:26 Duration: 39s726ms Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaChemPTR.via_term_id = dp.descendant_object_id) and exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'APOPTOTIC PROCESS' AND tl.object_type_id = 5)) and phenotypeTerm.id = dp.descendant_object_id) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;
Date: 2024-10-04 16:55:17 Duration: 39s645ms Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaChemPTR.via_term_id = dp.descendant_object_id) and exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CELL PROLIFERATION' AND tl.object_type_id = 5)) and phenotypeTerm.id = dp.descendant_object_id) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;
Date: 2024-10-04 16:56:07 Duration: 24s880ms Database: ctdprd51 User: pubeu Bind query: yes
14 1s38ms 18s123ms 5s155ms 89 7m38s select distinct phenotypeterm.nm as gonm, phenotypeterm.nm_html as gonmhtml, phenotypeterm.acc_txt as goacc, diseaseterm.nm as diseasenm, diseaseterm.nm_html as diseasenmhtml, diseaseterm.acc_txt as diseaseacc, diseaseterm.acc_db_cd as diseaseaccdbcd, chemterm.nm as chemnm, chemterm.nm_html as chemnmhtml, chemterm.acc_txt as chemacc, geneterm.nm as genesymbol, geneterm.nm_html as genesymbolhtml, geneterm.acc_txt as geneacc, count(*) over () fullrowcount from phenotype_term_reference viachemptr, phenotype_term_reference viageneptr, term phenotypeterm, term diseaseterm, term geneterm, term chemterm where exists ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and baseterm.id in ( select term_id from term_label tl where upper(tl.nm) = ? and tl.object_type_id = ?)) and viachemptr.via_term_id = dp.descendant_object_id) and exists ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and baseterm.id in ( select term_id from term_label tl where upper(tl.nm) = ? and tl.object_type_id = ?)) and diseaseterm.id = dp.descendant_object_id) and viachemptr.phenotype_id = phenotypeterm.id and viachemptr.term_object_type_id = ? and viachemptr.term_id = diseaseterm.id and viachemptr.via_term_object_type_id = ? and viachemptr.via_term_id = chemterm.id and viachemptr.term_id = viageneptr.term_id and viachemptr.phenotype_id = viageneptr.phenotype_id and viageneptr.via_term_object_type_id = ? and viageneptr.via_term_id = geneterm.id and exists ( select ? from gene_chem_reference where gene_id = geneterm.id and chem_id = chemterm.id) group by phenotypeterm.nm, phenotypeterm.nm_html, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.nm_html, diseaseterm.acc_txt, diseaseterm.acc_db_cd, chemterm.nm, chemterm.nm_html, chemterm.acc_txt, geneterm.nm, geneterm.nm_html, geneterm.acc_txt order by chemterm.nm limit ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Oct 04 10 1 7s918ms 7s918ms 16 88 7m30s 5s124ms [ User: pubeu - Total duration: 1m39s - Times executed: 18 ]
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaChemPTR.via_term_id = dp.descendant_object_id) and exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'KIDNEY DISEASES' AND tl.object_type_id = 3)) and diseaseTerm.id = dp.descendant_object_id) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;
Date: 2024-10-04 16:51:35 Duration: 18s123ms Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaChemPTR.via_term_id = dp.descendant_object_id) and exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'BREAST NEOPLASMS' AND tl.object_type_id = 3)) and diseaseTerm.id = dp.descendant_object_id) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;
Date: 2024-10-04 16:52:09 Duration: 16s812ms Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'ACETAMINOPHEN' AND tl.object_type_id = 2)) and viaChemPTR.via_term_id = dp.descendant_object_id) and exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'DRUG-RELATED SIDE EFFECTS AND ADVERSE REACTIONS' AND tl.object_type_id = 3)) and diseaseTerm.id = dp.descendant_object_id) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;
Date: 2024-10-04 16:30:41 Duration: 14s546ms Bind query: yes
15 1s 11s560ms 4s570ms 86 6m33s select distinct phenotypeterm.nm as gonm, phenotypeterm.nm_html as gonmhtml, phenotypeterm.acc_txt as goacc, diseaseterm.nm as diseasenm, diseaseterm.nm_html as diseasenmhtml, diseaseterm.acc_txt as diseaseacc, diseaseterm.acc_db_cd as diseaseaccdbcd, chemterm.nm as chemnm, chemterm.nm_html as chemnmhtml, chemterm.acc_txt as chemacc, geneterm.nm as genesymbol, geneterm.nm_html as genesymbolhtml, geneterm.acc_txt as geneacc, count(*) over () fullrowcount from phenotype_term_reference viachemptr, phenotype_term_reference viageneptr, term phenotypeterm, term diseaseterm, term geneterm, term chemterm where exists ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and baseterm.id in ( select term_id from term_label tl where upper(tl.nm) = ? and tl.object_type_id = ?)) and viachemptr.via_term_id = dp.descendant_object_id) and viageneptr.via_term_id in ( select baseterm.id from term baseterm where baseterm.object_type_id = ? and baseterm.id in ( select term_id from term_label tl where upper(tl.nm) = ? and tl.object_type_id = ?)) and viachemptr.phenotype_id = phenotypeterm.id and viachemptr.term_object_type_id = ? and viachemptr.term_id = diseaseterm.id and viachemptr.via_term_object_type_id = ? and viachemptr.via_term_id = chemterm.id and viachemptr.term_id = viageneptr.term_id and viachemptr.phenotype_id = viageneptr.phenotype_id and viageneptr.via_term_object_type_id = ? and viageneptr.via_term_id = geneterm.id and exists ( select ? from gene_chem_reference where gene_id = geneterm.id and chem_id = chemterm.id) group by phenotypeterm.nm, phenotypeterm.nm_html, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.nm_html, diseaseterm.acc_txt, diseaseterm.acc_db_cd, chemterm.nm, chemterm.nm_html, chemterm.acc_txt, geneterm.nm, geneterm.nm_html, geneterm.acc_txt order by chemterm.nm limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Oct 04 16 86 6m33s 4s570ms [ User: pubeu - Total duration: 1m37s - Times executed: 18 ]
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaChemPTR.via_term_id = dp.descendant_object_id) and viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'TNF' AND tl.object_type_id = 4)) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;
Date: 2024-10-04 16:46:27 Duration: 11s560ms Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaChemPTR.via_term_id = dp.descendant_object_id) and viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'IL1B' AND tl.object_type_id = 4)) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;
Date: 2024-10-04 16:47:08 Duration: 11s189ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'CISPLATIN' AND tl.object_type_id = 2)) and viaChemPTR.via_term_id = dp.descendant_object_id) and viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'PTGS2' AND tl.object_type_id = 4)) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;
Date: 2024-10-04 16:49:03 Duration: 10s122ms Database: ctdprd51 User: pubeu Bind query: yes
16 3s784ms 14s18ms 4s26ms 294 19m43s 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 #16
Day Hour Count Duration Avg duration Sep 29 00 1 3s843ms 3s843ms 01 1 3s870ms 3s870ms 02 1 3s894ms 3s894ms 04 1 4s96ms 4s96ms 05 1 3s845ms 3s845ms 07 4 15s525ms 3s881ms 09 1 3s798ms 3s798ms 11 4 15s457ms 3s864ms 12 3 12s74ms 4s24ms 13 1 3s932ms 3s932ms 14 1 3s943ms 3s943ms 16 1 3s917ms 3s917ms 17 1 3s825ms 3s825ms 20 1 3s938ms 3s938ms 21 5 19s323ms 3s864ms 22 2 8s3ms 4s1ms Sep 30 00 1 3s891ms 3s891ms 01 1 3s972ms 3s972ms 02 3 11s839ms 3s946ms 04 5 20s14ms 4s2ms 05 1 3s919ms 3s919ms 07 2 7s879ms 3s939ms 08 1 4s16ms 4s16ms 09 2 7s782ms 3s891ms 10 1 3s832ms 3s832ms 12 4 15s850ms 3s962ms 13 1 3s919ms 3s919ms 14 3 11s712ms 3s904ms 15 2 8s30ms 4s15ms 16 2 7s837ms 3s918ms 21 1 3s833ms 3s833ms 22 1 3s959ms 3s959ms Oct 01 01 1 4s18ms 4s18ms 02 1 4s5ms 4s5ms 03 2 7s913ms 3s956ms 04 2 8s1ms 4s 05 1 3s989ms 3s989ms 06 2 7s697ms 3s848ms 07 2 8s92ms 4s46ms 08 2 7s970ms 3s985ms 09 3 11s946ms 3s982ms 10 2 8s175ms 4s87ms 11 1 3s903ms 3s903ms 12 1 4s219ms 4s219ms 13 1 3s888ms 3s888ms 14 2 8s128ms 4s64ms 15 3 12s582ms 4s194ms 16 5 19s974ms 3s994ms 17 3 12s437ms 4s145ms 18 5 20s153ms 4s30ms 21 1 4s50ms 4s50ms Oct 02 01 1 4s13ms 4s13ms 02 1 3s998ms 3s998ms 03 1 3s964ms 3s964ms 04 3 11s930ms 3s976ms 07 4 15s847ms 3s961ms 08 3 11s934ms 3s978ms 09 1 4s447ms 4s447ms 11 3 11s880ms 3s960ms 13 3 12s698ms 4s232ms 14 10 40s659ms 4s65ms 15 6 24s984ms 4s164ms 17 4 15s838ms 3s959ms 18 1 3s963ms 3s963ms 22 3 11s744ms 3s914ms Oct 03 00 1 4s30ms 4s30ms 01 1 4s40ms 4s40ms 03 1 3s937ms 3s937ms 06 2 8s28ms 4s14ms 07 2 7s976ms 3s988ms 08 2 7s921ms 3s960ms 09 2 8s485ms 4s242ms 10 4 16s11ms 4s2ms 11 2 7s917ms 3s958ms 12 2 8s10ms 4s5ms 13 5 19s953ms 3s990ms 14 9 36s222ms 4s24ms 15 7 28s35ms 4s5ms 16 2 8s72ms 4s36ms 21 5 20s18ms 4s3ms 22 2 7s845ms 3s922ms 23 6 24s243ms 4s40ms Oct 04 01 9 35s543ms 3s949ms 02 3 11s707ms 3s902ms 03 7 27s560ms 3s937ms 04 2 8s71ms 4s35ms 05 3 12s539ms 4s179ms 07 1 3s838ms 3s838ms 08 2 7s856ms 3s928ms 09 1 3s975ms 3s975ms 10 4 15s712ms 3s928ms 11 2 8s149ms 4s74ms 12 2 8s197ms 4s98ms 14 2 7s978ms 3s989ms 18 6 23s831ms 3s971ms 19 1 3s931ms 3s931ms 20 5 19s876ms 3s975ms 21 3 11s949ms 3s983ms Oct 05 01 2 7s791ms 3s895ms 03 5 19s816ms 3s963ms 04 2 7s870ms 3s935ms 05 1 3s975ms 3s975ms 06 1 3s925ms 3s925ms 10 1 4s187ms 4s187ms 11 1 3s940ms 3s940ms 12 1 3s866ms 3s866ms 13 1 3s801ms 3s801ms 14 1 3s870ms 3s870ms 16 1 14s18ms 14s18ms 17 1 4s72ms 4s72ms 18 1 4s190ms 4s190ms 21 6 24s81ms 4s13ms 22 7 28s576ms 4s82ms 23 10 39s712ms 3s971ms [ User: pubeu - Total duration: 7m56s - Times executed: 119 ]
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1434692') 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 = '1434692') 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-10-05 16:12:51 Duration: 14s18ms 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 = '1270515') 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 = '1270515') 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-10-05 21:05:39 Duration: 4s488ms 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 = '1326305') 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 = '1326305') 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-10-04 05:38:32 Duration: 4s484ms Database: ctdprd51 User: pubeu Bind query: yes
17 1s 6s574ms 4s11ms 106 7m5s 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 #17
Day Hour Count Duration Avg duration Sep 29 04 1 4s628ms 4s628ms 06 1 4s761ms 4s761ms 08 1 4s444ms 4s444ms 17 1 4s620ms 4s620ms Sep 30 01 1 5s256ms 5s256ms 03 1 4s931ms 4s931ms 04 1 5s90ms 5s90ms 05 2 10s12ms 5s6ms 09 1 4s848ms 4s848ms 14 1 4s587ms 4s587ms 16 1 4s674ms 4s674ms 20 1 1s223ms 1s223ms 21 3 11s689ms 3s896ms 23 1 5s679ms 5s679ms Oct 01 00 3 11s129ms 3s709ms 07 1 6s574ms 6s574ms 11 1 5s242ms 5s242ms 12 2 10s713ms 5s356ms 15 1 5s880ms 5s880ms 16 2 6s315ms 3s157ms 18 1 1s74ms 1s74ms 19 4 4s229ms 1s57ms 20 1 5s587ms 5s587ms Oct 02 02 1 1s22ms 1s22ms 07 3 11s735ms 3s911ms 08 1 1s44ms 1s44ms 10 1 1s16ms 1s16ms 11 1 5s72ms 5s72ms 12 1 5s401ms 5s401ms 16 1 1s12ms 1s12ms 23 1 5s339ms 5s339ms Oct 03 02 1 5s338ms 5s338ms 03 1 5s261ms 5s261ms 04 1 1s15ms 1s15ms 07 1 1s18ms 1s18ms 11 4 12s696ms 3s174ms 12 1 1s19ms 1s19ms 16 1 5s354ms 5s354ms 18 1 5s343ms 5s343ms 19 1 5s276ms 5s276ms 21 1 1s53ms 1s53ms 23 1 5s355ms 5s355ms Oct 04 01 1 5s867ms 5s867ms 03 1 1s11ms 1s11ms 04 1 5s604ms 5s604ms 05 8 40s282ms 5s35ms 06 1 5s180ms 5s180ms 08 2 6s425ms 3s212ms 09 1 1s11ms 1s11ms 10 4 17s663ms 4s415ms 11 4 21s971ms 5s492ms 12 2 2s67ms 1s33ms 14 1 1s50ms 1s50ms 17 1 5s575ms 5s575ms 18 1 5s362ms 5s362ms 19 1 5s370ms 5s370ms 21 3 16s267ms 5s422ms 23 1 5s416ms 5s416ms Oct 05 01 3 11s973ms 3s991ms 03 1 5s370ms 5s370ms 06 1 5s313ms 5s313ms 08 1 5s585ms 5s585ms 10 2 10s880ms 5s440ms 12 2 6s556ms 3s278ms 13 1 5s751ms 5s751ms 15 1 1s23ms 1s23ms 16 2 2s150ms 1s75ms 17 1 5s504ms 5s504ms 23 1 5s379ms 5s379ms [ User: pubeu - Total duration: 2m44s - Times executed: 39 ]
-
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 = '1298815' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-10-01 07:31:11 Duration: 6s574ms 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 = '1326305' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-10-04 05:50:41 Duration: 6s9ms 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 = '1326305' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-10-04 05:52:10 Duration: 6s3ms Bind query: yes
18 3s3ms 3s806ms 3s561ms 354 21m select distinct phenotypeterm.nm as gonm, phenotypeterm.nm_html as gonmhtml, phenotypeterm.acc_txt as goacc, diseaseterm.nm as diseasenm, diseaseterm.nm_html as diseasenmhtml, diseaseterm.acc_txt as diseaseacc, diseaseterm.acc_db_cd as diseaseaccdbcd, chemterm.nm as chemnm, chemterm.nm_html as chemnmhtml, chemterm.acc_txt as chemacc, geneterm.nm as genesymbol, geneterm.nm_html as genesymbolhtml, geneterm.acc_txt as geneacc, count(*) over () fullrowcount from phenotype_term_reference viachemptr, phenotype_term_reference viageneptr, term phenotypeterm, term diseaseterm, term geneterm, term chemterm where exists ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and upper(baseterm.nm) like ?) and diseaseterm.id = dp.descendant_object_id) and viachemptr.phenotype_id = phenotypeterm.id and viachemptr.term_object_type_id = ? and viachemptr.term_id = diseaseterm.id and viachemptr.via_term_object_type_id = ? and viachemptr.via_term_id = chemterm.id and viachemptr.term_id = viageneptr.term_id and viachemptr.phenotype_id = viageneptr.phenotype_id and viageneptr.via_term_object_type_id = ? and viageneptr.via_term_id = geneterm.id and exists ( select ? from gene_chem_reference where gene_id = geneterm.id and chem_id = chemterm.id) group by phenotypeterm.nm, phenotypeterm.nm_html, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.nm_html, diseaseterm.acc_txt, diseaseterm.acc_db_cd, chemterm.nm, chemterm.nm_html, chemterm.acc_txt, geneterm.nm, geneterm.nm_html, geneterm.acc_txt order by chemterm.nm limit ? offset ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Oct 03 21 3 10s787ms 3s595ms Oct 05 00 6 21s274ms 3s545ms 01 2 7s58ms 3s529ms 02 22 1m19s 3s608ms 03 72 4m21s 3s626ms 04 117 7m3s 3s617ms 07 78 4m34s 3s513ms 08 41 2m23s 3s503ms 09 2 6s261ms 3s130ms 22 5 15s508ms 3s101ms 23 6 18s435ms 3s72ms [ User: pubeu - Total duration: 4m31s - Times executed: 76 ]
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 3 and upper(baseTerm.nm) LIKE 'MEMORY DISORDERS') and diseaseTerm.id = dp.descendant_object_id) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50 OFFSET 7650;
Date: 2024-10-05 04:22:32 Duration: 3s806ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 3 and upper(baseTerm.nm) LIKE 'MEMORY DISORDERS') and diseaseTerm.id = dp.descendant_object_id) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50 OFFSET 5650;
Date: 2024-10-05 04:03:13 Duration: 3s805ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 3 and upper(baseTerm.nm) LIKE 'MEMORY DISORDERS') and diseaseTerm.id = dp.descendant_object_id) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50 OFFSET 7350;
Date: 2024-10-05 04:20:42 Duration: 3s804ms Database: ctdprd51 User: pubeu Bind query: yes
19 1s6ms 12s497ms 3s330ms 102 5m39s 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 Sep 29 01 1 1s72ms 1s72ms 02 1 1s307ms 1s307ms 04 2 2s716ms 1s358ms 08 1 1s6ms 1s6ms 09 2 6s31ms 3s15ms 10 2 2s177ms 1s88ms 14 2 10s918ms 5s459ms 15 2 2s314ms 1s157ms 17 2 2s641ms 1s320ms 18 1 1s675ms 1s675ms 22 3 21s191ms 7s63ms 23 4 17s901ms 4s475ms Sep 30 03 1 4s894ms 4s894ms 08 3 17s252ms 5s750ms 09 2 2s336ms 1s168ms 10 2 6s657ms 3s328ms 11 1 2s626ms 2s626ms 13 1 10s174ms 10s174ms 14 2 2s109ms 1s54ms 15 1 1s190ms 1s190ms 16 1 1s193ms 1s193ms 17 1 1s391ms 1s391ms Oct 01 02 1 6s430ms 6s430ms 05 1 10s213ms 10s213ms 06 1 1s13ms 1s13ms 15 1 1s48ms 1s48ms 16 1 1s135ms 1s135ms 17 2 2s505ms 1s252ms 19 2 7s456ms 3s728ms 21 1 2s737ms 2s737ms Oct 02 00 1 1s282ms 1s282ms 02 1 4s979ms 4s979ms 07 1 1s535ms 1s535ms 10 1 1s332ms 1s332ms 12 2 24s803ms 12s401ms 13 2 6s140ms 3s70ms 14 1 4s155ms 4s155ms 15 1 11s651ms 11s651ms 18 2 5s126ms 2s563ms 20 1 10s544ms 10s544ms Oct 03 00 1 5s2ms 5s2ms 02 1 1s308ms 1s308ms 07 1 6s522ms 6s522ms 08 1 1s22ms 1s22ms 11 3 11s62ms 3s687ms 12 3 4s891ms 1s630ms 13 1 1s374ms 1s374ms 20 1 1s314ms 1s314ms 21 1 1s68ms 1s68ms 22 2 7s683ms 3s841ms Oct 04 00 4 12s907ms 3s226ms 04 1 2s732ms 2s732ms 10 1 5s881ms 5s881ms 11 2 2s551ms 1s275ms 14 1 11s912ms 11s912ms 15 1 1s80ms 1s80ms 16 1 6s644ms 6s644ms 18 1 1s207ms 1s207ms 19 1 1s32ms 1s32ms Oct 05 06 1 1s217ms 1s217ms 08 1 1s28ms 1s28ms 16 1 1s19ms 1s19ms 18 1 1s25ms 1s25ms 19 1 1s194ms 1s194ms 20 1 2s974ms 2s974ms 22 4 10s181ms 2s545ms 23 3 9s41ms 3s13ms [ User: pubeu - Total duration: 2m8s - Times executed: 45 ]
-
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 = '2081060') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-10-02 12:04:04 Duration: 12s497ms 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 = '2081060') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-10-02 12:04:03 Duration: 12s305ms 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 = '2081060') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-10-04 14:05:54 Duration: 11s912ms Database: ctdprd51 User: pubeu Bind query: yes
20 1s440ms 19s215ms 2s826ms 61 2m52s select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Sep 29 04 12 24s15ms 2s1ms 07 1 2s140ms 2s140ms 20 1 14s904ms 14s904ms 22 1 1s523ms 1s523ms Oct 01 10 1 1s440ms 1s440ms 15 1 7s422ms 7s422ms Oct 02 01 1 1s952ms 1s952ms 02 1 19s215ms 19s215ms 04 21 32s602ms 1s552ms 05 1 1s535ms 1s535ms 06 1 1s893ms 1s893ms 08 1 1s935ms 1s935ms 19 1 15s696ms 15s696ms Oct 03 11 1 1s581ms 1s581ms 15 1 4s419ms 4s419ms Oct 04 07 1 1s926ms 1s926ms 10 1 2s128ms 2s128ms 12 4 6s115ms 1s528ms 15 1 7s539ms 7s539ms 17 4 9s936ms 2s484ms 20 1 1s587ms 1s587ms Oct 05 07 1 1s941ms 1s941ms 12 1 4s543ms 4s543ms 14 1 4s433ms 4s433ms [ User: pubeu - Total duration: 1m7s - Times executed: 28 ]
-
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 = '2086841') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-10-02 02:51:03 Duration: 19s215ms 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 = '2078552') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-10-02 19:09:07 Duration: 15s696ms 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 = '2074168') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-09-29 20:15:57 Duration: 14s904ms Bind query: yes
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query NO DATASET
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 0ms 60 0ms 0ms 0ms ;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration Sep 30 11 2 0ms 0ms 12 2 0ms 0ms 15 4 0ms 0ms 17 2 0ms 0ms Oct 01 09 4 0ms 0ms 10 8 0ms 0ms 11 4 0ms 0ms 14 2 0ms 0ms 15 2 0ms 0ms 16 2 0ms 0ms Oct 02 09 4 0ms 0ms 10 2 0ms 0ms 11 2 0ms 0ms 12 2 0ms 0ms 14 2 0ms 0ms Oct 03 08 2 0ms 0ms 10 2 0ms 0ms 11 4 0ms 0ms 13 2 0ms 0ms Oct 04 10 3 0ms 0ms 13 3 0ms 0ms [ User: pubeu - Total duration: 35s539ms - Times executed: 20 ]
-
;
Date: Duration: 0ms Database: postgres
-
Events
Log levels
Key values
- 97,690 Log entries
Events distribution
Key values
- 0 PANIC entries
- 11 FATAL entries
- 48 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 28 Max number of times the same event was reported
- 59 Total events found
Rank Times reported Error 1 28 LOG: could not receive data from client: Connection timed out
Times Reported Most Frequent Error / Event #1
Day Hour Count Sep 30 18 6 19 3 Oct 01 23 3 Oct 02 18 6 Oct 03 22 8 23 1 Oct 04 22 1 2 10 FATAL: password authentication failed for user "..."
Times Reported Most Frequent Error / Event #2
Day Hour Count Sep 30 10 4 Oct 01 16 4 Oct 02 10 2 - FATAL: password authentication failed for user "load"
Detail: Connection matched pg_hba.conf line 85: "host all all 192.168.201.0/24 md5 "
Date: 2024-09-30 10:08:30
3 7 ERROR: syntax error in ts"..."
Times Reported Most Frequent Error / Event #3
Day Hour Count Oct 04 08 2 13 2 22 3 - ERROR: syntax error in ts"IN & THE & FOURTH & OSPHE & ARISTOTLE & IDENTIFIED & THE & HEART & AS & THE & MOST & IMPORTANT & ORGAN & OF & THE & BODY, & THE & FIRST & TO & FORM & ACCORDING & TO & HIS & OBSERVATIONS & OF & CHICK & EMBRYOS. & IT & WAS & THE & SEAT & OF & INTELLIGENCE, & MOTION, & AND & SENSATION & (-- | ) & A & HOT, & DRY & ORGAN.IN & 1959, & MAX & PERUTZ & DETERMINED & THE & MOLECULAR & STRUCTURE & OF & HEMOGLOBIN. & FOR & THIS & WORK & HE & SHARED & THE & 1962 & NOBEL & PRIZE & IN & CHEMISTRY & WITH & JOHN & KENDREW, & WHO & SEQUENCED & THE & GLOBULAR & PROTEIN & MYOGLOBIN."
- ERROR: syntax error in ts"IN & THE & FOURTH & T & IDNTIFID & TE & HEART & AS & THE & MOST & IMPORTANT & ORGAN & OF & THE & BODY, & THE & FIRST & TO & FORM & ACCORDING & TO & HIS & OBSERVATIONS & OF & CHICK & EMBRYOS. & IT & WAS & THE & SEAT & OF & INTELLIGENCE, & MOTION, & AND & SENSATION & (-- | ) & A & HOT, & DRY & ORGAN.IN & 1959, & MAX & PERUTZ & DETERMINED & THE & MOLECULAR & STRUCTURE & OF & HEMOGLOBIN. & FOR & THIS & WORK & HE & SHARED & THE & 1962 & NOBEL & PRIZE & IN & CHEMISTRY & WITH & JOHN & KENDREW, & WHO & SEQUENCED & THE & GLOBULAR & PROTEIN & MYOGLOBIN."
- ERROR: syntax error in ts"IN & THE & FOURTH & TFID & TE & EAR & AS & THE & MOST & IMPORTANT & ORGAN & OF & THE & BODY, & THE & FIRST & TO & FORM & ACCORDING & TO & HIS & OBSERVATIONS & OF & CHICK & EMBRYOS. & IT & WAS & THE & SEAT & OF & INTELLIGENCE, & MOTION, & AND & SENSATION & (-- | ) & A & HOT, & DRY & ORGAN.IN & 1959, & MAX & PERUTZ & DETERMINED & THE & MOLECULAR & STRUCTURE & OF & HEMOGLOBIN. & FOR & THIS & WORK & HE & SHARED & THE & 1962 & NOBEL & PRIZE & IN & CHEMISTRY & WITH & JOHN & KENDREW, & WHO & SEQUENCED & THE & GLOBULAR & PROTEIN & MYOGLOBIN."
Statement: SELECT /* GeneBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Symbol' THEN true ELSE false END isNameMatch ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper( l.acc_txt ) = $3 OR upper( l.acc_txt ) = $4 OR upper( l.acc_txt ) = $5 OR upper( l.acc_txt ) = $6 OR upper( l.acc_txt ) = $7 OR upper( l.acc_txt ) = $8 OR upper( l.acc_txt ) = $9 OR upper( l.acc_txt ) = $10 OR upper( l.acc_txt ) = $11 OR upper( l.acc_txt ) = $12 OR upper( l.acc_txt ) = $13 OR upper( l.acc_txt ) = $14 OR upper( l.acc_txt ) = $15 OR upper( l.acc_txt ) = $16 OR upper( l.acc_txt ) = $17 OR upper( l.acc_txt ) = $18 OR upper( l.acc_txt ) = $19 OR upper( l.acc_txt ) = $20 OR upper( l.acc_txt ) = $21 OR upper( l.acc_txt ) = $22 OR upper( l.acc_txt ) = $23 OR upper( l.acc_txt ) = $24 OR upper( l.acc_txt ) = $25 OR upper( l.acc_txt ) = $26 OR upper( l.acc_txt ) = $27 OR upper( l.acc_txt ) = $28 OR upper( l.acc_txt ) = $29 OR upper( l.acc_txt ) = $30 OR upper( l.acc_txt ) = $31 OR upper( l.acc_txt ) = $32 OR upper( l.acc_txt ) = $33 OR upper( l.acc_txt ) = $34 OR upper( l.acc_txt ) = $35 OR upper( l.acc_txt ) = $36 OR upper( l.acc_txt ) = $37 OR upper( l.acc_txt ) = $38 OR upper( l.acc_txt ) = $39 OR upper( l.acc_txt ) = $40 OR upper( l.acc_txt ) = $41 OR upper( l.acc_txt ) = $42 OR upper( l.acc_txt ) = $43 OR upper( l.acc_txt ) = $44 OR upper( l.acc_txt ) = $45 OR upper( l.acc_txt ) = $46 OR upper( l.acc_txt ) = $47 OR upper( l.acc_txt ) = $48 OR upper( l.acc_txt ) = $49 OR upper( l.acc_txt ) = $50 OR upper( l.acc_txt ) = $51 OR upper( l.acc_txt ) = $52 OR upper( l.acc_txt ) = $53 OR upper( l.acc_txt ) = $54 OR upper( l.acc_txt ) = $55 OR upper( l.acc_txt ) = $56 OR upper( l.acc_txt ) = $57 OR upper( l.acc_txt ) = $58 OR upper( l.acc_txt ) = $59 OR upper( l.acc_txt ) = $60 OR upper( l.acc_txt ) = $61 OR upper( l.acc_txt ) = $62 OR upper( l.acc_txt ) = $63 OR upper( l.acc_txt ) = $64 OR upper( l.acc_txt ) = $65 OR upper( l.acc_txt ) = $66 OR upper( l.acc_txt ) = $67 OR upper( l.acc_txt ) = $68 OR upper( l.acc_txt ) = $69 OR upper( l.acc_txt ) = $70 OR upper( l.acc_txt ) = $71 OR upper( l.acc_txt ) = $72 OR upper( l.acc_txt ) = $73 OR upper( l.acc_txt ) = $74 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2024-10-04 08:23:00
Statement: SELECT /* GeneBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Symbol' THEN true ELSE false END isNameMatch ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper( l.acc_txt ) = $3 OR upper( l.acc_txt ) = $4 OR upper( l.acc_txt ) = $5 OR upper( l.acc_txt ) = $6 OR upper( l.acc_txt ) = $7 OR upper( l.acc_txt ) = $8 OR upper( l.acc_txt ) = $9 OR upper( l.acc_txt ) = $10 OR upper( l.acc_txt ) = $11 OR upper( l.acc_txt ) = $12 OR upper( l.acc_txt ) = $13 OR upper( l.acc_txt ) = $14 OR upper( l.acc_txt ) = $15 OR upper( l.acc_txt ) = $16 OR upper( l.acc_txt ) = $17 OR upper( l.acc_txt ) = $18 OR upper( l.acc_txt ) = $19 OR upper( l.acc_txt ) = $20 OR upper( l.acc_txt ) = $21 OR upper( l.acc_txt ) = $22 OR upper( l.acc_txt ) = $23 OR upper( l.acc_txt ) = $24 OR upper( l.acc_txt ) = $25 OR upper( l.acc_txt ) = $26 OR upper( l.acc_txt ) = $27 OR upper( l.acc_txt ) = $28 OR upper( l.acc_txt ) = $29 OR upper( l.acc_txt ) = $30 OR upper( l.acc_txt ) = $31 OR upper( l.acc_txt ) = $32 OR upper( l.acc_txt ) = $33 OR upper( l.acc_txt ) = $34 OR upper( l.acc_txt ) = $35 OR upper( l.acc_txt ) = $36 OR upper( l.acc_txt ) = $37 OR upper( l.acc_txt ) = $38 OR upper( l.acc_txt ) = $39 OR upper( l.acc_txt ) = $40 OR upper( l.acc_txt ) = $41 OR upper( l.acc_txt ) = $42 OR upper( l.acc_txt ) = $43 OR upper( l.acc_txt ) = $44 OR upper( l.acc_txt ) = $45 OR upper( l.acc_txt ) = $46 OR upper( l.acc_txt ) = $47 OR upper( l.acc_txt ) = $48 OR upper( l.acc_txt ) = $49 OR upper( l.acc_txt ) = $50 OR upper( l.acc_txt ) = $51 OR upper( l.acc_txt ) = $52 OR upper( l.acc_txt ) = $53 OR upper( l.acc_txt ) = $54 OR upper( l.acc_txt ) = $55 OR upper( l.acc_txt ) = $56 OR upper( l.acc_txt ) = $57 OR upper( l.acc_txt ) = $58 OR upper( l.acc_txt ) = $59 OR upper( l.acc_txt ) = $60 OR upper( l.acc_txt ) = $61 OR upper( l.acc_txt ) = $62 OR upper( l.acc_txt ) = $63 OR upper( l.acc_txt ) = $64 OR upper( l.acc_txt ) = $65 OR upper( l.acc_txt ) = $66 OR upper( l.acc_txt ) = $67 OR upper( l.acc_txt ) = $68 OR upper( l.acc_txt ) = $69 OR upper( l.acc_txt ) = $70 OR upper( l.acc_txt ) = $71 OR upper( l.acc_txt ) = $72 OR upper( l.acc_txt ) = $73 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2024-10-04 13:25:55 Database: ctdprd51 Application: User: pubeu Remote:
Statement: SELECT /* GeneBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Symbol' THEN true ELSE false END isNameMatch ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper( l.acc_txt ) = $3 OR upper( l.acc_txt ) = $4 OR upper( l.acc_txt ) = $5 OR upper( l.acc_txt ) = $6 OR upper( l.acc_txt ) = $7 OR upper( l.acc_txt ) = $8 OR upper( l.acc_txt ) = $9 OR upper( l.acc_txt ) = $10 OR upper( l.acc_txt ) = $11 OR upper( l.acc_txt ) = $12 OR upper( l.acc_txt ) = $13 OR upper( l.acc_txt ) = $14 OR upper( l.acc_txt ) = $15 OR upper( l.acc_txt ) = $16 OR upper( l.acc_txt ) = $17 OR upper( l.acc_txt ) = $18 OR upper( l.acc_txt ) = $19 OR upper( l.acc_txt ) = $20 OR upper( l.acc_txt ) = $21 OR upper( l.acc_txt ) = $22 OR upper( l.acc_txt ) = $23 OR upper( l.acc_txt ) = $24 OR upper( l.acc_txt ) = $25 OR upper( l.acc_txt ) = $26 OR upper( l.acc_txt ) = $27 OR upper( l.acc_txt ) = $28 OR upper( l.acc_txt ) = $29 OR upper( l.acc_txt ) = $30 OR upper( l.acc_txt ) = $31 OR upper( l.acc_txt ) = $32 OR upper( l.acc_txt ) = $33 OR upper( l.acc_txt ) = $34 OR upper( l.acc_txt ) = $35 OR upper( l.acc_txt ) = $36 OR upper( l.acc_txt ) = $37 OR upper( l.acc_txt ) = $38 OR upper( l.acc_txt ) = $39 OR upper( l.acc_txt ) = $40 OR upper( l.acc_txt ) = $41 OR upper( l.acc_txt ) = $42 OR upper( l.acc_txt ) = $43 OR upper( l.acc_txt ) = $44 OR upper( l.acc_txt ) = $45 OR upper( l.acc_txt ) = $46 OR upper( l.acc_txt ) = $47 OR upper( l.acc_txt ) = $48 OR upper( l.acc_txt ) = $49 OR upper( l.acc_txt ) = $50 OR upper( l.acc_txt ) = $51 OR upper( l.acc_txt ) = $52 OR upper( l.acc_txt ) = $53 OR upper( l.acc_txt ) = $54 OR upper( l.acc_txt ) = $55 OR upper( l.acc_txt ) = $56 OR upper( l.acc_txt ) = $57 OR upper( l.acc_txt ) = $58 OR upper( l.acc_txt ) = $59 OR upper( l.acc_txt ) = $60 OR upper( l.acc_txt ) = $61 OR upper( l.acc_txt ) = $62 OR upper( l.acc_txt ) = $63 OR upper( l.acc_txt ) = $64 OR upper( l.acc_txt ) = $65 OR upper( l.acc_txt ) = $66 OR upper( l.acc_txt ) = $67 OR upper( l.acc_txt ) = $68 OR upper( l.acc_txt ) = $69 OR upper( l.acc_txt ) = $70 OR upper( l.acc_txt ) = $71 OR upper( l.acc_txt ) = $72 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2024-10-04 13:52:13
4 6 ERROR: invalid byte sequence for encoding
Times Reported Most Frequent Error / Event #4
Day Hour Count Oct 02 21 2 Oct 04 12 4 - 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-10-02 21:46:31 Database: ctdprd51 Application: User: pubeu Remote:
5 3 ERROR: relation "..." does not exist
Times Reported Most Frequent Error / Event #5
Day Hour Count Sep 30 10 2 Oct 02 10 1 - ERROR: relation "db" does not exist at character 15
- ERROR: relation "db_link" does not exist at character 24
- ERROR: relation "db" does not exist at character 58
Statement: select * from db
Date: 2024-09-30 10:08:52 Database: ctdprd51 Application: pgAdmin 4 - CONN:8122295 User: load Remote:
Statement: select count(*) from db_link where db_id = 103
Date: 2024-09-30 10:10:11
Statement: SELECT r.acc_txt AS reference_acc_txt ,(SELECT id FROM db WHERE cd = r.acc_db_cd) AS reference_acc_db_id ,COALESCE(common.email_substr(r.affiliation_txt), common.email_substr(r.abstract_txt)) AS email_addr ,'D' AS source_cd ,'twiegers' AS create_by ,CURRENT_TIMESTAMP AS create_tm ,'twiegers' AS mod_by ,CURRENT_TIMESTAMP AS mod_tm -- !! CHANGE PUB SCHEMA QUALIFIER TO LIVE/QA SCHEMA !! FROM pub1.reference r WHERE NOT EXISTS (SELECT 1 FROM edit.reference_contact rc WHERE rc.reference_acc_txt = r.acc_txt) AND COALESCE(common.email_substr(r.affiliation_txt), common.email_substr(r.abstract_txt)) IS NOT NULL AND (r.has_diseases OR r.has_ixns OR r.has_exposures OR r.has_phenotypes) -- Curated only! (i.e., no BioGRID refs) ORDER BY email_addr;
Date: 2024-10-02 10:13:58 Database: ctdprd51 Application: pgAdmin 4 - CONN:9333006 User: load Remote:
6 1 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #6
Day Hour Count Oct 02 14 1 7 1 ERROR: invalid input syntax for type boolean: ...
Times Reported Most Frequent Error / Event #7
Day Hour Count Sep 30 10 1 - ERROR: invalid input syntax for type boolean: "gold tetrachloride, acid" at character 29
Statement: select * from term where 'gold tetrachloride, acid'
Date: 2024-09-30 10:11:16
8 1 ERROR: invalid input syntax for type date: ...
Times Reported Most Frequent Error / Event #8
Day Hour Count Sep 30 08 1 - ERROR: invalid input syntax for type date: "9/252024" at character 1010
Statement: ( select ri.reference_acc_txt ,to_char ( ri.create_tm, 'mm-dd-yyyy' ) ,ri.create_by ,'Yes' ,edit.get_ixn_prose(i.root_id) ,taxon.nm ,ri.evidence_cd ,ri.field_cd ,ri.internal_note ,ri.ixn_id ,ri.create_tm ,STRING_AGG(DISTINCT a.seq_acc_txt, ' | ' ) ,STRING_AGG(DISTINCT ria.anatomy_nm, ' | ' order by ria.anatomy_nm ) from edit.ixn i ,edit.ixn_actor a ,edit.reference_ixn ri LEFT OUTER JOIN pub2.TERM taxon ON ri.taxon_acc_txt = taxon.acc_txt and taxon.object_type_id = ( select id from edit.OBJECT_TYPE where cd = 'taxon') LEFT OUTER JOIN edit.REFERENCE_IXN_ANATOMY ria ON ri.id = ria.reference_ixn_id where ri.ixn_id = i.root_id and ri.mod_tm >= date '9/19/2024' and ri.mod_tm < date '9/252024' + 1 and ri.mod_by in ('fbarkalo') AND i.id = a.ixn_id GROUP BY ri.reference_acc_txt ,ri.create_by ,i.root_id ,taxon.nm ,ri.evidence_cd ,ri.field_cd ,ri.internal_note ,ri.ixn_id ,ri.create_tm ) UNION ( select ur.reference_acc_txt ,to_char ( ur.create_tm, 'mm-dd-yyyy' ) ,ur.create_by ,'No' ,'' ,'' ,'' ,'' ,'' ,-1 ,ur.create_tm ,'' ,'' from edit.UNCURATABLE_REFERENCE ur where ur.create_tm >= date '9/19/2024' and ur.create_tm < date '9/252024' + 1 and ur.create_by in ('fbarkalo') ) order by create_tm asc
Date: 2024-09-30 08:31:43 Database: ctdprd51 Application: User: editeu Remote:
9 1 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #9
Day Hour Count Oct 04 01 1 10 1 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #10
Day Hour Count Oct 04 01 1