-
Global information
- Generated on Sun Dec 8 04:15:16 2024
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20241207
- Parsed 216,474 log entries in 14s
- Log start from 2024-12-01 00:00:01 to 2024-12-07 23:59:48
-
Overview
Global Stats
- 382 Number of unique normalized queries
- 7,207 Number of queries
- 10h56m10s Total query duration
- 2024-12-01 00:02:42 First query
- 2024-12-07 23:57:40 Last query
- 8 queries/s at 2024-12-05 18:14:00 Query peak
- 10h56m10s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 10h56m10s Execute total duration
- 164 Number of events
- 6 Number of unique normalized events
- 156 Max number of times the same event was reported
- 0 Number of cancellation
- 89 Total number of automatic vacuums
- 221 Total number of automatic analyzes
- 0 Number temporary file
- 0 Max size of temporary file
- 0.00 B Average size of temporary file
- 14,090 Total number of sessions
- 51 sessions at 2024-12-03 23:55:48 Session peak
- 281d5h55m16s Total duration of sessions
- 28m44s Average duration of sessions
- 0 Average queries per session
- 2s794ms Average queries duration per session
- 28m41s Average idle time per session
- 14,090 Total number of connections
- 44 connections/s at 2024-12-03 23:55:48 Connection peak
- 2 Total number of databases
SQL Traffic
Key values
- 8 queries/s Query Peak
- 2024-12-05 18:14:00 Date
SELECT Traffic
Key values
- 8 queries/s Query Peak
- 2024-12-05 18:14:00 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1 queries/s Query Peak
- 2024-12-02 18:01:13 Date
Queries duration
Key values
- 10h56m10s Total query duration
Prepared queries ratio
Key values
- 0.00 Ratio of bind vs prepare
- 0.00 % Ratio between prepared and "usual" statements
General Activity
↑ Back to the top of the General Activity tableDay Hour Count Min duration Max duration Avg duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Dec 01 00 23 0ms 19m45s 53s185ms 1s699ms 2s689ms 19m51s 01 58 0ms 6s438ms 2s27ms 2s638ms 17s938ms 24s258ms 02 54 0ms 5s468ms 1s960ms 2s946ms 8s82ms 28s513ms 03 39 0ms 5s889ms 1s821ms 2s951ms 5s832ms 8s666ms 04 45 0ms 55s252ms 2s945ms 3s763ms 4s35ms 56s396ms 05 88 0ms 1m46s 3s380ms 16s903ms 28s658ms 1m48s 06 47 0ms 39s555ms 3s581ms 4s497ms 26s719ms 48s742ms 07 47 0ms 5s283ms 1s605ms 2s947ms 3s896ms 10s475ms 08 28 0ms 1s502ms 1s405ms 1s477ms 2s632ms 2s966ms 09 44 0ms 2m57s 5s398ms 2s659ms 3s777ms 2m57s 10 59 0ms 39s472ms 3s608ms 10s414ms 23s835ms 50s67ms 11 37 0ms 3m44s 7s613ms 2s757ms 5s202ms 3m44s 12 37 0ms 3s715ms 1s480ms 2s297ms 3s715ms 5s542ms 13 40 0ms 4s128ms 1s461ms 2s930ms 2s938ms 4s128ms 14 50 0ms 39s396ms 3s378ms 2s946ms 25s390ms 48s507ms 15 50 0ms 7s391ms 1s552ms 2s934ms 3s725ms 8s867ms 16 32 0ms 1s507ms 1s431ms 2s668ms 2s935ms 4s132ms 17 45 0ms 5s711ms 1s675ms 2s976ms 3s800ms 15s703ms 18 54 0ms 39s329ms 3s376ms 3s775ms 25s290ms 49s719ms 19 64 0ms 6s127ms 1s960ms 3s806ms 12s943ms 18s539ms 20 70 0ms 5s241ms 2s175ms 7s589ms 8s933ms 11s904ms 21 59 0ms 4s135ms 2s222ms 5s232ms 5s609ms 6s672ms 22 55 0ms 5s285ms 1s915ms 5s459ms 7s459ms 9s595ms 23 46 0ms 5s290ms 1s462ms 2s926ms 3s783ms 5s290ms Dec 02 00 46 0ms 19m50s 27s534ms 2s710ms 9s368ms 19m57s 01 51 0ms 7s595ms 1s885ms 4s568ms 6s698ms 14s916ms 02 40 0ms 7s468ms 1s628ms 2s612ms 5s498ms 7s468ms 03 38 0ms 7s454ms 1s633ms 2s663ms 3s3ms 8s631ms 04 44 0ms 5s637ms 1s592ms 2s925ms 4s124ms 7s171ms 05 79 0ms 6s801ms 2s115ms 7s573ms 16s621ms 32s90ms 06 59 0ms 39s536ms 3s584ms 5s486ms 25s228ms 49s926ms 07 37 0ms 8s615ms 2s6ms 4s10ms 4s649ms 11s749ms 08 45 0ms 5s96ms 1s648ms 3s682ms 5s331ms 6s563ms 09 37 0ms 42s896ms 2s629ms 2s607ms 2s966ms 42s896ms 10 57 0ms 39s481ms 3s247ms 3s951ms 25s351ms 48s626ms 11 45 0ms 3s917ms 1s626ms 3s231ms 3s894ms 5s236ms 12 67 0ms 6s440ms 2s12ms 5s128ms 15s176ms 28s664ms 13 42 0ms 3m59s 7s357ms 3s730ms 4s120ms 3m59s 14 47 0ms 39s513ms 3s204ms 2s716ms 9s734ms 51s564ms 15 45 0ms 11s324ms 4s261ms 12s621ms 12s775ms 14s874ms 16 33 0ms 3s726ms 1s430ms 2s622ms 3s292ms 3s726ms 17 46 0ms 7s16ms 1s504ms 2s691ms 3s139ms 8s485ms 18 58 0ms 39s346ms 3s982ms 12s655ms 23s12ms 1m1s 19 43 0ms 12s939ms 3s804ms 11s317ms 12s751ms 37s510ms 20 71 0ms 12s940ms 4s728ms 14s875ms 36s195ms 37s564ms 21 91 0ms 14s8ms 5s212ms 23s945ms 35s790ms 40s317ms 22 44 0ms 11s599ms 3s124ms 3s807ms 14s180ms 35s497ms 23 40 0ms 4s44ms 1s441ms 2s741ms 3s422ms 5s513ms Dec 03 00 39 0ms 19m58s 32s204ms 2s637ms 3s504ms 19m58s 01 51 0ms 5s498ms 2s23ms 3s742ms 4s120ms 33s350ms 02 44 0ms 12s583ms 2s68ms 4s84ms 5s368ms 13s943ms 03 33 0ms 4s101ms 1s561ms 2s628ms 3s644ms 5s235ms 04 37 0ms 5s634ms 1s540ms 2s961ms 3s803ms 7s928ms 05 76 0ms 6s858ms 2s174ms 9s447ms 15s607ms 30s106ms 06 72 0ms 39s892ms 3s280ms 18s656ms 25s479ms 49s13ms 07 43 0ms 5s754ms 1s773ms 4s289ms 5s754ms 9s850ms 08 34 0ms 5s291ms 1s733ms 2s884ms 4s276ms 5s291ms 09 34 0ms 4s85ms 1s484ms 2s634ms 2s816ms 5s559ms 10 52 0ms 39s602ms 3s671ms 6s853ms 9s658ms 55s25ms 11 42 0ms 3s688ms 1s495ms 2s588ms 2s999ms 6s476ms 12 44 0ms 7s114ms 1s690ms 3s794ms 5s605ms 10s846ms 13 32 0ms 8m9s 22s864ms 2s699ms 39s455ms 8m9s 14 57 0ms 39s818ms 3s84ms 3s712ms 11s165ms 54s836ms 15 53 0ms 7s679ms 1s593ms 3s897ms 5s342ms 11s989ms 16 32 0ms 5s922ms 1s668ms 2s641ms 3s806ms 8s250ms 17 29 0ms 11s290ms 2s 2s570ms 4s372ms 12s757ms 18 48 0ms 10m57s 17s307ms 6s281ms 49s17ms 10m57s 19 43 0ms 14m10s 2m14s 2s604ms 13m8s 40m44s 20 35 0ms 18s907ms 2s105ms 2s625ms 4s80ms 20s372ms 21 41 0ms 4s227ms 1s643ms 3s633ms 3s887ms 5s183ms 22 41 0ms 12s706ms 4s505ms 12s567ms 22s372ms 34s425ms 23 65 0ms 3m33s 5s364ms 10s99ms 18s937ms 3m33s Dec 04 00 42 0ms 20m9s 30s256ms 2s619ms 3s678ms 20m15s 01 35 0ms 5s768ms 1s889ms 3s762ms 5s503ms 15s205ms 02 37 0ms 5s497ms 2s169ms 4s50ms 5s313ms 10s821ms 03 40 0ms 5s130ms 2s156ms 5s130ms 7s758ms 11s301ms 04 33 0ms 9s364ms 2s367ms 2s696ms 8s312ms 16s967ms 05 56 0ms 13s36ms 2s562ms 13s36ms 16s852ms 32s552ms 06 34 0ms 40s144ms 4s706ms 3s772ms 23s864ms 50s782ms 07 35 0ms 5s454ms 1s753ms 2s561ms 2s692ms 17s203ms 08 38 0ms 7s737ms 3s62ms 6s607ms 14s937ms 25s244ms 09 40 0ms 13s225ms 4s807ms 11s322ms 22s287ms 38s602ms 10 43 0ms 40s61ms 4s733ms 10s813ms 25s313ms 49s245ms 11 39 0ms 26s448ms 4s867ms 3s829ms 11s118ms 1m39s 12 44 0ms 5s114ms 1s677ms 4s145ms 6s90ms 7s564ms 13 44 0ms 4s88ms 1s591ms 3s711ms 4s88ms 6s413ms 14 30 0ms 40s16ms 4s925ms 3s795ms 9s739ms 55s17ms 15 36 0ms 4s558ms 1s927ms 3s931ms 5s262ms 13s349ms 16 29 0ms 3s922ms 1s612ms 1s509ms 3s819ms 5s613ms 17 31 0ms 5s242ms 1s753ms 2s651ms 3s806ms 6s283ms 18 35 0ms 40s211ms 3s899ms 2s393ms 9s671ms 50s915ms 19 37 0ms 4s9ms 1s411ms 2s304ms 2s626ms 5s492ms 20 53 0ms 7s295ms 2s441ms 7s295ms 8s337ms 11s896ms 21 46 0ms 3s988ms 2s179ms 5s424ms 5s488ms 6s669ms 22 39 0ms 5s80ms 2s47ms 4s955ms 5s378ms 5s477ms 23 30 0ms 1m10s 3s745ms 2s611ms 3s976ms 1m10s Dec 05 00 31 0ms 20m35s 41s844ms 2s870ms 6s913ms 20m43s 01 36 0ms 1m9s 3s579ms 3s803ms 4s18ms 1m11s 02 39 0ms 5s638ms 2s44ms 4s592ms 6s704ms 10s836ms 03 32 0ms 5s862ms 1s871ms 2s488ms 3s901ms 11s679ms 04 33 0ms 10s615ms 1s931ms 3s818ms 5s283ms 10s615ms 05 64 0ms 7s508ms 2s184ms 7s508ms 16s791ms 32s421ms 06 30 0ms 40s219ms 4s880ms 2s578ms 25s145ms 49s343ms 07 25 0ms 16s957ms 2s14ms 2s350ms 2s646ms 18s417ms 08 31 0ms 3s383ms 1s482ms 2s592ms 3s285ms 4s45ms 09 39 0ms 5s337ms 1s842ms 5s311ms 6s239ms 6s822ms 10 67 0ms 40s614ms 3s592ms 18s80ms 23s745ms 54s972ms 11 40 0ms 21s898ms 2s610ms 3s882ms 5s782ms 42s982ms 12 20 0ms 5s270ms 1s639ms 1s468ms 2s53ms 5s270ms 13 37 0ms 5s78ms 1s744ms 2s899ms 3s942ms 15s831ms 14 36 0ms 40s373ms 4s464ms 3s980ms 25s354ms 51s143ms 15 36 0ms 18s878ms 2s276ms 3s977ms 8s928ms 18s878ms 16 28 0ms 1s863ms 1s345ms 2s363ms 2s475ms 3s700ms 17 22 0ms 1s548ms 1s374ms 1s507ms 1s548ms 2s294ms 18 49 0ms 40s420ms 3s531ms 4s723ms 23s800ms 53s852ms 19 34 0ms 3s915ms 1s531ms 2s724ms 4s5ms 16s540ms 20 36 0ms 3s913ms 1s510ms 3s723ms 3s913ms 8s799ms 21 44 0ms 11s305ms 3s490ms 11s283ms 12s763ms 12s843ms 22 49 0ms 11s709ms 5s605ms 12s606ms 22s327ms 35s508ms 23 32 0ms 3s956ms 1s450ms 1s535ms 3s956ms 5s740ms Dec 06 00 38 0ms 20m38s 34s113ms 2s893ms 5s962ms 20m48s 01 24 0ms 27s20ms 6s374ms 1s471ms 1s496ms 2m5s 02 55 0ms 3s917ms 1s654ms 3s917ms 5s298ms 16s188ms 03 29 0ms 3s982ms 1s471ms 1s506ms 3s572ms 3s982ms 04 26 0ms 3s947ms 1s555ms 1s505ms 2s788ms 5s158ms 05 81 0ms 18s905ms 2s555ms 8s820ms 23s546ms 30s723ms 06 92 0ms 41s609ms 6s256ms 33s842ms 1m 1m13s 07 45 0ms 12s709ms 6s763ms 22s369ms 35s29ms 36s263ms 08 19 0ms 1s485ms 1s341ms 1s480ms 2s227ms 2s562ms 09 30 0ms 11s344ms 4s5ms 11s38ms 12s669ms 23s865ms 10 67 0ms 40s680ms 7s566ms 37s733ms 50s65ms 1m32s 11 21 0ms 1s509ms 1s373ms 1s485ms 1s509ms 2s708ms 12 29 0ms 4s122ms 1s717ms 2s593ms 3s998ms 5s603ms 13 21 0ms 4s918ms 1s681ms 1s486ms 2s706ms 4s918ms 14 38 0ms 40s611ms 3s616ms 3s611ms 24s918ms 40s611ms 15 18 0ms 3s944ms 1s614ms 1s478ms 1s500ms 3s944ms 16 23 0ms 1s483ms 1s293ms 1s477ms 2s616ms 3s751ms 17 24 0ms 4s126ms 1s450ms 1s549ms 2s297ms 4s126ms 18 38 0ms 40s766ms 4s118ms 3s841ms 25s275ms 49s943ms 19 29 0ms 1s549ms 1s318ms 1s500ms 1s549ms 2s655ms 20 20 0ms 3s860ms 1s535ms 1s477ms 2s494ms 3s860ms 21 20 0ms 5s3ms 1s910ms 3s873ms 3s882ms 5s3ms 22 17 0ms 5s514ms 2s156ms 2s255ms 6s474ms 16s93ms 23 20 0ms 3s156ms 1s328ms 1s678ms 2s375ms 5s30ms Dec 07 00 17 0ms 20m43s 1m15s 2s4ms 3s811ms 20m52s 01 57 0ms 6s378ms 2s36ms 2s672ms 19s182ms 23s152ms 02 39 0ms 4s340ms 1s622ms 2s976ms 3s804ms 5s386ms 03 39 0ms 4s65ms 1s533ms 2s634ms 2s930ms 4s65ms 04 41 0ms 7s85ms 1s517ms 2s631ms 2s919ms 7s85ms 05 81 0ms 6s714ms 2s57ms 5s254ms 16s734ms 36s811ms 06 38 0ms 1s955ms 1s407ms 2s324ms 3s36ms 4s858ms 07 39 0ms 2s557ms 1s396ms 2s636ms 2s958ms 5s228ms 08 41 0ms 7s647ms 1s683ms 2s921ms 5s5ms 9s265ms 09 38 0ms 26s850ms 2s282ms 2s610ms 4s104ms 28s303ms 10 47 0ms 5s436ms 1s811ms 3s912ms 5s361ms 15s941ms 11 51 0ms 5s740ms 1s782ms 3s637ms 3s868ms 23s803ms 12 41 0ms 4s5ms 1s522ms 2s932ms 3s338ms 5s469ms 13 44 0ms 1s511ms 1s359ms 2s651ms 2s957ms 4s60ms 14 32 0ms 1s500ms 1s423ms 1s483ms 1s500ms 2s936ms 15 45 0ms 4s 1s401ms 2s785ms 3s612ms 4s 16 40 0ms 4s380ms 1s526ms 2s580ms 4s142ms 5s837ms 17 42 0ms 3s910ms 1s489ms 2s901ms 3s733ms 5s357ms 18 85 0ms 1m11s 6s27ms 40s180ms 1m3s 1m11s 19 86 0ms 23m58s 56s850ms 2m2s 7m 24m45s 20 39 0ms 5s535ms 1s731ms 2s922ms 4s995ms 6s29ms 21 47 0ms 5s496ms 1s750ms 2s971ms 5s449ms 17s462ms 22 40 0ms 7s487ms 1s636ms 2s911ms 3s936ms 7s487ms 23 45 0ms 4s886ms 1s487ms 2s634ms 4s75ms 4s886ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Dec 01 00 22 0 55s359ms 1s316ms 1s699ms 19m45s 01 58 0 2s27ms 1s474ms 2s638ms 18s873ms 02 54 0 1s960ms 2s617ms 2s946ms 9s507ms 03 39 0 1s821ms 1s489ms 2s951ms 7s363ms 04 45 0 2s945ms 2s924ms 3s763ms 8s133ms 05 83 0 3s463ms 3s746ms 16s903ms 1m48s 06 37 10 3s581ms 1s687ms 4s497ms 40s746ms 07 47 0 1s605ms 2s582ms 2s947ms 5s189ms 08 28 0 1s405ms 1s471ms 1s477ms 2s747ms 09 44 0 5s398ms 1s478ms 2s659ms 4s335ms 10 46 10 3s616ms 2s886ms 7s511ms 48s586ms 11 37 0 7s613ms 1s486ms 2s757ms 6s529ms 12 37 0 1s480ms 1s483ms 2s297ms 5s542ms 13 40 0 1s461ms 1s476ms 2s930ms 3s867ms 14 40 10 3s378ms 1s491ms 2s946ms 40s781ms 15 50 0 1s552ms 2s584ms 2s934ms 4s6ms 16 32 0 1s431ms 1s476ms 2s668ms 4s132ms 17 45 0 1s675ms 2s250ms 2s976ms 15s703ms 18 44 10 3s376ms 2s699ms 3s775ms 40s788ms 19 64 0 1s960ms 2s924ms 3s806ms 17s555ms 20 70 0 2s175ms 4s922ms 7s589ms 10s65ms 21 59 0 2s222ms 3s802ms 5s232ms 6s631ms 22 55 0 1s915ms 3s963ms 5s459ms 8s594ms 23 46 0 1s462ms 2s592ms 2s926ms 4s61ms Dec 02 00 45 0 28s25ms 1s477ms 2s710ms 9s989ms 01 51 0 1s885ms 2s634ms 4s568ms 7s595ms 02 40 0 1s628ms 1s498ms 2s612ms 5s837ms 03 38 0 1s633ms 1s493ms 2s663ms 6s715ms 04 44 0 1s592ms 2s192ms 2s925ms 5s378ms 05 75 0 2s110ms 2s933ms 6s686ms 32s90ms 06 49 10 3s584ms 3s29ms 5s486ms 40s725ms 07 37 0 2s6ms 1s768ms 4s10ms 4s881ms 08 45 0 1s648ms 2s618ms 3s682ms 5s523ms 09 37 0 2s629ms 1s484ms 2s607ms 6s699ms 10 47 10 3s247ms 2s677ms 3s951ms 40s738ms 11 45 0 1s626ms 2s552ms 3s231ms 3s917ms 12 67 0 2s12ms 2s931ms 5s128ms 16s344ms 13 42 0 7s357ms 2s610ms 3s730ms 5s356ms 14 38 9 3s204ms 2s568ms 2s931ms 40s878ms 15 45 0 4s261ms 11s205ms 12s621ms 12s831ms 16 33 0 1s430ms 1s473ms 2s622ms 3s402ms 17 46 0 1s504ms 1s544ms 2s691ms 4s170ms 18 48 10 3s982ms 2s723ms 12s638ms 48s437ms 19 43 0 3s804ms 2s951ms 11s317ms 12s771ms 20 71 0 4s728ms 11s239ms 14s875ms 36s626ms 21 88 0 5s299ms 12s604ms 23s945ms 38s693ms 22 44 0 3s124ms 2s670ms 3s807ms 22s632ms 23 40 0 1s441ms 1s480ms 2s741ms 3s850ms Dec 03 00 37 0 33s735ms 1s481ms 2s563ms 2s930ms 01 51 0 2s23ms 2s685ms 3s742ms 4s714ms 02 44 0 2s68ms 2s707ms 4s84ms 5s556ms 03 33 0 1s561ms 1s500ms 2s628ms 4s101ms 04 37 0 1s540ms 1s485ms 2s961ms 7s928ms 05 71 0 2s156ms 3s751ms 9s447ms 21s724ms 06 62 10 3s280ms 2s662ms 18s656ms 49s13ms 07 43 0 1s773ms 2s698ms 4s289ms 9s850ms 08 34 0 1s733ms 1s611ms 2s884ms 5s291ms 09 34 0 1s484ms 1s475ms 2s634ms 2s844ms 10 42 10 3s671ms 3s869ms 6s853ms 55s25ms 11 42 0 1s495ms 1s923ms 2s588ms 5s124ms 12 43 0 1s676ms 2s558ms 3s794ms 5s961ms 13 31 0 7s819ms 1s486ms 2s678ms 2m43s 14 47 10 3s84ms 2s582ms 3s712ms 48s927ms 15 53 0 1s593ms 2s799ms 3s897ms 9s179ms 16 32 0 1s668ms 1s549ms 2s641ms 8s250ms 17 29 0 2s 1s484ms 2s570ms 12s757ms 18 37 10 17s633ms 2s223ms 6s281ms 54s857ms 19 43 0 2m14s 2s241ms 2s604ms 28m21s 20 35 0 2s105ms 1s473ms 2s625ms 7s868ms 21 41 0 1s643ms 2s474ms 3s633ms 5s183ms 22 41 0 4s505ms 2s784ms 12s567ms 34s425ms 23 65 0 5s364ms 2s548ms 10s99ms 20s165ms Dec 04 00 41 0 30s859ms 1s794ms 2s619ms 4s877ms 01 35 0 1s889ms 1s998ms 3s762ms 15s205ms 02 37 0 2s169ms 2s607ms 4s50ms 10s669ms 03 40 0 2s156ms 1s546ms 5s130ms 8s559ms 04 33 0 2s367ms 1s484ms 2s696ms 16s967ms 05 52 0 2s592ms 1s484ms 13s36ms 32s552ms 06 24 10 4s706ms 1s486ms 5s336ms 49s277ms 07 35 0 1s753ms 1s477ms 2s561ms 17s203ms 08 38 0 3s62ms 1s475ms 6s607ms 22s308ms 09 38 0 4s947ms 1s475ms 11s322ms 22s423ms 10 33 10 4s733ms 4s54ms 10s813ms 49s245ms 11 39 0 4s867ms 2s267ms 3s829ms 21s284ms 12 44 0 1s677ms 2s567ms 4s145ms 6s791ms 13 43 0 1s553ms 2s415ms 3s536ms 4s88ms 14 20 10 4s925ms 1s471ms 3s795ms 49s145ms 15 36 0 1s927ms 2s427ms 3s931ms 13s349ms 16 29 0 1s612ms 1s473ms 1s509ms 5s404ms 17 31 0 1s753ms 2s8ms 2s651ms 6s283ms 18 26 9 3s899ms 1s479ms 2s393ms 41s321ms 19 36 0 1s398ms 1s473ms 2s304ms 5s492ms 20 53 0 2s441ms 5s155ms 7s295ms 10s729ms 21 46 0 2s179ms 3s886ms 5s424ms 6s669ms 22 39 0 2s47ms 3s761ms 4s955ms 5s477ms 23 30 0 3s745ms 1s480ms 2s611ms 1m10s Dec 05 00 30 0 43s44ms 1s481ms 2s870ms 20m37s 01 36 0 3s579ms 1s492ms 3s803ms 1m11s 02 39 0 2s44ms 2s615ms 4s592ms 6s863ms 03 32 0 1s871ms 1s504ms 2s488ms 5s354ms 04 33 0 1s931ms 1s492ms 3s818ms 10s615ms 05 60 0 2s182ms 1s511ms 7s508ms 32s421ms 06 20 10 4s880ms 1s466ms 2s578ms 40s774ms 07 25 0 2s14ms 1s463ms 2s350ms 2s657ms 08 30 0 1s422ms 1s479ms 2s591ms 3s383ms 09 39 0 1s842ms 2s305ms 5s311ms 6s822ms 10 57 10 3s592ms 4s616ms 18s80ms 54s972ms 11 40 0 2s610ms 1s495ms 3s882ms 42s982ms 12 20 0 1s639ms 1s452ms 1s468ms 5s189ms 13 37 0 1s744ms 1s479ms 2s899ms 5s78ms 14 26 10 4s464ms 2s503ms 3s980ms 40s977ms 15 35 0 2s287ms 1s486ms 3s977ms 18s878ms 16 28 0 1s345ms 1s482ms 2s363ms 3s700ms 17 22 0 1s374ms 1s470ms 1s507ms 2s294ms 18 39 10 3s531ms 2s453ms 4s723ms 49s583ms 19 33 0 1s501ms 1s475ms 2s569ms 16s540ms 20 36 0 1s510ms 2s364ms 3s723ms 8s799ms 21 44 0 3s490ms 5s467ms 11s283ms 12s769ms 22 49 0 5s605ms 11s252ms 12s606ms 35s508ms 23 32 0 1s450ms 1s471ms 1s535ms 5s740ms Dec 06 00 36 0 35s757ms 1s477ms 2s806ms 20m42s 01 24 0 6s374ms 1s458ms 1s471ms 2m5s 02 55 0 1s654ms 2s723ms 3s917ms 5s377ms 03 29 0 1s471ms 1s474ms 1s506ms 3s982ms 04 26 0 1s555ms 1s472ms 1s505ms 5s158ms 05 77 0 2s575ms 4s997ms 8s820ms 26s998ms 06 82 10 6s256ms 14s42ms 33s842ms 1m 07 45 0 6s763ms 11s173ms 22s369ms 35s705ms 08 19 0 1s341ms 1s459ms 1s480ms 2s272ms 09 30 0 4s5ms 1s473ms 11s38ms 22s396ms 10 57 10 7s566ms 22s563ms 40s972ms 49s898ms 11 21 0 1s373ms 1s470ms 1s485ms 2s708ms 12 29 0 1s717ms 1s480ms 2s593ms 5s357ms 13 21 0 1s681ms 1s463ms 1s486ms 4s918ms 14 30 8 3s616ms 1s533ms 3s611ms 27s158ms 15 18 0 1s614ms 1s238ms 1s478ms 3s817ms 16 23 0 1s293ms 1s181ms 1s477ms 2s703ms 17 24 0 1s450ms 1s466ms 1s549ms 4s126ms 18 28 10 4s118ms 2s586ms 3s841ms 49s943ms 19 29 0 1s318ms 1s468ms 1s500ms 2s655ms 20 20 0 1s535ms 1s469ms 1s477ms 3s860ms 21 20 0 1s910ms 2s65ms 3s873ms 5s3ms 22 17 0 2s156ms 1s155ms 2s255ms 16s93ms 23 20 0 1s328ms 1s166ms 1s678ms 5s30ms Dec 07 00 16 0 1m19s 1s182ms 2s4ms 20m47s 01 57 0 2s36ms 1s483ms 2s672ms 20s887ms 02 39 0 1s622ms 1s512ms 2s976ms 4s340ms 03 39 0 1s533ms 1s906ms 2s634ms 3s848ms 04 41 0 1s517ms 1s491ms 2s631ms 7s85ms 05 77 0 2s52ms 2s326ms 5s126ms 30s187ms 06 38 0 1s407ms 1s483ms 2s324ms 3s873ms 07 39 0 1s396ms 1s501ms 2s636ms 5s228ms 08 41 0 1s683ms 1s497ms 2s921ms 5s381ms 09 38 0 2s282ms 1s483ms 2s610ms 8s901ms 10 47 0 1s811ms 2s547ms 3s912ms 5s436ms 11 51 0 1s782ms 1s538ms 3s637ms 4s166ms 12 41 0 1s522ms 1s607ms 2s932ms 5s469ms 13 44 0 1s359ms 2s541ms 2s651ms 4s60ms 14 32 0 1s423ms 1s468ms 1s483ms 2s805ms 15 45 0 1s401ms 1s495ms 2s785ms 3s691ms 16 40 0 1s526ms 1s497ms 2s580ms 5s302ms 17 42 0 1s489ms 1s540ms 2s901ms 5s357ms 18 59 26 6s27ms 11s474ms 40s180ms 1m4s 19 37 49 56s850ms 1m20s 2m 23m58s 20 39 0 1s731ms 1s524ms 2s922ms 5s535ms 21 47 0 1s750ms 1s507ms 2s971ms 7s493ms 22 40 0 1s636ms 1s501ms 2s911ms 7s487ms 23 45 0 1s487ms 1s515ms 2s634ms 4s103ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Dec 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 Dec 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 Dec 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 1 0 0 0 2s272ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Dec 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 Dec 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 Dec 06 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Dec 07 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Dec 01 00 0 21 21.00 0.00% 01 0 58 58.00 0.00% 02 0 54 54.00 0.00% 03 0 39 39.00 0.00% 04 0 45 45.00 0.00% 05 0 86 86.00 0.00% 06 0 42 42.00 0.00% 07 0 52 52.00 0.00% 08 0 40 40.00 0.00% 09 0 44 44.00 0.00% 10 0 49 49.00 0.00% 11 0 45 45.00 0.00% 12 0 37 37.00 0.00% 13 0 40 40.00 0.00% 14 0 40 40.00 0.00% 15 0 50 50.00 0.00% 16 0 32 32.00 0.00% 17 0 45 45.00 0.00% 18 0 44 44.00 0.00% 19 0 64 64.00 0.00% 20 0 70 70.00 0.00% 21 0 59 59.00 0.00% 22 0 55 55.00 0.00% 23 0 46 46.00 0.00% Dec 02 00 0 45 45.00 0.00% 01 0 51 51.00 0.00% 02 0 40 40.00 0.00% 03 0 38 38.00 0.00% 04 0 44 44.00 0.00% 05 0 78 78.00 0.00% 06 0 58 58.00 0.00% 07 0 51 51.00 0.00% 08 0 46 46.00 0.00% 09 0 39 39.00 0.00% 10 0 51 51.00 0.00% 11 0 47 47.00 0.00% 12 0 71 71.00 0.00% 13 0 45 45.00 0.00% 14 0 42 42.00 0.00% 15 0 51 51.00 0.00% 16 0 40 40.00 0.00% 17 0 47 47.00 0.00% 18 0 48 48.00 0.00% 19 0 45 45.00 0.00% 20 0 71 71.00 0.00% 21 0 91 91.00 0.00% 22 0 44 44.00 0.00% 23 0 40 40.00 0.00% Dec 03 00 0 37 37.00 0.00% 01 0 51 51.00 0.00% 02 0 44 44.00 0.00% 03 0 33 33.00 0.00% 04 0 37 37.00 0.00% 05 0 76 76.00 0.00% 06 0 62 62.00 0.00% 07 0 43 43.00 0.00% 08 0 34 34.00 0.00% 09 0 39 39.00 0.00% 10 0 42 42.00 0.00% 11 0 42 42.00 0.00% 12 0 46 46.00 0.00% 13 0 31 31.00 0.00% 14 0 47 47.00 0.00% 15 0 53 53.00 0.00% 16 0 32 32.00 0.00% 17 0 29 29.00 0.00% 18 0 38 38.00 0.00% 19 0 43 43.00 0.00% 20 0 35 35.00 0.00% 21 0 41 41.00 0.00% 22 0 41 41.00 0.00% 23 0 65 65.00 0.00% Dec 04 00 0 41 41.00 0.00% 01 0 35 35.00 0.00% 02 0 37 37.00 0.00% 03 0 40 40.00 0.00% 04 0 33 33.00 0.00% 05 0 56 56.00 0.00% 06 0 24 24.00 0.00% 07 0 37 37.00 0.00% 08 0 47 47.00 0.00% 09 0 54 54.00 0.00% 10 0 34 34.00 0.00% 11 0 41 41.00 0.00% 12 0 51 51.00 0.00% 13 0 47 47.00 0.00% 14 0 30 30.00 0.00% 15 0 37 37.00 0.00% 16 0 30 30.00 0.00% 17 0 32 32.00 0.00% 18 0 27 27.00 0.00% 19 0 37 37.00 0.00% 20 0 53 53.00 0.00% 21 0 46 46.00 0.00% 22 0 39 39.00 0.00% 23 0 30 30.00 0.00% Dec 05 00 0 31 31.00 0.00% 01 0 36 36.00 0.00% 02 0 39 39.00 0.00% 03 0 32 32.00 0.00% 04 0 33 33.00 0.00% 05 0 64 64.00 0.00% 06 0 23 23.00 0.00% 07 0 32 32.00 0.00% 08 0 34 34.00 0.00% 09 0 41 41.00 0.00% 10 0 57 57.00 0.00% 11 0 43 43.00 0.00% 12 0 28 28.00 0.00% 13 0 40 40.00 0.00% 14 0 33 33.00 0.00% 15 0 37 37.00 0.00% 16 0 28 28.00 0.00% 17 0 22 22.00 0.00% 18 0 41 41.00 0.00% 19 0 35 35.00 0.00% 20 0 36 36.00 0.00% 21 0 44 44.00 0.00% 22 0 49 49.00 0.00% 23 0 32 32.00 0.00% Dec 06 00 0 37 37.00 0.00% 01 0 24 24.00 0.00% 02 0 55 55.00 0.00% 03 0 29 29.00 0.00% 04 0 26 26.00 0.00% 05 0 81 81.00 0.00% 06 0 82 82.00 0.00% 07 0 49 49.00 0.00% 08 0 23 23.00 0.00% 09 0 35 35.00 0.00% 10 0 57 57.00 0.00% 11 0 21 21.00 0.00% 12 0 29 29.00 0.00% 13 0 21 21.00 0.00% 14 0 32 32.00 0.00% 15 0 25 25.00 0.00% 16 0 28 28.00 0.00% 17 0 24 24.00 0.00% 18 0 28 28.00 0.00% 19 0 29 29.00 0.00% 20 0 20 20.00 0.00% 21 0 20 20.00 0.00% 22 0 17 17.00 0.00% 23 0 20 20.00 0.00% Dec 07 00 0 15 15.00 0.00% 01 0 57 57.00 0.00% 02 0 39 39.00 0.00% 03 0 39 39.00 0.00% 04 0 41 41.00 0.00% 05 0 81 81.00 0.00% 06 0 38 38.00 0.00% 07 0 39 39.00 0.00% 08 0 41 41.00 0.00% 09 0 38 38.00 0.00% 10 0 47 47.00 0.00% 11 0 51 51.00 0.00% 12 0 41 41.00 0.00% 13 0 44 44.00 0.00% 14 0 32 32.00 0.00% 15 0 45 45.00 0.00% 16 0 40 40.00 0.00% 17 0 42 42.00 0.00% 18 0 59 59.00 0.00% 19 0 37 37.00 0.00% 20 0 39 39.00 0.00% 21 0 47 47.00 0.00% 22 0 40 40.00 0.00% 23 0 45 45.00 0.00% Day Hour Count Average / Second Dec 01 00 83 0.02/s 01 81 0.02/s 02 78 0.02/s 03 84 0.02/s 04 87 0.02/s 05 93 0.03/s 06 83 0.02/s 07 82 0.02/s 08 78 0.02/s 09 80 0.02/s 10 82 0.02/s 11 81 0.02/s 12 77 0.02/s 13 80 0.02/s 14 83 0.02/s 15 84 0.02/s 16 79 0.02/s 17 79 0.02/s 18 81 0.02/s 19 80 0.02/s 20 84 0.02/s 21 82 0.02/s 22 78 0.02/s 23 78 0.02/s Dec 02 00 79 0.02/s 01 75 0.02/s 02 87 0.02/s 03 87 0.02/s 04 82 0.02/s 05 96 0.03/s 06 90 0.03/s 07 78 0.02/s 08 79 0.02/s 09 88 0.02/s 10 76 0.02/s 11 92 0.03/s 12 87 0.02/s 13 85 0.02/s 14 79 0.02/s 15 92 0.03/s 16 79 0.02/s 17 85 0.02/s 18 86 0.02/s 19 88 0.02/s 20 100 0.03/s 21 100 0.03/s 22 90 0.03/s 23 79 0.02/s Dec 03 00 78 0.02/s 01 91 0.03/s 02 91 0.03/s 03 82 0.02/s 04 78 0.02/s 05 96 0.03/s 06 87 0.02/s 07 93 0.03/s 08 78 0.02/s 09 82 0.02/s 10 83 0.02/s 11 83 0.02/s 12 87 0.02/s 13 82 0.02/s 14 80 0.02/s 15 82 0.02/s 16 78 0.02/s 17 76 0.02/s 18 95 0.03/s 19 75 0.02/s 20 81 0.02/s 21 78 0.02/s 22 81 0.02/s 23 137 0.04/s Dec 04 00 85 0.02/s 01 75 0.02/s 02 85 0.02/s 03 87 0.02/s 04 80 0.02/s 05 94 0.03/s 06 79 0.02/s 07 75 0.02/s 08 81 0.02/s 09 85 0.02/s 10 75 0.02/s 11 86 0.02/s 12 83 0.02/s 13 77 0.02/s 14 82 0.02/s 15 84 0.02/s 16 78 0.02/s 17 74 0.02/s 18 85 0.02/s 19 79 0.02/s 20 111 0.03/s 21 77 0.02/s 22 69 0.02/s 23 84 0.02/s Dec 05 00 82 0.02/s 01 91 0.03/s 02 91 0.03/s 03 92 0.03/s 04 90 0.03/s 05 95 0.03/s 06 80 0.02/s 07 76 0.02/s 08 80 0.02/s 09 86 0.02/s 10 90 0.03/s 11 96 0.03/s 12 76 0.02/s 13 86 0.02/s 14 82 0.02/s 15 79 0.02/s 16 78 0.02/s 17 77 0.02/s 18 80 0.02/s 19 73 0.02/s 20 78 0.02/s 21 77 0.02/s 22 87 0.02/s 23 85 0.02/s Dec 06 00 103 0.03/s 01 82 0.02/s 02 83 0.02/s 03 80 0.02/s 04 81 0.02/s 05 111 0.03/s 06 99 0.03/s 07 101 0.03/s 08 82 0.02/s 09 86 0.02/s 10 94 0.03/s 11 77 0.02/s 12 83 0.02/s 13 81 0.02/s 14 76 0.02/s 15 85 0.02/s 16 75 0.02/s 17 75 0.02/s 18 80 0.02/s 19 77 0.02/s 20 71 0.02/s 21 73 0.02/s 22 78 0.02/s 23 81 0.02/s Dec 07 00 78 0.02/s 01 94 0.03/s 02 86 0.02/s 03 86 0.02/s 04 75 0.02/s 05 99 0.03/s 06 82 0.02/s 07 90 0.03/s 08 101 0.03/s 09 86 0.02/s 10 78 0.02/s 11 82 0.02/s 12 85 0.02/s 13 88 0.02/s 14 81 0.02/s 15 85 0.02/s 16 89 0.02/s 17 81 0.02/s 18 92 0.03/s 19 76 0.02/s 20 77 0.02/s 21 77 0.02/s 22 78 0.02/s 23 83 0.02/s Day Hour Count Average Duration Average idle time Dec 01 00 83 29m39s 29m24s 01 81 30m32s 30m31s 02 78 29m43s 29m41s 03 84 28m52s 28m51s 04 87 27m24s 27m23s 05 93 25m21s 25m18s 06 83 28m47s 28m45s 07 82 29m58s 29m57s 08 78 30m48s 30m47s 09 80 30m17s 30m14s 10 82 30m9s 30m6s 11 81 30m6s 30m3s 12 77 31m18s 31m17s 13 80 30m19s 30m19s 14 83 28m59s 28m57s 15 84 29m14s 29m13s 16 79 29m32s 29m31s 17 79 30m11s 30m10s 18 81 30m18s 30m15s 19 80 29m30s 29m28s 20 84 27m56s 27m54s 21 82 27m41s 27m40s 22 78 30m48s 30m47s 23 78 30m49s 30m48s Dec 02 00 79 31m45s 31m29s 01 75 30m25s 30m24s 02 87 27m23s 27m22s 03 87 28m3s 28m2s 04 82 29m8s 29m7s 05 96 25m31s 25m29s 06 90 26m37s 26m35s 07 78 30m20s 30m19s 08 79 30m17s 30m16s 09 88 28m28s 28m27s 10 76 29m50s 29m48s 11 92 26m32s 26m32s 12 86 28m46s 28m44s 13 85 28m22s 28m18s 14 79 31m22s 31m20s 15 92 26m37s 26m35s 16 79 30m15s 30m15s 17 85 28m47s 28m46s 18 87 31m49s 31m46s 19 88 27m3s 27m1s 20 100 23m59s 23m55s 21 100 23m9s 23m4s 22 90 26m7s 26m6s 23 79 30m47s 30m47s Dec 03 00 78 29m38s 29m22s 01 91 25m49s 25m48s 02 91 25m25s 25m24s 03 82 29m13s 29m12s 04 78 31m10s 31m9s 05 96 26m12s 26m10s 06 87 27m20s 27m18s 07 93 26m11s 26m10s 08 78 30m29s 30m28s 09 82 30m17s 30m17s 10 83 28m48s 28m46s 11 83 29m30s 29m29s 12 86 28m22s 28m21s 13 81 29m33s 29m24s 14 80 29m30s 29m28s 15 82 29m17s 29m16s 16 78 31m17s 31m16s 17 77 34m56s 34m56s 18 89 31m52s 31m42s 19 82 29m20s 28m9s 20 81 30m10s 30m10s 21 78 29m7s 29m6s 22 81 29m55s 29m53s 23 137 17m9s 17m6s Dec 04 00 85 28m9s 27m54s 01 75 31m32s 31m31s 02 85 28m41s 28m40s 03 87 27m13s 27m12s 04 80 29m9s 29m8s 05 94 26m25s 26m24s 06 79 30m 29m58s 07 75 31m16s 31m16s 08 81 31m10s 31m8s 09 85 28m54s 28m52s 10 75 31m28s 31m25s 11 86 27m24s 27m21s 12 82 29m26s 29m25s 13 77 31m51s 31m50s 14 82 29m38s 29m36s 15 84 29m12s 29m11s 16 78 30m58s 30m58s 17 74 32m28s 32m27s 18 85 28m50s 28m49s 19 80 34m40s 34m39s 20 111 21m5s 21m3s 21 77 29m17s 29m16s 22 69 32m30s 32m29s 23 84 30m11s 30m9s Dec 05 00 82 29m32s 29m16s 01 91 26m30s 26m28s 02 91 26m32s 26m31s 03 92 26m38s 26m38s 04 90 25m59s 25m59s 05 95 25m25s 25m24s 06 80 29m57s 29m55s 07 76 32m26s 32m26s 08 80 30m8s 30m8s 09 86 26m53s 26m52s 10 90 27m34s 27m31s 11 96 25m19s 25m17s 12 76 31m6s 31m5s 13 86 29m31s 29m30s 14 82 29m47s 29m45s 15 79 29m9s 29m8s 16 78 31m30s 31m30s 17 77 30m50s 30m49s 18 80 29m22s 29m20s 19 73 32m23s 32m22s 20 78 32m7s 32m6s 21 77 27m35s 27m33s 22 87 27m57s 27m54s 23 85 27m57s 27m56s Dec 06 00 103 23m21s 23m8s 01 82 30m3s 30m1s 02 83 28m8s 28m7s 03 80 30m16s 30m16s 04 81 30m3s 30m2s 05 111 21m31s 21m29s 06 99 24m21s 24m15s 07 101 24m20s 24m17s 08 82 28m51s 28m50s 09 86 28m18s 28m17s 10 94 25m56s 25m50s 11 77 30m58s 30m58s 12 83 30m22s 30m21s 13 81 29m38s 29m38s 14 76 31m2s 31m 15 85 28m43s 28m42s 16 75 32m15s 32m14s 17 75 31m53s 31m53s 18 80 30m30s 30m28s 19 77 31m26s 31m26s 20 71 30m5s 30m5s 21 73 31m28s 31m28s 22 78 30m32s 30m31s 23 81 30m27s 30m27s Dec 07 00 78 30m53s 30m37s 01 94 26m9s 26m8s 02 86 27m47s 27m46s 03 86 28m22s 28m22s 04 75 31m36s 31m35s 05 99 24m15s 24m13s 06 82 29m2s 29m1s 07 90 26m33s 26m33s 08 101 24m52s 24m51s 09 86 27m14s 27m13s 10 78 30m5s 30m4s 11 82 30m46s 30m45s 12 85 29m14s 29m13s 13 88 27m53s 27m52s 14 81 29m33s 29m32s 15 85 28m23s 28m22s 16 89 27m 26m59s 17 81 28m51s 28m51s 18 91 27m10s 27m5s 19 77 29m47s 28m43s 20 77 30m52s 30m51s 21 77 29m32s 29m31s 22 78 30m33s 30m33s 23 83 29m35s 29m35s -
Connections
Established Connections
Key values
- 44 connections Connection Peak
- 2024-12-03 23:55:48 Date
Connections per database
Key values
- ctdprd51 Main Database
- 14,090 connections Total
Connections per user
Key values
- pubeu Main User
- 14,090 connections Total
-
Sessions
Simultaneous sessions
Key values
- 51 sessions Session Peak
- 2024-12-03 23:55:48 Date
Histogram of session times
Key values
- 12,092 1800000-3600000ms duration
Sessions per database
Key values
- ctdprd51 Main Database
- 14,090 sessions Total
Sessions per user
Key values
- pubeu Main User
- 14,090 sessions Total
Sessions per host
Key values
- 10.12.5.37 Main Host
- 14,090 sessions Total
Host Count Total Duration Average Duration 10.12.5.170 3 2m16s 45s627ms 10.12.5.37 3,521 56d5h33m44s 22m59s 10.12.5.38 2,629 56d24m23s 30m40s 10.12.5.39 2,588 56d34m46s 31m10s 10.12.5.40 1 6m33s 6m33s 10.12.5.45 2,666 55d23h53m37s 30m14s 10.12.5.46 2,626 55d22h12m36s 30m40s 192.168.201.6 5 22h43m19s 4h32m39s ::1 51 2h23m57s 2m49s -
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 153,306 buffers Checkpoint Peak
- 2024-12-06 08:56:39 Date
- 1620.011 seconds Highest write time
- 0.291 seconds Sync time
Checkpoints Wal files
Key values
- 71 files Wal files usage Peak
- 2024-12-07 04:26:42 Date
Checkpoints distance
Key values
- 2,286.33 Mo Distance Peak
- 2024-12-07 04:26:42 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Dec 01 00 3,398 340.483s 0.007s 340.688s 01 1,597 159.938s 0.002s 159.971s 02 467 46.672s 0.002s 46.688s 03 814 81.603s 0.003s 81.686s 04 964 96.635s 0.003s 96.668s 05 1,074 107.657s 0.003s 107.688s 06 1,612 161.436s 0.004s 161.52s 07 1,786 178.957s 0.004s 178.992s 08 1,365 136.717s 0.003s 136.801s 09 87,193 1,649.752s 0.003s 1,650.197s 10 4,889 489.715s 0.003s 489.812s 11 1,620 162.352s 0.002s 162.403s 12 1,059 106.151s 0.002s 106.183s 13 1,571 157.432s 0.003s 157.514s 14 1,504 150.614s 0.002s 150.647s 15 1,220 122.272s 0.003s 122.352s 16 1,105 110.759s 0.003s 110.793s 17 1,307 130.978s 0.003s 131.01s 18 1,826 182.969s 0.003s 183.052s 19 1,503 150.608s 0.002s 150.642s 20 51,780 1,698.875s 0.003s 1,699.359s 21 1,157 115.873s 0.002s 115.908s 22 2,748 275.3s 0.003s 275.385s 23 2,920 292.528s 0.002s 292.613s Dec 02 00 3,245 325.018s 0.004s 325.167s 01 822 82.421s 0.003s 82.455s 02 6,892 689.932s 0.003s 690.159s 03 125,277 3,239.505s 0.004s 3,240.027s 04 3,226 323.189s 0.003s 323.223s 05 122,674 1,650.964s 0.003s 1,651.476s 06 2,515 251.879s 0.003s 251.958s 07 7,271 728.112s 0.004s 728.198s 08 4,947 495.363s 0.003s 495.456s 09 2,950 295.43s 0.004s 295.511s 10 1,179 118.071s 0.003s 118.153s 11 1,661 166.336s 0.004s 166.368s 12 1,609 161.223s 0.004s 161.305s 13 2,130 213.195s 0.003s 213.272s 14 6,174 618.114s 0.004s 618.188s 15 2,433 243.657s 0.004s 243.735s 16 1,828 183.064s 0.004s 183.099s 17 1,571 157.435s 0.004s 157.523s 18 55,570 1,709.468s 0.293s 1,710.28s 19 1,212 121.469s 0.004s 121.504s 20 1,908 190.98s 0.004s 191.059s 21 3,592 359.737s 0.004s 359.815s 22 76,830 1,712.738s 0.004s 1,713.279s 23 1,118 112.072s 0.003s 112.106s Dec 03 00 2,835 283.909s 0.015s 284.063s 01 5,904 591.274s 0.002s 591.387s 02 769 77.021s 0.002s 77.054s 03 2,273 227.74s 0.002s 227.823s 04 64,774 3,062.841s 0.002s 3,063.422s 05 717 71.79s 0.003s 71.87s 06 1,978 198.212s 0.002s 198.244s 07 5,195 520.316s 0.003s 520.417s 08 932 93.426s 0.002s 93.46s 09 107,393 1,666.283s 0.002s 1,666.569s 10 6,553 656.162s 0.002s 656.213s 11 1,212 121.377s 0.004s 121.408s 12 1,703 170.663s 0.002s 170.742s 13 3,823 382.981s 0.004s 383.406s 14 2,088 209.116s 0.003s 209.15s 15 1,826 182.891s 0.003s 182.967s 16 1,673 167.548s 0.002s 167.583s 17 6,717 672.328s 0.003s 672.448s 18 1,551 155.768s 0.006s 155.823s 19 2,026 203.041s 0.003s 203.073s 20 1,750 175.253s 0.004s 175.335s 21 54,704 1,730.47s 0.002s 1,730.96s 22 1,378 138.008s 0.002s 138.042s 23 2,432 243.558s 0.003s 243.64s Dec 04 00 3,419 342.407s 0.005s 342.515s 01 783 78.404s 0.004s 78.482s 02 2,000 200.304s 0.004s 200.345s 03 4,162 416.735s 0.003s 416.831s 04 3,079 308.277s 0.004s 308.328s 05 2,701 270.59s 0.003s 270.668s 06 1,450 145.206s 0.003s 145.239s 07 1,320 132.197s 0.004s 132.277s 08 1,632 163.545s 0.004s 163.579s 09 5,962 596.91s 0.004s 597.017s 10 1,916 191.795s 0.004s 191.874s 11 57,805 1,683.391s 0.004s 1,683.922s 12 5,599 560.564s 0.004s 560.599s 13 3,787 379.32s 0.004s 379.369s 14 2,258 226.163s 0.003s 226.214s 15 2,114 211.722s 0.004s 211.797s 16 2,127 212.992s 0.003s 213.026s 17 2,171 217.308s 0.004s 217.388s 18 2,220 222.332s 0.004s 222.415s 19 1,820 182.343s 0.004s 182.422s 20 3,232 323.635s 0.007s 323.719s 21 7,210 721.784s 0.003s 721.858s 22 2,039 204.212s 0.003s 204.292s 23 2,815 281.929s 0.004s 282.01s Dec 05 00 11,088 1,110.124s 0.005s 1,110.27s 01 3,161 316.482s 0.003s 316.546s 02 1,065 106.663s 0.003s 106.744s 03 49,615 1,654.761s 0.002s 1,655.182s 04 1,090 109.159s 0.003s 109.191s 05 1,289 129.095s 0.003s 129.126s 06 1,479 148.13s 0.004s 148.211s 07 1,647 164.941s 0.002s 164.971s 08 4,214 422.052s 0.004s 422.158s 09 3,014 301.653s 0.003s 301.703s 10 2,960 296.369s 0.004s 296.451s 11 1,709 171.418s 0.003s 171.498s 12 4,176 418.115s 0.004s 418.209s 13 2,124 212.805s 0.002s 212.839s 14 2,936 294.045s 0.004s 294.125s 15 1,323 132.606s 0.002s 132.655s 16 1,612 161.539s 0.004s 161.57s 17 1,227 122.964s 0.003s 123.045s 18 1,855 185.866s 0.003s 185.9s 19 1,656 165.955s 0.004s 166.033s 20 6,753 676.211s 0.004s 676.326s 21 1,882 188.47s 0.004s 188.504s 22 2,827 283.108s 0.004s 283.202s 23 32,371 1,651.247s 0.003s 1,651.281s Dec 06 00 4,077 408.329s 0.006s 408.451s 01 1,748 175.175s 0.002s 175.204s 02 742 74.3s 0.002s 74.378s 03 8,945 895.721s 0.003s 895.85s 04 776 77.802s 0.002s 77.838s 05 837 83.929s 0.003s 84.007s 06 2,775 278.013s 0.003s 278.091s 07 1,231 123.39s 0.002s 123.42s 08 210,696 3,239.059s 0.004s 3,240.006s 09 7,031 704.057s 0.003s 704.173s 10 1,437 144.025s 0.002s 144.06s 11 1,329 133.21s 0.002s 133.292s 12 1,544 154.646s 0.004s 154.678s 13 1,949 195.286s 0.002s 195.365s 14 2,013 201.614s 0.004s 201.647s 15 2,392 239.701s 0.002s 239.779s 16 6,535 654.478s 0.002s 654.583s 17 2,013 201.7s 0.004s 201.782s 18 1,825 182.783s 0.004s 182.815s 19 2,394 239.765s 0.003s 239.847s 20 2,992 299.552s 0.003s 299.633s 21 1,760 176.346s 0.006s 176.38s 22 2,311 231.413s 0.002s 231.491s 23 2,609 261.358s 0.002s 261.388s Dec 07 00 3,653 365.88s 0.004s 366.083s 01 1,052 105.446s 0.004s 105.477s 02 1,095 109.665s 0.003s 109.695s 03 1,214 121.67s 0.004s 121.75s 04 108,849 1,670.13s 0.004s 1,671.047s 05 1,467 146.918s 0.005s 147.004s 06 2,511 251.485s 0.007s 251.526s 07 1,358 136.102s 0.002s 136.177s 08 1,769 177.177s 0.004s 177.21s 09 1,458 146.103s 0.004s 146.192s 10 3,994 400.007s 0.004s 400.04s 11 2,918 292.224s 0.002s 292.3s 12 1,817 182.174s 0.004s 182.208s 13 1,244 124.671s 0.003s 124.701s 14 1,479 148.215s 0.004s 148.292s 15 1,076 107.933s 0.003s 107.968s 16 2,154 215.718s 0.004s 215.748s 17 3,136 314.136s 0.011s 314.24s 18 1,077 107.934s 0.003s 107.968s 19 37,029 1,675.04s 0.003s 1,675.118s 20 1,347 135.08s 0.003s 135.114s 21 2,362 236.634s 0.006s 236.669s 22 1,342 134.474s 0.003s 134.506s 23 946 94.937s 0.003s 95.019s Day Hour Added Removed Recycled Synced files Longest sync Average sync Dec 01 00 0 0 3 91 0.002s 0.003s 01 0 0 0 47 0.001s 0.002s 02 0 0 0 20 0.001s 0.001s 03 0 0 1 34 0.001s 0.002s 04 0 0 0 35 0.001s 0.002s 05 0 0 0 28 0.001s 0.002s 06 0 0 1 84 0.002s 0.002s 07 0 0 0 130 0.002s 0.002s 08 0 0 1 127 0.001s 0.002s 09 0 0 34 92 0.001s 0.002s 10 0 0 2 53 0.001s 0.002s 11 0 0 1 78 0.001s 0.002s 12 0 0 0 74 0.001s 0.002s 13 0 0 1 30 0.001s 0.002s 14 0 0 0 34 0.001s 0.002s 15 0 0 1 23 0.001s 0.002s 16 0 0 0 25 0.001s 0.002s 17 0 0 0 31 0.001s 0.002s 18 0 0 1 22 0.001s 0.002s 19 0 0 0 28 0.001s 0.002s 20 0 0 35 35 0.002s 0.002s 21 0 0 0 29 0.001s 0.002s 22 0 0 1 51 0.002s 0.002s 23 0 0 1 29 0.001s 0.002s Dec 02 00 0 0 3 72 0.001s 0.002s 01 0 0 0 41 0.001s 0.002s 02 0 29 7 50 0.001s 0.002s 03 0 0 40 61 0.001s 0.002s 04 0 0 0 48 0.001s 0.002s 05 0 0 37 53 0.001s 0.002s 06 0 0 1 85 0.001s 0.002s 07 0 0 4 167 0.001s 0.002s 08 0 0 2 146 0.001s 0.002s 09 0 0 1 94 0.001s 0.002s 10 0 0 1 77 0.001s 0.002s 11 0 0 0 123 0.001s 0.002s 12 0 0 1 135 0.001s 0.002s 13 0 0 1 42 0.001s 0.002s 14 0 0 3 150 0.001s 0.002s 15 0 0 1 160 0.001s 0.002s 16 0 0 0 121 0.001s 0.002s 17 0 0 1 114 0.001s 0.002s 18 0 0 37 58 0.162s 0.012s 19 0 0 0 20 0.001s 0.002s 20 0 0 1 74 0.001s 0.002s 21 0 0 1 36 0.001s 0.002s 22 0 0 39 53 0.001s 0.002s 23 0 0 0 21 0.001s 0.002s Dec 03 00 0 0 3 70 0.011s 0.002s 01 0 0 4 53 0.001s 0.002s 02 0 0 0 38 0.001s 0.002s 03 0 0 1 48 0.001s 0.002s 04 0 0 43 57 0.001s 0.002s 05 0 0 1 28 0.001s 0.002s 06 0 0 0 54 0.001s 0.002s 07 0 0 3 51 0.001s 0.002s 08 0 0 0 34 0.001s 0.002s 09 0 0 21 71 0.001s 0.002s 10 0 0 1 163 0.001s 0.002s 11 0 0 0 76 0.001s 0.002s 12 0 0 1 66 0.001s 0.002s 13 0 0 32 138 0.001s 0.002s 14 0 0 0 49 0.001s 0.002s 15 0 0 1 33 0.001s 0.002s 16 0 0 0 31 0.001s 0.002s 17 0 0 4 36 0.001s 0.002s 18 0 0 1 31 0.003s 0.002s 19 0 0 0 34 0.001s 0.002s 20 0 0 1 31 0.002s 0.002s 21 0 0 35 56 0.001s 0.002s 22 0 0 0 25 0.001s 0.002s 23 0 0 1 34 0.001s 0.002s Dec 04 00 0 0 3 84 0.002s 0.002s 01 0 0 1 39 0.001s 0.002s 02 0 0 0 41 0.001s 0.002s 03 0 0 2 57 0.001s 0.002s 04 0 0 1 46 0.001s 0.002s 05 0 0 1 45 0.001s 0.002s 06 0 0 0 35 0.001s 0.002s 07 0 0 1 38 0.001s 0.002s 08 0 0 0 122 0.001s 0.002s 09 0 0 3 140 0.001s 0.002s 10 0 0 1 134 0.001s 0.002s 11 0 0 41 115 0.001s 0.002s 12 0 0 0 125 0.001s 0.002s 13 0 0 1 200 0.001s 0.002s 14 0 0 1 130 0.001s 0.002s 15 0 0 1 127 0.001s 0.002s 16 0 0 0 22 0.001s 0.002s 17 0 0 1 130 0.001s 0.002s 18 0 0 1 127 0.001s 0.002s 19 0 0 1 20 0.001s 0.002s 20 0 0 1 40 0.002s 0.002s 21 0 0 3 47 0.001s 0.002s 22 0 0 1 25 0.001s 0.002s 23 0 0 1 40 0.001s 0.002s Dec 05 00 0 0 8 90 0.001s 0.002s 01 0 0 2 53 0.001s 0.002s 02 0 0 1 43 0.001s 0.002s 03 0 0 32 49 0.001s 0.002s 04 0 0 0 34 0.001s 0.002s 05 0 0 0 33 0.001s 0.002s 06 0 0 1 45 0.001s 0.002s 07 0 0 0 130 0.001s 0.002s 08 0 0 3 135 0.001s 0.002s 09 0 0 1 115 0.001s 0.002s 10 0 0 1 109 0.001s 0.002s 11 0 0 1 120 0.001s 0.002s 12 0 0 2 123 0.001s 0.002s 13 0 0 0 123 0.001s 0.002s 14 0 0 1 48 0.001s 0.002s 15 0 0 1 79 0.001s 0.002s 16 0 0 0 30 0.001s 0.002s 17 0 0 1 22 0.001s 0.002s 18 0 0 0 28 0.001s 0.002s 19 0 0 1 31 0.001s 0.002s 20 0 0 4 35 0.001s 0.002s 21 0 0 0 43 0.001s 0.002s 22 0 0 2 32 0.001s 0.002s 23 0 0 0 35 0.001s 0.002s Dec 06 00 0 0 4 77 0.001s 0.002s 01 0 0 0 39 0.001s 0.002s 02 0 0 1 36 0.001s 0.002s 03 0 0 5 48 0.001s 0.002s 04 0 0 0 37 0.001s 0.002s 05 0 0 1 33 0.001s 0.002s 06 0 0 1 56 0.001s 0.002s 07 0 0 0 69 0.001s 0.002s 08 0 0 74 158 0.001s 0.002s 09 0 0 4 147 0.001s 0.002s 10 0 0 0 127 0.001s 0.002s 11 0 0 1 28 0.001s 0.002s 12 0 0 0 75 0.002s 0.002s 13 0 0 1 32 0.001s 0.002s 14 0 0 0 124 0.002s 0.002s 15 0 0 1 132 0.001s 0.002s 16 0 0 3 148 0.001s 0.002s 17 0 0 1 79 0.002s 0.002s 18 0 0 0 29 0.001s 0.002s 19 0 0 1 33 0.001s 0.002s 20 0 0 1 42 0.002s 0.002s 21 0 0 0 22 0.004s 0.002s 22 0 0 1 30 0.001s 0.002s 23 0 0 0 26 0.001s 0.002s Dec 07 00 0 0 4 77 0.001s 0.002s 01 0 0 0 48 0.001s 0.002s 02 0 0 0 39 0.001s 0.002s 03 0 0 1 35 0.001s 0.002s 04 0 0 71 51 0.001s 0.002s 05 0 0 1 36 0.001s 0.002s 06 0 0 0 43 0.004s 0.002s 07 0 0 1 28 0.001s 0.002s 08 0 0 0 38 0.001s 0.002s 09 0 0 2 36 0.001s 0.002s 10 0 0 0 44 0.001s 0.002s 11 0 0 1 24 0.001s 0.002s 12 0 0 0 47 0.001s 0.002s 13 0 0 0 21 0.001s 0.002s 14 0 0 1 28 0.001s 0.002s 15 0 0 0 20 0.001s 0.002s 16 0 0 0 37 0.001s 0.002s 17 0 0 2 47 0.003s 0.002s 18 0 0 0 21 0.001s 0.002s 19 0 0 1 28 0.001s 0.002s 20 0 0 0 21 0.001s 0.002s 21 0 0 0 28 0.004s 0.002s 22 0 0 0 19 0.001s 0.002s 23 0 0 1 19 0.001s 0.002s Day Hour Count Avg time (sec) Dec 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 Dec 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 Dec 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 Dec 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 Dec 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 Dec 06 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Dec 07 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Day Hour Mean distance Mean estimate Dec 01 00 15,551.00 kB 51,580.33 kB 01 5,051.50 kB 41,667.50 kB 02 2,571.00 kB 35,876.00 kB 03 2,167.50 kB 30,981.50 kB 04 2,407.50 kB 25,539.50 kB 05 2,531.50 kB 21,167.50 kB 06 4,044.50 kB 17,865.50 kB 07 3,704.00 kB 15,172.50 kB 08 3,578.00 kB 12,970.50 kB 09 283,269.00 kB 535,569.50 kB 10 18,072.50 kB 435,911.00 kB 11 4,142.50 kB 355,174.00 kB 12 2,892.00 kB 288,291.50 kB 13 3,467.50 kB 234,114.00 kB 14 3,891.00 kB 190,367.00 kB 15 3,196.50 kB 154,851.50 kB 16 2,633.50 kB 125,931.00 kB 17 2,863.50 kB 102,547.00 kB 18 3,850.50 kB 83,762.00 kB 19 4,043.50 kB 68,586.00 kB 20 282,712.00 kB 309,956.00 kB 21 4,417.00 kB 480,111.50 kB 22 9,094.50 kB 390,613.00 kB 23 5,102.50 kB 317,335.00 kB Dec 02 00 22,631.00 kB 259,708.00 kB 01 1,985.00 kB 212,510.00 kB 02 31,432.50 kB 175,436.50 kB 03 578,457.00 kB 578,457.00 kB 04 11,289.00 kB 520,831.00 kB 05 305,866.00 kB 578,782.00 kB 06 3,987.50 kB 469,515.50 kB 07 35,023.00 kB 386,722.50 kB 08 18,597.50 kB 317,000.00 kB 09 10,282.50 kB 258,682.50 kB 10 3,335.50 kB 210,252.00 kB 11 4,051.50 kB 171,031.50 kB 12 4,668.50 kB 139,367.50 kB 13 5,770.50 kB 113,881.00 kB 14 26,869.00 kB 97,475.50 kB 15 7,927.00 kB 80,384.50 kB 16 4,959.50 kB 66,148.50 kB 17 3,191.00 kB 54,194.00 kB 18 302,275.50 kB 323,237.00 kB 19 4,391.50 kB 513,257.50 kB 20 4,948.50 kB 416,693.00 kB 21 9,328.50 kB 338,806.00 kB 22 317,727.00 kB 460,059.50 kB 23 4,181.50 kB 539,247.00 kB Dec 03 00 25,048.00 kB 439,689.00 kB 01 28,965.00 kB 361,176.00 kB 02 2,239.00 kB 295,391.50 kB 03 7,137.00 kB 240,620.00 kB 04 354,634.50 kB 387,630.50 kB 05 2,165.50 kB 474,448.00 kB 06 5,313.00 kB 385,296.00 kB 07 22,052.00 kB 314,512.00 kB 08 2,475.50 kB 256,958.50 kB 09 146,711.00 kB 255,027.00 kB 10 29,663.50 kB 253,904.00 kB 11 3,342.50 kB 206,280.50 kB 12 3,217.50 kB 167,716.00 kB 13 262,017.50 kB 325,819.00 kB 14 5,564.00 kB 434,159.50 kB 15 4,337.00 kB 352,465.50 kB 16 4,400.50 kB 286,316.00 kB 17 32,681.00 kB 235,592.50 kB 18 3,931.00 kB 194,148.00 kB 19 4,506.50 kB 158,068.00 kB 20 5,059.00 kB 129,001.50 kB 21 283,623.50 kB 335,741.00 kB 22 5,233.00 kB 480,070.00 kB 23 5,620.00 kB 389,900.00 kB Dec 04 00 27,784.00 kB 319,101.00 kB 01 2,409.00 kB 261,077.50 kB 02 2,976.50 kB 212,023.50 kB 03 13,240.00 kB 173,724.50 kB 04 9,355.50 kB 143,010.00 kB 05 8,418.50 kB 117,436.50 kB 06 3,632.00 kB 95,819.00 kB 07 3,568.50 kB 78,262.00 kB 08 4,204.50 kB 64,144.00 kB 09 22,903.00 kB 56,303.00 kB 10 5,487.00 kB 46,626.00 kB 11 310,826.00 kB 329,060.00 kB 12 27,676.00 kB 533,169.00 kB 13 10,941.50 kB 433,611.50 kB 14 5,909.00 kB 352,651.00 kB 15 5,976.50 kB 286,786.00 kB 16 5,262.00 kB 233,324.50 kB 17 6,757.50 kB 190,216.50 kB 18 6,534.00 kB 155,323.00 kB 19 5,715.50 kB 126,936.50 kB 20 8,238.00 kB 104,163.00 kB 21 28,459.00 kB 89,989.00 kB 22 6,139.50 kB 74,048.50 kB 23 7,674.00 kB 61,433.00 kB Dec 05 00 68,171.00 kB 91,690.50 kB 01 11,170.50 kB 113,229.50 kB 02 3,104.00 kB 92,292.50 kB 03 267,720.50 kB 506,141.00 kB 04 3,312.00 kB 410,581.50 kB 05 3,459.50 kB 333,214.50 kB 06 4,197.00 kB 270,701.00 kB 07 4,462.00 kB 220,051.00 kB 08 16,859.00 kB 180,643.50 kB 09 11,663.50 kB 149,345.00 kB 10 11,308.50 kB 122,531.00 kB 11 4,789.50 kB 100,740.00 kB 12 13,905.00 kB 84,277.50 kB 13 5,076.00 kB 69,207.00 kB 14 8,765.00 kB 57,330.50 kB 15 3,906.00 kB 47,648.00 kB 16 4,098.00 kB 39,361.50 kB 17 3,708.00 kB 32,594.50 kB 18 4,122.50 kB 27,158.00 kB 19 4,746.50 kB 22,882.00 kB 20 33,132.00 kB 40,844.50 kB 21 5,284.50 kB 53,325.50 kB 22 9,740.00 kB 44,667.00 kB 23 4,498.00 kB 37,515.50 kB Dec 06 00 31,765.00 kB 45,444.00 kB 01 2,066.00 kB 50,077.50 kB 02 2,006.00 kB 40,929.50 kB 03 45,296.50 kB 61,763.00 kB 04 2,232.50 kB 75,840.00 kB 05 2,217.50 kB 61,850.50 kB 06 8,713.00 kB 51,734.00 kB 07 2,803.50 kB 42,416.00 kB 08 604,362.00 kB 607,128.50 kB 09 33,549.00 kB 522,522.50 kB 10 3,703.50 kB 426,505.50 kB 11 2,920.00 kB 346,039.00 kB 12 3,223.50 kB 280,838.50 kB 13 3,860.00 kB 228,204.00 kB 14 3,890.00 kB 185,567.00 kB 15 4,790.50 kB 151,165.50 kB 16 27,574.00 kB 125,711.00 kB 17 4,598.00 kB 104,733.50 kB 18 4,311.50 kB 85,642.50 kB 19 4,759.50 kB 70,265.50 kB 20 7,714.00 kB 58,099.50 kB 21 4,229.00 kB 48,179.00 kB 22 5,028.50 kB 39,916.00 kB 23 5,301.50 kB 33,316.50 kB Dec 07 00 26,696.50 kB 38,884.00 kB 01 2,131.50 kB 41,860.00 kB 02 2,366.00 kB 34,339.50 kB 03 2,325.00 kB 28,258.50 kB 04 586,691.00 kB 1,112,208.50 kB 05 3,221.50 kB 901,481.00 kB 06 6,355.00 kB 731,383.50 kB 07 3,079.50 kB 593,035.50 kB 08 3,579.00 kB 481,011.50 kB 09 3,359.50 kB 390,257.00 kB 10 12,574.50 kB 318,465.50 kB 11 3,683.00 kB 258,697.50 kB 12 3,388.50 kB 210,210.50 kB 13 2,452.50 kB 170,769.50 kB 14 2,921.50 kB 138,832.00 kB 15 2,486.50 kB 112,963.00 kB 16 4,763.00 kB 92,374.50 kB 17 9,520.00 kB 76,063.50 kB 18 2,946.00 kB 62,741.00 kB 19 3,213.00 kB 51,417.00 kB 20 2,650.00 kB 42,195.50 kB 21 3,295.50 kB 34,772.00 kB 22 3,230.00 kB 28,782.00 kB 23 2,888.00 kB 23,878.50 kB -
Temporary Files
Size of temporary files
Key values
- 0 Temp Files size Peak
- Date
Size of temporary files (5 minutes period)
NO DATASET
Number of temporary files
Key values
- 0 per second Temp Files Peak
- Date
Number of temporary files (5 minutes period)
NO DATASET
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Dec 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 Dec 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 Dec 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 Dec 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 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Dec 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 Dec 06 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Dec 07 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 -
Vacuums
Vacuums / Analyzes Distribution
Key values
- 23.55 sec Highest CPU-cost vacuum
Table pub1.term_set_enrichment_agent
Database ctdprd51 - 2024-12-06 08:26:13 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 23.55 sec Highest CPU-cost vacuum
Table pub1.term_set_enrichment_agent
Database ctdprd51 - 2024-12-06 08:26:13 Date
Analyzes per table
Key values
- pubc.log_query (198) Main table analyzed (database ctdprd51)
- 221 analyzes Total
Table Number of analyzes ctdprd51.pubc.log_query 198 ctdprd51.pub1.term_set_enrichment 8 ctdprd51.pub1.term_set_enrichment_agent 7 ctdprd51.pub1.term_comp 3 ctdprd51.edit.exp_outcome 1 ctdprd51.pg_catalog.pg_class 1 ctdprd51.pg_catalog.pg_attribute 1 ctdprd51.pubc.log_query_bots 1 ctdprd51.load.ixn_prose 1 Total 221 Vacuums per table
Key values
- pubc.log_query (73) Main table vacuumed on database ctdprd51
- 89 vacuums Total
Index Buffer usage Skipped WAL usage Table Vacuums scans hits misses dirtied pins frozen records full page bytes ctdprd51.pubc.log_query 73 35 100,992 0 17,790 0 6,711 23,058 1,462 12,097,322 ctdprd51.pub1.term_set_enrichment_agent 4 0 709,273 0 279,426 0 0 354,233 19 21,040,646 ctdprd51.pub1.term_set_enrichment 4 0 13,599 0 5,453 0 0 6,626 5 428,874 ctdprd51.pg_toast.pg_toast_2619 3 3 11,773 0 3,139 0 30,095 9,129 2,917 1,501,191 ctdprd51.pg_toast.pg_toast_486223 2 0 56 0 4 0 0 3 1 8,632 ctdprd51.pg_catalog.pg_statistic 2 2 1,300 0 254 0 35 753 237 1,070,132 ctdprd51.load.ixn_prose 1 0 55,188 0 51,081 0 0 53,112 2 3,150,131 Total 89 40 892,181 52,053 357,147 0 36,841 446,914 4,643 39,296,928 Tuples removed per table
Key values
- pg_toast.pg_toast_2619 (11285) Main table with removed tuples on database ctdprd51
- 12391 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain ctdprd51.pg_toast.pg_toast_2619 3 3 11,285 54,862 0 0 37,776 ctdprd51.pg_catalog.pg_statistic 2 2 806 4,831 0 0 580 ctdprd51.pubc.log_query 73 35 300 1,819,610 0 0 74,656 ctdprd51.pub1.term_set_enrichment_agent 4 0 0 155,607,618 0 0 1,768,272 ctdprd51.pg_toast.pg_toast_486223 2 0 0 3 0 0 1 ctdprd51.load.ixn_prose 1 0 0 2,929,453 0 0 53,111 ctdprd51.pub1.term_set_enrichment 4 0 0 2,003,144 0 0 33,130 Total 89 40 12,391 162,419,521 0 0 1,967,526 Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Pages removed per tables
NO DATASET
Table Number of vacuums Index scans Tuples removed Pages removed ctdprd51.pub1.term_set_enrichment_agent 4 0 0 0 ctdprd51.pg_toast.pg_toast_486223 2 0 0 0 ctdprd51.pg_toast.pg_toast_2619 3 3 11285 0 ctdprd51.pg_catalog.pg_statistic 2 2 806 0 ctdprd51.pubc.log_query 73 35 300 0 ctdprd51.load.ixn_prose 1 0 0 0 ctdprd51.pub1.term_set_enrichment 4 0 0 0 Total 89 40 12,391 0 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Dec 01 00 0 5 01 0 3 02 0 3 03 0 2 04 0 2 05 0 1 06 0 2 07 0 1 08 0 3 09 0 1 10 0 0 11 0 1 12 0 0 13 0 1 14 0 1 15 0 0 16 0 1 17 0 0 18 0 0 19 0 1 20 0 1 21 0 0 22 0 1 23 0 1 Dec 02 00 0 4 01 0 4 02 0 5 03 0 2 04 0 4 05 0 2 06 0 2 07 0 1 08 0 1 09 0 2 10 0 0 11 0 1 12 0 1 13 0 1 14 0 2 15 0 2 16 0 0 17 0 1 18 0 0 19 0 1 20 0 0 21 0 1 22 0 2 23 0 0 Dec 03 00 0 4 01 0 4 02 0 3 03 0 2 04 0 2 05 0 1 06 0 1 07 0 1 08 0 1 09 0 2 10 0 1 11 0 1 12 0 1 13 0 2 14 0 1 15 0 0 16 0 1 17 0 1 18 0 0 19 0 1 20 0 0 21 0 2 22 0 0 23 0 1 Dec 04 00 0 3 01 0 4 02 0 3 03 0 3 04 0 1 05 0 2 06 0 1 07 0 1 08 0 1 09 0 1 10 0 1 11 0 2 12 0 1 13 0 1 14 0 0 15 0 1 16 0 1 17 0 0 18 0 1 19 0 0 20 0 1 21 0 0 22 0 1 23 0 0 Dec 05 00 0 3 01 0 4 02 0 3 03 0 2 04 0 2 05 0 2 06 0 1 07 0 1 08 0 1 09 0 1 10 0 1 11 0 1 12 0 0 13 0 1 14 0 0 15 0 1 16 0 0 17 0 0 18 0 1 19 0 0 20 0 0 21 0 1 22 0 1 23 0 0 Dec 06 00 0 5 01 0 4 02 0 3 03 0 2 04 0 2 05 0 1 06 0 2 07 0 2 08 0 1 09 0 1 10 0 1 11 0 0 12 0 1 13 0 1 14 0 1 15 0 1 16 0 0 17 0 1 18 0 1 19 0 0 20 0 1 21 0 0 22 0 1 23 0 0 Dec 07 00 0 4 01 0 4 02 0 2 03 0 5 04 0 2 05 0 1 06 0 2 07 0 1 08 0 1 09 0 1 10 0 1 11 0 1 12 0 1 13 0 0 14 0 1 15 0 0 16 0 0 17 0 1 18 0 0 19 0 0 20 0 1 21 0 0 22 0 0 23 0 0 - 23.55 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- unknown Main Lock Type
- 0 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query NO DATASET
Queries that waited the most
Rank Wait time Query NO DATASET
-
Queries
Queries by type
Key values
- 6,841 Total read queries
- 358 Total write queries
Queries by database
Key values
- unknown Main database
- 4,820 Requests
- 7h40m6s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 10,631 Requests
User Request type Count Duration edit Total 2 4s564ms select 2 4s564ms editeu Total 4 9s156ms select 4 9s156ms load Total 8 21m39s ddl 2 16m18s select 6 5m20s postgres Total 108 48m39s copy to 108 48m39s pubc Total 4 5s573ms others 2 2s227ms select 2 3s346ms pubeu Total 5,073 5h40m38s cte 24 1m19s select 5,049 5h39m18s qaeu Total 83 3m25s cte 17 57s93ms select 66 2m28s unknown Total 10,631 17h11m4s copy to 699 6h36m45s cte 59 1m39s insert 2 4s544ms others 9 50s988ms select 9,862 10h31m44s Duration by user
Key values
- 17h11m4s (unknown) Main time consuming user
User Request type Count Duration edit Total 2 4s564ms select 2 4s564ms editeu Total 4 9s156ms select 4 9s156ms load Total 8 21m39s ddl 2 16m18s select 6 5m20s postgres Total 108 48m39s copy to 108 48m39s pubc Total 4 5s573ms others 2 2s227ms select 2 3s346ms pubeu Total 5,073 5h40m38s cte 24 1m19s select 5,049 5h39m18s qaeu Total 83 3m25s cte 17 57s93ms select 66 2m28s unknown Total 10,631 17h11m4s copy to 699 6h36m45s cte 59 1m39s insert 2 4s544ms others 9 50s988ms select 9,862 10h31m44s Queries by host
Key values
- unknown Main host
- 15,913 Requests
- 1d5m47s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 7,154 Requests
- 10h25m43s (unknown)
- Main time consuming application
Application Request type Count Duration pgAdmin 4 - CONN:5771213 Total 1 8m9s ddl 1 8m9s pgAdmin 4 - CONN:8515588 Total 1 2s282ms select 1 2s282ms pg_dump Total 49 22m13s copy to 49 22m13s psql Total 2 2s786ms others 1 1s113ms select 1 1s673ms unknown Total 7,154 10h25m43s copy to 262 1h49m48s cte 45 1m47s insert 1 2s272ms others 7 39s453ms select 6,839 8h33m25s Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2024-12-03 13:37:12 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 7,008 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 23m58s COPY pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;[ Date: 2024-12-07 19:00:59 ]
2 23m51s COPY pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;[ Date: 2024-12-07 19:43:00 ]
3 20m43s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-12-07 00:20:45 ]
4 20m38s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-12-06 00:20:39 ]
5 20m35s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-12-05 00:20:37 ]
6 20m9s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-12-04 00:20:10 ]
7 19m58s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-12-03 00:19:59 ]
8 19m50s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-12-02 00:19:52 ]
9 19m45s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-12-01 00:19:46 ]
10 14m10s SELECT /* AdvancedGeneQueryDAO.getData */ ;[ Date: 2024-12-03 19:13:29 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
11 14m10s SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'COL4A4') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL FAILURE, PROGRESSIVE, WITH HYPERTENSION' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05211' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE '2'',3''-DIDEOXY-2''-FLUOROADENOSINE TRIPHOSPHATE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7))) ORDER BY g.nm_sort, g.id LIMIT 50;[ Date: 2024-12-03 19:13:29 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
12 13m42s SELECT /* CIQH.getIxnCacheQuery */ gcr.ixn_id, gcr.chem_id, gcr.gene_id, gcr.taxon_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'COL4A4') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL FAILURE, PROGRESSIVE, WITH HYPERTENSION' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05211' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE '2'',3''-DIDEOXY-2''-FLUOROADENOSINE TRIPHOSPHATE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7));[ Date: 2024-12-03 19:02:46 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
13 13m32s SELECT /* CIQH.getIxnCacheQuery */ gcr.ixn_id, gcr.chem_id, gcr.gene_id, gcr.taxon_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'COL4A4') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL FAILURE, PROGRESSIVE, WITH HYPERTENSION' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05211' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE '2'',3''-DIDEOXY-2''-FLUOROADENOSINE TRIPHOSPHATE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7));[ Date: 2024-12-03 19:02:34 - Bind query: yes ]
14 13m27s SELECT /* CIQH.getIxnCacheQuery */ gcr.ixn_id, gcr.chem_id, gcr.gene_id, gcr.taxon_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'COL4A4') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL FAILURE, PROGRESSIVE, WITH HYPERTENSION' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05211' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE '2'',3''-DIDEOXY-2''-FLUOROADENOSINE TRIPHOSPHATE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7));[ Date: 2024-12-03 19:02:26 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
15 13m8s SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'COL4A4') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL FAILURE, PROGRESSIVE, WITH HYPERTENSION' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05211' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE '2'',3''-DIDEOXY-2''-FLUOROADENOSINE TRIPHOSPHATE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7))) ORDER BY g.nm_sort, g.id LIMIT 50;[ Date: 2024-12-03 19:12:27 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
16 12m57s SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'COL4A4') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL FAILURE, PROGRESSIVE, WITH HYPERTENSION' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05211' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE '2'',3''-DIDEOXY-2''-FLUOROADENOSINE TRIPHOSPHATE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7))) ORDER BY g.nm_sort, g.id LIMIT 50;[ Date: 2024-12-03 19:04:45 - Bind query: yes ]
17 10m57s SELECT /* CIQH.getIxnCacheQuery */ gcr.ixn_id, gcr.chem_id, gcr.gene_id, gcr.taxon_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'COL4A4') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL FAILURE, PROGRESSIVE, WITH HYPERTENSION' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05211' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE '2'',3''-DIDEOXY-2''-FLUOROADENOSINE TRIPHOSPHATE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7));[ Date: 2024-12-03 18:52:23 - Bind query: yes ]
18 8m9s 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-12-03 13:25:03 - Database: ctdprd51 - User: load - Application: pgAdmin 4 - CONN:5771213 ]
19 6m58s COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;[ Date: 2024-12-07 19:54:58 ]
20 6m56s COPY pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;[ Date: 2024-12-07 19:12:56 ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 2h21m41s 7 19m45s 20m43s 20m14s select maint_query_logs_archive ();Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Dec 01 00 1 19m45s 19m45s Dec 02 00 1 19m50s 19m50s Dec 03 00 1 19m58s 19m58s Dec 04 00 1 20m9s 20m9s Dec 05 00 1 20m35s 20m35s Dec 06 00 1 20m38s 20m38s Dec 07 00 1 20m43s 20m43s -
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-12-07 00:20:45 Duration: 20m43s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-12-06 00:20:39 Duration: 20m38s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-12-05 00:20:37 Duration: 20m35s
2 1h18m10s 3,186 1s434ms 1s664ms 1s472ms 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 Dec 01 01 16 23s593ms 1s474ms 02 32 47s137ms 1s473ms 03 27 39s863ms 1s476ms 04 27 39s814ms 1s474ms 05 29 42s783ms 1s475ms 06 20 29s398ms 1s469ms 07 21 30s911ms 1s471ms 08 15 22s85ms 1s472ms 09 26 38s453ms 1s478ms 10 28 41s321ms 1s475ms 11 20 29s505ms 1s475ms 12 26 38s397ms 1s476ms 13 28 41s150ms 1s469ms 14 27 39s896ms 1s477ms 15 27 39s828ms 1s475ms 16 27 39s797ms 1s473ms 17 27 39s891ms 1s477ms 18 28 41s297ms 1s474ms 19 27 39s658ms 1s468ms 20 28 41s433ms 1s479ms 21 27 39s686ms 1s469ms 22 26 38s190ms 1s468ms 23 28 41s244ms 1s473ms Dec 02 00 25 36s805ms 1s472ms 01 26 38s193ms 1s468ms 02 28 41s445ms 1s480ms 03 27 39s895ms 1s477ms 04 27 39s713ms 1s470ms 05 29 42s668ms 1s471ms 06 19 27s905ms 1s468ms 07 9 13s269ms 1s474ms 08 25 36s687ms 1s467ms 09 25 36s824ms 1s472ms 10 22 32s325ms 1s469ms 11 25 36s705ms 1s468ms 12 25 36s687ms 1s467ms 13 23 33s969ms 1s476ms 14 22 32s312ms 1s468ms 15 21 30s956ms 1s474ms 16 16 23s590ms 1s474ms 17 28 41s208ms 1s471ms 18 27 39s867ms 1s476ms 19 24 35s443ms 1s476ms 20 28 41s276ms 1s474ms 21 27 39s779ms 1s473ms 22 27 39s717ms 1s471ms 23 27 39s633ms 1s467ms Dec 03 00 27 39s742ms 1s471ms 01 28 41s130ms 1s468ms 02 27 39s866ms 1s476ms 03 18 26s483ms 1s471ms 04 18 26s553ms 1s475ms 05 21 30s916ms 1s472ms 06 18 26s504ms 1s472ms 07 17 25s139ms 1s478ms 08 18 26s689ms 1s482ms 09 14 20s572ms 1s469ms 10 17 25s49ms 1s473ms 11 18 26s530ms 1s473ms 12 13 19s154ms 1s473ms 13 18 26s603ms 1s477ms 14 18 26s548ms 1s474ms 15 17 25s155ms 1s479ms 16 18 26s607ms 1s478ms 17 18 26s635ms 1s479ms 18 17 24s948ms 1s467ms 19 18 26s406ms 1s467ms 20 17 24s967ms 1s468ms 21 18 26s535ms 1s474ms 22 18 26s485ms 1s471ms 23 17 25s244ms 1s484ms Dec 04 00 16 23s622ms 1s476ms 01 18 26s481ms 1s471ms 02 18 26s488ms 1s471ms 03 18 26s587ms 1s477ms 04 16 23s469ms 1s466ms 05 13 19s134ms 1s471ms 06 17 25s97ms 1s476ms 07 17 24s984ms 1s469ms 08 10 14s681ms 1s468ms 09 9 13s256ms 1s472ms 10 16 23s499ms 1s468ms 11 15 22s117ms 1s474ms 12 12 17s687ms 1s473ms 13 15 22s106ms 1s473ms 14 8 11s789ms 1s473ms 15 18 26s478ms 1s471ms 16 16 23s659ms 1s478ms 17 16 23s589ms 1s474ms 18 16 23s588ms 1s474ms 19 18 26s476ms 1s470ms 20 18 26s534ms 1s474ms 21 17 25s10ms 1s471ms 22 18 26s594ms 1s477ms 23 17 25s95ms 1s476ms Dec 05 00 15 22s66ms 1s471ms 01 18 26s541ms 1s474ms 02 17 25s30ms 1s472ms 03 18 26s475ms 1s470ms 04 17 24s972ms 1s468ms 05 16 23s688ms 1s480ms 06 10 14s683ms 1s468ms 07 10 14s720ms 1s472ms 08 9 13s273ms 1s474ms 09 13 19s142ms 1s472ms 10 14 20s601ms 1s471ms 11 11 16s228ms 1s475ms 12 6 8s805ms 1s467ms 13 14 20s440ms 1s460ms 14 10 14s722ms 1s472ms 15 12 17s713ms 1s476ms 16 14 20s599ms 1s471ms 17 14 20s610ms 1s472ms 18 14 20s573ms 1s469ms 19 14 20s564ms 1s468ms 20 13 19s77ms 1s467ms 21 14 20s559ms 1s468ms 22 14 20s528ms 1s466ms 23 14 20s641ms 1s474ms Dec 06 00 13 19s169ms 1s474ms 01 13 19s85ms 1s468ms 02 14 20s534ms 1s466ms 03 14 20s639ms 1s474ms 04 14 20s561ms 1s468ms 05 16 23s690ms 1s480ms 06 14 20s527ms 1s466ms 07 10 14s727ms 1s472ms 08 9 13s222ms 1s469ms 09 13 19s269ms 1s482ms 10 15 22s145ms 1s476ms 11 14 20s652ms 1s475ms 12 15 22s133ms 1s475ms 13 14 20s535ms 1s466ms 14 13 19s90ms 1s468ms 15 5 7s352ms 1s470ms 16 8 11s748ms 1s468ms 17 14 20s653ms 1s475ms 18 14 20s551ms 1s467ms 19 14 20s674ms 1s476ms 20 12 17s536ms 1s461ms Dec 07 01 9 13s183ms 1s464ms 02 28 41s243ms 1s472ms 03 26 38s233ms 1s470ms 04 27 39s633ms 1s467ms 05 30 44s240ms 1s474ms 06 27 39s627ms 1s467ms 07 27 39s566ms 1s465ms 08 27 39s912ms 1s478ms 09 27 39s697ms 1s470ms 10 27 39s600ms 1s466ms 11 28 41s5ms 1s464ms 12 27 39s670ms 1s469ms 13 27 39s526ms 1s463ms 14 26 38s28ms 1s462ms 15 28 40s883ms 1s460ms 16 27 39s656ms 1s468ms 17 27 39s560ms 1s465ms 18 27 39s715ms 1s470ms 19 27 39s837ms 1s475ms 20 27 39s813ms 1s474ms 21 28 41s104ms 1s468ms 22 28 41s303ms 1s475ms 23 26 38s131ms 1s466ms [ User: pubeu - Total duration: 29m41s - Times executed: 1210 ]
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2024-12-02 13:04:20 Duration: 1s664ms Bind query: yes
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2024-12-06 09:17:37 Duration: 1s642ms Bind query: yes
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2024-12-07 02:03:32 Duration: 1s640ms Bind query: yes
3 51m40s 4 10m57s 13m42s 12m55s select gcr.ixn_id, gcr.chem_id, gcr.gene_id, gcr.taxon_id from gene_chem_reference gcr where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select gd.gene_id from term t inner join dag_path dp on t.id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(t.nm) like ? and t.object_type_id = ? and gd.curated_reference_qty > ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?));Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Dec 03 18 1 10m57s 10m57s 19 3 40m43s 13m34s [ User: pubeu - Total duration: 27m10s - Times executed: 2 ]
-
SELECT /* CIQH.getIxnCacheQuery */ gcr.ixn_id, gcr.chem_id, gcr.gene_id, gcr.taxon_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'COL4A4') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL FAILURE, PROGRESSIVE, WITH HYPERTENSION' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05211' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE '2'',3''-DIDEOXY-2''-FLUOROADENOSINE TRIPHOSPHATE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7));
Date: 2024-12-03 19:02:46 Duration: 13m42s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* CIQH.getIxnCacheQuery */ gcr.ixn_id, gcr.chem_id, gcr.gene_id, gcr.taxon_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'COL4A4') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL FAILURE, PROGRESSIVE, WITH HYPERTENSION' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05211' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE '2'',3''-DIDEOXY-2''-FLUOROADENOSINE TRIPHOSPHATE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7));
Date: 2024-12-03 19:02:34 Duration: 13m32s Bind query: yes
-
SELECT /* CIQH.getIxnCacheQuery */ gcr.ixn_id, gcr.chem_id, gcr.gene_id, gcr.taxon_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'COL4A4') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL FAILURE, PROGRESSIVE, WITH HYPERTENSION' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05211' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE '2'',3''-DIDEOXY-2''-FLUOROADENOSINE TRIPHOSPHATE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7));
Date: 2024-12-03 19:02:26 Duration: 13m27s Database: ctdprd51 User: pubeu Bind query: yes
4 43m58s 229 11s2ms 14s8ms 11s523ms select distinct phenotypeterm.nm as gonm, phenotypeterm.nm_html as gonmhtml, phenotypeterm.acc_txt as goacc, diseaseterm.nm as diseasenm, diseaseterm.nm_html as diseasenmhtml, diseaseterm.acc_txt as diseaseacc, diseaseterm.acc_db_cd as diseaseaccdbcd, chemterm.nm as chemnm, chemterm.nm_html as chemnmhtml, chemterm.acc_txt as chemacc, geneterm.nm as genesymbol, geneterm.nm_html as genesymbolhtml, geneterm.acc_txt as geneacc, count(*) over () fullrowcount from phenotype_term_reference viachemptr, phenotype_term_reference viageneptr, term phenotypeterm, term diseaseterm, term geneterm, term chemterm where viachemptr.via_term_id in ( select baseterm.id from term baseterm where baseterm.object_type_id = ? and baseterm.id in ( select term_id from term_label tl where upper(tl.nm) = ? and tl.object_type_id = ?)) and viachemptr.phenotype_id = phenotypeterm.id and viachemptr.term_object_type_id = ? and viachemptr.term_id = diseaseterm.id and viachemptr.via_term_object_type_id = ? and viachemptr.via_term_id = chemterm.id and viachemptr.term_id = viageneptr.term_id and viachemptr.phenotype_id = viageneptr.phenotype_id and viageneptr.via_term_object_type_id = ? and viageneptr.via_term_id = geneterm.id and exists ( select ? from gene_chem_reference where gene_id = geneterm.id and chem_id = chemterm.id) group by phenotypeterm.nm, phenotypeterm.nm_html, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.nm_html, diseaseterm.acc_txt, diseaseterm.acc_db_cd, chemterm.nm, chemterm.nm_html, chemterm.acc_txt, geneterm.nm, geneterm.nm_html, geneterm.acc_txt order by chemterm.nm;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Dec 02 15 11 2m3s 11s233ms 18 5 57s413ms 11s482ms 19 10 1m56s 11s633ms 20 21 4m1s 11s498ms 21 29 5m38s 11s674ms 22 7 1m19s 11s362ms Dec 03 17 1 11s290ms 11s290ms 22 12 2m17s 11s481ms 23 1 11s228ms 11s228ms Dec 04 09 10 1m55s 11s563ms 11 1 11s118ms 11s118ms Dec 05 21 9 1m41s 11s230ms 22 21 3m56s 11s253ms Dec 06 06 31 6m 11s615ms 07 23 4m25s 11s524ms 09 8 1m29s 11s207ms 10 29 5m42s 11s821ms [ User: pubeu - Total duration: 17m49s - Times executed: 93 ]
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'ETHANOL' AND tl.object_type_id = 2)) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm;
Date: 2024-12-02 21:51:18 Duration: 14s8ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'ETHANOL' AND tl.object_type_id = 2)) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm;
Date: 2024-12-04 09:38:20 Duration: 13s225ms Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'ETHANOL' AND tl.object_type_id = 2)) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm;
Date: 2024-12-06 10:13:09 Duration: 13s216ms Database: ctdprd51 User: pubeu Bind query: yes
5 40m16s 3 12m57s 14m10s 13m25s select g.id geneid, g.acc_txt acc, g.nm nm, g.nm nmhtml, g.secondary_nm secondarynm, g.has_chems haschems, g.has_diseases hasdiseases, g.has_exposures hasexposures, g.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term g where g.id in ( select gcr.gene_id from gene_chem_reference gcr where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select gd.gene_id from term t inner join dag_path dp on t.id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(t.nm) like ? and t.object_type_id = ? and gd.curated_reference_qty > ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?))) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Dec 03 19 3 40m16s 13m25s [ User: pubeu - Total duration: 27m19s - Times executed: 2 ]
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'COL4A4') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL FAILURE, PROGRESSIVE, WITH HYPERTENSION' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05211' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE '2'',3''-DIDEOXY-2''-FLUOROADENOSINE TRIPHOSPHATE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-12-03 19:13:29 Duration: 14m10s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'COL4A4') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL FAILURE, PROGRESSIVE, WITH HYPERTENSION' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05211' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE '2'',3''-DIDEOXY-2''-FLUOROADENOSINE TRIPHOSPHATE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-12-03 19:12:27 Duration: 13m8s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'COL4A4') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL FAILURE, PROGRESSIVE, WITH HYPERTENSION' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05211' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE '2'',3''-DIDEOXY-2''-FLUOROADENOSINE TRIPHOSPHATE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-12-03 19:04:45 Duration: 12m57s Bind query: yes
6 23m58s 1 23m58s 23m58s 23m58s copy pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Dec 07 19 1 23m58s 23m58s -
COPY pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2024-12-07 19:00:59 Duration: 23m58s
7 23m51s 1 23m51s 23m51s 23m51s copy pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Dec 07 19 1 23m51s 23m51s -
COPY pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2024-12-07 19:43:00 Duration: 23m51s
8 22m9s 338 3s655ms 5s754ms 3s933ms select coalesce(st.alt_nm, t.nm) slimtermnm, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.curated_reference_qty > ?) curatedcount, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.indirect_gene_qty > ?) inferredcount from slim_term st inner join term t on st.slim_term_id = t.id where st.slim_id = ? order by ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Dec 01 01 1 3s722ms 3s722ms 02 1 3s830ms 3s830ms 03 3 11s278ms 3s759ms 04 6 23s69ms 3s844ms 05 1 3s746ms 3s746ms 06 1 3s802ms 3s802ms 11 1 3s752ms 3s752ms 12 1 3s715ms 3s715ms 15 2 7s441ms 3s720ms 17 4 19s231ms 4s807ms 19 3 11s164ms 3s721ms 20 21 1m19s 3s798ms 21 20 1m16s 3s807ms 22 10 39s848ms 3s984ms Dec 02 00 1 3s757ms 3s757ms 01 1 4s34ms 4s34ms 02 1 3s868ms 3s868ms 03 1 3s791ms 3s791ms 04 2 7s898ms 3s949ms 05 4 15s698ms 3s924ms 06 2 8s173ms 4s86ms 07 3 11s470ms 3s823ms 08 3 11s801ms 3s933ms 09 1 5s229ms 5s229ms 10 3 11s609ms 3s869ms 11 3 11s480ms 3s826ms 12 2 7s701ms 3s850ms 13 4 15s825ms 3s956ms 15 1 3s680ms 3s680ms 16 1 3s726ms 3s726ms 20 6 23s115ms 3s852ms 21 7 27s392ms 3s913ms 23 1 4s44ms 4s44ms Dec 03 01 3 11s972ms 3s990ms 02 5 20s138ms 4s27ms 03 2 7s868ms 3s934ms 04 2 9s723ms 4s861ms 05 2 7s818ms 3s909ms 07 6 25s770ms 4s295ms 08 1 3s672ms 3s672ms 10 1 4s166ms 4s166ms 11 1 3s688ms 3s688ms 12 1 4s137ms 4s137ms 15 2 9s321ms 4s660ms 16 2 7s695ms 3s847ms 17 1 3s991ms 3s991ms 18 2 7s486ms 3s743ms 20 3 12s189ms 4s63ms 21 4 15s472ms 3s868ms 22 1 4s20ms 4s20ms 23 1 3s808ms 3s808ms Dec 04 00 1 3s678ms 3s678ms 01 4 16s74ms 4s18ms 02 3 11s963ms 3s987ms 03 2 8s1ms 4s 04 1 4s87ms 4s87ms 05 1 3s768ms 3s768ms 06 3 11s736ms 3s912ms 07 1 4s15ms 4s15ms 09 1 3s733ms 3s733ms 10 5 19s592ms 3s918ms 11 4 16s57ms 4s14ms 12 1 4s255ms 4s255ms 13 4 15s506ms 3s876ms 14 1 3s981ms 3s981ms 15 4 15s692ms 3s923ms 16 2 7s742ms 3s871ms 17 3 11s460ms 3s820ms 19 1 4s9ms 4s9ms 20 15 58s870ms 3s924ms 21 15 58s156ms 3s877ms 22 9 34s661ms 3s851ms 23 1 3s918ms 3s918ms Dec 05 00 1 3s803ms 3s803ms 01 1 3s950ms 3s950ms 02 2 8s379ms 4s189ms 03 3 11s634ms 3s878ms 04 3 11s856ms 3s952ms 06 2 7s857ms 3s928ms 09 1 3s877ms 3s877ms 10 4 15s518ms 3s879ms 11 3 12s175ms 4s58ms 12 1 4s27ms 4s27ms 13 3 11s877ms 3s959ms 14 3 12s57ms 4s19ms 15 2 7s875ms 3s937ms 18 1 3s929ms 3s929ms 19 1 3s915ms 3s915ms 20 2 7s811ms 3s905ms 21 1 4s11ms 4s11ms 23 1 3s956ms 3s956ms Dec 06 02 6 23s181ms 3s863ms 03 1 3s982ms 3s982ms 04 2 7s814ms 3s907ms 05 8 31s734ms 3s966ms 10 2 7s838ms 3s919ms 12 4 15s947ms 3s986ms 13 1 4s143ms 4s143ms 14 1 3s942ms 3s942ms 15 2 7s761ms 3s880ms 17 1 4s126ms 4s126ms 18 1 3s841ms 3s841ms 20 1 3s860ms 3s860ms 21 4 15s525ms 3s881ms 22 1 3s939ms 3s939ms Dec 07 00 3 11s477ms 3s825ms 01 1 4s254ms 4s254ms 02 2 8s257ms 4s128ms 03 2 7s914ms 3s957ms 05 1 3s870ms 3s870ms 08 1 3s905ms 3s905ms 10 1 3s908ms 3s908ms 11 2 7s696ms 3s848ms 12 2 7s820ms 3s910ms 15 1 4s 4s 16 1 3s805ms 3s805ms 17 2 7s732ms 3s866ms 20 2 7s886ms 3s943ms 21 1 3s962ms 3s962ms 22 1 3s936ms 3s936ms 23 1 4s103ms 4s103ms [ User: pubeu - Total duration: 7m48s - 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 = '1427841') 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 = '1427841') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-12-03 07:30:13 Duration: 5s754ms 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 = '1427841') 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 = '1427841') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-12-01 17:51:50 Duration: 5s711ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1343306') AND stm.slim_term_id = st.slim_term_id AND cd.curated_reference_qty > 0) curatedCount, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1343306') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-12-03 04:28:19 Duration: 5s634ms Bind query: yes
9 18m31s 974 1s70ms 1s699ms 1s141ms 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 #9
Day Hour Count Duration Avg duration Dec 01 00 6 7s751ms 1s291ms 01 8 9s202ms 1s150ms 02 5 5s810ms 1s162ms 03 4 4s561ms 1s140ms 04 3 3s412ms 1s137ms 05 6 7s293ms 1s215ms 06 4 4s635ms 1s158ms 07 12 13s711ms 1s142ms 08 3 3s467ms 1s155ms 09 9 10s549ms 1s172ms 10 6 6s830ms 1s138ms 11 7 7s899ms 1s128ms 12 4 4s591ms 1s147ms 13 2 2s278ms 1s139ms 14 5 5s697ms 1s139ms 15 15 17s93ms 1s139ms 16 2 2s295ms 1s147ms 17 11 12s455ms 1s132ms 18 8 9s138ms 1s142ms 19 5 5s680ms 1s136ms 20 10 11s395ms 1s139ms 21 5 5s750ms 1s150ms 22 8 9s326ms 1s165ms 23 10 11s622ms 1s162ms Dec 02 00 8 9s230ms 1s153ms 01 9 10s496ms 1s166ms 02 5 5s763ms 1s152ms 03 6 6s980ms 1s163ms 04 5 5s723ms 1s144ms 05 4 4s646ms 1s161ms 06 4 4s522ms 1s130ms 07 3 3s494ms 1s164ms 08 10 11s553ms 1s155ms 09 4 4s417ms 1s104ms 10 5 5s769ms 1s153ms 11 9 10s291ms 1s143ms 12 3 3s403ms 1s134ms 13 6 6s616ms 1s102ms 14 8 9s180ms 1s147ms 15 2 2s325ms 1s162ms 16 2 2s270ms 1s135ms 17 6 6s837ms 1s139ms 18 5 5s789ms 1s157ms 19 6 6s783ms 1s130ms 20 9 10s213ms 1s134ms 21 5 5s452ms 1s90ms 22 4 4s634ms 1s158ms 23 5 5s737ms 1s147ms Dec 03 00 5 5s612ms 1s122ms 01 7 7s976ms 1s139ms 02 5 5s703ms 1s140ms 03 7 8s61ms 1s151ms 04 8 9s201ms 1s150ms 05 7 8s62ms 1s151ms 06 5 5s671ms 1s134ms 07 8 9s141ms 1s142ms 08 5 5s606ms 1s121ms 09 3 3s405ms 1s135ms 10 5 5s715ms 1s143ms 11 9 10s165ms 1s129ms 12 2 2s322ms 1s161ms 13 4 4s561ms 1s140ms 14 6 6s864ms 1s144ms 15 10 11s466ms 1s146ms 16 5 5s747ms 1s149ms 17 2 2s249ms 1s124ms 18 4 4s452ms 1s113ms 19 10 11s368ms 1s136ms 20 7 7s909ms 1s129ms 21 7 7s713ms 1s101ms 22 3 3s355ms 1s118ms 23 10 11s418ms 1s141ms Dec 04 00 9 10s209ms 1s134ms 01 5 5s763ms 1s152ms 02 2 2s274ms 1s137ms 03 6 6s801ms 1s133ms 04 7 8s22ms 1s146ms 05 2 2s479ms 1s239ms 07 6 6s622ms 1s103ms 08 3 3s353ms 1s117ms 09 2 2s293ms 1s146ms 10 2 2s348ms 1s174ms 11 4 4s569ms 1s142ms 12 2 2s317ms 1s158ms 13 7 8s59ms 1s151ms 14 3 3s358ms 1s119ms 15 7 7s889ms 1s127ms 16 5 5s546ms 1s109ms 17 4 4s630ms 1s157ms 18 5 5s839ms 1s167ms 19 10 11s412ms 1s141ms 20 5 5s606ms 1s121ms 21 2 2s217ms 1s108ms 22 6 6s834ms 1s139ms 23 6 6s823ms 1s137ms Dec 05 00 3 3s738ms 1s246ms 01 7 8s44ms 1s149ms 02 4 4s472ms 1s118ms 03 4 4s621ms 1s155ms 04 4 4s623ms 1s155ms 05 8 9s315ms 1s164ms 06 4 4s498ms 1s124ms 07 6 6s903ms 1s150ms 08 6 6s702ms 1s117ms 09 6 6s809ms 1s134ms 10 6 6s955ms 1s159ms 11 2 2s317ms 1s158ms 12 2 2s322ms 1s161ms 13 4 4s585ms 1s146ms 14 3 3s405ms 1s135ms 15 4 4s577ms 1s144ms 16 5 5s585ms 1s117ms 17 4 4s608ms 1s152ms 18 9 10s7ms 1s111ms 19 5 5s600ms 1s120ms 20 5 5s544ms 1s108ms 21 3 3s330ms 1s110ms 22 7 8s143ms 1s163ms 23 4 4s514ms 1s128ms Dec 06 00 5 5s789ms 1s157ms 01 2 2s261ms 1s130ms 02 11 12s466ms 1s133ms 03 3 3s426ms 1s142ms 04 7 8s69ms 1s152ms 05 7 8s262ms 1s180ms 06 7 8s85ms 1s155ms 07 3 3s507ms 1s169ms 08 4 4s571ms 1s142ms 09 1 1s95ms 1s95ms 10 5 5s763ms 1s152ms 11 5 5s679ms 1s135ms 12 7 7s908ms 1s129ms 13 3 3s449ms 1s149ms 14 9 10s96ms 1s121ms 15 2 2s159ms 1s79ms 16 4 4s465ms 1s116ms 17 8 8s875ms 1s109ms 18 5 5s761ms 1s152ms 19 4 4s446ms 1s111ms 20 4 4s538ms 1s134ms 21 6 6s767ms 1s127ms 22 8 9s298ms 1s162ms 23 11 12s373ms 1s124ms Dec 07 00 6 6s799ms 1s133ms 01 11 12s408ms 1s128ms 02 4 4s460ms 1s115ms 03 4 4s421ms 1s105ms 04 7 7s997ms 1s142ms 05 8 9s355ms 1s169ms 06 5 5s822ms 1s164ms 07 10 11s331ms 1s133ms 08 8 8s943ms 1s117ms 09 5 5s684ms 1s136ms 10 9 10s190ms 1s132ms 11 14 15s792ms 1s128ms 12 4 4s486ms 1s121ms 13 8 9s18ms 1s127ms 14 3 3s423ms 1s141ms 15 13 14s488ms 1s114ms 16 10 11s251ms 1s125ms 17 8 8s937ms 1s117ms 18 6 6s723ms 1s120ms 19 7 8s173ms 1s167ms 20 5 5s732ms 1s146ms 21 9 10s449ms 1s161ms 22 5 5s780ms 1s156ms 23 14 16s295ms 1s163ms [ User: pubeu - Total duration: 5m11s - Times executed: 274 ]
[ User: qaeu - Total duration: 2s461ms - Times executed: 2 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where exposureMarkerTerm.id = '2044878' or receptorTerm.id = '2044878' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-12-01 00:06:22 Duration: 1s699ms 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 = '2033791' or receptorTerm.id = '2033791' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-12-05 00:14:34 Duration: 1s400ms 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 = '1459011' or receptorTerm.id = '1459011' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-12-06 22:05:45 Duration: 1s311ms Database: ctdprd51 User: pubeu Bind query: yes
10 16m41s 25 39s329ms 41s609ms 40s71ms copy pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) to stdout;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Dec 01 06 1 39s555ms 39s555ms 10 1 39s472ms 39s472ms 14 1 39s396ms 39s396ms 18 1 39s329ms 39s329ms Dec 02 06 1 39s536ms 39s536ms 10 1 39s481ms 39s481ms 14 1 39s513ms 39s513ms 18 1 39s346ms 39s346ms Dec 03 06 1 39s892ms 39s892ms 10 1 39s602ms 39s602ms 14 1 39s818ms 39s818ms 18 1 39s875ms 39s875ms Dec 04 06 1 40s144ms 40s144ms 10 1 40s61ms 40s61ms 14 1 40s16ms 40s16ms 18 1 40s211ms 40s211ms Dec 05 06 1 40s219ms 40s219ms 10 1 40s614ms 40s614ms 14 1 40s373ms 40s373ms 18 1 40s420ms 40s420ms Dec 06 06 1 41s609ms 41s609ms 10 1 40s680ms 40s680ms 14 1 40s611ms 40s611ms 18 1 40s766ms 40s766ms Dec 07 19 1 41s230ms 41s230ms [ User: postgres - Total duration: 16m - Times executed: 24 ]
[ Application: pg_dump - Total duration: 16m - Times executed: 24 ]
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-12-06 06:05:43 Duration: 41s609ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-12-07 19:57:53 Duration: 41s230ms
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-12-06 18:05:43 Duration: 40s766ms Database: ctdprd51 User: postgres Application: pg_dump
11 14m28s 12 1s449ms 14m10s 1m12s select ;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Dec 03 19 1 14m10s 14m10s Dec 05 11 1 1s539ms 1s539ms 13 2 3s207ms 1s603ms 15 1 1s618ms 1s618ms 18 2 3s378ms 1s689ms 19 1 1s584ms 1s584ms 20 1 1s575ms 1s575ms 21 1 1s449ms 1s449ms Dec 06 00 1 1s488ms 1s488ms 02 1 1s585ms 1s585ms [ User: pubeu - Total duration: 14m15s - Times executed: 4 ]
-
SELECT /* AdvancedGeneQueryDAO.getData */ ;
Date: 2024-12-03 19:13:29 Duration: 14m10s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ ;
Date: 2024-12-05 18:14:00 Duration: 1s699ms Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ ;
Date: 2024-12-05 18:14:00 Duration: 1s679ms Bind query: yes
12 11m20s 168 1s1ms 5s862ms 4s52ms select d.abbr dagabbr, d.nm dagnm, gt.level_min_no daglevelmin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pvalcorrected, te.raw_p_val pvalraw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, count(*) over () fullrowcount from term_enrichment te inner join dag_node gt on te.enriched_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, d.abbr, gt.nm_sort limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Dec 01 01 6 22s841ms 3s806ms 02 7 33s299ms 4s757ms 07 1 5s283ms 5s283ms 10 1 5s208ms 5s208ms 12 1 1s72ms 1s72ms 15 1 1s16ms 1s16ms 18 1 5s362ms 5s362ms 19 4 16s806ms 4s201ms 20 2 6s268ms 3s134ms 22 2 6s306ms 3s153ms Dec 02 00 1 5s134ms 5s134ms 04 1 1s32ms 1s32ms 06 3 7s433ms 2s477ms 08 1 5s96ms 5s96ms 09 1 1s49ms 1s49ms 10 1 1s16ms 1s16ms 12 5 21s708ms 4s341ms 16 1 1s23ms 1s23ms 21 2 10s318ms 5s159ms 23 2 2s43ms 1s21ms Dec 03 01 6 31s862ms 5s310ms 02 1 5s172ms 5s172ms 03 1 1s5ms 1s5ms 05 1 5s275ms 5s275ms 06 5 22s19ms 4s403ms 08 1 5s291ms 5s291ms 10 1 5s367ms 5s367ms 17 2 6s398ms 3s199ms 18 1 5s257ms 5s257ms 22 1 5s225ms 5s225ms 23 5 22s123ms 4s424ms Dec 04 02 6 27s840ms 4s640ms 03 3 15s209ms 5s69ms 04 2 2s61ms 1s30ms 06 1 5s336ms 5s336ms 07 4 17s199ms 4s299ms 08 1 5s149ms 5s149ms 09 3 16s33ms 5s344ms 10 1 5s533ms 5s533ms 12 1 5s114ms 5s114ms 17 1 5s242ms 5s242ms 20 3 15s834ms 5s278ms 21 2 2s32ms 1s16ms 22 1 5s80ms 5s80ms 23 1 1s24ms 1s24ms Dec 05 00 3 16s253ms 5s417ms 02 5 26s693ms 5s338ms 03 4 13s769ms 3s442ms 09 4 21s45ms 5s261ms 10 7 23s670ms 3s381ms 12 2 2s53ms 1s26ms 13 1 5s78ms 5s78ms 14 1 1s6ms 1s6ms 16 1 1s23ms 1s23ms Dec 06 05 2 6s93ms 3s46ms 06 4 16s290ms 4s72ms 10 1 1s58ms 1s58ms 13 1 4s918ms 4s918ms 14 1 1s44ms 1s44ms 16 1 1s12ms 1s12ms 20 1 1s15ms 1s15ms 21 1 5s3ms 5s3ms 22 3 16s93ms 5s364ms Dec 07 01 6 21s992ms 3s665ms 03 1 1s23ms 1s23ms 08 1 5s5ms 5s5ms 10 5 25s546ms 5s109ms 11 4 22s351ms 5s587ms 12 1 1s28ms 1s28ms 18 3 11s356ms 3s785ms 20 2 10s531ms 5s265ms 21 2 10s946ms 5s473ms 23 1 4s886ms 4s886ms [ User: pubeu - Total duration: 1m53s - Times executed: 28 ]
-
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 = '1330389' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-12-05 03:54:07 Duration: 5s862ms 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 = '1330389' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-12-05 03:54:04 Duration: 5s816ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1388144' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-12-07 11:50:54 Duration: 5s740ms Bind query: yes
13 10m25s 7 1s597ms 3m44s 1m29s 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 #13
Day Hour Count Duration Avg duration Dec 01 09 1 2m57s 2m57s 11 1 3m44s 3m44s 22 1 1s635ms 1s635ms Dec 02 10 1 1s597ms 1s597ms Dec 03 23 1 3m33s 3m33s Dec 04 10 2 6s511ms 3s255ms [ User: pubeu - Total duration: 3m33s - Times executed: 1 ]
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1252779') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-12-01 11:34:38 Duration: 3m44s 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 = '1236503') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-12-03 23:28:52 Duration: 3m33s 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 = '1240165') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-12-01 09:23:58 Duration: 2m57s Bind query: yes
14 8m9s 1 8m9s 8m9s 8m9s 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 #14
Day Hour Count Duration Avg duration Dec 03 13 1 8m9s 8m9s [ User: load - Total duration: 8m9s - Times executed: 1 ]
[ Application: pgAdmin 4 - CONN:5771213 - Total duration: 8m9s - Times executed: 1 ]
-
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-12-03 13:25:03 Duration: 8m9s Database: ctdprd51 User: load Application: pgAdmin 4 - CONN:5771213
15 6m58s 1 6m58s 6m58s 6m58s copy pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Dec 07 19 1 6m58s 6m58s -
COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-12-07 19:54:58 Duration: 6m58s
16 6m56s 1 6m56s 6m56s 6m56s copy pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Dec 07 19 1 6m56s 6m56s -
COPY pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-12-07 19:12:56 Duration: 6m56s
17 6m12s 25 14s824ms 15s129ms 14s910ms copy edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Dec 01 06 1 14s919ms 14s919ms 10 1 15s24ms 15s24ms 14 1 14s860ms 14s860ms 18 1 14s840ms 14s840ms Dec 02 06 1 14s867ms 14s867ms 10 1 14s843ms 14s843ms 14 1 14s960ms 14s960ms 18 1 14s901ms 14s901ms Dec 03 06 1 14s941ms 14s941ms 10 1 14s841ms 14s841ms 14 1 14s870ms 14s870ms 18 1 14s832ms 14s832ms Dec 04 06 1 14s990ms 14s990ms 10 1 14s950ms 14s950ms 14 1 14s985ms 14s985ms 18 1 14s853ms 14s853ms Dec 05 06 1 14s897ms 14s897ms 10 1 14s883ms 14s883ms 14 1 15s129ms 15s129ms 18 1 14s912ms 14s912ms Dec 06 06 1 14s930ms 14s930ms 10 1 14s950ms 14s950ms 14 1 14s877ms 14s877ms 18 1 14s871ms 14s871ms Dec 07 18 1 14s824ms 14s824ms [ User: postgres - Total duration: 6m12s - Times executed: 25 ]
[ Application: pg_dump - Total duration: 6m12s - Times executed: 25 ]
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-12-05 14:00:22 Duration: 15s129ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-12-01 10:00:19 Duration: 15s24ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-12-04 06:00:25 Duration: 14s990ms Database: ctdprd51 User: postgres Application: pg_dump
18 5m58s 289 1s146ms 1s410ms 1s240ms 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 #18
Day Hour Count Duration Avg duration Dec 01 00 6 7s592ms 1s265ms 01 2 2s558ms 1s279ms 02 2 2s603ms 1s301ms 03 1 1s291ms 1s291ms 04 1 1s289ms 1s289ms 05 6 7s830ms 1s305ms 07 1 1s220ms 1s220ms 09 4 5s199ms 1s299ms 10 3 3s643ms 1s214ms 11 2 2s562ms 1s281ms 12 2 2s499ms 1s249ms 13 7 8s502ms 1s214ms 14 4 4s999ms 1s249ms 16 2 2s460ms 1s230ms 17 1 1s253ms 1s253ms 18 3 3s787ms 1s262ms 19 1 1s248ms 1s248ms 21 2 2s361ms 1s180ms 22 1 1s292ms 1s292ms 23 3 3s755ms 1s251ms Dec 02 00 2 2s474ms 1s237ms 01 2 2s574ms 1s287ms 04 3 3s624ms 1s208ms 05 3 3s781ms 1s260ms 06 4 5s60ms 1s265ms 08 2 2s517ms 1s258ms 10 3 3s693ms 1s231ms 11 2 2s436ms 1s218ms 12 6 7s393ms 1s232ms 14 2 2s346ms 1s173ms 15 3 3s818ms 1s272ms 16 4 4s770ms 1s192ms 17 2 2s369ms 1s184ms 18 5 6s179ms 1s235ms 20 3 3s765ms 1s255ms 21 2 2s477ms 1s238ms 22 2 2s497ms 1s248ms 23 1 1s233ms 1s233ms Dec 03 00 2 2s385ms 1s192ms 01 1 1s226ms 1s226ms 05 3 3s998ms 1s332ms 06 5 6s64ms 1s212ms 07 2 2s456ms 1s228ms 08 2 2s441ms 1s220ms 09 1 1s219ms 1s219ms 10 2 2s474ms 1s237ms 11 3 3s717ms 1s239ms 12 3 3s816ms 1s272ms 13 1 1s259ms 1s259ms 14 2 2s440ms 1s220ms 15 4 5s113ms 1s278ms 16 6 7s428ms 1s238ms 17 1 1s256ms 1s256ms 19 2 2s505ms 1s252ms 20 2 2s449ms 1s224ms 21 1 1s224ms 1s224ms 22 1 1s235ms 1s235ms 23 3 3s725ms 1s241ms Dec 04 00 2 2s534ms 1s267ms 01 2 2s499ms 1s249ms 02 2 2s404ms 1s202ms 04 1 1s204ms 1s204ms 05 2 2s653ms 1s326ms 06 1 1s275ms 1s275ms 07 1 1s205ms 1s205ms 08 3 3s595ms 1s198ms 09 3 3s829ms 1s276ms 12 1 1s238ms 1s238ms 13 3 3s608ms 1s202ms 14 1 1s172ms 1s172ms 15 1 1s257ms 1s257ms 16 1 1s214ms 1s214ms 18 2 2s505ms 1s252ms 19 1 1s276ms 1s276ms 20 2 2s391ms 1s195ms 21 3 3s695ms 1s231ms 23 2 2s455ms 1s227ms Dec 05 00 2 2s468ms 1s234ms 01 1 1s276ms 1s276ms 04 4 4s888ms 1s222ms 05 3 3s761ms 1s253ms 08 1 1s272ms 1s272ms 09 3 3s735ms 1s245ms 11 1 1s256ms 1s256ms 12 2 2s463ms 1s231ms 13 3 3s604ms 1s201ms 15 3 3s611ms 1s203ms 16 1 1s260ms 1s260ms 17 1 1s256ms 1s256ms 18 2 2s453ms 1s226ms 20 4 4s783ms 1s195ms 21 3 3s663ms 1s221ms 22 1 1s184ms 1s184ms 23 2 2s441ms 1s220ms Dec 06 00 1 1s224ms 1s224ms 02 3 3s719ms 1s239ms 03 4 4s866ms 1s216ms 04 1 1s211ms 1s211ms 05 4 5s183ms 1s295ms 06 1 1s233ms 1s233ms 07 1 1s171ms 1s171ms 08 2 2s562ms 1s281ms 09 3 3s753ms 1s251ms 10 1 1s195ms 1s195ms 11 2 2s517ms 1s258ms 12 1 1s310ms 1s310ms 13 1 1s241ms 1s241ms 15 3 3s540ms 1s180ms 16 2 2s401ms 1s200ms 18 3 3s724ms 1s241ms 19 3 3s673ms 1s224ms 20 1 1s265ms 1s265ms 22 2 2s535ms 1s267ms 23 3 3s634ms 1s211ms Dec 07 00 1 1s354ms 1s354ms 01 2 2s350ms 1s175ms 03 1 1s255ms 1s255ms 05 3 3s930ms 1s310ms 06 3 3s589ms 1s196ms 09 2 2s400ms 1s200ms 11 2 2s523ms 1s261ms 12 1 1s177ms 1s177ms 13 2 2s440ms 1s220ms 15 1 1s180ms 1s180ms 18 1 1s175ms 1s175ms 19 2 2s519ms 1s259ms 20 2 2s547ms 1s273ms 21 1 1s189ms 1s189ms [ User: pubeu - Total duration: 1m34s - Times executed: 76 ]
[ User: qaeu - Total duration: 6s734ms - 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 = '1221432') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1221432') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-12-06 05:38:43 Duration: 1s410ms Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1221432') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1221432') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-12-01 05:38:37 Duration: 1s395ms Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1221432') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1221432') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-12-07 05:38:38 Duration: 1s387ms Bind query: yes
19 5m39s 24 14s67ms 14s242ms 14s151ms copy edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Dec 01 06 1 14s67ms 14s67ms 10 1 14s123ms 14s123ms 14 1 14s225ms 14s225ms 18 1 14s130ms 14s130ms Dec 02 06 1 14s98ms 14s98ms 10 1 14s110ms 14s110ms 18 1 14s183ms 14s183ms Dec 03 06 1 14s237ms 14s237ms 10 1 14s224ms 14s224ms 14 1 14s85ms 14s85ms 18 1 14s101ms 14s101ms Dec 04 06 1 14s242ms 14s242ms 10 1 14s154ms 14s154ms 14 1 14s125ms 14s125ms 18 1 14s148ms 14s148ms Dec 05 06 1 14s192ms 14s192ms 10 1 14s129ms 14s129ms 14 1 14s179ms 14s179ms 18 1 14s125ms 14s125ms Dec 06 06 1 14s152ms 14s152ms 10 1 14s172ms 14s172ms 14 1 14s172ms 14s172ms 18 1 14s102ms 14s102ms Dec 07 18 1 14s141ms 14s141ms -
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-12-04 06:01:07 Duration: 14s242ms
-
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-12-03 06:01:02 Duration: 14s237ms
-
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-12-01 14:01:05 Duration: 14s225ms
20 5m12s 23 13s536ms 13s696ms 13s600ms copy edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Dec 01 06 1 13s536ms 13s536ms 10 1 13s631ms 13s631ms 14 1 13s587ms 13s587ms 18 1 13s673ms 13s673ms Dec 02 06 1 13s563ms 13s563ms 10 1 13s549ms 13s549ms 14 1 13s569ms 13s569ms 18 1 13s603ms 13s603ms Dec 03 06 1 13s604ms 13s604ms 10 1 13s657ms 13s657ms 14 1 13s589ms 13s589ms 18 1 13s626ms 13s626ms Dec 04 06 1 13s566ms 13s566ms 10 1 13s590ms 13s590ms 14 1 13s617ms 13s617ms Dec 05 06 1 13s621ms 13s621ms 10 1 13s622ms 13s622ms 14 1 13s559ms 13s559ms 18 1 13s683ms 13s683ms Dec 06 06 1 13s586ms 13s586ms 10 1 13s696ms 13s696ms 18 1 13s537ms 13s537ms Dec 07 18 1 13s548ms 13s548ms -
COPY edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-12-06 10:00:46 Duration: 13s696ms
-
COPY edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-12-05 18:00:47 Duration: 13s683ms
-
COPY edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-12-01 18:00:46 Duration: 13s673ms
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 3,186 1h18m10s 1s434ms 1s664ms 1s472ms select coalesce(d.abbr_display, d.nm_display) nm # ?, d.description # ?, coalesce(d.abbr, d.nm) anchor # ?, get_homepage_url (d.id) url # ? from db d # ? where d.id in (# ? select l.db_id # ? from db_link l # ? where l.type_cd = ? # ? and l.object_type_id = ?) # ? order by ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Dec 01 01 16 23s593ms 1s474ms 02 32 47s137ms 1s473ms 03 27 39s863ms 1s476ms 04 27 39s814ms 1s474ms 05 29 42s783ms 1s475ms 06 20 29s398ms 1s469ms 07 21 30s911ms 1s471ms 08 15 22s85ms 1s472ms 09 26 38s453ms 1s478ms 10 28 41s321ms 1s475ms 11 20 29s505ms 1s475ms 12 26 38s397ms 1s476ms 13 28 41s150ms 1s469ms 14 27 39s896ms 1s477ms 15 27 39s828ms 1s475ms 16 27 39s797ms 1s473ms 17 27 39s891ms 1s477ms 18 28 41s297ms 1s474ms 19 27 39s658ms 1s468ms 20 28 41s433ms 1s479ms 21 27 39s686ms 1s469ms 22 26 38s190ms 1s468ms 23 28 41s244ms 1s473ms Dec 02 00 25 36s805ms 1s472ms 01 26 38s193ms 1s468ms 02 28 41s445ms 1s480ms 03 27 39s895ms 1s477ms 04 27 39s713ms 1s470ms 05 29 42s668ms 1s471ms 06 19 27s905ms 1s468ms 07 9 13s269ms 1s474ms 08 25 36s687ms 1s467ms 09 25 36s824ms 1s472ms 10 22 32s325ms 1s469ms 11 25 36s705ms 1s468ms 12 25 36s687ms 1s467ms 13 23 33s969ms 1s476ms 14 22 32s312ms 1s468ms 15 21 30s956ms 1s474ms 16 16 23s590ms 1s474ms 17 28 41s208ms 1s471ms 18 27 39s867ms 1s476ms 19 24 35s443ms 1s476ms 20 28 41s276ms 1s474ms 21 27 39s779ms 1s473ms 22 27 39s717ms 1s471ms 23 27 39s633ms 1s467ms Dec 03 00 27 39s742ms 1s471ms 01 28 41s130ms 1s468ms 02 27 39s866ms 1s476ms 03 18 26s483ms 1s471ms 04 18 26s553ms 1s475ms 05 21 30s916ms 1s472ms 06 18 26s504ms 1s472ms 07 17 25s139ms 1s478ms 08 18 26s689ms 1s482ms 09 14 20s572ms 1s469ms 10 17 25s49ms 1s473ms 11 18 26s530ms 1s473ms 12 13 19s154ms 1s473ms 13 18 26s603ms 1s477ms 14 18 26s548ms 1s474ms 15 17 25s155ms 1s479ms 16 18 26s607ms 1s478ms 17 18 26s635ms 1s479ms 18 17 24s948ms 1s467ms 19 18 26s406ms 1s467ms 20 17 24s967ms 1s468ms 21 18 26s535ms 1s474ms 22 18 26s485ms 1s471ms 23 17 25s244ms 1s484ms Dec 04 00 16 23s622ms 1s476ms 01 18 26s481ms 1s471ms 02 18 26s488ms 1s471ms 03 18 26s587ms 1s477ms 04 16 23s469ms 1s466ms 05 13 19s134ms 1s471ms 06 17 25s97ms 1s476ms 07 17 24s984ms 1s469ms 08 10 14s681ms 1s468ms 09 9 13s256ms 1s472ms 10 16 23s499ms 1s468ms 11 15 22s117ms 1s474ms 12 12 17s687ms 1s473ms 13 15 22s106ms 1s473ms 14 8 11s789ms 1s473ms 15 18 26s478ms 1s471ms 16 16 23s659ms 1s478ms 17 16 23s589ms 1s474ms 18 16 23s588ms 1s474ms 19 18 26s476ms 1s470ms 20 18 26s534ms 1s474ms 21 17 25s10ms 1s471ms 22 18 26s594ms 1s477ms 23 17 25s95ms 1s476ms Dec 05 00 15 22s66ms 1s471ms 01 18 26s541ms 1s474ms 02 17 25s30ms 1s472ms 03 18 26s475ms 1s470ms 04 17 24s972ms 1s468ms 05 16 23s688ms 1s480ms 06 10 14s683ms 1s468ms 07 10 14s720ms 1s472ms 08 9 13s273ms 1s474ms 09 13 19s142ms 1s472ms 10 14 20s601ms 1s471ms 11 11 16s228ms 1s475ms 12 6 8s805ms 1s467ms 13 14 20s440ms 1s460ms 14 10 14s722ms 1s472ms 15 12 17s713ms 1s476ms 16 14 20s599ms 1s471ms 17 14 20s610ms 1s472ms 18 14 20s573ms 1s469ms 19 14 20s564ms 1s468ms 20 13 19s77ms 1s467ms 21 14 20s559ms 1s468ms 22 14 20s528ms 1s466ms 23 14 20s641ms 1s474ms Dec 06 00 13 19s169ms 1s474ms 01 13 19s85ms 1s468ms 02 14 20s534ms 1s466ms 03 14 20s639ms 1s474ms 04 14 20s561ms 1s468ms 05 16 23s690ms 1s480ms 06 14 20s527ms 1s466ms 07 10 14s727ms 1s472ms 08 9 13s222ms 1s469ms 09 13 19s269ms 1s482ms 10 15 22s145ms 1s476ms 11 14 20s652ms 1s475ms 12 15 22s133ms 1s475ms 13 14 20s535ms 1s466ms 14 13 19s90ms 1s468ms 15 5 7s352ms 1s470ms 16 8 11s748ms 1s468ms 17 14 20s653ms 1s475ms 18 14 20s551ms 1s467ms 19 14 20s674ms 1s476ms 20 12 17s536ms 1s461ms Dec 07 01 9 13s183ms 1s464ms 02 28 41s243ms 1s472ms 03 26 38s233ms 1s470ms 04 27 39s633ms 1s467ms 05 30 44s240ms 1s474ms 06 27 39s627ms 1s467ms 07 27 39s566ms 1s465ms 08 27 39s912ms 1s478ms 09 27 39s697ms 1s470ms 10 27 39s600ms 1s466ms 11 28 41s5ms 1s464ms 12 27 39s670ms 1s469ms 13 27 39s526ms 1s463ms 14 26 38s28ms 1s462ms 15 28 40s883ms 1s460ms 16 27 39s656ms 1s468ms 17 27 39s560ms 1s465ms 18 27 39s715ms 1s470ms 19 27 39s837ms 1s475ms 20 27 39s813ms 1s474ms 21 28 41s104ms 1s468ms 22 28 41s303ms 1s475ms 23 26 38s131ms 1s466ms [ User: pubeu - Total duration: 29m41s - Times executed: 1210 ]
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2024-12-02 13:04:20 Duration: 1s664ms Bind query: yes
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2024-12-06 09:17:37 Duration: 1s642ms Bind query: yes
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2024-12-07 02:03:32 Duration: 1s640ms Bind query: yes
2 974 18m31s 1s70ms 1s699ms 1s141ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where exposuremarkerterm.id = ? or receptorterm.id = ? group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Dec 01 00 6 7s751ms 1s291ms 01 8 9s202ms 1s150ms 02 5 5s810ms 1s162ms 03 4 4s561ms 1s140ms 04 3 3s412ms 1s137ms 05 6 7s293ms 1s215ms 06 4 4s635ms 1s158ms 07 12 13s711ms 1s142ms 08 3 3s467ms 1s155ms 09 9 10s549ms 1s172ms 10 6 6s830ms 1s138ms 11 7 7s899ms 1s128ms 12 4 4s591ms 1s147ms 13 2 2s278ms 1s139ms 14 5 5s697ms 1s139ms 15 15 17s93ms 1s139ms 16 2 2s295ms 1s147ms 17 11 12s455ms 1s132ms 18 8 9s138ms 1s142ms 19 5 5s680ms 1s136ms 20 10 11s395ms 1s139ms 21 5 5s750ms 1s150ms 22 8 9s326ms 1s165ms 23 10 11s622ms 1s162ms Dec 02 00 8 9s230ms 1s153ms 01 9 10s496ms 1s166ms 02 5 5s763ms 1s152ms 03 6 6s980ms 1s163ms 04 5 5s723ms 1s144ms 05 4 4s646ms 1s161ms 06 4 4s522ms 1s130ms 07 3 3s494ms 1s164ms 08 10 11s553ms 1s155ms 09 4 4s417ms 1s104ms 10 5 5s769ms 1s153ms 11 9 10s291ms 1s143ms 12 3 3s403ms 1s134ms 13 6 6s616ms 1s102ms 14 8 9s180ms 1s147ms 15 2 2s325ms 1s162ms 16 2 2s270ms 1s135ms 17 6 6s837ms 1s139ms 18 5 5s789ms 1s157ms 19 6 6s783ms 1s130ms 20 9 10s213ms 1s134ms 21 5 5s452ms 1s90ms 22 4 4s634ms 1s158ms 23 5 5s737ms 1s147ms Dec 03 00 5 5s612ms 1s122ms 01 7 7s976ms 1s139ms 02 5 5s703ms 1s140ms 03 7 8s61ms 1s151ms 04 8 9s201ms 1s150ms 05 7 8s62ms 1s151ms 06 5 5s671ms 1s134ms 07 8 9s141ms 1s142ms 08 5 5s606ms 1s121ms 09 3 3s405ms 1s135ms 10 5 5s715ms 1s143ms 11 9 10s165ms 1s129ms 12 2 2s322ms 1s161ms 13 4 4s561ms 1s140ms 14 6 6s864ms 1s144ms 15 10 11s466ms 1s146ms 16 5 5s747ms 1s149ms 17 2 2s249ms 1s124ms 18 4 4s452ms 1s113ms 19 10 11s368ms 1s136ms 20 7 7s909ms 1s129ms 21 7 7s713ms 1s101ms 22 3 3s355ms 1s118ms 23 10 11s418ms 1s141ms Dec 04 00 9 10s209ms 1s134ms 01 5 5s763ms 1s152ms 02 2 2s274ms 1s137ms 03 6 6s801ms 1s133ms 04 7 8s22ms 1s146ms 05 2 2s479ms 1s239ms 07 6 6s622ms 1s103ms 08 3 3s353ms 1s117ms 09 2 2s293ms 1s146ms 10 2 2s348ms 1s174ms 11 4 4s569ms 1s142ms 12 2 2s317ms 1s158ms 13 7 8s59ms 1s151ms 14 3 3s358ms 1s119ms 15 7 7s889ms 1s127ms 16 5 5s546ms 1s109ms 17 4 4s630ms 1s157ms 18 5 5s839ms 1s167ms 19 10 11s412ms 1s141ms 20 5 5s606ms 1s121ms 21 2 2s217ms 1s108ms 22 6 6s834ms 1s139ms 23 6 6s823ms 1s137ms Dec 05 00 3 3s738ms 1s246ms 01 7 8s44ms 1s149ms 02 4 4s472ms 1s118ms 03 4 4s621ms 1s155ms 04 4 4s623ms 1s155ms 05 8 9s315ms 1s164ms 06 4 4s498ms 1s124ms 07 6 6s903ms 1s150ms 08 6 6s702ms 1s117ms 09 6 6s809ms 1s134ms 10 6 6s955ms 1s159ms 11 2 2s317ms 1s158ms 12 2 2s322ms 1s161ms 13 4 4s585ms 1s146ms 14 3 3s405ms 1s135ms 15 4 4s577ms 1s144ms 16 5 5s585ms 1s117ms 17 4 4s608ms 1s152ms 18 9 10s7ms 1s111ms 19 5 5s600ms 1s120ms 20 5 5s544ms 1s108ms 21 3 3s330ms 1s110ms 22 7 8s143ms 1s163ms 23 4 4s514ms 1s128ms Dec 06 00 5 5s789ms 1s157ms 01 2 2s261ms 1s130ms 02 11 12s466ms 1s133ms 03 3 3s426ms 1s142ms 04 7 8s69ms 1s152ms 05 7 8s262ms 1s180ms 06 7 8s85ms 1s155ms 07 3 3s507ms 1s169ms 08 4 4s571ms 1s142ms 09 1 1s95ms 1s95ms 10 5 5s763ms 1s152ms 11 5 5s679ms 1s135ms 12 7 7s908ms 1s129ms 13 3 3s449ms 1s149ms 14 9 10s96ms 1s121ms 15 2 2s159ms 1s79ms 16 4 4s465ms 1s116ms 17 8 8s875ms 1s109ms 18 5 5s761ms 1s152ms 19 4 4s446ms 1s111ms 20 4 4s538ms 1s134ms 21 6 6s767ms 1s127ms 22 8 9s298ms 1s162ms 23 11 12s373ms 1s124ms Dec 07 00 6 6s799ms 1s133ms 01 11 12s408ms 1s128ms 02 4 4s460ms 1s115ms 03 4 4s421ms 1s105ms 04 7 7s997ms 1s142ms 05 8 9s355ms 1s169ms 06 5 5s822ms 1s164ms 07 10 11s331ms 1s133ms 08 8 8s943ms 1s117ms 09 5 5s684ms 1s136ms 10 9 10s190ms 1s132ms 11 14 15s792ms 1s128ms 12 4 4s486ms 1s121ms 13 8 9s18ms 1s127ms 14 3 3s423ms 1s141ms 15 13 14s488ms 1s114ms 16 10 11s251ms 1s125ms 17 8 8s937ms 1s117ms 18 6 6s723ms 1s120ms 19 7 8s173ms 1s167ms 20 5 5s732ms 1s146ms 21 9 10s449ms 1s161ms 22 5 5s780ms 1s156ms 23 14 16s295ms 1s163ms [ User: pubeu - Total duration: 5m11s - Times executed: 274 ]
[ User: qaeu - Total duration: 2s461ms - Times executed: 2 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where exposureMarkerTerm.id = '2044878' or receptorTerm.id = '2044878' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-12-01 00:06:22 Duration: 1s699ms 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 = '2033791' or receptorTerm.id = '2033791' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-12-05 00:14:34 Duration: 1s400ms 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 = '1459011' or receptorTerm.id = '1459011' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-12-06 22:05:45 Duration: 1s311ms Database: ctdprd51 User: pubeu Bind query: yes
3 338 22m9s 3s655ms 5s754ms 3s933ms select coalesce(st.alt_nm, t.nm) slimtermnm, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.curated_reference_qty > ?) curatedcount, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.indirect_gene_qty > ?) inferredcount from slim_term st inner join term t on st.slim_term_id = t.id where st.slim_id = ? order by ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Dec 01 01 1 3s722ms 3s722ms 02 1 3s830ms 3s830ms 03 3 11s278ms 3s759ms 04 6 23s69ms 3s844ms 05 1 3s746ms 3s746ms 06 1 3s802ms 3s802ms 11 1 3s752ms 3s752ms 12 1 3s715ms 3s715ms 15 2 7s441ms 3s720ms 17 4 19s231ms 4s807ms 19 3 11s164ms 3s721ms 20 21 1m19s 3s798ms 21 20 1m16s 3s807ms 22 10 39s848ms 3s984ms Dec 02 00 1 3s757ms 3s757ms 01 1 4s34ms 4s34ms 02 1 3s868ms 3s868ms 03 1 3s791ms 3s791ms 04 2 7s898ms 3s949ms 05 4 15s698ms 3s924ms 06 2 8s173ms 4s86ms 07 3 11s470ms 3s823ms 08 3 11s801ms 3s933ms 09 1 5s229ms 5s229ms 10 3 11s609ms 3s869ms 11 3 11s480ms 3s826ms 12 2 7s701ms 3s850ms 13 4 15s825ms 3s956ms 15 1 3s680ms 3s680ms 16 1 3s726ms 3s726ms 20 6 23s115ms 3s852ms 21 7 27s392ms 3s913ms 23 1 4s44ms 4s44ms Dec 03 01 3 11s972ms 3s990ms 02 5 20s138ms 4s27ms 03 2 7s868ms 3s934ms 04 2 9s723ms 4s861ms 05 2 7s818ms 3s909ms 07 6 25s770ms 4s295ms 08 1 3s672ms 3s672ms 10 1 4s166ms 4s166ms 11 1 3s688ms 3s688ms 12 1 4s137ms 4s137ms 15 2 9s321ms 4s660ms 16 2 7s695ms 3s847ms 17 1 3s991ms 3s991ms 18 2 7s486ms 3s743ms 20 3 12s189ms 4s63ms 21 4 15s472ms 3s868ms 22 1 4s20ms 4s20ms 23 1 3s808ms 3s808ms Dec 04 00 1 3s678ms 3s678ms 01 4 16s74ms 4s18ms 02 3 11s963ms 3s987ms 03 2 8s1ms 4s 04 1 4s87ms 4s87ms 05 1 3s768ms 3s768ms 06 3 11s736ms 3s912ms 07 1 4s15ms 4s15ms 09 1 3s733ms 3s733ms 10 5 19s592ms 3s918ms 11 4 16s57ms 4s14ms 12 1 4s255ms 4s255ms 13 4 15s506ms 3s876ms 14 1 3s981ms 3s981ms 15 4 15s692ms 3s923ms 16 2 7s742ms 3s871ms 17 3 11s460ms 3s820ms 19 1 4s9ms 4s9ms 20 15 58s870ms 3s924ms 21 15 58s156ms 3s877ms 22 9 34s661ms 3s851ms 23 1 3s918ms 3s918ms Dec 05 00 1 3s803ms 3s803ms 01 1 3s950ms 3s950ms 02 2 8s379ms 4s189ms 03 3 11s634ms 3s878ms 04 3 11s856ms 3s952ms 06 2 7s857ms 3s928ms 09 1 3s877ms 3s877ms 10 4 15s518ms 3s879ms 11 3 12s175ms 4s58ms 12 1 4s27ms 4s27ms 13 3 11s877ms 3s959ms 14 3 12s57ms 4s19ms 15 2 7s875ms 3s937ms 18 1 3s929ms 3s929ms 19 1 3s915ms 3s915ms 20 2 7s811ms 3s905ms 21 1 4s11ms 4s11ms 23 1 3s956ms 3s956ms Dec 06 02 6 23s181ms 3s863ms 03 1 3s982ms 3s982ms 04 2 7s814ms 3s907ms 05 8 31s734ms 3s966ms 10 2 7s838ms 3s919ms 12 4 15s947ms 3s986ms 13 1 4s143ms 4s143ms 14 1 3s942ms 3s942ms 15 2 7s761ms 3s880ms 17 1 4s126ms 4s126ms 18 1 3s841ms 3s841ms 20 1 3s860ms 3s860ms 21 4 15s525ms 3s881ms 22 1 3s939ms 3s939ms Dec 07 00 3 11s477ms 3s825ms 01 1 4s254ms 4s254ms 02 2 8s257ms 4s128ms 03 2 7s914ms 3s957ms 05 1 3s870ms 3s870ms 08 1 3s905ms 3s905ms 10 1 3s908ms 3s908ms 11 2 7s696ms 3s848ms 12 2 7s820ms 3s910ms 15 1 4s 4s 16 1 3s805ms 3s805ms 17 2 7s732ms 3s866ms 20 2 7s886ms 3s943ms 21 1 3s962ms 3s962ms 22 1 3s936ms 3s936ms 23 1 4s103ms 4s103ms [ User: pubeu - Total duration: 7m48s - 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 = '1427841') 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 = '1427841') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-12-03 07:30:13 Duration: 5s754ms 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 = '1427841') 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 = '1427841') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-12-01 17:51:50 Duration: 5s711ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1343306') AND stm.slim_term_id = st.slim_term_id AND cd.curated_reference_qty > 0) curatedCount, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1343306') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-12-03 04:28:19 Duration: 5s634ms Bind query: yes
4 289 5m58s 1s146ms 1s410ms 1s240ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or receptorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Dec 01 00 6 7s592ms 1s265ms 01 2 2s558ms 1s279ms 02 2 2s603ms 1s301ms 03 1 1s291ms 1s291ms 04 1 1s289ms 1s289ms 05 6 7s830ms 1s305ms 07 1 1s220ms 1s220ms 09 4 5s199ms 1s299ms 10 3 3s643ms 1s214ms 11 2 2s562ms 1s281ms 12 2 2s499ms 1s249ms 13 7 8s502ms 1s214ms 14 4 4s999ms 1s249ms 16 2 2s460ms 1s230ms 17 1 1s253ms 1s253ms 18 3 3s787ms 1s262ms 19 1 1s248ms 1s248ms 21 2 2s361ms 1s180ms 22 1 1s292ms 1s292ms 23 3 3s755ms 1s251ms Dec 02 00 2 2s474ms 1s237ms 01 2 2s574ms 1s287ms 04 3 3s624ms 1s208ms 05 3 3s781ms 1s260ms 06 4 5s60ms 1s265ms 08 2 2s517ms 1s258ms 10 3 3s693ms 1s231ms 11 2 2s436ms 1s218ms 12 6 7s393ms 1s232ms 14 2 2s346ms 1s173ms 15 3 3s818ms 1s272ms 16 4 4s770ms 1s192ms 17 2 2s369ms 1s184ms 18 5 6s179ms 1s235ms 20 3 3s765ms 1s255ms 21 2 2s477ms 1s238ms 22 2 2s497ms 1s248ms 23 1 1s233ms 1s233ms Dec 03 00 2 2s385ms 1s192ms 01 1 1s226ms 1s226ms 05 3 3s998ms 1s332ms 06 5 6s64ms 1s212ms 07 2 2s456ms 1s228ms 08 2 2s441ms 1s220ms 09 1 1s219ms 1s219ms 10 2 2s474ms 1s237ms 11 3 3s717ms 1s239ms 12 3 3s816ms 1s272ms 13 1 1s259ms 1s259ms 14 2 2s440ms 1s220ms 15 4 5s113ms 1s278ms 16 6 7s428ms 1s238ms 17 1 1s256ms 1s256ms 19 2 2s505ms 1s252ms 20 2 2s449ms 1s224ms 21 1 1s224ms 1s224ms 22 1 1s235ms 1s235ms 23 3 3s725ms 1s241ms Dec 04 00 2 2s534ms 1s267ms 01 2 2s499ms 1s249ms 02 2 2s404ms 1s202ms 04 1 1s204ms 1s204ms 05 2 2s653ms 1s326ms 06 1 1s275ms 1s275ms 07 1 1s205ms 1s205ms 08 3 3s595ms 1s198ms 09 3 3s829ms 1s276ms 12 1 1s238ms 1s238ms 13 3 3s608ms 1s202ms 14 1 1s172ms 1s172ms 15 1 1s257ms 1s257ms 16 1 1s214ms 1s214ms 18 2 2s505ms 1s252ms 19 1 1s276ms 1s276ms 20 2 2s391ms 1s195ms 21 3 3s695ms 1s231ms 23 2 2s455ms 1s227ms Dec 05 00 2 2s468ms 1s234ms 01 1 1s276ms 1s276ms 04 4 4s888ms 1s222ms 05 3 3s761ms 1s253ms 08 1 1s272ms 1s272ms 09 3 3s735ms 1s245ms 11 1 1s256ms 1s256ms 12 2 2s463ms 1s231ms 13 3 3s604ms 1s201ms 15 3 3s611ms 1s203ms 16 1 1s260ms 1s260ms 17 1 1s256ms 1s256ms 18 2 2s453ms 1s226ms 20 4 4s783ms 1s195ms 21 3 3s663ms 1s221ms 22 1 1s184ms 1s184ms 23 2 2s441ms 1s220ms Dec 06 00 1 1s224ms 1s224ms 02 3 3s719ms 1s239ms 03 4 4s866ms 1s216ms 04 1 1s211ms 1s211ms 05 4 5s183ms 1s295ms 06 1 1s233ms 1s233ms 07 1 1s171ms 1s171ms 08 2 2s562ms 1s281ms 09 3 3s753ms 1s251ms 10 1 1s195ms 1s195ms 11 2 2s517ms 1s258ms 12 1 1s310ms 1s310ms 13 1 1s241ms 1s241ms 15 3 3s540ms 1s180ms 16 2 2s401ms 1s200ms 18 3 3s724ms 1s241ms 19 3 3s673ms 1s224ms 20 1 1s265ms 1s265ms 22 2 2s535ms 1s267ms 23 3 3s634ms 1s211ms Dec 07 00 1 1s354ms 1s354ms 01 2 2s350ms 1s175ms 03 1 1s255ms 1s255ms 05 3 3s930ms 1s310ms 06 3 3s589ms 1s196ms 09 2 2s400ms 1s200ms 11 2 2s523ms 1s261ms 12 1 1s177ms 1s177ms 13 2 2s440ms 1s220ms 15 1 1s180ms 1s180ms 18 1 1s175ms 1s175ms 19 2 2s519ms 1s259ms 20 2 2s547ms 1s273ms 21 1 1s189ms 1s189ms [ User: pubeu - Total duration: 1m34s - Times executed: 76 ]
[ User: qaeu - Total duration: 6s734ms - 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 = '1221432') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1221432') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-12-06 05:38:43 Duration: 1s410ms Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1221432') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1221432') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-12-01 05:38:37 Duration: 1s395ms Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1221432') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1221432') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-12-07 05:38:38 Duration: 1s387ms Bind query: yes
5 229 43m58s 11s2ms 14s8ms 11s523ms select distinct phenotypeterm.nm as gonm, phenotypeterm.nm_html as gonmhtml, phenotypeterm.acc_txt as goacc, diseaseterm.nm as diseasenm, diseaseterm.nm_html as diseasenmhtml, diseaseterm.acc_txt as diseaseacc, diseaseterm.acc_db_cd as diseaseaccdbcd, chemterm.nm as chemnm, chemterm.nm_html as chemnmhtml, chemterm.acc_txt as chemacc, geneterm.nm as genesymbol, geneterm.nm_html as genesymbolhtml, geneterm.acc_txt as geneacc, count(*) over () fullrowcount from phenotype_term_reference viachemptr, phenotype_term_reference viageneptr, term phenotypeterm, term diseaseterm, term geneterm, term chemterm where viachemptr.via_term_id in ( select baseterm.id from term baseterm where baseterm.object_type_id = ? and baseterm.id in ( select term_id from term_label tl where upper(tl.nm) = ? and tl.object_type_id = ?)) and viachemptr.phenotype_id = phenotypeterm.id and viachemptr.term_object_type_id = ? and viachemptr.term_id = diseaseterm.id and viachemptr.via_term_object_type_id = ? and viachemptr.via_term_id = chemterm.id and viachemptr.term_id = viageneptr.term_id and viachemptr.phenotype_id = viageneptr.phenotype_id and viageneptr.via_term_object_type_id = ? and viageneptr.via_term_id = geneterm.id and exists ( select ? from gene_chem_reference where gene_id = geneterm.id and chem_id = chemterm.id) group by phenotypeterm.nm, phenotypeterm.nm_html, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.nm_html, diseaseterm.acc_txt, diseaseterm.acc_db_cd, chemterm.nm, chemterm.nm_html, chemterm.acc_txt, geneterm.nm, geneterm.nm_html, geneterm.acc_txt order by chemterm.nm;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Dec 02 15 11 2m3s 11s233ms 18 5 57s413ms 11s482ms 19 10 1m56s 11s633ms 20 21 4m1s 11s498ms 21 29 5m38s 11s674ms 22 7 1m19s 11s362ms Dec 03 17 1 11s290ms 11s290ms 22 12 2m17s 11s481ms 23 1 11s228ms 11s228ms Dec 04 09 10 1m55s 11s563ms 11 1 11s118ms 11s118ms Dec 05 21 9 1m41s 11s230ms 22 21 3m56s 11s253ms Dec 06 06 31 6m 11s615ms 07 23 4m25s 11s524ms 09 8 1m29s 11s207ms 10 29 5m42s 11s821ms [ User: pubeu - Total duration: 17m49s - Times executed: 93 ]
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'ETHANOL' AND tl.object_type_id = 2)) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm;
Date: 2024-12-02 21:51:18 Duration: 14s8ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'ETHANOL' AND tl.object_type_id = 2)) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm;
Date: 2024-12-04 09:38:20 Duration: 13s225ms Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'ETHANOL' AND tl.object_type_id = 2)) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm;
Date: 2024-12-06 10:13:09 Duration: 13s216ms Database: ctdprd51 User: pubeu Bind query: yes
6 188 3m57s 1s155ms 1s493ms 1s262ms 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 #6
Day Hour Count Duration Avg duration Dec 01 01 1 1s294ms 1s294ms 05 4 5s332ms 1s333ms 06 1 1s335ms 1s335ms 08 2 2s562ms 1s281ms 09 1 1s371ms 1s371ms 11 1 1s269ms 1s269ms 12 2 2s638ms 1s319ms 16 1 1s270ms 1s270ms 18 1 1s284ms 1s284ms 19 1 1s181ms 1s181ms 20 1 1s254ms 1s254ms 21 1 1s180ms 1s180ms 22 2 2s723ms 1s361ms 23 1 1s299ms 1s299ms Dec 02 01 1 1s493ms 1s493ms 03 2 2s607ms 1s303ms 04 1 1s256ms 1s256ms 05 2 2s724ms 1s362ms 06 2 2s581ms 1s290ms 07 2 2s495ms 1s247ms 08 1 1s263ms 1s263ms 09 2 2s592ms 1s296ms 12 2 2s637ms 1s318ms 13 1 1s294ms 1s294ms 14 2 2s430ms 1s215ms 16 2 2s471ms 1s235ms 17 3 3s695ms 1s231ms 18 2 2s528ms 1s264ms 21 2 2s508ms 1s254ms 22 1 1s350ms 1s350ms 23 2 2s530ms 1s265ms Dec 03 00 1 1s270ms 1s270ms 01 3 3s643ms 1s214ms 02 1 1s237ms 1s237ms 03 1 1s264ms 1s264ms 04 3 3s860ms 1s286ms 05 4 5s393ms 1s348ms 06 2 2s431ms 1s215ms 08 1 1s280ms 1s280ms 09 2 2s501ms 1s250ms 10 3 3s687ms 1s229ms 12 2 2s362ms 1s181ms 14 3 3s859ms 1s286ms 15 1 1s260ms 1s260ms 18 2 2s493ms 1s246ms 19 2 2s534ms 1s267ms 20 1 1s332ms 1s332ms 21 2 2s463ms 1s231ms 22 1 1s268ms 1s268ms 23 1 1s222ms 1s222ms Dec 04 00 3 3s775ms 1s258ms 02 1 1s299ms 1s299ms 03 3 3s602ms 1s200ms 05 2 2s688ms 1s344ms 06 1 1s162ms 1s162ms 07 3 3s712ms 1s237ms 08 2 2s581ms 1s290ms 09 1 1s342ms 1s342ms 10 1 1s166ms 1s166ms 11 2 2s537ms 1s268ms 12 2 2s664ms 1s332ms 16 1 1s266ms 1s266ms 19 3 3s757ms 1s252ms 21 1 1s229ms 1s229ms 22 1 1s243ms 1s243ms 23 1 1s224ms 1s224ms Dec 05 01 1 1s338ms 1s338ms 03 1 1s304ms 1s304ms 05 3 3s936ms 1s312ms 06 2 2s463ms 1s231ms 07 2 2s356ms 1s178ms 12 1 1s261ms 1s261ms 16 5 6s30ms 1s206ms 19 1 1s260ms 1s260ms 20 2 2s391ms 1s195ms 21 1 1s193ms 1s193ms 22 1 1s279ms 1s279ms 23 1 1s270ms 1s270ms Dec 06 02 3 3s793ms 1s264ms 05 3 3s985ms 1s328ms 06 2 2s409ms 1s204ms 09 2 2s550ms 1s275ms 10 1 1s198ms 1s198ms 12 1 1s155ms 1s155ms 14 2 2s588ms 1s294ms 16 1 1s155ms 1s155ms 17 1 1s158ms 1s158ms 18 1 1s232ms 1s232ms 19 5 6s143ms 1s228ms 23 2 2s375ms 1s187ms Dec 07 01 2 2s500ms 1s250ms 02 1 1s297ms 1s297ms 03 1 1s316ms 1s316ms 04 4 4s950ms 1s237ms 05 5 6s577ms 1s315ms 08 1 1s177ms 1s177ms 09 1 1s274ms 1s274ms 10 1 1s284ms 1s284ms 13 1 1s247ms 1s247ms 14 2 2s587ms 1s293ms 15 1 1s169ms 1s169ms 17 2 2s454ms 1s227ms 18 2 2s389ms 1s194ms 22 3 3s781ms 1s260ms 23 2 2s476ms 1s238ms [ User: pubeu - Total duration: 1m18s - Times executed: 62 ]
-
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 = '2084099') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2084099') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-12-02 01:39:55 Duration: 1s493ms 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 = '2080719') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2080719') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-12-06 05:38:46 Duration: 1s436ms 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 = '2080719') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2080719') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-12-02 05:43:44 Duration: 1s417ms Bind query: yes
7 171 4m3s 1s321ms 1s769ms 1s422ms 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 #7
Day Hour Count Duration Avg duration Dec 01 02 2 2s736ms 1s368ms 04 1 1s446ms 1s446ms 05 2 2s800ms 1s400ms 09 1 1s371ms 1s371ms 10 2 2s783ms 1s391ms 20 1 1s456ms 1s456ms 22 1 1s354ms 1s354ms Dec 02 02 2 2s901ms 1s450ms 04 1 1s467ms 1s467ms 05 2 2s824ms 1s412ms 09 1 1s329ms 1s329ms 10 1 1s469ms 1s469ms 11 1 1s324ms 1s324ms 13 2 2s768ms 1s384ms 17 1 1s322ms 1s322ms 21 2 2s921ms 1s460ms Dec 03 03 1 1s321ms 1s321ms 04 3 4s310ms 1s436ms 05 3 4s31ms 1s343ms 08 1 1s329ms 1s329ms 09 3 4s13ms 1s337ms 11 1 1s328ms 1s328ms 12 1 1s454ms 1s454ms 22 2 2s874ms 1s437ms Dec 04 00 1 1s327ms 1s327ms 02 2 2s993ms 1s496ms 03 1 1s327ms 1s327ms 05 3 4s175ms 1s391ms 07 1 1s327ms 1s327ms 08 1 1s338ms 1s338ms 09 1 1s451ms 1s451ms 12 1 1s333ms 1s333ms 19 1 1s365ms 1s365ms 20 1 1s357ms 1s357ms 21 1 1s351ms 1s351ms Dec 05 01 1 1s403ms 1s403ms 02 1 1s391ms 1s391ms 05 2 2s810ms 1s405ms 07 1 1s398ms 1s398ms 08 1 1s410ms 1s410ms 11 14 20s59ms 1s432ms 13 7 10s23ms 1s431ms 14 2 2s835ms 1s417ms 15 8 11s545ms 1s443ms 18 8 11s872ms 1s484ms 19 8 12s63ms 1s507ms 20 5 7s224ms 1s444ms 21 8 11s800ms 1s475ms 22 5 7s228ms 1s445ms 23 6 8s489ms 1s414ms Dec 06 00 12 17s79ms 1s423ms 01 1 1s428ms 1s428ms 02 12 17s381ms 1s448ms 04 1 1s391ms 1s391ms 05 3 4s214ms 1s404ms 10 1 1s366ms 1s366ms 12 1 1s359ms 1s359ms 21 3 4s143ms 1s381ms 22 1 1s365ms 1s365ms Dec 07 00 1 1s392ms 1s392ms 04 1 1s349ms 1s349ms 05 2 2s824ms 1s412ms 10 1 1s461ms 1s461ms 13 1 1s345ms 1s345ms 15 1 1s342ms 1s342ms [ User: pubeu - Total duration: 1m34s - Times executed: 66 ]
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2024-12-05 19:42:48 Duration: 1s769ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2024-12-05 21:49:22 Duration: 1s657ms Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2024-12-05 18:14:00 Duration: 1s634ms Database: ctdprd51 User: pubeu Bind query: yes
8 168 11m20s 1s1ms 5s862ms 4s52ms select d.abbr dagabbr, d.nm dagnm, gt.level_min_no daglevelmin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pvalcorrected, te.raw_p_val pvalraw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, count(*) over () fullrowcount from term_enrichment te inner join dag_node gt on te.enriched_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, d.abbr, gt.nm_sort limit ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Dec 01 01 6 22s841ms 3s806ms 02 7 33s299ms 4s757ms 07 1 5s283ms 5s283ms 10 1 5s208ms 5s208ms 12 1 1s72ms 1s72ms 15 1 1s16ms 1s16ms 18 1 5s362ms 5s362ms 19 4 16s806ms 4s201ms 20 2 6s268ms 3s134ms 22 2 6s306ms 3s153ms Dec 02 00 1 5s134ms 5s134ms 04 1 1s32ms 1s32ms 06 3 7s433ms 2s477ms 08 1 5s96ms 5s96ms 09 1 1s49ms 1s49ms 10 1 1s16ms 1s16ms 12 5 21s708ms 4s341ms 16 1 1s23ms 1s23ms 21 2 10s318ms 5s159ms 23 2 2s43ms 1s21ms Dec 03 01 6 31s862ms 5s310ms 02 1 5s172ms 5s172ms 03 1 1s5ms 1s5ms 05 1 5s275ms 5s275ms 06 5 22s19ms 4s403ms 08 1 5s291ms 5s291ms 10 1 5s367ms 5s367ms 17 2 6s398ms 3s199ms 18 1 5s257ms 5s257ms 22 1 5s225ms 5s225ms 23 5 22s123ms 4s424ms Dec 04 02 6 27s840ms 4s640ms 03 3 15s209ms 5s69ms 04 2 2s61ms 1s30ms 06 1 5s336ms 5s336ms 07 4 17s199ms 4s299ms 08 1 5s149ms 5s149ms 09 3 16s33ms 5s344ms 10 1 5s533ms 5s533ms 12 1 5s114ms 5s114ms 17 1 5s242ms 5s242ms 20 3 15s834ms 5s278ms 21 2 2s32ms 1s16ms 22 1 5s80ms 5s80ms 23 1 1s24ms 1s24ms Dec 05 00 3 16s253ms 5s417ms 02 5 26s693ms 5s338ms 03 4 13s769ms 3s442ms 09 4 21s45ms 5s261ms 10 7 23s670ms 3s381ms 12 2 2s53ms 1s26ms 13 1 5s78ms 5s78ms 14 1 1s6ms 1s6ms 16 1 1s23ms 1s23ms Dec 06 05 2 6s93ms 3s46ms 06 4 16s290ms 4s72ms 10 1 1s58ms 1s58ms 13 1 4s918ms 4s918ms 14 1 1s44ms 1s44ms 16 1 1s12ms 1s12ms 20 1 1s15ms 1s15ms 21 1 5s3ms 5s3ms 22 3 16s93ms 5s364ms Dec 07 01 6 21s992ms 3s665ms 03 1 1s23ms 1s23ms 08 1 5s5ms 5s5ms 10 5 25s546ms 5s109ms 11 4 22s351ms 5s587ms 12 1 1s28ms 1s28ms 18 3 11s356ms 3s785ms 20 2 10s531ms 5s265ms 21 2 10s946ms 5s473ms 23 1 4s886ms 4s886ms [ User: pubeu - Total duration: 1m53s - Times executed: 28 ]
-
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 = '1330389' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-12-05 03:54:07 Duration: 5s862ms 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 = '1330389' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-12-05 03:54:04 Duration: 5s816ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1388144' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-12-07 11:50:54 Duration: 5s740ms Bind query: yes
9 92 3m56s 1s201ms 6s440ms 2s574ms 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 #9
Day Hour Count Duration Avg duration Dec 01 00 1 6s258ms 6s258ms 01 10 25s444ms 2s544ms 19 9 22s904ms 2s544ms Dec 02 01 1 3s27ms 3s27ms 12 10 26s28ms 2s602ms Dec 03 06 10 25s145ms 2s514ms 23 10 24s564ms 2s456ms Dec 05 10 11 27s32ms 2s457ms 16 1 1s863ms 1s863ms Dec 06 06 9 23s314ms 2s590ms 14 1 2s822ms 2s822ms Dec 07 01 10 25s394ms 2s539ms 18 9 23s43ms 2s560ms [ User: pubeu - Total duration: 1m1s - 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 = '1398604'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-12-02 12:33:14 Duration: 6s440ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1398604'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-12-01 01:37:53 Duration: 6s438ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1398604'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-12-07 01:11:49 Duration: 6s378ms Bind query: yes
10 75 3m8s 1s115ms 4s706ms 2s511ms 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 #10
Day Hour Count Duration Avg duration Dec 01 01 9 22s473ms 2s497ms 19 8 19s238ms 2s404ms Dec 02 12 9 22s520ms 2s502ms Dec 03 06 9 22s563ms 2s507ms 23 9 22s647ms 2s516ms Dec 05 10 9 22s117ms 2s457ms Dec 06 06 6 16s131ms 2s688ms Dec 07 01 9 22s202ms 2s466ms 18 7 18s468ms 2s638ms [ User: pubeu - Total duration: 27s351ms - Times executed: 9 ]
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1398604') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1398604') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-12-07 18:52:50 Duration: 4s706ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1398604') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1398604') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-12-02 12:33:19 Duration: 4s651ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1398604') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1398604') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-12-03 23:40:50 Duration: 4s631ms Bind query: yes
11 45 1m47s 1s3ms 3s549ms 2s390ms with recursive sub_node ( object_id, id, path, lvl ) as ( select n.object_id, n.id, array[n.nm_sort], ? from dag_node n where n.object_id = ? union all select n.object_id, n.id, cast(path || n.nm_sort as varchar(?)[]), sn.lvl + ? from dag_node n inner join sub_node sn on (n.parent_id = sn.id)) select distinct t.nm prinm, t.nm_html prinmhtml, t.secondary_nm secondarynm, t.acc_db_cd accdbcd, t.acc_txt termacc, t.is_leaf isleaf, t.has_chems haschems, t.has_diseases hasdiseases, t.has_exposures hasexposures, t.has_genes hasgenes, sn.lvl, sn.path, max(sn.lvl) over () maxlvl, t.has_phenotypes hasphenotypes from sub_node sn inner join term t on sn.object_id = t.id where sn.lvl <= ? order by sn.path;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Dec 01 05 4 8s861ms 2s215ms 10 3 10s414ms 3s471ms Dec 02 05 4 8s822ms 2s205ms 21 3 7s986ms 2s662ms Dec 03 00 1 2s33ms 2s33ms 05 5 12s173ms 2s434ms 18 1 1s975ms 1s975ms Dec 04 05 4 8s690ms 2s172ms 09 2 4s279ms 2s139ms 13 1 3s235ms 3s235ms 19 1 1s885ms 1s885ms Dec 05 05 4 8s845ms 2s211ms 08 1 3s285ms 3s285ms 15 1 1s878ms 1s878ms 19 1 2s509ms 2s509ms Dec 06 00 1 3s362ms 3s362ms 05 4 8s673ms 2s168ms Dec 07 05 4 8s647ms 2s161ms [ User: pubeu - Total duration: 35s788ms - Times executed: 11 ]
[ User: qaeu - Total duration: 23s495ms - Times executed: 7 ]
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '654815' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 4 ORDER BY sn.path;
Date: 2024-12-01 10:40:57 Duration: 3s549ms Database: ctdprd51 User: pubeu Bind query: yes
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '654815' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 4 ORDER BY sn.path;
Date: 2024-12-01 10:40:56 Duration: 3s487ms Bind query: yes
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '594258' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2024-12-03 05:35:19 Duration: 3s476ms Database: ctdprd51 User: pubeu Bind query: yes
12 43 44s325ms 1s 1s126ms 1s30ms select p.nm pathwaynm, p.acc_db_cd pathwayaccdbcd, p.acc_txt pathwayacc, p.id pathwayid, 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 term p on te.enriched_term_id = p.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, p.nm_sort limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Dec 01 00 1 1s17ms 1s17ms 01 2 2s80ms 1s40ms 07 1 1s38ms 1s38ms 19 2 2s46ms 1s23ms Dec 02 12 1 1s30ms 1s30ms Dec 03 04 1 1s8ms 1s8ms 05 1 1s33ms 1s33ms 06 2 2s71ms 1s35ms 07 1 1s39ms 1s39ms 09 1 1s5ms 1s5ms 18 1 1s23ms 1s23ms 23 2 2s47ms 1s23ms Dec 04 00 1 1s24ms 1s24ms 01 1 1s6ms 1s6ms 07 1 1s33ms 1s33ms 09 1 1s22ms 1s22ms 17 1 1s40ms 1s40ms Dec 05 00 1 1s126ms 1s126ms 01 1 1s44ms 1s44ms 02 2 2s19ms 1s9ms 03 1 1s39ms 1s39ms 08 1 1s21ms 1s21ms 09 1 1s31ms 1s31ms 10 2 2s166ms 1s83ms 20 1 1s8ms 1s8ms Dec 06 05 1 1s15ms 1s15ms 06 2 2s10ms 1s5ms 07 1 1s6ms 1s6ms Dec 07 01 2 2s63ms 1s31ms 03 1 1s46ms 1s46ms 10 1 1s11ms 1s11ms 18 2 2s82ms 1s41ms 20 1 1s26ms 1s26ms 23 1 1s34ms 1s34ms [ User: pubeu - Total duration: 13s520ms - Times executed: 13 ]
-
SELECT /* ChemPathwaysDAO */ p.nm pathwaynm, p.acc_db_cd pathwayaccdbcd, p.acc_txt pathwayacc, p.id pathwayid, 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 term p ON te.enriched_term_id = p.id WHERE te.term_id = '1265875' AND te.enriched_object_type_id = 6 ORDER BY te.corrected_p_val, p.nm_sort LIMIT 50;
Date: 2024-12-05 00:01:25 Duration: 1s126ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemPathwaysDAO */ p.nm pathwaynm, p.acc_db_cd pathwayaccdbcd, p.acc_txt pathwayacc, p.id pathwayid, 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 term p ON te.enriched_term_id = p.id WHERE te.term_id = '1328438' AND te.enriched_object_type_id = 6 ORDER BY te.corrected_p_val, p.nm_sort LIMIT 50;
Date: 2024-12-05 10:08:40 Duration: 1s88ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemPathwaysDAO */ p.nm pathwaynm, p.acc_db_cd pathwayaccdbcd, p.acc_txt pathwayacc, p.id pathwayid, 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 term p ON te.enriched_term_id = p.id WHERE te.term_id = '1265875' AND te.enriched_object_type_id = 6 ORDER BY te.corrected_p_val, p.nm_sort LIMIT 50;
Date: 2024-12-05 10:09:18 Duration: 1s77ms Database: ctdprd51 User: pubeu Bind query: yes
13 42 1m35s 1s16ms 4s941ms 2s268ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Dec 01 20 2 4s924ms 2s462ms Dec 02 01 1 2s444ms 2s444ms 05 1 1s20ms 1s20ms 11 1 2s432ms 2s432ms 20 1 2s639ms 2s639ms 21 1 2s653ms 2s653ms Dec 03 01 1 2s501ms 2s501ms 02 1 1s360ms 1s360ms 05 2 5s844ms 2s922ms 06 1 1s155ms 1s155ms 09 1 1s259ms 1s259ms 10 1 4s941ms 4s941ms 18 2 3s361ms 1s680ms 20 1 2s606ms 2s606ms 21 1 2s474ms 2s474ms Dec 04 02 2 3s912ms 1s956ms 04 1 2s696ms 2s696ms 12 2 5s29ms 2s514ms 15 1 2s427ms 2s427ms 20 3 6s188ms 2s62ms Dec 05 07 1 2s454ms 2s454ms 09 1 2s185ms 2s185ms 13 1 2s369ms 2s369ms 14 1 1s29ms 1s29ms 20 1 2s604ms 2s604ms 23 1 1s153ms 1s153ms Dec 06 02 1 1s249ms 1s249ms 03 1 2s531ms 2s531ms 05 1 1s206ms 1s206ms 10 1 4s839ms 4s839ms 13 1 1s16ms 1s16ms 14 1 2s367ms 2s367ms Dec 07 01 1 2s610ms 2s610ms 02 1 1s417ms 1s417ms 16 1 4s380ms 4s380ms [ User: pubeu - Total duration: 26s133ms - Times executed: 12 ]
-
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 = '2079172') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-12-03 10:36:26 Duration: 4s941ms 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 = '2080270') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-12-06 10:05:16 Duration: 4s839ms 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 = '2079172') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-12-03 05:33:46 Duration: 4s710ms Bind query: yes
14 33 48s566ms 1s457ms 1s511ms 1s471ms 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 ?, 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 #14
Day Hour Count Duration Avg duration Dec 01 06 2 2s941ms 1s470ms 07 1 1s489ms 1s489ms 08 2 2s976ms 1s488ms Dec 02 00 1 1s466ms 1s466ms 06 1 1s461ms 1s461ms 07 5 7s376ms 1s475ms 08 1 1s490ms 1s490ms 09 2 2s937ms 1s468ms 11 1 1s462ms 1s462ms 12 1 1s479ms 1s479ms 15 2 2s947ms 1s473ms 16 1 1s464ms 1s464ms Dec 04 00 1 1s466ms 1s466ms 08 2 2s924ms 1s462ms 09 1 1s465ms 1s465ms 10 1 1s467ms 1s467ms 11 1 1s465ms 1s465ms 12 1 1s478ms 1s478ms 17 1 1s469ms 1s469ms Dec 05 00 1 1s466ms 1s466ms 08 1 1s469ms 1s469ms Dec 06 08 1 1s459ms 1s459ms 15 1 1s477ms 1s477ms 16 1 1s462ms 1s462ms [ User: pubeu - Total duration: 23s479ms - Times executed: 16 ]
-
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, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2024-12-02 07:02:28 Duration: 1s511ms 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, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2024-12-01 08:11:32 Duration: 1s502ms 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, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2024-12-02 08:18:04 Duration: 1s490ms Bind query: yes
15 32 53s884ms 1s32ms 7s295ms 1s683ms 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 #15
Day Hour Count Duration Avg duration Dec 01 06 2 3s75ms 1s537ms 07 3 4s604ms 1s534ms 14 1 1s434ms 1s434ms Dec 02 02 1 1s142ms 1s142ms 04 1 1s62ms 1s62ms 06 1 1s39ms 1s39ms Dec 03 07 1 1s780ms 1s780ms 21 3 5s43ms 1s681ms 23 2 2s548ms 1s274ms Dec 04 20 1 7s295ms 7s295ms 21 2 2s703ms 1s351ms 23 1 1s532ms 1s532ms Dec 05 01 1 1s86ms 1s86ms 02 2 2s84ms 1s42ms 09 3 4s551ms 1s517ms 11 2 2s98ms 1s49ms 13 1 1s884ms 1s884ms Dec 06 02 1 2s116ms 2s116ms 06 1 3s289ms 3s289ms 07 1 1s555ms 1s555ms Dec 07 06 1 1s955ms 1s955ms [ User: pubeu - Total duration: 15s105ms - Times executed: 11 ]
-
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 = '2088968') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-12-04 20:38:59 Duration: 7s295ms 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 = '2087029') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-12-06 06:01:08 Duration: 3s289ms 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 = '2082832') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-12-05 09:24:03 Duration: 2s187ms Database: ctdprd51 User: pubeu Bind query: yes
16 32 39s353ms 1s193ms 1s368ms 1s229ms 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 upper(baseterm.nm) like ?) and viageneptr.via_term_id in ( select baseterm.id from term baseterm where baseterm.object_type_id = ? and upper(baseterm.nm) like ?) and viachemptr.phenotype_id = phenotypeterm.id and viachemptr.term_object_type_id = ? and viachemptr.term_id = diseaseterm.id and viachemptr.via_term_object_type_id = ? and viachemptr.via_term_id = chemterm.id and viachemptr.term_id = viageneptr.term_id and viachemptr.phenotype_id = viageneptr.phenotype_id and viageneptr.via_term_object_type_id = ? and viageneptr.via_term_id = geneterm.id and exists ( select ? from gene_chem_reference where gene_id = geneterm.id and chem_id = chemterm.id) group by phenotypeterm.nm, phenotypeterm.nm_html, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.nm_html, diseaseterm.acc_txt, diseaseterm.acc_db_cd, chemterm.nm, chemterm.nm_html, chemterm.acc_txt, geneterm.nm, geneterm.nm_html, geneterm.acc_txt order by chemterm.nm limit ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Dec 03 12 6 7s453ms 1s242ms 13 2 2s435ms 1s217ms 14 6 7s337ms 1s222ms 15 6 7s455ms 1s242ms Dec 04 09 1 1s249ms 1s249ms 12 6 7s329ms 1s221ms 13 5 6s92ms 1s218ms [ User: pubeu - Total duration: 13s590ms - Times executed: 11 ]
-
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 upper(baseTerm.nm) LIKE 'CHLORDAN') and viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and upper(baseTerm.nm) LIKE 'TNF') and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;
Date: 2024-12-03 15:30:43 Duration: 1s368ms 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 upper(baseTerm.nm) LIKE 'CHLORPYRIFOS') and viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and upper(baseTerm.nm) LIKE 'TNF') and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;
Date: 2024-12-03 12:23:49 Duration: 1s320ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 2 and upper(baseTerm.nm) LIKE 'METHYL PARATHION') and viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and upper(baseTerm.nm) LIKE 'TNF') and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;
Date: 2024-12-04 09:07:35 Duration: 1s249ms Database: ctdprd51 User: pubeu Bind query: yes
17 29 42s900ms 1s191ms 1s939ms 1s479ms 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 #17
Day Hour Count Duration Avg duration Dec 01 05 4 5s775ms 1s443ms Dec 02 05 4 5s829ms 1s457ms Dec 03 05 4 5s842ms 1s460ms Dec 04 05 4 5s964ms 1s491ms Dec 05 01 1 1s228ms 1s228ms 05 4 6s136ms 1s534ms Dec 06 05 4 5s366ms 1s341ms Dec 07 05 4 6s756ms 1s689ms [ User: pubeu - Total duration: 4s723ms - Times executed: 3 ]
-
SELECT /* ReferenceGeneGeneIxnsDAO */ fg.nm fromGeneSymbol, fg.acc_txt fromGeneAcc, tg.nm toGeneSymbol, tg.acc_txt toGeneAcc, ft.nm fromTaxonNm, ft.secondary_nm fromTaxonCommonNm, ft.acc_txt fromTaxonAcc, tt.nm toTaxonNm, tt.secondary_nm toTaxonCommonNm, tt.acc_txt toTaxonAcc, ggr.experimental_sys_nm, ggr.experimental_sys_type, ( SELECT STRING_AGG(ggt.throughput_txt, ', ' ORDER BY ggt.throughput_txt) FROM gene_gene_ref_throughput ggt WHERE ggt.gene_gene_reference_id = ggr.id) throughput, COUNT(*) OVER () fullRowCount FROM gene_gene_reference ggr INNER JOIN term fg ON ggr.from_gene_id = fg.id INNER JOIN term tg ON ggr.to_gene_id = tg.id INNER JOIN term ft ON ggr.from_taxon_id = ft.id INNER JOIN term tt ON ggr.to_taxon_id = tt.id WHERE ggr.reference_id = '111363' ORDER BY fg.nm_sort, tg.nm_sort LIMIT 50;
Date: 2024-12-03 05:43:07 Duration: 1s939ms Bind query: yes
-
SELECT /* ReferenceGeneGeneIxnsDAO */ fg.nm fromGeneSymbol, fg.acc_txt fromGeneAcc, tg.nm toGeneSymbol, tg.acc_txt toGeneAcc, ft.nm fromTaxonNm, ft.secondary_nm fromTaxonCommonNm, ft.acc_txt fromTaxonAcc, tt.nm toTaxonNm, tt.secondary_nm toTaxonCommonNm, tt.acc_txt toTaxonAcc, ggr.experimental_sys_nm, ggr.experimental_sys_type, ( SELECT STRING_AGG(ggt.throughput_txt, ', ' ORDER BY ggt.throughput_txt) FROM gene_gene_ref_throughput ggt WHERE ggt.gene_gene_reference_id = ggr.id) throughput, COUNT(*) OVER () fullRowCount FROM gene_gene_reference ggr INNER JOIN term fg ON ggr.from_gene_id = fg.id INNER JOIN term tg ON ggr.to_gene_id = tg.id INNER JOIN term ft ON ggr.from_taxon_id = ft.id INNER JOIN term tt ON ggr.to_taxon_id = tt.id WHERE ggr.reference_id = '111363' ORDER BY fg.nm_sort, tg.nm_sort LIMIT 50;
Date: 2024-12-07 05:38:06 Duration: 1s887ms Bind query: yes
-
SELECT /* ReferenceGeneGeneIxnsDAO */ fg.nm fromGeneSymbol, fg.acc_txt fromGeneAcc, tg.nm toGeneSymbol, tg.acc_txt toGeneAcc, ft.nm fromTaxonNm, ft.secondary_nm fromTaxonCommonNm, ft.acc_txt fromTaxonAcc, tt.nm toTaxonNm, tt.secondary_nm toTaxonCommonNm, tt.acc_txt toTaxonAcc, ggr.experimental_sys_nm, ggr.experimental_sys_type, ( SELECT STRING_AGG(ggt.throughput_txt, ', ' ORDER BY ggt.throughput_txt) FROM gene_gene_ref_throughput ggt WHERE ggt.gene_gene_reference_id = ggr.id) throughput, COUNT(*) OVER () fullRowCount FROM gene_gene_reference ggr INNER JOIN term fg ON ggr.from_gene_id = fg.id INNER JOIN term tg ON ggr.to_gene_id = tg.id INNER JOIN term ft ON ggr.from_taxon_id = ft.id INNER JOIN term tt ON ggr.to_taxon_id = tt.id WHERE ggr.reference_id = '111363' ORDER BY fg.nm_sort, tg.nm_sort LIMIT 50;
Date: 2024-12-05 05:38:07 Duration: 1s813ms Database: ctdprd51 User: pubeu Bind query: yes
18 25 16m41s 39s329ms 41s609ms 40s71ms 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 #18
Day Hour Count Duration Avg duration Dec 01 06 1 39s555ms 39s555ms 10 1 39s472ms 39s472ms 14 1 39s396ms 39s396ms 18 1 39s329ms 39s329ms Dec 02 06 1 39s536ms 39s536ms 10 1 39s481ms 39s481ms 14 1 39s513ms 39s513ms 18 1 39s346ms 39s346ms Dec 03 06 1 39s892ms 39s892ms 10 1 39s602ms 39s602ms 14 1 39s818ms 39s818ms 18 1 39s875ms 39s875ms Dec 04 06 1 40s144ms 40s144ms 10 1 40s61ms 40s61ms 14 1 40s16ms 40s16ms 18 1 40s211ms 40s211ms Dec 05 06 1 40s219ms 40s219ms 10 1 40s614ms 40s614ms 14 1 40s373ms 40s373ms 18 1 40s420ms 40s420ms Dec 06 06 1 41s609ms 41s609ms 10 1 40s680ms 40s680ms 14 1 40s611ms 40s611ms 18 1 40s766ms 40s766ms Dec 07 19 1 41s230ms 41s230ms [ User: postgres - Total duration: 16m - Times executed: 24 ]
[ Application: pg_dump - Total duration: 16m - Times executed: 24 ]
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-12-06 06:05:43 Duration: 41s609ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-12-07 19:57:53 Duration: 41s230ms
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-12-06 18:05:43 Duration: 40s766ms Database: ctdprd51 User: postgres Application: pg_dump
19 25 6m12s 14s824ms 15s129ms 14s910ms copy edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Dec 01 06 1 14s919ms 14s919ms 10 1 15s24ms 15s24ms 14 1 14s860ms 14s860ms 18 1 14s840ms 14s840ms Dec 02 06 1 14s867ms 14s867ms 10 1 14s843ms 14s843ms 14 1 14s960ms 14s960ms 18 1 14s901ms 14s901ms Dec 03 06 1 14s941ms 14s941ms 10 1 14s841ms 14s841ms 14 1 14s870ms 14s870ms 18 1 14s832ms 14s832ms Dec 04 06 1 14s990ms 14s990ms 10 1 14s950ms 14s950ms 14 1 14s985ms 14s985ms 18 1 14s853ms 14s853ms Dec 05 06 1 14s897ms 14s897ms 10 1 14s883ms 14s883ms 14 1 15s129ms 15s129ms 18 1 14s912ms 14s912ms Dec 06 06 1 14s930ms 14s930ms 10 1 14s950ms 14s950ms 14 1 14s877ms 14s877ms 18 1 14s871ms 14s871ms Dec 07 18 1 14s824ms 14s824ms [ User: postgres - Total duration: 6m12s - Times executed: 25 ]
[ Application: pg_dump - Total duration: 6m12s - Times executed: 25 ]
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-12-05 14:00:22 Duration: 15s129ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-12-01 10:00:19 Duration: 15s24ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-12-04 06:00:25 Duration: 14s990ms Database: ctdprd51 User: postgres Application: pg_dump
20 25 4m59s 1s292ms 27s20ms 11s995ms select sq.*, count(*) over () fullrowcount from ( select distinct gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid from dag_node gt inner join gene_go_annot gga on gt.object_id = gga.go_term_id inner join term g on gga.gene_id = g.id where gt.id in ( select p.descendant_dag_node_id from dag_path p where p.ancestor_object_id = ?) and gga.is_not = false) sq order by sq.gonmsort, sq.genesymbolsort limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Dec 01 04 1 1s653ms 1s653ms 10 1 1s427ms 1s427ms Dec 02 01 1 3s100ms 3s100ms Dec 03 06 1 3s25ms 3s25ms 07 2 2s822ms 1s411ms 19 1 7s493ms 7s493ms Dec 04 10 1 21s266ms 21s266ms 11 5 2m1s 24s229ms Dec 05 08 1 3s383ms 3s383ms 09 3 4s 1s333ms 21 2 2s592ms 1s296ms Dec 06 01 5 2m5s 25s194ms Dec 07 00 1 2s4ms 2s4ms [ User: pubeu - Total duration: 1m17s - Times executed: 8 ]
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1221429') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-12-06 01:53:30 Duration: 27s20ms Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1221429') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-12-06 01:53:30 Duration: 26s825ms Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1221429') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-12-04 11:01:19 Duration: 26s448ms Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 23m58s 23m58s 23m58s 1 23m58s copy pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Dec 07 19 1 23m58s 23m58s -
COPY pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2024-12-07 19:00:59 Duration: 23m58s
2 23m51s 23m51s 23m51s 1 23m51s copy pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Dec 07 19 1 23m51s 23m51s -
COPY pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2024-12-07 19:43:00 Duration: 23m51s
3 19m45s 20m43s 20m14s 7 2h21m41s select maint_query_logs_archive ();Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Dec 01 00 1 19m45s 19m45s Dec 02 00 1 19m50s 19m50s Dec 03 00 1 19m58s 19m58s Dec 04 00 1 20m9s 20m9s Dec 05 00 1 20m35s 20m35s Dec 06 00 1 20m38s 20m38s Dec 07 00 1 20m43s 20m43s -
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-12-07 00:20:45 Duration: 20m43s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-12-06 00:20:39 Duration: 20m38s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-12-05 00:20:37 Duration: 20m35s
4 12m57s 14m10s 13m25s 3 40m16s select g.id geneid, g.acc_txt acc, g.nm nm, g.nm nmhtml, g.secondary_nm secondarynm, g.has_chems haschems, g.has_diseases hasdiseases, g.has_exposures hasexposures, g.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term g where g.id in ( select gcr.gene_id from gene_chem_reference gcr where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select gd.gene_id from term t inner join dag_path dp on t.id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(t.nm) like ? and t.object_type_id = ? and gd.curated_reference_qty > ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?))) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Dec 03 19 3 40m16s 13m25s [ User: pubeu - Total duration: 27m19s - Times executed: 2 ]
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'COL4A4') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL FAILURE, PROGRESSIVE, WITH HYPERTENSION' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05211' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE '2'',3''-DIDEOXY-2''-FLUOROADENOSINE TRIPHOSPHATE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-12-03 19:13:29 Duration: 14m10s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'COL4A4') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL FAILURE, PROGRESSIVE, WITH HYPERTENSION' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05211' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE '2'',3''-DIDEOXY-2''-FLUOROADENOSINE TRIPHOSPHATE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-12-03 19:12:27 Duration: 13m8s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'COL4A4') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL FAILURE, PROGRESSIVE, WITH HYPERTENSION' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05211' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE '2'',3''-DIDEOXY-2''-FLUOROADENOSINE TRIPHOSPHATE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-12-03 19:04:45 Duration: 12m57s Bind query: yes
5 10m57s 13m42s 12m55s 4 51m40s select gcr.ixn_id, gcr.chem_id, gcr.gene_id, gcr.taxon_id from gene_chem_reference gcr where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select gd.gene_id from term t inner join dag_path dp on t.id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(t.nm) like ? and t.object_type_id = ? and gd.curated_reference_qty > ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?));Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Dec 03 18 1 10m57s 10m57s 19 3 40m43s 13m34s [ User: pubeu - Total duration: 27m10s - Times executed: 2 ]
-
SELECT /* CIQH.getIxnCacheQuery */ gcr.ixn_id, gcr.chem_id, gcr.gene_id, gcr.taxon_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'COL4A4') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL FAILURE, PROGRESSIVE, WITH HYPERTENSION' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05211' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE '2'',3''-DIDEOXY-2''-FLUOROADENOSINE TRIPHOSPHATE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7));
Date: 2024-12-03 19:02:46 Duration: 13m42s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* CIQH.getIxnCacheQuery */ gcr.ixn_id, gcr.chem_id, gcr.gene_id, gcr.taxon_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'COL4A4') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL FAILURE, PROGRESSIVE, WITH HYPERTENSION' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05211' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE '2'',3''-DIDEOXY-2''-FLUOROADENOSINE TRIPHOSPHATE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7));
Date: 2024-12-03 19:02:34 Duration: 13m32s Bind query: yes
-
SELECT /* CIQH.getIxnCacheQuery */ gcr.ixn_id, gcr.chem_id, gcr.gene_id, gcr.taxon_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'COL4A4') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL FAILURE, PROGRESSIVE, WITH HYPERTENSION' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05211' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE '2'',3''-DIDEOXY-2''-FLUOROADENOSINE TRIPHOSPHATE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7));
Date: 2024-12-03 19:02:26 Duration: 13m27s Database: ctdprd51 User: pubeu Bind query: yes
6 8m9s 8m9s 8m9s 1 8m9s 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 #6
Day Hour Count Duration Avg duration Dec 03 13 1 8m9s 8m9s [ User: load - Total duration: 8m9s - Times executed: 1 ]
[ Application: pgAdmin 4 - CONN:5771213 - Total duration: 8m9s - Times executed: 1 ]
-
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-12-03 13:25:03 Duration: 8m9s Database: ctdprd51 User: load Application: pgAdmin 4 - CONN:5771213
7 6m58s 6m58s 6m58s 1 6m58s 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 Dec 07 19 1 6m58s 6m58s -
COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-12-07 19:54:58 Duration: 6m58s
8 6m56s 6m56s 6m56s 1 6m56s copy pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Dec 07 19 1 6m56s 6m56s -
COPY pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-12-07 19:12:56 Duration: 6m56s
9 1s597ms 3m44s 1m29s 7 10m25s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Dec 01 09 1 2m57s 2m57s 11 1 3m44s 3m44s 22 1 1s635ms 1s635ms Dec 02 10 1 1s597ms 1s597ms Dec 03 23 1 3m33s 3m33s Dec 04 10 2 6s511ms 3s255ms [ User: pubeu - Total duration: 3m33s - Times executed: 1 ]
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1252779') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-12-01 11:34:38 Duration: 3m44s 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 = '1236503') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-12-03 23:28:52 Duration: 3m33s 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 = '1240165') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-12-01 09:23:58 Duration: 2m57s Bind query: yes
10 1s449ms 14m10s 1m12s 12 14m28s select ;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Dec 03 19 1 14m10s 14m10s Dec 05 11 1 1s539ms 1s539ms 13 2 3s207ms 1s603ms 15 1 1s618ms 1s618ms 18 2 3s378ms 1s689ms 19 1 1s584ms 1s584ms 20 1 1s575ms 1s575ms 21 1 1s449ms 1s449ms Dec 06 00 1 1s488ms 1s488ms 02 1 1s585ms 1s585ms [ User: pubeu - Total duration: 14m15s - Times executed: 4 ]
-
SELECT /* AdvancedGeneQueryDAO.getData */ ;
Date: 2024-12-03 19:13:29 Duration: 14m10s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ ;
Date: 2024-12-05 18:14:00 Duration: 1s699ms Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ ;
Date: 2024-12-05 18:14:00 Duration: 1s679ms Bind query: yes
11 39s329ms 41s609ms 40s71ms 25 16m41s copy pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) to stdout;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Dec 01 06 1 39s555ms 39s555ms 10 1 39s472ms 39s472ms 14 1 39s396ms 39s396ms 18 1 39s329ms 39s329ms Dec 02 06 1 39s536ms 39s536ms 10 1 39s481ms 39s481ms 14 1 39s513ms 39s513ms 18 1 39s346ms 39s346ms Dec 03 06 1 39s892ms 39s892ms 10 1 39s602ms 39s602ms 14 1 39s818ms 39s818ms 18 1 39s875ms 39s875ms Dec 04 06 1 40s144ms 40s144ms 10 1 40s61ms 40s61ms 14 1 40s16ms 40s16ms 18 1 40s211ms 40s211ms Dec 05 06 1 40s219ms 40s219ms 10 1 40s614ms 40s614ms 14 1 40s373ms 40s373ms 18 1 40s420ms 40s420ms Dec 06 06 1 41s609ms 41s609ms 10 1 40s680ms 40s680ms 14 1 40s611ms 40s611ms 18 1 40s766ms 40s766ms Dec 07 19 1 41s230ms 41s230ms [ User: postgres - Total duration: 16m - Times executed: 24 ]
[ Application: pg_dump - Total duration: 16m - Times executed: 24 ]
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-12-06 06:05:43 Duration: 41s609ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-12-07 19:57:53 Duration: 41s230ms
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-12-06 18:05:43 Duration: 40s766ms Database: ctdprd51 User: postgres Application: pg_dump
12 14s824ms 15s129ms 14s910ms 25 6m12s copy edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Dec 01 06 1 14s919ms 14s919ms 10 1 15s24ms 15s24ms 14 1 14s860ms 14s860ms 18 1 14s840ms 14s840ms Dec 02 06 1 14s867ms 14s867ms 10 1 14s843ms 14s843ms 14 1 14s960ms 14s960ms 18 1 14s901ms 14s901ms Dec 03 06 1 14s941ms 14s941ms 10 1 14s841ms 14s841ms 14 1 14s870ms 14s870ms 18 1 14s832ms 14s832ms Dec 04 06 1 14s990ms 14s990ms 10 1 14s950ms 14s950ms 14 1 14s985ms 14s985ms 18 1 14s853ms 14s853ms Dec 05 06 1 14s897ms 14s897ms 10 1 14s883ms 14s883ms 14 1 15s129ms 15s129ms 18 1 14s912ms 14s912ms Dec 06 06 1 14s930ms 14s930ms 10 1 14s950ms 14s950ms 14 1 14s877ms 14s877ms 18 1 14s871ms 14s871ms Dec 07 18 1 14s824ms 14s824ms [ User: postgres - Total duration: 6m12s - Times executed: 25 ]
[ Application: pg_dump - Total duration: 6m12s - Times executed: 25 ]
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-12-05 14:00:22 Duration: 15s129ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-12-01 10:00:19 Duration: 15s24ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-12-04 06:00:25 Duration: 14s990ms Database: ctdprd51 User: postgres Application: pg_dump
13 14s67ms 14s242ms 14s151ms 24 5m39s copy edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Dec 01 06 1 14s67ms 14s67ms 10 1 14s123ms 14s123ms 14 1 14s225ms 14s225ms 18 1 14s130ms 14s130ms Dec 02 06 1 14s98ms 14s98ms 10 1 14s110ms 14s110ms 18 1 14s183ms 14s183ms Dec 03 06 1 14s237ms 14s237ms 10 1 14s224ms 14s224ms 14 1 14s85ms 14s85ms 18 1 14s101ms 14s101ms Dec 04 06 1 14s242ms 14s242ms 10 1 14s154ms 14s154ms 14 1 14s125ms 14s125ms 18 1 14s148ms 14s148ms Dec 05 06 1 14s192ms 14s192ms 10 1 14s129ms 14s129ms 14 1 14s179ms 14s179ms 18 1 14s125ms 14s125ms Dec 06 06 1 14s152ms 14s152ms 10 1 14s172ms 14s172ms 14 1 14s172ms 14s172ms 18 1 14s102ms 14s102ms Dec 07 18 1 14s141ms 14s141ms -
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-12-04 06:01:07 Duration: 14s242ms
-
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-12-03 06:01:02 Duration: 14s237ms
-
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-12-01 14:01:05 Duration: 14s225ms
14 13s536ms 13s696ms 13s600ms 23 5m12s copy edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Dec 01 06 1 13s536ms 13s536ms 10 1 13s631ms 13s631ms 14 1 13s587ms 13s587ms 18 1 13s673ms 13s673ms Dec 02 06 1 13s563ms 13s563ms 10 1 13s549ms 13s549ms 14 1 13s569ms 13s569ms 18 1 13s603ms 13s603ms Dec 03 06 1 13s604ms 13s604ms 10 1 13s657ms 13s657ms 14 1 13s589ms 13s589ms 18 1 13s626ms 13s626ms Dec 04 06 1 13s566ms 13s566ms 10 1 13s590ms 13s590ms 14 1 13s617ms 13s617ms Dec 05 06 1 13s621ms 13s621ms 10 1 13s622ms 13s622ms 14 1 13s559ms 13s559ms 18 1 13s683ms 13s683ms Dec 06 06 1 13s586ms 13s586ms 10 1 13s696ms 13s696ms 18 1 13s537ms 13s537ms Dec 07 18 1 13s548ms 13s548ms -
COPY edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-12-06 10:00:46 Duration: 13s696ms
-
COPY edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-12-05 18:00:47 Duration: 13s683ms
-
COPY edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-12-01 18:00:46 Duration: 13s673ms
15 1s292ms 27s20ms 11s995ms 25 4m59s select sq.*, count(*) over () fullrowcount from ( select distinct gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid from dag_node gt inner join gene_go_annot gga on gt.object_id = gga.go_term_id inner join term g on gga.gene_id = g.id where gt.id in ( select p.descendant_dag_node_id from dag_path p where p.ancestor_object_id = ?) and gga.is_not = false) sq order by sq.gonmsort, sq.genesymbolsort limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Dec 01 04 1 1s653ms 1s653ms 10 1 1s427ms 1s427ms Dec 02 01 1 3s100ms 3s100ms Dec 03 06 1 3s25ms 3s25ms 07 2 2s822ms 1s411ms 19 1 7s493ms 7s493ms Dec 04 10 1 21s266ms 21s266ms 11 5 2m1s 24s229ms Dec 05 08 1 3s383ms 3s383ms 09 3 4s 1s333ms 21 2 2s592ms 1s296ms Dec 06 01 5 2m5s 25s194ms Dec 07 00 1 2s4ms 2s4ms [ User: pubeu - Total duration: 1m17s - Times executed: 8 ]
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1221429') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-12-06 01:53:30 Duration: 27s20ms Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1221429') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-12-06 01:53:30 Duration: 26s825ms Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1221429') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-12-04 11:01:19 Duration: 26s448ms Bind query: yes
16 11s2ms 14s8ms 11s523ms 229 43m58s select distinct phenotypeterm.nm as gonm, phenotypeterm.nm_html as gonmhtml, phenotypeterm.acc_txt as goacc, diseaseterm.nm as diseasenm, diseaseterm.nm_html as diseasenmhtml, diseaseterm.acc_txt as diseaseacc, diseaseterm.acc_db_cd as diseaseaccdbcd, chemterm.nm as chemnm, chemterm.nm_html as chemnmhtml, chemterm.acc_txt as chemacc, geneterm.nm as genesymbol, geneterm.nm_html as genesymbolhtml, geneterm.acc_txt as geneacc, count(*) over () fullrowcount from phenotype_term_reference viachemptr, phenotype_term_reference viageneptr, term phenotypeterm, term diseaseterm, term geneterm, term chemterm where viachemptr.via_term_id in ( select baseterm.id from term baseterm where baseterm.object_type_id = ? and baseterm.id in ( select term_id from term_label tl where upper(tl.nm) = ? and tl.object_type_id = ?)) and viachemptr.phenotype_id = phenotypeterm.id and viachemptr.term_object_type_id = ? and viachemptr.term_id = diseaseterm.id and viachemptr.via_term_object_type_id = ? and viachemptr.via_term_id = chemterm.id and viachemptr.term_id = viageneptr.term_id and viachemptr.phenotype_id = viageneptr.phenotype_id and viageneptr.via_term_object_type_id = ? and viageneptr.via_term_id = geneterm.id and exists ( select ? from gene_chem_reference where gene_id = geneterm.id and chem_id = chemterm.id) group by phenotypeterm.nm, phenotypeterm.nm_html, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.nm_html, diseaseterm.acc_txt, diseaseterm.acc_db_cd, chemterm.nm, chemterm.nm_html, chemterm.acc_txt, geneterm.nm, geneterm.nm_html, geneterm.acc_txt order by chemterm.nm;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Dec 02 15 11 2m3s 11s233ms 18 5 57s413ms 11s482ms 19 10 1m56s 11s633ms 20 21 4m1s 11s498ms 21 29 5m38s 11s674ms 22 7 1m19s 11s362ms Dec 03 17 1 11s290ms 11s290ms 22 12 2m17s 11s481ms 23 1 11s228ms 11s228ms Dec 04 09 10 1m55s 11s563ms 11 1 11s118ms 11s118ms Dec 05 21 9 1m41s 11s230ms 22 21 3m56s 11s253ms Dec 06 06 31 6m 11s615ms 07 23 4m25s 11s524ms 09 8 1m29s 11s207ms 10 29 5m42s 11s821ms [ User: pubeu - Total duration: 17m49s - Times executed: 93 ]
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'ETHANOL' AND tl.object_type_id = 2)) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm;
Date: 2024-12-02 21:51:18 Duration: 14s8ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'ETHANOL' AND tl.object_type_id = 2)) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm;
Date: 2024-12-04 09:38:20 Duration: 13s225ms Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'ETHANOL' AND tl.object_type_id = 2)) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm;
Date: 2024-12-06 10:13:09 Duration: 13s216ms Database: ctdprd51 User: pubeu Bind query: yes
17 1s1ms 5s862ms 4s52ms 168 11m20s 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 Dec 01 01 6 22s841ms 3s806ms 02 7 33s299ms 4s757ms 07 1 5s283ms 5s283ms 10 1 5s208ms 5s208ms 12 1 1s72ms 1s72ms 15 1 1s16ms 1s16ms 18 1 5s362ms 5s362ms 19 4 16s806ms 4s201ms 20 2 6s268ms 3s134ms 22 2 6s306ms 3s153ms Dec 02 00 1 5s134ms 5s134ms 04 1 1s32ms 1s32ms 06 3 7s433ms 2s477ms 08 1 5s96ms 5s96ms 09 1 1s49ms 1s49ms 10 1 1s16ms 1s16ms 12 5 21s708ms 4s341ms 16 1 1s23ms 1s23ms 21 2 10s318ms 5s159ms 23 2 2s43ms 1s21ms Dec 03 01 6 31s862ms 5s310ms 02 1 5s172ms 5s172ms 03 1 1s5ms 1s5ms 05 1 5s275ms 5s275ms 06 5 22s19ms 4s403ms 08 1 5s291ms 5s291ms 10 1 5s367ms 5s367ms 17 2 6s398ms 3s199ms 18 1 5s257ms 5s257ms 22 1 5s225ms 5s225ms 23 5 22s123ms 4s424ms Dec 04 02 6 27s840ms 4s640ms 03 3 15s209ms 5s69ms 04 2 2s61ms 1s30ms 06 1 5s336ms 5s336ms 07 4 17s199ms 4s299ms 08 1 5s149ms 5s149ms 09 3 16s33ms 5s344ms 10 1 5s533ms 5s533ms 12 1 5s114ms 5s114ms 17 1 5s242ms 5s242ms 20 3 15s834ms 5s278ms 21 2 2s32ms 1s16ms 22 1 5s80ms 5s80ms 23 1 1s24ms 1s24ms Dec 05 00 3 16s253ms 5s417ms 02 5 26s693ms 5s338ms 03 4 13s769ms 3s442ms 09 4 21s45ms 5s261ms 10 7 23s670ms 3s381ms 12 2 2s53ms 1s26ms 13 1 5s78ms 5s78ms 14 1 1s6ms 1s6ms 16 1 1s23ms 1s23ms Dec 06 05 2 6s93ms 3s46ms 06 4 16s290ms 4s72ms 10 1 1s58ms 1s58ms 13 1 4s918ms 4s918ms 14 1 1s44ms 1s44ms 16 1 1s12ms 1s12ms 20 1 1s15ms 1s15ms 21 1 5s3ms 5s3ms 22 3 16s93ms 5s364ms Dec 07 01 6 21s992ms 3s665ms 03 1 1s23ms 1s23ms 08 1 5s5ms 5s5ms 10 5 25s546ms 5s109ms 11 4 22s351ms 5s587ms 12 1 1s28ms 1s28ms 18 3 11s356ms 3s785ms 20 2 10s531ms 5s265ms 21 2 10s946ms 5s473ms 23 1 4s886ms 4s886ms [ User: pubeu - Total duration: 1m53s - Times executed: 28 ]
-
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 = '1330389' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-12-05 03:54:07 Duration: 5s862ms 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 = '1330389' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-12-05 03:54:04 Duration: 5s816ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1388144' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-12-07 11:50:54 Duration: 5s740ms Bind query: yes
18 3s655ms 5s754ms 3s933ms 338 22m9s 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 #18
Day Hour Count Duration Avg duration Dec 01 01 1 3s722ms 3s722ms 02 1 3s830ms 3s830ms 03 3 11s278ms 3s759ms 04 6 23s69ms 3s844ms 05 1 3s746ms 3s746ms 06 1 3s802ms 3s802ms 11 1 3s752ms 3s752ms 12 1 3s715ms 3s715ms 15 2 7s441ms 3s720ms 17 4 19s231ms 4s807ms 19 3 11s164ms 3s721ms 20 21 1m19s 3s798ms 21 20 1m16s 3s807ms 22 10 39s848ms 3s984ms Dec 02 00 1 3s757ms 3s757ms 01 1 4s34ms 4s34ms 02 1 3s868ms 3s868ms 03 1 3s791ms 3s791ms 04 2 7s898ms 3s949ms 05 4 15s698ms 3s924ms 06 2 8s173ms 4s86ms 07 3 11s470ms 3s823ms 08 3 11s801ms 3s933ms 09 1 5s229ms 5s229ms 10 3 11s609ms 3s869ms 11 3 11s480ms 3s826ms 12 2 7s701ms 3s850ms 13 4 15s825ms 3s956ms 15 1 3s680ms 3s680ms 16 1 3s726ms 3s726ms 20 6 23s115ms 3s852ms 21 7 27s392ms 3s913ms 23 1 4s44ms 4s44ms Dec 03 01 3 11s972ms 3s990ms 02 5 20s138ms 4s27ms 03 2 7s868ms 3s934ms 04 2 9s723ms 4s861ms 05 2 7s818ms 3s909ms 07 6 25s770ms 4s295ms 08 1 3s672ms 3s672ms 10 1 4s166ms 4s166ms 11 1 3s688ms 3s688ms 12 1 4s137ms 4s137ms 15 2 9s321ms 4s660ms 16 2 7s695ms 3s847ms 17 1 3s991ms 3s991ms 18 2 7s486ms 3s743ms 20 3 12s189ms 4s63ms 21 4 15s472ms 3s868ms 22 1 4s20ms 4s20ms 23 1 3s808ms 3s808ms Dec 04 00 1 3s678ms 3s678ms 01 4 16s74ms 4s18ms 02 3 11s963ms 3s987ms 03 2 8s1ms 4s 04 1 4s87ms 4s87ms 05 1 3s768ms 3s768ms 06 3 11s736ms 3s912ms 07 1 4s15ms 4s15ms 09 1 3s733ms 3s733ms 10 5 19s592ms 3s918ms 11 4 16s57ms 4s14ms 12 1 4s255ms 4s255ms 13 4 15s506ms 3s876ms 14 1 3s981ms 3s981ms 15 4 15s692ms 3s923ms 16 2 7s742ms 3s871ms 17 3 11s460ms 3s820ms 19 1 4s9ms 4s9ms 20 15 58s870ms 3s924ms 21 15 58s156ms 3s877ms 22 9 34s661ms 3s851ms 23 1 3s918ms 3s918ms Dec 05 00 1 3s803ms 3s803ms 01 1 3s950ms 3s950ms 02 2 8s379ms 4s189ms 03 3 11s634ms 3s878ms 04 3 11s856ms 3s952ms 06 2 7s857ms 3s928ms 09 1 3s877ms 3s877ms 10 4 15s518ms 3s879ms 11 3 12s175ms 4s58ms 12 1 4s27ms 4s27ms 13 3 11s877ms 3s959ms 14 3 12s57ms 4s19ms 15 2 7s875ms 3s937ms 18 1 3s929ms 3s929ms 19 1 3s915ms 3s915ms 20 2 7s811ms 3s905ms 21 1 4s11ms 4s11ms 23 1 3s956ms 3s956ms Dec 06 02 6 23s181ms 3s863ms 03 1 3s982ms 3s982ms 04 2 7s814ms 3s907ms 05 8 31s734ms 3s966ms 10 2 7s838ms 3s919ms 12 4 15s947ms 3s986ms 13 1 4s143ms 4s143ms 14 1 3s942ms 3s942ms 15 2 7s761ms 3s880ms 17 1 4s126ms 4s126ms 18 1 3s841ms 3s841ms 20 1 3s860ms 3s860ms 21 4 15s525ms 3s881ms 22 1 3s939ms 3s939ms Dec 07 00 3 11s477ms 3s825ms 01 1 4s254ms 4s254ms 02 2 8s257ms 4s128ms 03 2 7s914ms 3s957ms 05 1 3s870ms 3s870ms 08 1 3s905ms 3s905ms 10 1 3s908ms 3s908ms 11 2 7s696ms 3s848ms 12 2 7s820ms 3s910ms 15 1 4s 4s 16 1 3s805ms 3s805ms 17 2 7s732ms 3s866ms 20 2 7s886ms 3s943ms 21 1 3s962ms 3s962ms 22 1 3s936ms 3s936ms 23 1 4s103ms 4s103ms [ User: pubeu - Total duration: 7m48s - 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 = '1427841') 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 = '1427841') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-12-03 07:30:13 Duration: 5s754ms 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 = '1427841') 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 = '1427841') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-12-01 17:51:50 Duration: 5s711ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1343306') AND stm.slim_term_id = st.slim_term_id AND cd.curated_reference_qty > 0) curatedCount, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1343306') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-12-03 04:28:19 Duration: 5s634ms Bind query: yes
19 1s201ms 6s440ms 2s574ms 92 3m56s 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 #19
Day Hour Count Duration Avg duration Dec 01 00 1 6s258ms 6s258ms 01 10 25s444ms 2s544ms 19 9 22s904ms 2s544ms Dec 02 01 1 3s27ms 3s27ms 12 10 26s28ms 2s602ms Dec 03 06 10 25s145ms 2s514ms 23 10 24s564ms 2s456ms Dec 05 10 11 27s32ms 2s457ms 16 1 1s863ms 1s863ms Dec 06 06 9 23s314ms 2s590ms 14 1 2s822ms 2s822ms Dec 07 01 10 25s394ms 2s539ms 18 9 23s43ms 2s560ms [ User: pubeu - Total duration: 1m1s - 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 = '1398604'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-12-02 12:33:14 Duration: 6s440ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1398604'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-12-01 01:37:53 Duration: 6s438ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1398604'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-12-07 01:11:49 Duration: 6s378ms Bind query: yes
20 1s115ms 4s706ms 2s511ms 75 3m8s select e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, ( select string_agg(distinct stressorterm.nm || ? || ( select cd from object_type where id = stressorterm.object_type_id) || ? || stressorterm.nm_html || ? || stressorterm.acc_txt || ? || stressorterm.acc_db_cd, ?)) as stressoragents, ( select string_agg(distinct coalesce(receptorterm.nm, ?) || ? || coalesce(( select cd from object_type where id = receptorterm.object_type_id), ?) || ? || coalesce(receptorterm.nm_html, ?) || ? || coalesce(receptorterm.acc_txt, ?) || ? || coalesce(receptorterm.acc_db_cd, ?) || ? || receptor.description, ?)) as receptors, ( select string_agg(distinct country.nm, ?)) as studycountries, ( select string_agg(distinct location.locality_txt, ?)) as localities, ( select string_agg(distinct event.medium_nm || ? || coalesce(event.medium_term_acc_txt, ?), ?)) as assaymediums, ( select string_agg(distinct exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd, ?)) as assayedmarkers, ( select string_agg(distinct diseaseterm.nm || ? || ( select cd from object_type where id = diseaseterm.object_type_id) || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd, ?)) as diseases, ( select string_agg(distinct phenotypeterm.nm || ? || ( select cd from object_type where id = phenotypeterm.object_type_id) || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd, ?)) as phenotypes, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, re.author_summary summary, count(*) over () fullrowcount from exposure e inner join reference r on e.reference_id = r.id inner join exp_stressor stressor on e.exp_stressor_id = stressor.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join term receptorterm on receptor.term_id = receptorterm.id left outer join exp_event event on e.exp_event_id = event.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join exp_event_location location on e.exp_event_id = location.exp_event_id left outer join country on location.country_id = country.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id inner join reference_exp re on e.reference_id = re.reference_id left outer join exp_study_factor expstudyfactor on re.id = expstudyfactor.reference_exp_id where e.reference_id = any (array ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like ?) and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressoragents limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Dec 01 01 9 22s473ms 2s497ms 19 8 19s238ms 2s404ms Dec 02 12 9 22s520ms 2s502ms Dec 03 06 9 22s563ms 2s507ms 23 9 22s647ms 2s516ms Dec 05 10 9 22s117ms 2s457ms Dec 06 06 6 16s131ms 2s688ms Dec 07 01 9 22s202ms 2s466ms 18 7 18s468ms 2s638ms [ User: pubeu - Total duration: 27s351ms - Times executed: 9 ]
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1398604') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1398604') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-12-07 18:52:50 Duration: 4s706ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1398604') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1398604') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-12-02 12:33:19 Duration: 4s651ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1398604') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1398604') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-12-03 23:40:50 Duration: 4s631ms 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 163 0ms 0ms 0ms ;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration Dec 01 06 2 0ms 0ms 07 4 0ms 0ms 08 6 0ms 0ms 11 4 0ms 0ms Dec 02 06 6 0ms 0ms 07 4 0ms 0ms 10 4 0ms 0ms 11 2 0ms 0ms 12 4 0ms 0ms 13 6 0ms 0ms 17 2 0ms 0ms Dec 03 09 4 0ms 0ms 12 4 0ms 0ms Dec 04 07 2 0ms 0ms 08 4 0ms 0ms 09 6 0ms 0ms 10 2 0ms 0ms 12 6 0ms 0ms 13 2 0ms 0ms 14 6 0ms 0ms 23 2 0ms 0ms Dec 05 01 1 0ms 0ms 06 2 0ms 0ms 07 8 0ms 0ms 08 4 0ms 0ms 12 10 0ms 0ms 13 2 0ms 0ms 14 8 0ms 0ms 18 4 0ms 0ms Dec 06 07 9 0ms 0ms 08 3 0ms 0ms 09 12 0ms 0ms 14 3 0ms 0ms 15 9 0ms 0ms 16 6 0ms 0ms [ User: pubeu - Total duration: 11m29s - Times executed: 84 ]
-
;
Date: Duration: 0ms Database: postgres User: ctdprd51 Remote: pubeu
-
Events
Log levels
Key values
- 147,425 Log entries
Events distribution
Key values
- 0 PANIC entries
- 0 FATAL entries
- 164 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 156 Max number of times the same event was reported
- 164 Total events found
Rank Times reported Error 1 156 ERROR: syntax error in ts"..."
Times Reported Most Frequent Error / Event #1
Day Hour Count Dec 03 04 1 13 1 Dec 04 09 21 Dec 06 16 12 19 1 Dec 07 07 30 09 19 10 71 - ERROR: syntax error in ts"T. & FOERTSCH & AND & K. & RADKE, & CHARACTERIZING & COMPLETE & CAT & Κ & (-SPACES, | SPACES,) & Κ & < & 0, & WITH & GEODESIC & BOUNDARY, & TRANS. & AMER. & MATH. & SOC. & 363 & 2011 & , & 75–93."
- ERROR: syntax error in ts"两种速度耐力训练方案对足球运动员表现的影响 & |公共科学图书馆一号"
- ERROR: syntax error in ts"1 & RWYWXQ< & >CIFVYZ"
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 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2024-12-03 04:05:41
Statement: SELECT /* GeneBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Symbol' THEN true ELSE false END isNameMatch ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper( l.acc_txt ) = $3 OR upper( l.acc_txt ) = $4 OR upper( l.acc_txt ) = $5 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2024-12-03 13:09:11
Statement: SELECT /* TaxonBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ n.acc_txt acc ,n.acc_db_cd || ':' || n.acc_txt accQueryStr ,n.nm ,n.nm_html nmHtml ,n.secondary_nm secondaryNm ,n.rank_nm rankNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Scientific Name' THEN true ELSE false END isNameMatch ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,n.nm_sort ,n.object_id id ,n.has_genes hasGenes FROM dag_node n INNER JOIN term_label l ON l.term_id = n.object_id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 1 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 = 1 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ n.acc_txt acc ,n.acc_db_cd || ':' || n.acc_txt accQueryStr ,n.nm ,n.nm_html nmHtml ,n.secondary_nm secondaryNm ,n.rank_nm rankNm ,l.acc_txt matchedNm ,'Accession' matchedType ,false isNameMatch ,1 relevance ,n.nm_sort ,n.object_id id ,n.has_genes hasGenes FROM db_link l INNER JOIN dag_node n ON l.object_id = n.object_id WHERE l.type_cd = 'A' AND l.object_type_id = 1 AND (upper( l.acc_txt ) = $3 OR upper( l.acc_txt ) = $4 OR upper( l.acc_txt ) = $5 OR upper( l.acc_txt ) = $6 ) ORDER BY 10, 11 ) sq LIMIT 50
Date: 2024-12-04 09:16:48
2 4 LOG: could not receive data from client: Connection timed out
Times Reported Most Frequent Error / Event #2
Day Hour Count Dec 02 18 1 Dec 03 17 1 18 1 Dec 04 19 1 3 1 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #3
Day Hour Count Dec 03 13 1 4 1 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #4
Day Hour Count Dec 02 12 1 - ERROR: syntax error at or near "=" at character 1266
Statement: 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 TETRAMER t ,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 upper( baseTerm.nm ) LIKE 'ZINC' ) and t.chem_id IN = dp.descendant_object_id ) and t.phenotype_id = phenotypeTerm.id and t.disease_id = diseaseTerm.id and t.chem_id = chemTerm.id and t.gene_id = geneTerm.id order by chemTerm.nm LIMIT 50select 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 TETRAMER t ,TERM phenotypeTerm ,TERM diseaseTerm ,TERM geneTerm ,TERM chemTerm where t.chem_id in ( 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 upper( baseTerm.nm ) LIKE 'ZINC' ) ) and t.phenotype_id = phenotypeTerm.id and t.disease_id = diseaseTerm.id and t.chem_id = chemTerm.id and t.gene_id = geneTerm.id order by chemTerm.nm LIMIT 50
Date: 2024-12-02 12:15:22 Database: ctdprd51 Application: pgAdmin 4 - CONN:5812845 User: pub1 Remote:
5 1 ERROR: invalid byte sequence for encoding
Times Reported Most Frequent Error / Event #5
Day Hour Count Dec 03 07 1 - ERROR: invalid byte sequence for encoding "UTF8": 0x00
Context: unnamed portal parameter $1
Statement: SELECT /* ObjectIdDAOImpl.LabelsAndAccs */ t.id ,t.nm ,t.nm_sort nmSort ,t.acc_txt acc ,t.acc_db_cd accDbCd FROM term t ,(SELECT li.term_id FROM term_label li WHERE UPPER(li.nm) = $1 AND li.object_type_id = 2 UNION SELECT l.object_id FROM db_link l WHERE upper( l.acc_txt ) = $2 AND l.object_type_id = 2 AND l.type_cd = 'A') ids WHERE t.id = ids.term_id ORDER BY CASE WHEN UPPER(t.nm) = $3 THEN 1 ELSE 2 END ,t.nm_sortDate: 2024-12-03 07:14:26
6 1 ERROR: relation "..." does not exist
Times Reported Most Frequent Error / Event #6
Day Hour Count Dec 04 12 1 - ERROR: relation "voc" does not exist at character 15
Statement: select * from voc
Date: 2024-12-04 12:50:56 Database: ctdprd51 Application: pgAdmin 4 - CONN:8515588 User: edit Remote: