-
Global information
- Generated on Sun Apr 7 04:15:16 2024
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20240406
- Parsed 808,330 log entries in 15s
- Log start from 2024-03-31 00:00:01 to 2024-04-06 23:58:59
-
Overview
Global Stats
- 347 Number of unique normalized queries
- 9,485 Number of queries
- 1d6h14m20s Total query duration
- 2024-03-31 00:10:39 First query
- 2024-04-06 23:49:27 Last query
- 16 queries/s at 2024-04-01 01:30:28 Query peak
- 1d6h14m20s Total query duration
- 0ms Prepare/parse total duration
- 7s727ms Bind total duration
- 1d6h14m12s Execute total duration
- 1,048 Number of events
- 27 Number of unique normalized events
- 835 Max number of times the same event was reported
- 0 Number of cancellation
- 64 Total number of automatic vacuums
- 175 Total number of automatic analyzes
- 9 Number temporary file
- 2.69 MiB Max size of temporary file
- 1.63 MiB Average size of temporary file
- 93,877 Total number of sessions
- 92 sessions at 2024-04-01 01:53:58 Session peak
- 319d44m57s Total duration of sessions
- 4m53s Average duration of sessions
- 0 Average queries per session
- 1s159ms Average queries duration per session
- 4m52s Average idle time per session
- 94,663 Total number of connections
- 88 connections/s at 2024-04-01 04:01:00 Connection peak
- 2 Total number of databases
SQL Traffic
Key values
- 16 queries/s Query Peak
- 2024-04-01 01:30:28 Date
SELECT Traffic
Key values
- 15 queries/s Query Peak
- 2024-04-03 15:37:54 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 3 queries/s Query Peak
- 2024-04-01 11:52:47 Date
Queries duration
Key values
- 1d6h14m20s 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) Mar 31 00 41 0ms 53m17s 2m25s 11m4s 11m22s 53m22s 01 123 0ms 11m3s 7s526ms 7s880ms 11s546ms 11m11s 02 173 0ms 10s656ms 2s87ms 10s178ms 11s793ms 22s332ms 03 280 1s22ms 1m3s 2s884ms 21s175ms 1m6s 1m26s 04 125 0ms 1m3s 2s919ms 10s986ms 16s836ms 1m10s 05 162 0ms 12s489ms 2s48ms 13s726ms 22s387ms 26s762ms 06 51 0ms 31s397ms 3s641ms 8s655ms 16s171ms 56s522ms 07 119 0ms 9s719ms 2s486ms 13s933ms 14s428ms 16s49ms 08 101 0ms 5s129ms 2s104ms 7s645ms 9s169ms 18s910ms 09 70 0ms 45s669ms 2s414ms 8s415ms 10s419ms 51s814ms 10 219 0ms 49s566ms 3s250ms 45s732ms 54s540ms 58s357ms 11 203 0ms 45s484ms 2s259ms 13s159ms 16s23ms 50s521ms 12 110 0ms 2m5s 6s473ms 11s686ms 2m4s 2m6s 13 31 0ms 2m4s 10s270ms 6s674ms 15s601ms 2m4s 14 55 0ms 31s690ms 4s457ms 16s334ms 19s765ms 53s248ms 15 107 0ms 16s494ms 2s497ms 15s702ms 16s820ms 23s948ms 16 188 0ms 6s156ms 2s146ms 12s997ms 17s45ms 23s316ms 17 53 0ms 6s248ms 2s280ms 8s237ms 12s678ms 21s370ms 18 64 0ms 31s450ms 3s190ms 6s838ms 15s819ms 52s562ms 19 68 0ms 14s185ms 2s379ms 6s200ms 11s928ms 25s342ms 20 51 0ms 17s128ms 2s88ms 5s1ms 11s724ms 19s316ms 21 63 0ms 16s935ms 2s771ms 8s732ms 16s916ms 19s630ms 22 46 0ms 5s401ms 2s60ms 7s587ms 8s171ms 9s489ms 23 81 0ms 6m43s 45s831ms 27s952ms 2m14s 41m38s Apr 01 00 31 0ms 49m2s 8m46s 23m26s 49m7s 1h33m7s 01 120 0ms 20s993ms 6s732ms 1s121ms 6s85ms 13m7s 02 44 0ms 1m36s 4s432ms 8s974ms 15s974ms 1m36s 03 26 0ms 41s700ms 6s902ms 8s669ms 36s188ms 45s552ms 04 41 0ms 13s740ms 3s183ms 6s991ms 10s910ms 25s168ms 05 69 0ms 10s605ms 2s727ms 14s835ms 15s755ms 25s315ms 06 30 0ms 35s502ms 6s967ms 5s260ms 35s502ms 51s945ms 07 42 0ms 34s170ms 3s188ms 5s612ms 6s113ms 34s170ms 08 34 0ms 15s361ms 3s316ms 8s263ms 10s598ms 15s361ms 09 13 0ms 18s177ms 3s447ms 2s282ms 4s36ms 20s851ms 10 73 0ms 31s974ms 3s419ms 6s177ms 9s416ms 52s663ms 11 96 0ms 8s402ms 2s540ms 10s336ms 10s900ms 15s106ms 12 12 0ms 4s352ms 2s31ms 2s8ms 2s207ms 4s352ms 13 36 0ms 6s135ms 2s773ms 5s799ms 10s359ms 36s218ms 14 34 0ms 31s522ms 5s89ms 8s274ms 15s371ms 52s80ms 15 16 0ms 6s709ms 2s987ms 2s434ms 4s779ms 25s143ms 16 11 0ms 16s893ms 3s941ms 2s187ms 5s703ms 16s893ms 17 498 0ms 12m27s 15s634ms 8m29s 21m8s 34m39s 18 25 0ms 20m4s 53s350ms 5s976ms 38s105ms 20m4s 19 16 0ms 6s36ms 2s458ms 3s361ms 4s793ms 6s36ms 20 24 0ms 6s574ms 2s695ms 4s373ms 5s440ms 8s442ms 21 27 0ms 7s156ms 3s754ms 4s141ms 8s375ms 20s186ms 22 28 0ms 5s150ms 2s938ms 4s809ms 5s150ms 8s419ms 23 91 0ms 11s350ms 3s519ms 12s54ms 16s333ms 19s580ms Apr 02 00 200 1s28ms 15m24s 7s786ms 18s919ms 23s484ms 15m32s 01 127 0ms 12s757ms 2s559ms 11s45ms 14s628ms 47s801ms 02 93 0ms 12s654ms 2s503ms 9s720ms 13s327ms 18s138ms 03 26 0ms 6s140ms 1s982ms 3s562ms 4s196ms 10s252ms 04 39 0ms 6s909ms 1s897ms 5s 6s909ms 12s483ms 05 70 0ms 11s464ms 2s92ms 11s464ms 20s3ms 24s652ms 06 44 0ms 17m5s 27s169ms 5s343ms 37s921ms 17m5s 07 53 0ms 33s441ms 2s404ms 4s679ms 4s885ms 36s863ms 08 37 0ms 10s826ms 1s854ms 4s811ms 5s354ms 13s160ms 09 29 0ms 14s713ms 2s267ms 5s10ms 6s27ms 14s713ms 10 77 0ms 8m28s 9s977ms 14s445ms 39s140ms 8m40s 11 36 0ms 6s463ms 2s136ms 5s493ms 7s461ms 7s748ms 12 29 0ms 3m37s 9s58ms 3s946ms 5s378ms 3m37s 13 19 0ms 4s49ms 1s327ms 1s254ms 2s273ms 4s49ms 14 82 0ms 31s386ms 3s332ms 17s855ms 37s908ms 52s33ms 15 29 0ms 12s538ms 2s808ms 4s173ms 7s187ms 14s213ms 16 20 0ms 3s484ms 1s469ms 1s253ms 1s289ms 10s419ms 17 23 0ms 12s948ms 1s880ms 1s942ms 2s493ms 12s948ms 18 36 0ms 31s433ms 3s633ms 2s513ms 10s446ms 53s117ms 19 18 0ms 5s861ms 1s914ms 2s256ms 5s44ms 5s861ms 20 19 0ms 4s784ms 1s618ms 2s220ms 3s321ms 4s784ms 21 19 0ms 4s86ms 1s618ms 1s879ms 3s591ms 4s86ms 22 29 0ms 10s461ms 2s4ms 3s909ms 4s18ms 10s461ms 23 23 0ms 4s316ms 1s549ms 2s357ms 3s504ms 4s316ms Apr 03 00 20 0ms 15m29s 47s937ms 1s346ms 2s539ms 15m34s 01 34 0ms 12s624ms 1s956ms 3s634ms 6s262ms 12s624ms 02 110 0ms 4s188ms 2s151ms 10s172ms 14s797ms 18s619ms 03 70 0ms 6s489ms 2s360ms 12s809ms 15s59ms 15s555ms 04 23 0ms 6s341ms 3s213ms 5s980ms 8s144ms 26s520ms 05 60 0ms 9s425ms 2s339ms 11s211ms 20s181ms 23s763ms 06 25 0ms 31s639ms 5s956ms 7s177ms 12s963ms 51s968ms 07 12 0ms 10s832ms 3s171ms 4s34ms 5s384ms 10s832ms 08 14 0ms 9s464ms 3s485ms 1s438ms 5s178ms 18s501ms 09 17 0ms 6s815ms 2s567ms 3s520ms 4s891ms 9s259ms 10 30 0ms 8m34s 27s700ms 14s815ms 38s348ms 8m34s 11 26 0ms 6s236ms 2s733ms 4s10ms 5s211ms 30s336ms 12 22 0ms 6s172ms 2s661ms 4s52ms 4s104ms 25s192ms 13 13 0ms 4s433ms 1s795ms 1s413ms 2s285ms 5s489ms 14 32 0ms 31s487ms 4s768ms 5s5ms 33s928ms 56s157ms 15 165 0ms 24s199ms 7s341ms 6s92ms 27s185ms 18m11s 16 16 0ms 5s451ms 3s150ms 5s128ms 5s379ms 10s742ms 17 25 0ms 8s550ms 3s308ms 5s588ms 9s656ms 23s380ms 18 27 0ms 31s531ms 5s456ms 6s442ms 12s532ms 53s694ms 19 6 0ms 3s997ms 1s813ms 1s213ms 2s382ms 3s997ms 20 64 0ms 10s469ms 3s624ms 10s559ms 28s545ms 1m7s 21 21 0ms 5s940ms 2s101ms 1s867ms 3s78ms 17s576ms 22 18 0ms 5s341ms 2s465ms 4s79ms 5s247ms 6s439ms 23 15 0ms 11s96ms 3s246ms 2s212ms 5s980ms 15s263ms Apr 04 00 37 0ms 15m23s 26s599ms 6s281ms 10s794ms 15m28s 01 7 0ms 15s249ms 3s578ms 1s543ms 2s690ms 16s551ms 02 22 0ms 6s183ms 2s462ms 2s466ms 3s952ms 29s333ms 03 35 0ms 6s509ms 2s829ms 5s691ms 30s981ms 34s287ms 04 7 0ms 4s811ms 3s278ms 3s325ms 4s755ms 4s811ms 05 58 0ms 4s185ms 2s41ms 6s188ms 17s810ms 23s872ms 06 35 0ms 31s510ms 4s124ms 9s309ms 20s591ms 52s163ms 07 19 0ms 10s471ms 3s883ms 4s26ms 6s100ms 15s68ms 08 35 0ms 10s259ms 2s843ms 5s429ms 6s465ms 15s697ms 09 27 0ms 8m23s 21s612ms 3s968ms 12s52ms 8m27s 10 20 0ms 31s547ms 7s292ms 4s817ms 29s8ms 52s169ms 11 6 0ms 8s316ms 3s661ms 1s515ms 8s316ms 8s791ms 12 15 0ms 6s108ms 2s596ms 4s13ms 4s328ms 6s108ms 13 13 0ms 12s670ms 3s128ms 3s241ms 4s730ms 12s670ms 14 23 0ms 31s854ms 6s35ms 5s973ms 38s374ms 52s378ms 15 13 0ms 10s671ms 3s190ms 4s37ms 5s721ms 10s671ms 16 19 0ms 6s693ms 3s136ms 4s372ms 5s947ms 9s220ms 17 7 0ms 4s159ms 2s959ms 2s174ms 4s134ms 5s123ms 18 18 0ms 31s646ms 7s292ms 1s242ms 29s141ms 53s481ms 19 2 0ms 1s264ms 1s200ms 0ms 0ms 1s264ms 20 2 0ms 4s59ms 3s661ms 0ms 0ms 4s59ms 21 16 0ms 5s381ms 2s485ms 3s980ms 6s708ms 21s163ms 22 6 0ms 17s928ms 6s213ms 1s247ms 10s826ms 18s963ms 23 7 0ms 3s927ms 2s351ms 2s33ms 2s671ms 4s533ms Apr 05 00 19 0ms 15m24s 51s443ms 4s828ms 6s21ms 15m29s 01 10 0ms 1s416ms 1s188ms 1s157ms 1s256ms 1s416ms 02 33 0ms 17m32s 34s105ms 8s657ms 9s566ms 17m32s 03 8 0ms 4s980ms 1s890ms 1s174ms 1s978ms 4s980ms 04 13 0ms 6s898ms 2s928ms 4s6ms 6s872ms 6s898ms 05 59 0ms 6s154ms 2s159ms 10s185ms 17s855ms 23s304ms 06 23 0ms 31s495ms 5s430ms 3s263ms 9s326ms 52s234ms 07 10 0ms 6s230ms 2s100ms 1s296ms 2s182ms 6s230ms 08 16 0ms 7s38ms 3s671ms 4s278ms 7s21ms 12s969ms 09 11 0ms 11s130ms 5s874ms 4s19ms 11s130ms 25s472ms 10 31 0ms 17m1s 39s487ms 9s304ms 52s93ms 17m2s 11 11 0ms 34s398ms 7s755ms 1s857ms 4s33ms 1m2s 12 9 0ms 8m24s 58s924ms 3s496ms 4s789ms 8m24s 13 10 0ms 7s169ms 3s77ms 1s849ms 4s892ms 7s169ms 14 18 0ms 41s554ms 12s197ms 4s741ms 38s135ms 1m46s 15 6 0ms 5s87ms 2s946ms 1s414ms 3s502ms 5s87ms 16 7 0ms 6s419ms 2s736ms 1s418ms 2s601ms 8s716ms 17 11 0ms 52s856ms 10s585ms 5s261ms 10s806ms 52s856ms 18 21 0ms 31s486ms 5s465ms 2s614ms 9s357ms 52s158ms 19 6 0ms 4s798ms 2s605ms 1s802ms 2s626ms 4s798ms 20 7 0ms 4s 1s696ms 1s117ms 1s278ms 4s294ms 21 6 0ms 4s28ms 1s958ms 1s90ms 1s985ms 4s28ms 22 10 0ms 6s448ms 3s141ms 3s605ms 4s734ms 6s448ms 23 17 0ms 6s788ms 3s118ms 4s716ms 5s343ms 9s475ms Apr 06 00 456 0ms 15m23s 16s193ms 8m27s 15m28s 48m17s 01 1,766 0ms 34m1s 17s257ms 29m28s 34m35s 1h7m7s 02 13 0ms 5s415ms 2s763ms 3s558ms 4s862ms 5s950ms 03 13 0ms 5s459ms 2s371ms 1s807ms 4s995ms 10s179ms 04 19 0ms 8s231ms 3s375ms 4s90ms 8s231ms 10s791ms 05 50 0ms 6s739ms 2s191ms 6s739ms 16s875ms 23s338ms 06 6 0ms 17s614ms 4s298ms 1s8ms 2s208ms 17s614ms 07 9 0ms 6s494ms 2s872ms 2s296ms 4s800ms 6s494ms 08 7 0ms 24s422ms 5s774ms 2s647ms 5s48ms 24s422ms 09 15 0ms 36s315ms 14s508ms 21s654ms 35s859ms 1m11s 10 0 0ms 0ms 0ms 0ms 0ms 0ms 11 0 0ms 0ms 0ms 0ms 0ms 0ms 12 34 0ms 6s417ms 2s385ms 4s 23s338ms 24s395ms 13 19 0ms 4s689ms 1s969ms 3s500ms 5s532ms 5s932ms 14 13 0ms 6s97ms 2s203ms 1s755ms 6s97ms 7s978ms 15 10 0ms 6s451ms 2s638ms 3s495ms 5s31ms 6s451ms 16 8 0ms 5s707ms 2s17ms 1s416ms 3s683ms 5s707ms 17 14 0ms 6s295ms 2s382ms 3s228ms 4s996ms 6s295ms 18 38 0ms 23m9s 47s350ms 56s442ms 1m10s 23m11s 19 59 0ms 22m59s 56s62ms 1m25s 7m 23m1s 20 11 0ms 4s858ms 2s516ms 2s676ms 4s18ms 4s858ms 21 14 0ms 37s165ms 7s867ms 2s601ms 10s681ms 37s165ms 22 16 0ms 16s425ms 4s201ms 5s355ms 10s735ms 18s227ms 23 11 0ms 4s41ms 1s696ms 1s829ms 4s41ms 4s365ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Mar 31 00 40 0 2m28s 4s606ms 11m4s 53m17s 01 25 0 28s2ms 1s776ms 2s353ms 10s804ms 02 37 0 1s497ms 2s164ms 2s648ms 4s495ms 03 38 0 6s305ms 2s238ms 5s141ms 1m2s 04 36 0 4s635ms 2s172ms 3s918ms 1m2s 05 76 0 1s776ms 2s239ms 4s450ms 18s828ms 06 25 10 4s322ms 2s259ms 5s309ms 37s895ms 07 29 0 2s612ms 2s243ms 3s699ms 9s719ms 08 31 0 1s703ms 2s146ms 2s392ms 6s247ms 09 42 0 2s527ms 2s248ms 4s775ms 46s787ms 10 50 10 5s794ms 3s551ms 37s672ms 51s679ms 11 48 0 2s183ms 2s208ms 4s414ms 6s947ms 12 49 0 11s794ms 2s645ms 10s746ms 2m5s 13 29 0 10s821ms 2s220ms 6s674ms 2m4s 14 44 10 4s499ms 4s598ms 16s334ms 38s282ms 15 41 0 2s834ms 2s204ms 6s846ms 16s494ms 16 33 0 1s677ms 2s170ms 3s544ms 7s414ms 17 53 0 2s280ms 4s876ms 8s237ms 21s370ms 18 34 10 3s590ms 3s909ms 6s353ms 52s562ms 19 42 0 2s450ms 2s262ms 6s177ms 14s185ms 20 51 0 2s88ms 3s620ms 5s1ms 19s316ms 21 63 0 2s771ms 5s703ms 8s732ms 16s935ms 22 46 0 2s60ms 4s217ms 7s587ms 9s489ms 23 81 0 45s831ms 15s456ms 27s952ms 12m43s Apr 01 00 30 0 9m4s 1s832ms 23m26s 1h33m7s 01 104 0 6s554ms 0ms 0ms 11m15s 02 44 0 4s432ms 4s146ms 8s974ms 1m36s 03 25 0 7s81ms 1s870ms 6s231ms 45s552ms 04 34 0 3s399ms 4s102ms 6s991ms 25s168ms 05 56 0 2s814ms 4s696ms 14s725ms 25s315ms 06 18 9 7s521ms 3s159ms 5s260ms 38s4ms 07 22 0 4s89ms 2s891ms 4s128ms 6s74ms 08 25 0 3s642ms 2s163ms 8s263ms 15s361ms 09 13 0 3s447ms 1s254ms 2s282ms 20s851ms 10 6 10 7s501ms 0ms 4s6ms 38s607ms 11 15 0 3s712ms 1s523ms 4s255ms 8s34ms 12 5 0 2s89ms 0ms 0ms 4s352ms 13 32 0 2s782ms 1s587ms 5s125ms 36s218ms 14 20 9 5s566ms 3s257ms 8s274ms 52s80ms 15 12 0 3s274ms 0ms 1s204ms 23s426ms 16 7 0 5s6ms 0ms 1s230ms 16s893ms 17 490 0 15s841ms 49s13ms 8m29s 22m10s 18 8 10 1m13s 1s122ms 5s976ms 20m4s 19 10 0 2s395ms 0ms 2s631ms 6s36ms 20 18 0 2s779ms 2s428ms 4s254ms 8s442ms 21 22 0 4s44ms 4s26ms 4s141ms 10s917ms 22 23 0 3s77ms 3s752ms 4s809ms 8s419ms 23 78 0 3s743ms 9s352ms 11s350ms 18s976ms Apr 02 00 105 0 12s722ms 12s244ms 16s394ms 20s989ms 01 36 0 3s338ms 2s552ms 4s311ms 12s757ms 02 32 0 2s968ms 3s957ms 4s790ms 12s654ms 03 26 0 1s982ms 1s386ms 3s562ms 10s252ms 04 39 0 1s897ms 2s86ms 5s 12s483ms 05 66 0 2s83ms 2s902ms 11s464ms 24s652ms 06 34 10 27s169ms 4s2ms 5s343ms 52s219ms 07 53 0 2s404ms 2s501ms 4s679ms 36s863ms 08 37 0 1s854ms 2s99ms 4s811ms 13s160ms 09 29 0 2s267ms 1s727ms 5s10ms 14s713ms 10 67 10 9s977ms 6s219ms 14s445ms 52s334ms 11 36 0 2s136ms 4s170ms 5s493ms 7s748ms 12 29 0 9s58ms 1s788ms 3s946ms 3m37s 13 19 0 1s327ms 1s126ms 1s254ms 4s49ms 14 71 10 3s349ms 6s564ms 17s855ms 52s33ms 15 29 0 2s808ms 1s429ms 4s173ms 12s538ms 16 20 0 1s469ms 1s106ms 1s253ms 10s419ms 17 23 0 1s880ms 1s123ms 1s942ms 4s848ms 18 26 10 3s633ms 1s371ms 2s513ms 52s27ms 19 17 0 1s912ms 1s255ms 2s256ms 5s861ms 20 19 0 1s618ms 1s201ms 2s220ms 3s845ms 21 19 0 1s618ms 1s254ms 1s879ms 4s86ms 22 28 0 2s 1s258ms 3s909ms 10s461ms 23 23 0 1s549ms 1s255ms 2s357ms 4s316ms Apr 03 00 19 0 50s191ms 1s252ms 1s346ms 15m29s 01 34 0 1s956ms 1s264ms 3s634ms 9s493ms 02 28 0 1s553ms 1s548ms 2s968ms 5s275ms 03 20 0 2s535ms 1s315ms 2s571ms 13s167ms 04 23 0 3s213ms 3s948ms 5s980ms 26s520ms 05 56 0 2s345ms 3s936ms 11s211ms 23s763ms 06 16 9 5s956ms 4s14ms 7s177ms 51s968ms 07 12 0 3s171ms 1s112ms 4s34ms 10s832ms 08 14 0 3s485ms 1s252ms 1s438ms 18s501ms 09 16 0 2s574ms 1s302ms 3s520ms 6s815ms 10 26 3 10s920ms 4s14ms 13s171ms 3m9s 11 26 0 2s733ms 2s168ms 4s10ms 30s336ms 12 21 0 2s702ms 1s648ms 4s52ms 25s192ms 13 13 0 1s795ms 1s119ms 1s413ms 5s489ms 14 22 10 4s768ms 1s248ms 5s5ms 52s73ms 15 160 0 7s513ms 4s14ms 6s92ms 18m1s 16 16 0 3s150ms 1s801ms 5s128ms 10s742ms 17 25 0 3s308ms 1s248ms 5s588ms 23s380ms 18 17 10 5s456ms 2s528ms 6s442ms 52s267ms 19 6 0 1s813ms 0ms 1s213ms 3s997ms 20 64 0 3s624ms 5s186ms 10s559ms 1m7s 21 21 0 2s101ms 1s248ms 1s867ms 17s576ms 22 18 0 2s465ms 2s501ms 4s79ms 6s439ms 23 15 0 3s246ms 1s254ms 2s212ms 15s263ms Apr 04 00 36 0 27s197ms 1s574ms 6s281ms 15m23s 01 7 0 3s578ms 0ms 1s543ms 16s551ms 02 22 0 2s462ms 1s263ms 2s466ms 29s333ms 03 35 0 2s829ms 1s871ms 5s691ms 34s287ms 04 6 0 3s270ms 0ms 3s248ms 4s811ms 05 53 0 2s1ms 2s 4s151ms 23s872ms 06 24 10 4s148ms 1s237ms 9s309ms 52s163ms 07 19 0 3s883ms 1s880ms 4s26ms 14s695ms 08 33 0 2s902ms 3s920ms 5s429ms 10s53ms 09 23 0 24s828ms 3s265ms 3s968ms 8m27s 10 10 10 7s292ms 1s267ms 4s817ms 52s169ms 11 6 0 3s661ms 0ms 1s515ms 8s791ms 12 14 0 2s644ms 1s705ms 4s13ms 6s108ms 13 13 0 3s128ms 1s19ms 3s241ms 12s670ms 14 13 10 6s35ms 3s962ms 5s973ms 52s378ms 15 13 0 3s190ms 1s204ms 4s37ms 10s671ms 16 19 0 3s136ms 3s926ms 4s372ms 9s220ms 17 7 0 2s959ms 0ms 2s174ms 5s123ms 18 8 10 7s292ms 0ms 8s170ms 52s307ms 19 2 0 1s200ms 0ms 0ms 1s264ms 20 2 0 3s661ms 0ms 0ms 4s59ms 21 15 0 2s428ms 0ms 3s980ms 17s810ms 22 6 0 6s213ms 0ms 1s247ms 18s963ms 23 7 0 2s351ms 0ms 2s33ms 4s533ms Apr 05 00 18 0 54s21ms 2s190ms 4s828ms 15m24s 01 10 0 1s188ms 1s96ms 1s157ms 1s416ms 02 33 0 34s105ms 2s201ms 8s657ms 17m32s 03 8 0 1s890ms 0ms 1s174ms 4s980ms 04 13 0 2s928ms 1s797ms 4s6ms 6s898ms 05 55 0 2s154ms 2s243ms 10s185ms 23s304ms 06 13 10 5s430ms 1s591ms 4s7ms 52s234ms 07 10 0 2s100ms 1s49ms 1s296ms 6s230ms 08 16 0 3s671ms 1s14ms 4s278ms 7s38ms 09 11 0 5s874ms 0ms 4s19ms 25s472ms 10 21 10 39s487ms 3s384ms 9s304ms 17m2s 11 11 0 7s755ms 1s125ms 1s857ms 1m2s 12 9 0 58s924ms 0ms 3s496ms 4s949ms 13 10 0 3s77ms 1s10ms 1s849ms 7s169ms 14 8 10 12s197ms 1s110ms 4s741ms 1m46s 15 6 0 2s946ms 0ms 1s414ms 5s87ms 16 7 0 2s736ms 0ms 1s418ms 8s716ms 17 11 0 10s585ms 2s132ms 5s261ms 52s856ms 18 11 10 5s465ms 1s259ms 2s614ms 52s158ms 19 6 0 2s605ms 0ms 1s802ms 4s798ms 20 7 0 1s696ms 0ms 1s117ms 4s294ms 21 6 0 1s958ms 0ms 1s90ms 4s28ms 22 10 0 3s141ms 0ms 3s605ms 6s448ms 23 17 0 3s118ms 2s495ms 4s716ms 9s475ms Apr 06 00 452 0 16s219ms 6s544ms 8m27s 47m36s 01 1,759 0 17s295ms 20m3s 29m28s 50m12s 02 13 0 2s763ms 1s144ms 3s558ms 5s950ms 03 10 0 2s64ms 1s209ms 1s274ms 5s459ms 04 19 0 3s375ms 1s423ms 4s90ms 10s791ms 05 46 0 2s187ms 1s451ms 6s739ms 23s338ms 06 6 0 4s298ms 0ms 1s8ms 17s614ms 07 9 0 2s872ms 1s140ms 2s296ms 6s494ms 08 7 0 5s774ms 0ms 2s647ms 24s422ms 09 15 0 14s508ms 1s221ms 21s654ms 1m11s 10 0 0 0ms 0ms 0ms 0ms 11 0 0 0ms 0ms 0ms 0ms 12 31 0 2s356ms 1s4ms 4s 24s395ms 13 18 0 1s970ms 2s27ms 3s500ms 5s932ms 14 12 0 2s170ms 1s279ms 1s755ms 6s97ms 15 10 0 2s638ms 1s150ms 3s495ms 6s451ms 16 8 0 2s17ms 1s114ms 1s416ms 5s707ms 17 14 0 2s382ms 2s147ms 3s228ms 6s295ms 18 11 27 47s350ms 4s135ms 54s695ms 23m11s 19 15 44 56s62ms 1m8s 1m25s 23m1s 20 11 0 2s516ms 1s98ms 2s676ms 4s858ms 21 14 0 7s867ms 1s233ms 2s601ms 37s165ms 22 16 0 4s201ms 3s335ms 5s355ms 18s227ms 23 11 0 1s696ms 1s88ms 1s829ms 4s365ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Mar 31 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 Apr 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 Apr 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 Apr 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 1 0 0 0 2s443ms 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 Apr 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 Apr 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 Apr 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 Day Hour Prepare Bind Bind/Prepare Percentage of prepare Mar 31 00 0 39 39.00 0.00% 01 0 123 123.00 0.00% 02 0 173 173.00 0.00% 03 0 281 281.00 0.00% 04 0 125 125.00 0.00% 05 0 162 162.00 0.00% 06 0 41 41.00 0.00% 07 0 130 130.00 0.00% 08 0 114 114.00 0.00% 09 0 70 70.00 0.00% 10 0 209 209.00 0.00% 11 0 203 203.00 0.00% 12 0 110 110.00 0.00% 13 0 31 31.00 0.00% 14 0 45 45.00 0.00% 15 0 107 107.00 0.00% 16 0 188 188.00 0.00% 17 0 53 53.00 0.00% 18 0 54 54.00 0.00% 19 0 68 68.00 0.00% 20 0 51 51.00 0.00% 21 0 63 63.00 0.00% 22 0 46 46.00 0.00% 23 0 81 81.00 0.00% Apr 01 00 0 29 29.00 0.00% 01 0 120 120.00 0.00% 02 0 44 44.00 0.00% 03 0 26 26.00 0.00% 04 0 41 41.00 0.00% 05 0 68 68.00 0.00% 06 0 22 22.00 0.00% 07 0 46 46.00 0.00% 08 0 40 40.00 0.00% 09 0 13 13.00 0.00% 10 0 72 72.00 0.00% 11 0 97 97.00 0.00% 12 0 12 12.00 0.00% 13 0 36 36.00 0.00% 14 0 26 26.00 0.00% 15 0 17 17.00 0.00% 16 0 11 11.00 0.00% 17 0 498 498.00 0.00% 18 0 15 15.00 0.00% 19 0 16 16.00 0.00% 20 0 24 24.00 0.00% 21 0 27 27.00 0.00% 22 0 28 28.00 0.00% 23 0 91 91.00 0.00% Apr 02 00 0 200 200.00 0.00% 01 0 127 127.00 0.00% 02 0 93 93.00 0.00% 03 0 26 26.00 0.00% 04 0 39 39.00 0.00% 05 0 70 70.00 0.00% 06 0 34 34.00 0.00% 07 0 53 53.00 0.00% 08 0 37 37.00 0.00% 09 0 29 29.00 0.00% 10 0 67 67.00 0.00% 11 0 36 36.00 0.00% 12 0 29 29.00 0.00% 13 0 24 24.00 0.00% 14 0 72 72.00 0.00% 15 0 34 34.00 0.00% 16 0 25 25.00 0.00% 17 0 34 34.00 0.00% 18 0 26 26.00 0.00% 19 0 18 18.00 0.00% 20 0 27 27.00 0.00% 21 0 19 19.00 0.00% 22 0 29 29.00 0.00% 23 0 23 23.00 0.00% Apr 03 00 0 18 18.00 0.00% 01 0 34 34.00 0.00% 02 0 110 110.00 0.00% 03 0 70 70.00 0.00% 04 0 23 23.00 0.00% 05 0 60 60.00 0.00% 06 0 16 16.00 0.00% 07 0 20 20.00 0.00% 08 0 19 19.00 0.00% 09 0 16 16.00 0.00% 10 0 26 26.00 0.00% 11 0 27 27.00 0.00% 12 0 22 22.00 0.00% 13 0 13 13.00 0.00% 14 0 22 22.00 0.00% 15 0 165 165.00 0.00% 16 0 16 16.00 0.00% 17 0 25 25.00 0.00% 18 0 17 17.00 0.00% 19 0 6 6.00 0.00% 20 0 64 64.00 0.00% 21 0 21 21.00 0.00% 22 0 18 18.00 0.00% 23 0 15 15.00 0.00% Apr 04 00 0 35 35.00 0.00% 01 0 7 7.00 0.00% 02 0 22 22.00 0.00% 03 0 35 35.00 0.00% 04 0 7 7.00 0.00% 05 0 58 58.00 0.00% 06 0 27 27.00 0.00% 07 0 23 23.00 0.00% 08 0 36 36.00 0.00% 09 0 31 31.00 0.00% 10 0 10 10.00 0.00% 11 0 6 6.00 0.00% 12 0 15 15.00 0.00% 13 0 13 13.00 0.00% 14 0 13 13.00 0.00% 15 0 13 13.00 0.00% 16 0 19 19.00 0.00% 17 0 7 7.00 0.00% 18 0 8 8.00 0.00% 19 0 2 2.00 0.00% 20 0 2 2.00 0.00% 21 0 16 16.00 0.00% 22 0 6 6.00 0.00% 23 0 7 7.00 0.00% Apr 05 00 0 17 17.00 0.00% 01 0 10 10.00 0.00% 02 0 33 33.00 0.00% 03 0 8 8.00 0.00% 04 0 13 13.00 0.00% 05 0 59 59.00 0.00% 06 0 13 13.00 0.00% 07 0 12 12.00 0.00% 08 0 16 16.00 0.00% 09 0 11 11.00 0.00% 10 0 22 22.00 0.00% 11 0 14 14.00 0.00% 12 0 10 10.00 0.00% 13 0 11 11.00 0.00% 14 0 8 8.00 0.00% 15 0 8 8.00 0.00% 16 0 7 7.00 0.00% 17 0 11 11.00 0.00% 18 0 11 11.00 0.00% 19 0 6 6.00 0.00% 20 0 7 7.00 0.00% 21 0 6 6.00 0.00% 22 0 10 10.00 0.00% 23 0 17 17.00 0.00% Apr 06 00 0 454 454.00 0.00% 01 0 1,771 1,771.00 0.00% 02 0 13 13.00 0.00% 03 0 13 13.00 0.00% 04 0 19 19.00 0.00% 05 0 50 50.00 0.00% 06 0 6 6.00 0.00% 07 0 9 9.00 0.00% 08 0 7 7.00 0.00% 09 0 15 15.00 0.00% 10 0 0 0.00 0.00% 11 0 0 0.00 0.00% 12 0 34 34.00 0.00% 13 0 19 19.00 0.00% 14 0 13 13.00 0.00% 15 0 10 10.00 0.00% 16 0 8 8.00 0.00% 17 0 14 14.00 0.00% 18 0 11 11.00 0.00% 19 0 15 15.00 0.00% 20 0 11 11.00 0.00% 21 0 14 14.00 0.00% 22 0 16 16.00 0.00% 23 0 11 11.00 0.00% Day Hour Count Average / Second Mar 31 00 526 0.15/s 01 536 0.15/s 02 682 0.19/s 03 554 0.15/s 04 543 0.15/s 05 546 0.15/s 06 557 0.15/s 07 567 0.16/s 08 599 0.17/s 09 530 0.15/s 10 567 0.16/s 11 533 0.15/s 12 568 0.16/s 13 526 0.15/s 14 603 0.17/s 15 552 0.15/s 16 546 0.15/s 17 538 0.15/s 18 542 0.15/s 19 528 0.15/s 20 521 0.14/s 21 526 0.15/s 22 530 0.15/s 23 958 0.27/s Apr 01 00 679 0.19/s 01 778 0.22/s 02 512 0.14/s 03 519 0.14/s 04 676 0.19/s 05 535 0.15/s 06 589 0.16/s 07 557 0.15/s 08 525 0.15/s 09 528 0.15/s 10 530 0.15/s 11 529 0.15/s 12 526 0.15/s 13 543 0.15/s 14 533 0.15/s 15 529 0.15/s 16 525 0.15/s 17 1,203 0.33/s 18 527 0.15/s 19 529 0.15/s 20 527 0.15/s 21 527 0.15/s 22 532 0.15/s 23 552 0.15/s Apr 02 00 550 0.15/s 01 547 0.15/s 02 537 0.15/s 03 535 0.15/s 04 540 0.15/s 05 541 0.15/s 06 544 0.15/s 07 528 0.15/s 08 530 0.15/s 09 535 0.15/s 10 550 0.15/s 11 529 0.15/s 12 527 0.15/s 13 525 0.15/s 14 529 0.15/s 15 533 0.15/s 16 524 0.15/s 17 526 0.15/s 18 528 0.15/s 19 525 0.15/s 20 532 0.15/s 21 521 0.14/s 22 542 0.15/s 23 527 0.15/s Apr 03 00 528 0.15/s 01 529 0.15/s 02 537 0.15/s 03 551 0.15/s 04 534 0.15/s 05 547 0.15/s 06 536 0.15/s 07 518 0.14/s 08 525 0.15/s 09 536 0.15/s 10 556 0.15/s 11 535 0.15/s 12 530 0.15/s 13 529 0.15/s 14 531 0.15/s 15 762 0.21/s 16 526 0.15/s 17 543 0.15/s 18 529 0.15/s 19 527 0.15/s 20 553 0.15/s 21 520 0.14/s 22 530 0.15/s 23 527 0.15/s Apr 04 00 532 0.15/s 01 531 0.15/s 02 531 0.15/s 03 535 0.15/s 04 527 0.15/s 05 542 0.15/s 06 604 0.17/s 07 525 0.15/s 08 527 0.15/s 09 529 0.15/s 10 529 0.15/s 11 529 0.15/s 12 528 0.15/s 13 535 0.15/s 14 529 0.15/s 15 529 0.15/s 16 529 0.15/s 17 528 0.15/s 18 528 0.15/s 19 526 0.15/s 20 529 0.15/s 21 523 0.15/s 22 526 0.15/s 23 530 0.15/s Apr 05 00 531 0.15/s 01 540 0.15/s 02 606 0.17/s 03 537 0.15/s 04 517 0.14/s 05 544 0.15/s 06 527 0.15/s 07 530 0.15/s 08 531 0.15/s 09 527 0.15/s 10 533 0.15/s 11 534 0.15/s 12 528 0.15/s 13 525 0.15/s 14 534 0.15/s 15 527 0.15/s 16 525 0.15/s 17 529 0.15/s 18 530 0.15/s 19 525 0.15/s 20 527 0.15/s 21 522 0.14/s 22 526 0.15/s 23 529 0.15/s Apr 06 00 892 0.25/s 01 2,871 0.80/s 02 529 0.15/s 03 521 0.14/s 04 528 0.15/s 05 542 0.15/s 06 529 0.15/s 07 531 0.15/s 08 530 0.15/s 09 650 0.18/s 10 513 0.14/s 11 514 0.14/s 12 550 0.15/s 13 528 0.15/s 14 530 0.15/s 15 529 0.15/s 16 529 0.15/s 17 524 0.15/s 18 531 0.15/s 19 523 0.15/s 20 528 0.15/s 21 588 0.16/s 22 530 0.15/s 23 526 0.15/s Day Hour Count Average Duration Average idle time Mar 31 00 527 4m27s 4m16s 01 536 5m11s 5m9s 02 682 3m45s 3m45s 03 554 4m14s 4m13s 04 543 4m29s 4m28s 05 546 4m25s 4m24s 06 557 4m20s 4m19s 07 567 4m6s 4m5s 08 599 3m56s 3m55s 09 530 4m28s 4m28s 10 567 3m57s 3m55s 11 533 4m14s 4m13s 12 568 4m47s 4m45s 13 526 13m31s 13m30s 14 603 4m19s 4m19s 15 552 4m14s 4m13s 16 546 4m27s 4m27s 17 538 4m37s 4m36s 18 542 4m10s 4m10s 19 528 4m32s 4m31s 20 521 4m29s 4m29s 21 526 4m26s 4m26s 22 530 4m38s 4m37s 23 952 3m15s 3m11s Apr 01 00 670 4m33s 4m8s 01 792 5m14s 5m13s 02 512 3m43s 3m43s 03 518 4m21s 4m21s 04 677 3m37s 3m37s 05 536 6m3s 6m3s 06 589 4m14s 4m13s 07 557 4m6s 4m6s 08 525 4m24s 4m24s 09 528 4m32s 4m32s 10 530 4m26s 4m26s 11 529 4m29s 4m28s 12 526 4m41s 4m41s 13 541 4m33s 4m32s 14 533 4m37s 4m36s 15 529 4m32s 4m32s 16 525 4m30s 4m30s 17 1,202 30m8s 30m2s 18 528 4m24s 4m22s 19 529 4m33s 4m32s 20 527 4m21s 4m21s 21 527 4m26s 4m26s 22 534 6m20s 6m20s 23 552 4m20s 4m19s Apr 02 00 550 4m28s 4m26s 01 547 4m24s 4m24s 02 537 4m34s 4m33s 03 535 4m37s 4m36s 04 540 4m29s 4m29s 05 541 4m20s 4m20s 06 544 4m26s 4m24s 07 528 4m21s 4m21s 08 530 4m31s 4m31s 09 535 4m23s 4m23s 10 544 4m43s 4m41s 11 529 4m38s 4m38s 12 527 4m30s 4m30s 13 531 6m7s 6m7s 14 529 4m21s 4m21s 15 533 4m49s 4m49s 16 524 4m26s 4m26s 17 526 4m37s 4m36s 18 528 4m35s 4m35s 19 525 4m28s 4m28s 20 532 4m33s 4m33s 21 521 4m22s 4m22s 22 542 4m24s 4m24s 23 527 4m28s 4m28s Apr 03 00 528 4m41s 4m39s 01 529 4m29s 4m29s 02 537 4m27s 4m27s 03 551 4m28s 4m28s 04 534 4m10s 4m10s 05 547 4m37s 4m36s 06 536 4m12s 4m12s 07 518 4m21s 4m21s 08 525 4m42s 4m42s 09 530 4m36s 4m36s 10 556 4m31s 4m29s 11 535 4m33s 4m33s 12 530 4m32s 4m32s 13 529 4m41s 4m41s 14 531 4m32s 4m32s 15 608 4m 3m58s 16 526 4m33s 4m33s 17 543 4m26s 4m26s 18 529 4m44s 4m44s 19 527 4m30s 4m30s 20 553 4m23s 4m22s 21 521 5m20s 5m20s 22 535 11m29s 11m28s 23 527 4m36s 4m36s Apr 04 00 532 4m35s 4m33s 01 531 4m36s 4m36s 02 531 4m29s 4m28s 03 535 4m34s 4m34s 04 527 4m33s 4m33s 05 542 3m50s 3m50s 06 604 4m8s 4m8s 07 525 4m28s 4m28s 08 527 4m35s 4m34s 09 529 4m37s 4m36s 10 529 4m30s 4m30s 11 529 4m36s 4m36s 12 528 4m44s 4m44s 13 535 4m25s 4m25s 14 529 4m35s 4m35s 15 529 4m37s 4m37s 16 529 4m25s 4m25s 17 528 4m44s 4m44s 18 528 4m34s 4m34s 19 526 4m34s 4m34s 20 529 4m37s 4m37s 21 523 4m19s 4m19s 22 526 4m24s 4m24s 23 530 4m44s 4m44s Apr 05 00 531 4m32s 4m30s 01 540 4m28s 4m28s 02 606 4m6s 4m4s 03 537 4m18s 4m18s 04 517 4m1s 4m1s 05 544 4m31s 4m31s 06 527 4m22s 4m22s 07 530 4m45s 4m45s 08 531 4m40s 4m40s 09 527 4m37s 4m37s 10 533 4m36s 4m33s 11 533 4m32s 4m32s 12 529 4m41s 4m40s 13 525 4m35s 4m35s 14 533 4m39s 4m38s 15 527 4m32s 4m32s 16 525 4m37s 4m37s 17 529 4m32s 4m32s 18 530 4m32s 4m32s 19 525 4m32s 4m32s 20 528 5m9s 5m9s 21 522 4m22s 4m22s 22 526 4m32s 4m32s 23 529 4m33s 4m33s Apr 06 00 875 3m2s 2m54s 01 2,255 4m6s 3m52s 02 529 4m29s 4m29s 03 521 4m9s 4m9s 04 528 4m36s 4m36s 05 542 4m22s 4m22s 06 529 4m31s 4m31s 07 531 4m39s 4m39s 08 530 4m35s 4m35s 09 650 3m41s 3m40s 10 513 3m45s 3m45s 11 514 3m49s 3m49s 12 550 6m32s 6m32s 13 528 4m33s 4m33s 14 530 4m29s 4m29s 15 529 4m40s 4m40s 16 529 4m39s 4m39s 17 524 4m24s 4m24s 18 530 4m30s 4m27s 19 524 4m32s 4m26s 20 528 4m33s 4m33s 21 588 3m45s 3m45s 22 530 4m35s 4m35s 23 526 4m31s 4m31s -
Connections
Established Connections
Key values
- 88 connections Connection Peak
- 2024-04-01 04:01:00 Date
Connections per database
Key values
- postgres Main Database
- 94,663 connections Total
Connections per user
Key values
- postgres Main User
- 94,663 connections Total
-
Sessions
Simultaneous sessions
Key values
- 92 sessions Session Peak
- 2024-04-01 01:53:58 Date
Histogram of session times
Key values
- 76,922 0-500ms duration
Sessions per database
Key values
- postgres Main Database
- 93,877 sessions Total
Sessions per user
Key values
- postgres Main User
- 93,877 sessions Total
Sessions per host
Key values
- [local] Main Host
- 93,877 sessions Total
Host Count Total Duration Average Duration 10.12.5.37 7,673 59d7h18m31s 11m7s 10.12.5.38 2,632 55d23h11m21s 30m37s 10.12.5.39 2,591 55d23h47m27s 31m7s 10.12.5.40 1 6m36s 6m36s 10.12.5.45 2,666 55d23h53m25s 30m14s 10.12.5.46 2,631 56d47m 30m40s 192.168.201.10 1 6h15m1s 6h15m1s 192.168.201.14 7 3d39m22s 10h22m46s 192.168.201.6 2 16h40m56s 8h20m28s 192.168.202.6 15 13h58m55s 55m55s ::1 394 31d4h2m15s 1h53m54s [local] 75,264 4m3s 3ms Sessions per application
Key values
- psql Main Application
- 93,877 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 126,531 buffers Checkpoint Peak
- 2024-04-03 23:06:57 Date
- 1619.889 seconds Highest write time
- 0.259 seconds Sync time
Checkpoints Wal files
Key values
- 41 files Wal files usage Peak
- 2024-04-06 04:07:00 Date
Checkpoints distance
Key values
- 2,278.15 Mo Distance Peak
- 2024-04-03 23:06:57 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Mar 31 00 8,819 883.539s 0.002s 883.644s 01 4,609 461.928s 0.003s 461.962s 02 420 42.097s 0.002s 42.128s 03 585 58.848s 0.002s 58.93s 04 375 37.786s 0.002s 37.819s 05 784 78.775s 0.002s 78.806s 06 290 29.174s 0.001s 29.19s 07 56,609 2,606.311s 0.006s 2,606.577s 08 5,368 538.138s 0.001s 538.205s 09 60,706 2,180.033s 0.004s 2,180.196s 10 3,036 301.977s 0.003s 302.113s 11 1,269 126.989s 0.003s 127.032s 12 444 44.729s 0.002s 44.76s 13 315 31.766s 0.002s 31.796s 14 503 50.593s 0.002s 50.624s 15 351 35.378s 0.002s 35.408s 16 437 43.904s 0.002s 43.936s 17 412 41.498s 0.002s 41.528s 18 584 58.763s 0.002s 58.795s 19 399 40.172s 0.002s 40.204s 20 225 22.656s 0.001s 22.67s 21 107,722 2,531.219s 0.004s 2,531.464s 22 686 68.842s 0.001s 68.858s 23 44,428 1,691.509s 0.003s 1,691.636s Apr 01 00 85,984 2,475.027s 0.005s 2,475.247s 01 9,367 938.923s 0.004s 939.049s 02 7,730 774.558s 0.004s 774.649s 03 1,340 134.515s 0.003s 134.595s 04 454 45.696s 0.002s 45.726s 05 5,823 583.419s 0.003s 583.505s 06 808 81.197s 0.002s 81.227s 07 686 68.847s 0.004s 68.928s 08 6,906 691.954s 0.004s 692.047s 09 316 31.862s 0.002s 31.893s 10 402 40.493s 0.003s 40.524s 11 2,168 217.354s 0.003s 217.432s 12 316 31.883s 0.002s 31.913s 13 315 31.766s 0.002s 31.796s 14 382 38.516s 0.002s 38.546s 15 262 26.47s 0.002s 26.5s 16 266 26.754s 0.002s 26.784s 17 754 78.382s 0.004s 78.521s 18 544 54.712s 0.003s 54.744s 19 121 12.311s 0.002s 12.343s 20 162 16.424s 0.002s 16.455s 21 613 61.638s 0.003s 61.668s 22 57,009 1,629.604s 0.003s 1,629.752s 23 3,323 333.198s 0.003s 333.299s Apr 02 00 5,252 526.441s 0.005s 526.499s 01 77,112 1,628.872s 0.003s 1,629.006s 02 212 21.45s 0.002s 21.48s 03 3,497 350.602s 0.003s 350.683s 04 332 33.479s 0.002s 33.51s 05 53,506 2,047.005s 0.004s 2,047.138s 06 281 28.366s 0.002s 28.398s 07 312 31.464s 0.003s 31.494s 08 164 16.637s 0.002s 16.667s 09 208 21.06s 0.002s 21.091s 10 5,333 534.178s 0.003s 534.263s 11 4,267 427.657s 0.003s 427.702s 12 4,430 444.06s 0.003s 444.191s 13 557 56.01s 0.003s 56.04s 14 614 61.715s 0.003s 61.747s 15 5,463 547.572s 0.003s 547.655s 16 510 51.307s 0.003s 51.339s 17 1,194 119.759s 0.003s 119.799s 18 354 35.673s 0.002s 35.704s 19 191 19.325s 0.002s 19.356s 20 409 41.184s 0.002s 41.215s 21 401 40.377s 0.002s 40.409s 22 757 76.053s 0.003s 76.086s 23 233 23.531s 0.002s 23.563s Apr 03 00 889 89.309s 0.004s 89.433s 01 191 19.333s 0.002s 19.364s 02 238 24.054s 0.002s 24.083s 03 259 26.156s 0.002s 26.186s 04 1,037 104.115s 0.003s 104.145s 05 1,253 125.78s 0.003s 125.82s 06 230 23.155s 0.001s 23.17s 07 74,298 1,659.865s 0.003s 1,659.999s 08 2,407 241.378s 0.003s 241.56s 09 51,376 1,851.614s 0.003s 1,851.66s 10 3,924 598.533s 0.005s 598.728s 11 385 38.784s 0.002s 38.814s 12 328 33.076s 0.003s 33.109s 13 166 16.732s 0.003s 16.764s 14 121 12.315s 0.002s 12.347s 15 266 26.859s 0.002s 26.891s 16 220 22.236s 0.002s 22.267s 17 150 15.227s 0.002s 15.259s 18 218 22.058s 0.002s 22.089s 19 152 15.419s 0.002s 15.451s 20 622 62.601s 0.002s 62.676s 21 377 37.989s 0.003s 38.02s 22 3,167 317.469s 0.002s 317.528s 23 180,875 3,270.433s 0.006s 3,270.772s Apr 04 00 697 70.081s 0.005s 70.156s 01 178 18.026s 0.002s 18.058s 02 150 15.23s 0.002s 15.261s 03 641 64.451s 0.002s 64.531s 04 8,504 851.954s 0.003s 852.041s 05 229 23.16s 0.002s 23.191s 06 746 74.874s 0.003s 74.906s 07 499 50.209s 0.002s 50.24s 08 6,744 675.673s 0.003s 675.773s 09 7,545 756.353s 0.004s 756.518s 10 1,515 151.986s 0.003s 152.071s 11 222 22.441s 0.002s 22.471s 12 663 66.629s 0.003s 66.66s 13 158 16.047s 0.002s 16.078s 14 140 14.115s 0.002s 14.146s 15 151 15.33s 0.002s 15.361s 16 49,121 1,623.124s 0.003s 1,623.561s 17 187 18.927s 0.002s 18.96s 18 87 8.906s 0.002s 8.937s 19 132 13.306s 0.002s 13.338s 20 93 9.522s 0.002s 9.554s 21 1,689 169.421s 0.003s 169.509s 22 111 11.316s 0.002s 11.347s 23 121 12.313s 0.002s 12.343s Apr 05 00 702 70.591s 0.004s 70.662s 01 132 13.426s 0.002s 13.459s 02 2,102 210.857s 0.004s 210.903s 03 456 45.893s 0.003s 45.925s 04 1,802 180.765s 0.004s 180.812s 05 254 25.667s 0.002s 25.698s 06 359 36.184s 0.002s 36.215s 07 398 40.082s 0.002s 40.112s 08 2,921 292.913s 0.003s 293.006s 09 659 66.247s 0.003s 66.279s 10 4,633 464.133s 0.003s 464.165s 11 1,015 101.814s 0.003s 101.846s 12 364 36.692s 0.002s 36.774s 13 263 26.552s 0.002s 26.584s 14 115 11.714s 0.002s 11.745s 15 228 23.043s 0.002s 23.073s 16 237 23.947s 0.002s 23.977s 17 149 15.124s 0.002s 15.153s 18 110 11.211s 0.002s 11.242s 19 73 7.496s 0.002s 7.526s 20 80 8.203s 0.002s 8.234s 21 175 17.731s 0.002s 17.762s 22 80 8.201s 0.002s 8.232s 23 115 11.718s 0.002s 11.774s Apr 06 00 7,167 729.759s 0.002s 729.857s 01 35,492 2,455.5s 0.153s 2,456.21s 02 93 9.518s 0.002s 9.548s 03 41 4.209s 0.001s 4.225s 04 158,323 3,243.758s 0.262s 3,244.648s 05 213 21.443s 0.002s 21.474s 06 180 18.234s 0.002s 18.264s 07 5,343 535.294s 0.003s 535.397s 08 294 29.651s 0.002s 29.682s 09 77 7.919s 0.002s 7.952s 10 6 0.69s 0.001s 0.706s 11 0 0s 0s 0s 12 78 7.924s 0.001s 7.94s 13 157 15.922s 0.002s 15.953s 14 517 52.001s 0.003s 52.077s 15 4,816 482.589s 0.003s 482.69s 16 66 6.793s 0.002s 6.823s 17 72 7.399s 0.002s 7.429s 18 257 25.938s 0.002s 25.968s 19 8,714 872.762s 0.003s 872.793s 20 130 13.109s 0.002s 13.139s 21 246 24.868s 0.002s 24.899s 22 104 10.614s 0.002s 10.644s 23 49,289 1,623.521s 0.003s 1,623.954s Day Hour Added Removed Recycled Synced files Longest sync Average sync Mar 31 00 0 5 0 33 0.001s 0.002s 01 0 0 0 71 0.001s 0.002s 02 0 0 0 32 0.001s 0.002s 03 0 1 0 34 0.001s 0.002s 04 0 0 0 29 0.001s 0.002s 05 0 0 0 38 0.001s 0.002s 06 0 0 0 28 0.001s 0.001s 07 0 41 0 177 0.002s 0.003s 08 0 1 0 76 0.001s 0.001s 09 0 36 0 170 0.001s 0.003s 10 0 2 0 42 0.001s 0.002s 11 0 1 0 24 0.002s 0.002s 12 0 0 0 20 0.001s 0.002s 13 0 0 0 21 0.001s 0.002s 14 0 0 0 20 0.001s 0.002s 15 0 0 0 20 0.001s 0.002s 16 0 0 0 21 0.001s 0.002s 17 0 0 0 20 0.001s 0.002s 18 0 0 0 28 0.001s 0.002s 19 0 0 0 20 0.001s 0.002s 20 0 0 0 10 0.001s 0.001s 21 0 72 0 64 0.002s 0.003s 22 0 0 0 21 0.001s 0.001s 23 0 28 0 51 0.002s 0.002s Apr 01 00 0 44 0 60 0.002s 0.003s 01 0 2 0 61 0.001s 0.002s 02 0 4 0 59 0.001s 0.002s 03 0 1 0 50 0.001s 0.002s 04 0 0 0 43 0.001s 0.002s 05 0 3 0 52 0.001s 0.002s 06 0 0 0 85 0.001s 0.002s 07 0 1 0 123 0.001s 0.002s 08 0 4 0 148 0.001s 0.002s 09 0 0 0 24 0.001s 0.002s 10 0 0 0 109 0.001s 0.002s 11 0 1 0 108 0.001s 0.002s 12 0 0 0 106 0.001s 0.002s 13 0 0 0 103 0.001s 0.002s 14 0 0 0 79 0.001s 0.002s 15 0 0 0 70 0.001s 0.002s 16 0 0 0 61 0.001s 0.002s 17 0 0 0 23 0.002s 0.002s 18 0 0 0 27 0.001s 0.002s 19 0 0 0 21 0.001s 0.002s 20 0 0 0 22 0.001s 0.002s 21 0 0 0 49 0.001s 0.002s 22 0 34 0 39 0.001s 0.002s 23 0 2 0 41 0.001s 0.002s Apr 02 00 0 0 0 73 0.001s 0.002s 01 0 33 0 49 0.001s 0.002s 02 0 0 0 35 0.001s 0.002s 03 0 2 0 50 0.001s 0.002s 04 0 0 0 38 0.001s 0.002s 05 0 36 0 55 0.001s 0.002s 06 0 0 0 32 0.001s 0.002s 07 0 0 0 36 0.001s 0.002s 08 0 0 0 20 0.001s 0.002s 09 0 0 0 27 0.001s 0.002s 10 0 4 0 43 0.001s 0.002s 11 0 2 0 42 0.001s 0.002s 12 0 3 0 43 0.001s 0.002s 13 0 0 0 105 0.001s 0.002s 14 0 0 0 33 0.001s 0.002s 15 0 3 0 71 0.001s 0.002s 16 0 0 0 114 0.001s 0.002s 17 0 1 0 119 0.001s 0.002s 18 0 0 0 102 0.001s 0.002s 19 0 0 0 19 0.001s 0.002s 20 0 0 0 106 0.001s 0.002s 21 0 0 0 50 0.001s 0.002s 22 0 0 0 33 0.001s 0.002s 23 0 0 0 21 0.001s 0.002s Apr 03 00 0 1 0 82 0.001s 0.002s 01 0 0 0 27 0.001s 0.002s 02 0 0 0 40 0.001s 0.002s 03 0 0 0 37 0.001s 0.002s 04 0 0 0 40 0.001s 0.002s 05 0 1 0 56 0.001s 0.002s 06 0 0 0 25 0.001s 0.001s 07 0 30 0 155 0.001s 0.003s 08 0 33 0 131 0.001s 0.002s 09 0 3 0 133 0.001s 0.002s 10 0 30 0 170 0.001s 0.002s 11 0 0 0 123 0.001s 0.002s 12 0 0 0 112 0.001s 0.002s 13 0 0 0 66 0.001s 0.002s 14 0 0 0 29 0.001s 0.002s 15 0 0 0 29 0.001s 0.002s 16 0 0 0 22 0.001s 0.002s 17 0 0 0 20 0.001s 0.002s 18 0 0 0 28 0.001s 0.002s 19 0 0 0 20 0.001s 0.002s 20 0 1 0 44 0.001s 0.002s 21 0 0 0 38 0.001s 0.002s 22 0 1 0 30 0.001s 0.001s 23 0 108 0 89 0.001s 0.003s Apr 04 00 0 0 0 75 0.001s 0.002s 01 0 0 0 29 0.001s 0.002s 02 0 0 0 26 0.001s 0.002s 03 0 1 0 37 0.001s 0.002s 04 0 5 0 43 0.001s 0.002s 05 0 0 0 35 0.001s 0.002s 06 0 0 0 91 0.001s 0.002s 07 0 0 0 122 0.001s 0.002s 08 0 2 2 144 0.001s 0.002s 09 0 0 4 131 0.001s 0.002s 10 0 0 1 45 0.001s 0.002s 11 0 0 0 98 0.001s 0.002s 12 0 0 0 25 0.001s 0.002s 13 0 0 0 31 0.001s 0.002s 14 0 0 0 21 0.001s 0.002s 15 0 0 0 28 0.001s 0.002s 16 0 0 33 32 0.001s 0.002s 17 0 0 0 30 0.001s 0.002s 18 0 0 0 19 0.001s 0.002s 19 0 0 0 20 0.001s 0.002s 20 0 0 0 20 0.001s 0.002s 21 0 0 1 39 0.001s 0.002s 22 0 0 0 20 0.001s 0.002s 23 0 0 0 20 0.001s 0.002s Apr 05 00 0 0 0 75 0.001s 0.002s 01 0 0 0 26 0.001s 0.002s 02 0 0 1 56 0.001s 0.002s 03 0 0 0 39 0.001s 0.002s 04 0 0 1 46 0.001s 0.002s 05 0 0 0 36 0.001s 0.002s 06 0 0 0 78 0.001s 0.002s 07 0 0 0 121 0.001s 0.002s 08 0 0 2 141 0.001s 0.002s 09 0 0 0 114 0.001s 0.002s 10 0 0 0 124 0.001s 0.002s 11 0 0 0 75 0.001s 0.002s 12 0 0 1 117 0.001s 0.002s 13 0 0 0 103 0.001s 0.002s 14 0 0 0 28 0.001s 0.002s 15 0 0 0 66 0.001s 0.002s 16 0 0 0 103 0.001s 0.002s 17 0 0 0 24 0.001s 0.002s 18 0 0 0 22 0.001s 0.002s 19 0 0 0 17 0.001s 0.002s 20 0 0 0 17 0.001s 0.002s 21 0 0 0 25 0.001s 0.002s 22 0 0 0 18 0.001s 0.002s 23 0 0 0 19 0.001s 0.002s Apr 06 00 0 1 3 42 0.001s 0.001s 01 0 3 1 93 0.044s 0.004s 02 0 0 0 21 0.001s 0.002s 03 0 0 0 9 0.001s 0.001s 04 0 28 42 64 0.125s 0.013s 05 0 0 0 26 0.001s 0.002s 06 0 0 0 27 0.001s 0.002s 07 0 0 3 29 0.001s 0.002s 08 0 0 0 26 0.001s 0.002s 09 0 0 0 19 0.001s 0.002s 10 0 0 0 6 0.001s 0.001s 11 0 0 0 0 0s 0s 12 0 0 0 11 0.001s 0.001s 13 0 0 0 26 0.001s 0.002s 14 0 0 1 29 0.001s 0.002s 15 0 0 3 30 0.001s 0.002s 16 0 0 0 18 0.001s 0.002s 17 0 0 0 17 0.001s 0.002s 18 0 0 0 33 0.001s 0.002s 19 0 0 0 30 0.001s 0.002s 20 0 0 0 17 0.001s 0.002s 21 0 0 0 38 0.001s 0.002s 22 0 0 0 19 0.001s 0.002s 23 0 0 33 30 0.001s 0.002s Day Hour Count Avg time (sec) Mar 31 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 Apr 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 Apr 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 Apr 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 Apr 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 Apr 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 Apr 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 Day Hour Mean distance Mean estimate Mar 31 00 39,557.50 kB 40,766.50 kB 01 1,808.50 kB 35,026.50 kB 02 599.00 kB 28,515.50 kB 03 657.00 kB 23,221.00 kB 04 434.00 kB 18,908.50 kB 05 1,121.50 kB 15,501.00 kB 06 927.00 kB 13,351.00 kB 07 207,213.67 kB 475,503.67 kB 08 57,104.00 kB 393,934.00 kB 09 203,137.00 kB 500,435.00 kB 10 14,485.00 kB 387,065.50 kB 11 3,255.00 kB 315,177.50 kB 12 381.00 kB 255,368.50 kB 13 416.00 kB 206,928.00 kB 14 420.50 kB 167,688.00 kB 15 467.00 kB 135,915.50 kB 16 464.00 kB 110,179.00 kB 17 480.50 kB 89,334.50 kB 18 793.50 kB 72,508.50 kB 19 547.00 kB 58,836.50 kB 20 551.00 kB 50,248.00 kB 21 392,927.33 kB 983,522.33 kB 22 3,375.00 kB 796,965.00 kB 23 226,722.00 kB 724,285.50 kB Apr 01 00 238,579.67 kB 619,645.67 kB 01 19,709.00 kB 482,005.50 kB 02 36,910.00 kB 394,488.00 kB 03 3,707.00 kB 322,880.00 kB 04 518.00 kB 261,918.00 kB 05 26,711.50 kB 217,210.50 kB 06 591.00 kB 176,076.00 kB 07 1,361.00 kB 142,842.50 kB 08 33,329.50 kB 121,705.00 kB 09 214.50 kB 99,001.00 kB 10 778.00 kB 80,318.50 kB 11 7,741.00 kB 66,528.00 kB 12 564.50 kB 53,997.50 kB 13 536.00 kB 43,838.00 kB 14 526.50 kB 35,622.00 kB 15 371.00 kB 28,934.00 kB 16 272.00 kB 23,487.00 kB 17 445.00 kB 19,080.50 kB 18 152.00 kB 15,515.50 kB 19 131.50 kB 12,590.00 kB 20 154.50 kB 10,228.00 kB 21 1,214.00 kB 8,506.00 kB 22 279,084.00 kB 530,030.00 kB 23 14,084.00 kB 431,976.50 kB Apr 02 00 2,312.50 kB 350,285.50 kB 01 268,196.50 kB 509,244.00 kB 02 388.00 kB 412,560.50 kB 03 15,875.50 kB 335,800.50 kB 04 600.00 kB 273,489.00 kB 05 294,394.00 kB 519,345.00 kB 06 385.00 kB 422,737.00 kB 07 507.50 kB 342,479.50 kB 08 136.50 kB 277,468.00 kB 09 345.00 kB 224,796.00 kB 10 27,423.00 kB 184,875.50 kB 11 20,988.50 kB 154,320.00 kB 12 20,215.00 kB 130,528.00 kB 13 1,024.50 kB 106,039.50 kB 14 1,324.50 kB 86,192.50 kB 15 28,016.50 kB 72,636.00 kB 16 1,089.00 kB 61,488.50 kB 17 3,362.00 kB 50,258.50 kB 18 674.50 kB 41,060.50 kB 19 172.50 kB 33,311.50 kB 20 785.00 kB 27,094.50 kB 21 677.00 kB 22,089.50 kB 22 2,291.00 kB 18,160.00 kB 23 238.00 kB 14,942.50 kB Apr 03 00 2,381.50 kB 12,496.00 kB 01 175.50 kB 10,222.50 kB 02 332.00 kB 8,331.00 kB 03 380.50 kB 6,818.50 kB 04 3,628.50 kB 6,546.50 kB 05 3,543.50 kB 5,800.00 kB 06 647.00 kB 5,214.00 kB 07 166,315.33 kB 448,760.33 kB 08 9,765.50 kB 345,182.50 kB 09 281,197.50 kB 517,697.50 kB 10 249,097.00 kB 466,402.50 kB 11 855.00 kB 379,011.00 kB 12 710.50 kB 307,120.00 kB 13 339.00 kB 248,850.00 kB 14 171.00 kB 201,618.50 kB 15 355.50 kB 163,377.00 kB 16 183.00 kB 132,370.50 kB 17 157.00 kB 107,249.00 kB 18 408.00 kB 86,949.50 kB 19 188.50 kB 70,462.50 kB 20 1,645.50 kB 57,276.00 kB 21 976.50 kB 46,691.50 kB 22 24,447.00 kB 42,264.00 kB 23 588,438.67 kB 1,091,540.67 kB Apr 04 00 1,980.50 kB 854,209.50 kB 01 218.50 kB 692,014.00 kB 02 185.50 kB 560,566.50 kB 03 1,600.50 kB 454,237.00 kB 04 42,538.00 kB 372,332.50 kB 05 502.00 kB 305,467.00 kB 06 1,789.00 kB 247,751.50 kB 07 1,137.00 kB 200,874.00 kB 08 30,314.50 kB 165,931.50 kB 09 36,799.00 kB 143,293.50 kB 10 4,925.50 kB 117,306.00 kB 11 449.00 kB 95,486.50 kB 12 317.50 kB 77,418.50 kB 13 317.00 kB 62,768.50 kB 14 130.00 kB 50,867.00 kB 15 358.50 kB 41,251.50 kB 16 271,207.50 kB 515,134.50 kB 17 394.00 kB 417,335.50 kB 18 139.50 kB 338,069.00 kB 19 161.50 kB 273,864.00 kB 20 130.50 kB 221,857.50 kB 21 5,605.00 kB 180,767.00 kB 22 139.00 kB 146,449.00 kB 23 140.00 kB 118,651.50 kB Apr 05 00 2,011.00 kB 96,421.00 kB 01 151.50 kB 78,191.50 kB 02 6,996.00 kB 64,407.00 kB 03 380.00 kB 52,493.50 kB 04 5,555.50 kB 43,361.00 kB 05 468.50 kB 35,417.50 kB 06 538.00 kB 28,793.00 kB 07 862.00 kB 23,469.00 kB 08 11,633.50 kB 21,287.50 kB 09 1,740.00 kB 19,394.00 kB 10 1,815.00 kB 16,037.00 kB 11 4,120.50 kB 13,561.50 kB 12 1,051.50 kB 11,489.50 kB 13 704.00 kB 9,462.00 kB 14 165.50 kB 7,712.00 kB 15 519.00 kB 6,329.00 kB 16 604.50 kB 5,243.00 kB 17 345.00 kB 4,328.00 kB 18 158.50 kB 3,535.50 kB 19 116.00 kB 2,887.00 kB 20 116.50 kB 2,359.50 kB 21 350.00 kB 1,978.00 kB 22 144.50 kB 1,629.00 kB 23 163.00 kB 1,349.00 kB Apr 06 00 55,927.00 kB 55,927.00 kB 01 38,399.50 kB 62,916.00 kB 02 180.00 kB 64,452.50 kB 03 171.00 kB 54,980.00 kB 04 379,196.33 kB 576,761.00 kB 05 570.50 kB 457,494.00 kB 06 506.50 kB 370,700.00 kB 07 28,709.50 kB 303,152.50 kB 08 603.00 kB 248,216.50 kB 09 144.00 kB 201,104.50 kB 10 23.00 kB 171,477.00 kB 11 0.00 kB 0.00 kB 12 386.00 kB 154,368.00 kB 13 398.00 kB 132,030.50 kB 14 1,473.00 kB 107,128.00 kB 15 24,653.50 kB 91,577.50 kB 16 127.00 kB 74,202.50 kB 17 138.50 kB 60,130.50 kB 18 620.00 kB 48,823.50 kB 19 427.50 kB 39,602.00 kB 20 164.00 kB 32,134.00 kB 21 632.50 kB 26,128.00 kB 22 209.00 kB 21,220.50 kB 23 272,240.00 kB 517,036.50 kB -
Temporary Files
Size of temporary files
Key values
- 8.02 MiB Temp Files size Peak
- 2024-04-01 00:49:04 Date
Number of temporary files
Key values
- 6 per second Temp Files Peak
- 2024-04-01 00:49:04 Date
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Mar 31 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 Apr 01 00 9 14.64 MiB 1.63 MiB 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Apr 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 Apr 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 Apr 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 Apr 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 Apr 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 Queries generating the most temporary files (N)
Rank Count Total size Min size Max size Avg size Query 1 9 14.64 MiB 616.00 KiB 2.69 MiB 1.63 MiB vacuum full analyze log_query;-
VACUUM FULL ANALYZE log_query;
Date: 2024-04-01 00:49:03 Duration: 0ms
Queries generating the largest temporary files
Rank Size Query 1 2.69 MiB VACUUM FULL ANALYZE log_query;[ Date: 2024-04-01 00:49:04 ]
2 2.62 MiB VACUUM FULL ANALYZE log_query;[ Date: 2024-04-01 00:49:03 ]
3 2.09 MiB VACUUM FULL ANALYZE log_query;[ Date: 2024-04-01 00:49:03 ]
4 1.91 MiB VACUUM FULL ANALYZE log_query;[ Date: 2024-04-01 00:49:03 ]
5 1.46 MiB VACUUM FULL ANALYZE log_query;[ Date: 2024-04-01 00:49:04 ]
6 1.33 MiB VACUUM FULL ANALYZE log_query;[ Date: 2024-04-01 00:49:04 ]
7 1.32 MiB VACUUM FULL ANALYZE log_query;[ Date: 2024-04-01 00:49:04 ]
8 632.00 KiB VACUUM FULL ANALYZE log_query;[ Date: 2024-04-01 00:49:04 ]
9 616.00 KiB VACUUM FULL ANALYZE log_query;[ Date: 2024-04-01 00:49:04 ]
-
Vacuums
Vacuums / Analyzes Distribution
Key values
- 13.51 sec Highest CPU-cost vacuum
Table pub1.term_set_enrichment_agent
Database ctdprd51 - 2024-04-06 03:16:41 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 13.51 sec Highest CPU-cost vacuum
Table pub1.term_set_enrichment_agent
Database ctdprd51 - 2024-04-06 03:16:41 Date
Analyzes per table
Key values
- pubc.log_query (137) Main table analyzed (database ctdprd51)
- 175 analyzes Total
Vacuums per table
Key values
- pubc.log_query (38) Main table vacuumed on database ctdprd51
- 64 vacuums Total
Index Buffer usage Skipped WAL usage Table Vacuums scans hits misses dirtied pins frozen records full page bytes ctdprd51.pubc.log_query 38 14 108,974 0 6,741 0 6,454 19,014 586 6,075,507 ctdprd51.pub1.term_set_enrichment 10 0 14,226 0 3,543 0 0 6,592 18 503,166 ctdprd51.pub1.term_set_enrichment_agent 8 0 732,179 0 140,220 0 0 365,709 20 21,738,106 ctdprd51.pg_catalog.pg_statistic 2 2 1,183 0 283 0 70 730 227 985,953 ctdprd51.pg_toast.pg_toast_2619 2 2 6,886 0 3,207 0 19,894 6,844 2,252 1,222,600 ctdprd51.pg_toast.pg_toast_486223 1 0 48 0 0 0 0 1 0 188 ctdprd51.pub1.term_comp 1 0 131 0 20 0 0 16 2 13,119 ctdprd51.load.ixn_prose 1 0 53,020 0 48,912 0 0 50,944 2 3,022,219 ctdprd51.pub1.term_comp_agent 1 0 782 0 13 0 0 348 2 32,707 Total 64 18 917,429 53,001 202,939 0 26,418 450,198 3,109 33,593,565 Tuples removed per table
Key values
- pubc.log_query (132650) Main table with removed tuples on database ctdprd51
- 142002 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain ctdprd51.pubc.log_query 38 14 132,650 1,919,325 1,324,630 0 58,469 ctdprd51.pg_toast.pg_toast_2619 2 2 8,599 41,866 25 0 25,184 ctdprd51.pg_catalog.pg_statistic 2 2 753 5,187 43 0 580 ctdprd51.pg_toast.pg_toast_486223 1 0 0 0 0 0 0 ctdprd51.pub1.term_comp 1 0 0 1,596 0 0 15 ctdprd51.load.ixn_prose 1 0 0 2,810,951 0 0 50,943 ctdprd51.pub1.term_set_enrichment_agent 8 0 0 124,480,759 0 0 1,414,559 ctdprd51.pub1.term_comp_agent 1 0 0 45,003 0 0 381 ctdprd51.pub1.term_set_enrichment 10 0 0 1,828,757 0 0 30,267 Total 64 18 142,002 131,133,444 1,324,698 0 1,580,398 Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Pages removed per tables
NO DATASET
Table Number of vacuums Index scans Tuples removed Pages removed ctdprd51.pg_toast.pg_toast_486223 1 0 0 0 ctdprd51.pub1.term_comp 1 0 0 0 ctdprd51.load.ixn_prose 1 0 0 0 ctdprd51.pub1.term_set_enrichment_agent 8 0 0 0 ctdprd51.pub1.term_comp_agent 1 0 0 0 ctdprd51.pubc.log_query 38 14 132650 0 ctdprd51.pub1.term_set_enrichment 10 0 0 0 ctdprd51.pg_catalog.pg_statistic 2 2 753 0 ctdprd51.pg_toast.pg_toast_2619 2 2 8599 0 Total 64 18 142,002 0 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Mar 31 00 0 0 01 0 3 02 0 2 03 0 1 04 0 2 05 0 2 06 0 3 07 0 4 08 0 21 09 0 0 10 0 5 11 0 0 12 0 0 13 0 0 14 0 0 15 0 0 16 0 0 17 0 0 18 0 1 19 0 0 20 0 2 21 0 0 22 0 3 23 0 2 Apr 01 00 0 0 01 0 0 02 0 4 03 0 1 04 0 3 05 0 3 06 0 0 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 0 16 0 0 17 0 0 18 0 0 19 0 0 20 0 0 21 0 3 22 0 0 23 0 1 Apr 02 00 0 3 01 0 2 02 0 1 03 0 4 04 0 1 05 0 4 06 0 0 07 0 1 08 0 0 09 0 1 10 0 1 11 0 1 12 0 0 13 0 1 14 0 0 15 0 0 16 0 1 17 0 0 18 0 0 19 0 0 20 0 0 21 0 1 22 0 0 23 0 1 Apr 03 00 0 0 01 0 2 02 0 2 03 0 1 04 0 2 05 0 2 06 0 3 07 0 1 08 0 0 09 0 1 10 0 2 11 0 0 12 0 1 13 0 0 14 0 0 15 0 1 16 0 0 17 0 1 18 0 0 19 0 0 20 0 2 21 0 0 22 0 7 23 0 0 Apr 04 00 0 2 01 0 1 02 0 0 03 0 2 04 0 2 05 0 3 06 0 0 07 0 1 08 0 1 09 0 1 10 0 0 11 0 1 12 0 0 13 0 0 14 0 0 15 0 1 16 0 0 17 0 1 18 0 0 19 0 0 20 0 1 21 0 0 22 0 0 23 0 0 Apr 05 00 0 1 01 0 1 02 0 2 03 0 2 04 0 1 05 0 3 06 0 0 07 0 1 08 0 1 09 0 0 10 0 1 11 0 1 12 0 0 13 0 0 14 0 1 15 0 0 16 0 0 17 0 1 18 0 0 19 0 0 20 0 0 21 0 1 22 0 0 23 0 1 Apr 06 00 0 5 01 0 4 02 0 0 03 0 1 04 0 2 05 0 2 06 0 0 07 0 0 08 0 1 09 0 0 10 0 0 11 0 0 12 0 0 13 0 1 14 0 0 15 0 0 16 0 0 17 0 0 18 0 0 19 0 0 20 0 1 21 0 0 22 0 0 23 0 0 - 13.51 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,958 Total read queries
- 2,520 Total write queries
Queries by database
Key values
- unknown Main database
- 6,702 Requests
- 17h52m54s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 15,072 Requests
User Request type Count Duration edit Total 2 4s879ms select 2 4s879ms editeu Total 4 9s192ms select 4 9s192ms load Total 6 22m21s ddl 2 17m8s select 4 5m13s postgres Total 108 39m37s copy to 108 39m37s pubc Total 2 7s793ms select 2 7s793ms pubeu Total 5,795 21h31m14s cte 1,008 40m3s select 4,787 20h51m10s qaeu Total 79 2m58s cte 17 58s240ms select 62 2m unknown Total 15,072 1d11h24m51s copy to 672 6h19m11s cte 4,765 3h4m32s insert 2 4s886ms others 9 46s167ms select 9,624 1d2h16s Duration by user
Key values
- 1d11h24m51s (unknown) Main time consuming user
User Request type Count Duration edit Total 2 4s879ms select 2 4s879ms editeu Total 4 9s192ms select 4 9s192ms load Total 6 22m21s ddl 2 17m8s select 4 5m13s postgres Total 108 39m37s copy to 108 39m37s pubc Total 2 7s793ms select 2 7s793ms pubeu Total 5,795 21h31m14s cte 1,008 40m3s select 4,787 20h51m10s qaeu Total 79 2m58s cte 17 58s240ms select 62 2m unknown Total 15,072 1d11h24m51s copy to 672 6h19m11s cte 4,765 3h4m32s insert 2 4s886ms others 9 46s167ms select 9,624 1d2h16s Queries by host
Key values
- unknown Main host
- 21,068 Requests
- 2d10h1m26s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 9,433 Requests
- 1d5h47m25s (unknown)
- Main time consuming application
Application Request type Count Duration pgAdmin 4 - CONN:6668111 Total 1 2s439ms select 1 2s439ms pgAdmin 4 - CONN:7340018 Total 1 8m34s ddl 1 8m34s pg_dump Total 49 18m6s copy to 49 18m6s psql Total 1 3s896ms select 1 3s896ms unknown Total 9,433 1d5h47m25s copy to 252 1h44m44s cte 2,217 1h27m36s insert 1 2s443ms others 7 36s28ms select 6,956 1d2h34m26s Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2024-04-05 23:18:15 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 8,464 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 53m17s /* * 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-03-31 00:53:19 ]
2 49m2s /* * 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-04-01 00:49:03 ]
3 45m45s 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 = '2059262') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2024-04-01 00:59:12 - Bind query: yes ]
4 34m1s 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 = '1230239') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-04-06 01:30:05 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
5 33m35s 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 = '1230239') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-04-06 01:29:28 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
6 33m31s 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 = '1230239') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-04-06 01:29:47 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
7 29m55s 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 = '1230239') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-04-06 01:32:30 - Bind query: yes ]
8 29m49s 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 = '2059262') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2024-04-01 00:43:17 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
9 29m37s 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 = '2059262') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2024-04-01 00:43:29 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
10 29m28s 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 = '1230239') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-04-06 01:31:43 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
11 25m19s 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 = '1248054') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-04-06 01:21:25 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
12 24m52s 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 = '1248054') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-04-06 01:21:10 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
13 24m48s 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 = '1248054') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-04-06 01:20:43 - Bind query: yes ]
14 23m31s 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 = '2059262') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2024-04-01 00:29:55 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
15 23m26s 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 = '2059262') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2024-04-01 00:53:21 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
16 23m20s 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 = '2059262') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2024-04-01 00:29:45 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
17 23m16s 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 = '2059262') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2024-04-01 00:29:41 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
18 23m9s 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-04-06 18:59:49 ]
19 22m59s 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-04-06 19:39:46 ]
20 22m55s 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 = '2059262') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2024-04-01 00:29:41 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 6h57m15s 43 1s287ms 34m1s 9m42s 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 #1
Day Hour Count Duration Avg duration Mar 31 00 4 44m55s 11m13s 01 1 11m3s 11m3s 06 1 1s521ms 1s521ms 15 1 1s540ms 1s540ms 18 1 1s287ms 1s287ms 22 1 1s513ms 1s513ms Apr 01 03 1 1s505ms 1s505ms 05 1 3s199ms 3s199ms 07 1 3s117ms 3s117ms 17 4 23m40s 5m55s 18 1 20m4s 20m4s Apr 02 03 1 3s181ms 3s181ms 05 1 2s55ms 2s55ms 06 1 17m5s 17m5s 10 2 8m29s 4m14s 12 1 3m37s 3m37s Apr 03 02 1 1s548ms 1s548ms 22 1 3s61ms 3s61ms Apr 04 09 1 8m23s 8m23s 16 1 1s551ms 1s551ms Apr 05 02 1 17m32s 17m32s 10 1 17m1s 17m1s 12 1 8m24s 8m24s 21 1 2s327ms 2s327ms Apr 06 00 1 48s253ms 48s253ms 01 8 3h55m34s 29m26s 15 1 1s482ms 1s482ms 20 1 1s518ms 1s518ms 22 1 3s335ms 3s335ms [ User: pubeu - Total duration: 3h56m - Times executed: 17 ]
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1230239') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-04-06 01:30:05 Duration: 34m1s 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 = '1230239') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-04-06 01:29:28 Duration: 33m35s 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 = '1230239') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-04-06 01:29:47 Duration: 33m31s Database: ctdprd51 User: pubeu Bind query: yes
2 4h51m33s 144 1s79ms 45m45s 2m1s 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 #2
Day Hour Count Duration Avg duration Mar 31 06 2 19s346ms 9s673ms 07 4 29s997ms 7s499ms 12 4 4s731ms 1s182ms 13 1 1s887ms 1s887ms 14 5 1m21s 16s242ms 15 2 17s940ms 8s970ms 17 2 7s995ms 3s997ms 18 3 12s225ms 4s75ms 19 1 3s977ms 3s977ms 23 36 55m11s 1m31s Apr 01 00 13 3h42m29s 17m6s 03 3 1m52s 37s518ms 06 2 1m9s 34s968ms 07 1 34s170ms 34s170ms Apr 02 01 1 12s757ms 12s757ms 04 1 2s86ms 2s86ms 08 2 3s163ms 1s581ms 09 1 14s713ms 14s713ms 20 1 3s321ms 3s321ms Apr 03 10 1 14s815ms 14s815ms Apr 04 02 1 2s202ms 2s202ms 05 3 6s237ms 2s79ms 06 12 27s882ms 2s323ms 13 1 12s670ms 12s670ms 20 1 3s262ms 3s262ms Apr 05 01 1 1s94ms 1s94ms 02 22 49s52ms 2s229ms 04 1 1s100ms 1s100ms 05 1 2s128ms 2s128ms 12 1 3s220ms 3s220ms Apr 06 01 7 27s451ms 3s921ms 09 5 2m56s 35s312ms 21 2 1m13s 36s657ms [ User: pubeu - Total duration: 3h45m9s - Times executed: 85 ]
-
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 = '2059262') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-04-01 00:59:12 Duration: 45m45s 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 = '2059262') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-04-01 00:43:17 Duration: 29m49s 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 = '2059262') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-04-01 00:43:29 Duration: 29m37s Database: ctdprd51 User: pubeu Bind query: yes
3 2h59m25s 7 15m23s 53m17s 25m37s select maint_query_logs_archive ();Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Mar 31 00 1 53m17s 53m17s Apr 01 00 1 49m2s 49m2s Apr 02 00 1 15m24s 15m24s Apr 03 00 1 15m29s 15m29s Apr 04 00 1 15m23s 15m23s Apr 05 00 1 15m24s 15m24s Apr 06 00 1 15m23s 15m23s -
/* * 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-03-31 00:53:19 Duration: 53m17s
-
/* * 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-04-01 00:49:03 Duration: 49m2s
-
/* * 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-04-03 00:15:30 Duration: 15m29s
4 1h55m51s 71 1s 13m32s 1m37s select r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refacc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, count(*) over () fullrowcount from reference r where r.id in ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?)) order by r.sort_txt limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Mar 31 03 3 3m8s 1m2s 04 2 2m3s 1m1s 09 1 45s669ms 45s669ms 10 4 3m6s 46s709ms 11 1 45s484ms 45s484ms Apr 01 01 1 1s861ms 1s861ms 02 1 1m36s 1m36s 17 10 43m34s 4m21s Apr 02 07 1 33s441ms 33s441ms Apr 04 10 1 29s8ms 29s8ms Apr 05 17 2 1m18s 39s452ms Apr 06 00 3 10m16s 3m25s 01 39 47m44s 1m13s 08 1 24s422ms 24s422ms 21 1 2s601ms 2s601ms [ User: pubeu - Total duration: 29m28s - Times executed: 18 ]
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1419064')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-04-06 01:24:16 Duration: 13m32s Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1260890')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-04-01 17:51:45 Duration: 12m27s Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1260890')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-04-01 17:53:30 Duration: 10m59s Bind query: yes
5 1h30m53s 563 1s 1m10s 9s686ms 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 #5
Day Hour Count Duration Avg duration Mar 31 00 2 4s552ms 2s276ms 02 2 12s15ms 6s7ms 04 4 5s303ms 1s325ms 06 2 4s144ms 2s72ms 07 2 9s339ms 4s669ms 09 4 16s884ms 4s221ms 11 1 1s212ms 1s212ms 12 2 8s357ms 4s178ms 13 1 4s187ms 4s187ms 15 1 1s330ms 1s330ms 17 2 4s159ms 2s79ms 19 3 12s150ms 4s50ms 21 4 14s581ms 3s645ms 22 9 22s129ms 2s458ms 23 9 29s291ms 3s254ms Apr 01 00 7 11s425ms 1s632ms 01 9 1m1s 6s838ms 02 1 4s918ms 4s918ms 03 3 14s580ms 4s860ms 04 4 12s608ms 3s152ms 05 8 38s732ms 4s841ms 07 1 1s172ms 1s172ms 08 2 12s837ms 6s418ms 09 2 6s495ms 3s247ms 11 4 19s477ms 4s869ms 12 1 4s352ms 4s352ms 13 3 8s632ms 2s877ms 14 5 31s93ms 6s218ms 15 2 7s829ms 3s914ms 17 37 12m11s 19s777ms 18 1 3s60ms 3s60ms 19 3 9s20ms 3s6ms 20 2 8s649ms 4s324ms 21 1 1s314ms 1s314ms 22 4 10s901ms 2s725ms 23 6 47s591ms 7s931ms Apr 02 00 3 20s132ms 6s710ms 01 11 56s908ms 5s173ms 02 4 27s944ms 6s986ms 03 1 3s2ms 3s2ms 05 4 22s762ms 5s690ms 06 3 4s998ms 1s666ms 07 3 6s645ms 2s215ms 08 3 14s2ms 4s667ms 10 2 23s421ms 11s710ms 11 2 11s658ms 5s829ms 15 1 12s538ms 12s538ms 18 1 1s361ms 1s361ms 19 2 7s300ms 3s650ms 20 2 7s388ms 3s694ms 22 2 14s371ms 7s185ms 23 1 1s212ms 1s212ms Apr 03 00 1 1s142ms 1s142ms 01 2 17s775ms 8s887ms 02 2 4s375ms 2s187ms 03 6 9s496ms 1s582ms 05 1 2s733ms 2s733ms 06 3 13s379ms 4s459ms 08 1 5s178ms 5s178ms 09 1 3s119ms 3s119ms 10 2 3s506ms 1s753ms 12 1 3s4ms 3s4ms 13 2 2s644ms 1s322ms 14 1 5s5ms 5s5ms 15 1 3s109ms 3s109ms 17 3 11s972ms 3s990ms 18 5 20s555ms 4s111ms 19 1 1s213ms 1s213ms 20 12 42s918ms 3s576ms 21 2 4s138ms 2s69ms 22 2 6s627ms 3s313ms 23 2 13s309ms 6s654ms Apr 04 00 3 7s34ms 2s344ms 01 1 1s301ms 1s301ms 02 1 5s401ms 5s401ms 04 1 1s245ms 1s245ms 05 1 1s558ms 1s558ms 07 1 4s788ms 4s788ms 10 1 3s84ms 3s84ms 11 1 2s155ms 2s155ms 12 3 11s987ms 3s995ms 13 2 3s930ms 1s965ms 14 6 14s891ms 2s481ms 15 5 20s639ms 4s127ms 16 1 6s693ms 6s693ms 17 1 2s174ms 2s174ms 18 1 4s688ms 4s688ms 21 1 2s727ms 2s727ms 22 3 16s949ms 5s649ms 23 2 5s150ms 2s575ms Apr 05 00 2 9s108ms 4s554ms 01 1 1s157ms 1s157ms 02 2 6s701ms 3s350ms 03 3 9s537ms 3s179ms 04 4 7s76ms 1s769ms 05 3 8s298ms 2s766ms 06 1 4s896ms 4s896ms 07 1 6s230ms 6s230ms 08 1 6s465ms 6s465ms 09 6 51s576ms 8s596ms 10 3 5s677ms 1s892ms 12 3 11s282ms 3s760ms 14 1 1s110ms 1s110ms 15 3 9s99ms 3s33ms 16 3 11s818ms 3s939ms 17 5 23s859ms 4s771ms 18 1 1s365ms 1s365ms 20 1 1s278ms 1s278ms 22 3 9s546ms 3s182ms 23 7 27s548ms 3s935ms Apr 06 00 75 28m39s 22s929ms 01 98 26m25s 16s174ms 02 3 12s687ms 4s229ms 03 2 6s270ms 3s135ms 04 3 5s183ms 1s727ms 05 3 14s63ms 4s687ms 07 5 16s748ms 3s349ms 08 1 5s48ms 5s48ms 09 5 34s763ms 6s952ms 12 2 4s146ms 2s73ms 13 4 10s823ms 2s705ms 14 1 1s179ms 1s179ms 15 3 10s602ms 3s534ms 16 2 8s260ms 4s130ms 17 4 13s322ms 3s330ms 18 1 1s313ms 1s313ms 19 4 20s452ms 5s113ms 20 1 4s710ms 4s710ms 21 4 24s956ms 6s239ms 22 3 15s621ms 5s207ms [ User: pubeu - Total duration: 33m3s - Times executed: 231 ]
-
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 = '2063367') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-04-06 00:57:59 Duration: 1m10s 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 = '2063367') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-04-01 17:43:52 Duration: 1m8s 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 = '2063367') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-04-06 00:58:40 Duration: 1m8s Bind query: yes
6 1h27m30s 2,215 1s5ms 22s54ms 2s370ms 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 #6
Day Hour Count Duration Avg duration Mar 31 01 98 3m45s 2s302ms 02 136 5m5s 2s247ms 03 242 9m28s 2s347ms 04 89 3m18s 2s225ms 05 86 3m16s 2s287ms 06 16 34s454ms 2s153ms 07 90 3m40s 2s445ms 08 70 2m39s 2s282ms 09 28 1m2s 2s244ms 10 159 6m4s 2s290ms 11 155 5m53s 2s282ms 12 61 2m14s 2s198ms 13 2 4s552ms 2s276ms 14 1 2s200ms 2s200ms 15 66 2m31s 2s288ms 16 155 5m48s 2s245ms 18 20 46s208ms 2s310ms 19 26 58s893ms 2s265ms Apr 01 01 16 2m6s 7s884ms 03 1 2s437ms 2s437ms 04 7 14s907ms 2s129ms 05 13 30s595ms 2s353ms 06 3 5s962ms 1s987ms 07 20 43s936ms 2s196ms 08 9 21s706ms 2s411ms 10 57 2m9s 2s273ms 11 81 3m8s 2s323ms 12 7 13s927ms 1s989ms 13 4 10s818ms 2s704ms 14 5 11s616ms 2s323ms 15 4 8s501ms 2s125ms 16 4 8s311ms 2s77ms 17 8 23s760ms 2s970ms 18 7 14s476ms 2s68ms 19 6 15s391ms 2s565ms 20 6 14s664ms 2s444ms 21 5 12s387ms 2s477ms 22 5 11s503ms 2s300ms 23 13 28s289ms 2s176ms Apr 02 00 94 3m36s 2s301ms 01 91 3m24s 2s250ms 02 61 2m17s 2s259ms 05 4 9s9ms 2s252ms 14 1 1s928ms 1s928ms 19 1 1s944ms 1s944ms 22 1 2s126ms 2s126ms Apr 03 02 82 3m13s 2s355ms 03 49 1m51s 2s269ms 05 4 8s974ms 2s243ms 12 1 1s809ms 1s809ms 15 5 9s173ms 1s834ms Apr 04 04 1 3s325ms 3s325ms 05 5 12s312ms 2s462ms 06 1 3s291ms 3s291ms 08 2 3s720ms 1s860ms 09 3 9s146ms 3s48ms 12 1 1s925ms 1s925ms 21 1 3s353ms 3s353ms Apr 05 05 4 8s889ms 2s222ms Apr 06 00 3 47s861ms 15s953ms 01 7 54s529ms 7s789ms 03 3 10s179ms 3s393ms 05 4 8s914ms 2s228ms 12 3 8s69ms 2s689ms 13 1 1s955ms 1s955ms 14 1 2s589ms 2s589ms [ User: pubeu - Total duration: 16m46s - Times executed: 412 ]
[ User: qaeu - Total duration: 23s949ms - 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 = '648460' 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-04-06 00:58:39 Duration: 22s54ms 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 = '648460' 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-04-06 01:04:05 Duration: 21s862ms 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 = '648460' 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-04-06 00:58:47 Duration: 18s620ms Bind query: yes
7 45m15s 284 1s15ms 19s113ms 9s563ms select count(*) from gene_disease gd where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Apr 01 00 3 8s178ms 2s726ms 01 9 1m6s 7s350ms 17 37 4m48s 7s800ms Apr 06 00 74 13m18s 10s789ms 01 161 25m54s 9s655ms [ User: pubeu - Total duration: 3m22s - Times executed: 24 ]
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2051315');
Date: 2024-04-06 01:03:48 Duration: 19s113ms Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2056095');
Date: 2024-04-06 00:58:22 Duration: 18s828ms Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2063106');
Date: 2024-04-06 00:58:19 Duration: 18s138ms Bind query: yes
8 38m43s 249 1s15ms 37s706ms 9s331ms select * from ( select g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, count(*) over () fullrowcount from term g where g.id in ( select gt.gene_id from dag_path dp inner join gene_taxon gt on dp.descendant_object_id = gt.taxon_id where dp.ancestor_object_id = ? union all select gcr.gene_id from dag_path dp inner join gene_chem_reference gcr on dp.descendant_object_id = gcr.taxon_id where dp.ancestor_object_id = ?) offset ?) mq order by mq.genesymbolsort limit ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Apr 01 01 40 6m6s 9s169ms 04 1 1s15ms 1s15ms 17 4 12s771ms 3s192ms Apr 02 04 1 6s909ms 6s909ms 05 1 2s53ms 2s53ms Apr 03 06 1 2s27ms 2s27ms 15 121 18m15s 9s52ms 23 1 1s987ms 1s987ms Apr 04 05 1 2s 2s 21 11 24s519ms 2s229ms Apr 06 00 29 6m26s 13s327ms 01 38 7m1s 11s93ms [ User: pubeu - Total duration: 16m50s - Times executed: 103 ]
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '648460' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '648460') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-04-06 00:58:31 Duration: 37s706ms Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '648460' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '648460') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-04-06 00:58:44 Duration: 37s78ms Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '648460' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '648460') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-04-06 01:17:26 Duration: 33s611ms Database: ctdprd51 User: pubeu Bind query: yes
9 34m36s 63 1s20ms 2m9s 32s961ms 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 #9
Day Hour Count Duration Avg duration Mar 31 10 2 2s454ms 1s227ms 12 1 1s59ms 1s59ms 14 1 1s57ms 1s57ms 15 1 6s253ms 6s253ms 21 1 1s42ms 1s42ms Apr 01 02 1 1s656ms 1s656ms 07 1 1s501ms 1s501ms 09 1 18s177ms 18s177ms 17 9 5m14s 34s960ms 18 1 1s448ms 1s448ms 23 1 1s67ms 1s67ms Apr 02 02 2 2s707ms 1s353ms 04 1 1s254ms 1s254ms 20 1 2s770ms 2s770ms 21 1 1s20ms 1s20ms 22 1 2s309ms 2s309ms Apr 03 23 2 10s104ms 5s52ms Apr 04 06 1 1s40ms 1s40ms 18 1 8s170ms 8s170ms 22 1 17s928ms 17s928ms Apr 05 00 1 6s21ms 6s21ms 04 1 6s286ms 6s286ms 05 1 1s37ms 1s37ms 06 1 1s161ms 1s161ms 23 1 1s49ms 1s49ms Apr 06 00 16 22m41s 1m25s 01 4 4m22s 1m5s 04 2 14s654ms 7s327ms 05 1 1s625ms 1s625ms 06 1 17s614ms 17s614ms 07 1 1s140ms 1s140ms 12 1 3s91ms 3s91ms 15 1 1s107ms 1s107ms [ User: pubeu - Total duration: 17m15s - Times executed: 33 ]
-
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 = '1230239') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-04-06 00:58:48 Duration: 2m9s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1230239') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-04-06 00:58:32 Duration: 2m5s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1206427') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-04-06 00:58:14 Duration: 2m3s Bind query: yes
10 30m37s 424 1s2ms 42s901ms 4s334ms 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 Mar 31 01 1 1s103ms 1s103ms 02 3 6s373ms 2s124ms 03 1 2s65ms 2s65ms 04 1 2s812ms 2s812ms 08 3 9s995ms 3s331ms 09 1 1s528ms 1s528ms 11 3 7s121ms 2s373ms 12 3 8s677ms 2s892ms 13 4 18s82ms 4s520ms 14 4 14s756ms 3s689ms 15 11 27s862ms 2s532ms 17 6 19s824ms 3s304ms 18 6 13s286ms 2s214ms 19 5 18s803ms 3s760ms 20 1 1s772ms 1s772ms 21 7 17s247ms 2s463ms 23 4 11s549ms 2s887ms Apr 01 00 2 5s61ms 2s530ms 01 3 16s508ms 5s502ms 02 9 23s237ms 2s581ms 03 3 12s508ms 4s169ms 06 4 7s138ms 1s784ms 07 3 3s967ms 1s322ms 08 7 23s14ms 3s287ms 09 1 2s673ms 2s673ms 11 1 1s115ms 1s115ms 13 10 28s455ms 2s845ms 14 2 2s623ms 1s311ms 15 4 12s736ms 3s184ms 16 2 2s453ms 1s226ms 17 20 1m7s 3s384ms 19 1 1s195ms 1s195ms 20 1 3s485ms 3s485ms 21 1 2s669ms 2s669ms 22 3 10s192ms 3s397ms 23 4 8s286ms 2s71ms Apr 02 01 3 7s503ms 2s501ms 02 1 4s790ms 4s790ms 03 1 3s562ms 3s562ms 06 1 3s480ms 3s480ms 07 5 20s156ms 4s31ms 08 2 6s910ms 3s455ms 09 2 8s402ms 4s201ms 10 10 29s803ms 2s980ms 11 4 13s608ms 3s402ms 13 1 1s210ms 1s210ms 14 12 27s594ms 2s299ms 15 1 2s776ms 2s776ms 16 1 3s484ms 3s484ms 17 2 6s94ms 3s47ms 19 2 5s24ms 2s512ms 21 1 3s591ms 3s591ms 23 1 3s504ms 3s504ms Apr 03 00 1 1s346ms 1s346ms 01 3 7s612ms 2s537ms 03 2 4s778ms 2s389ms 04 6 18s8ms 3s1ms 05 1 1s310ms 1s310ms 06 2 3s647ms 1s823ms 09 1 3s590ms 3s590ms 11 4 12s543ms 3s135ms 12 3 7s118ms 2s372ms 14 6 17s890ms 2s981ms 15 15 40s829ms 2s721ms 17 8 23s655ms 2s956ms 18 2 6s507ms 3s253ms 19 2 3s598ms 1s799ms 20 5 14s147ms 2s829ms 21 1 3s644ms 3s644ms 23 1 1s216ms 1s216ms Apr 04 01 1 1s543ms 1s543ms 02 4 14s202ms 3s550ms 03 11 36s936ms 3s357ms 04 2 9s567ms 4s783ms 07 1 3s509ms 3s509ms 08 1 4s812ms 4s812ms 09 1 3s525ms 3s525ms 10 1 4s817ms 4s817ms 12 3 5s821ms 1s940ms 13 1 4s730ms 4s730ms 14 2 3s821ms 1s910ms 15 1 2s219ms 2s219ms 16 1 1s585ms 1s585ms 22 1 1s247ms 1s247ms 23 2 4s894ms 2s447ms Apr 05 00 2 8s319ms 4s159ms 02 1 1s219ms 1s219ms 05 1 2s706ms 2s706ms 06 1 1s342ms 1s342ms 07 1 2s182ms 2s182ms 09 1 2s633ms 2s633ms 10 1 1s226ms 1s226ms 13 1 4s892ms 4s892ms 15 1 3s502ms 3s502ms 16 2 4s898ms 2s449ms 17 1 4s859ms 4s859ms 19 2 7s425ms 3s712ms 20 1 1s576ms 1s576ms 22 2 8s362ms 4s181ms 23 1 4s903ms 4s903ms Apr 06 00 5 13s501ms 2s700ms 01 86 14m8s 9s870ms 02 3 10s3ms 3s334ms 04 2 7s152ms 3s576ms 06 1 1s8ms 1s8ms 07 1 4s772ms 4s772ms 08 2 3s840ms 1s920ms 13 2 6s998ms 3s499ms 15 3 10s481ms 3s493ms 17 1 1s386ms 1s386ms 20 5 13s906ms 2s781ms 22 3 11s838ms 3s946ms [ User: pubeu - Total duration: 11m13s - Times executed: 166 ]
-
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 = '1381425') 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 = '1381425') 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-04-06 01:15:02 Duration: 42s901ms 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 = '1381425') 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 = '1381425') 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-04-06 01:14:41 Duration: 42s852ms 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 = '1381425') 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 = '1381425') 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-04-06 01:15:17 Duration: 40s842ms Bind query: yes
11 28m47s 387 1s2ms 41s462ms 4s462ms 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 #11
Day Hour Count Duration Avg duration Mar 31 00 1 1s321ms 1s321ms 04 1 2s798ms 2s798ms 11 1 1s861ms 1s861ms 12 5 20s650ms 4s130ms 13 4 15s476ms 3s869ms 14 1 6s120ms 6s120ms 15 3 6s725ms 2s241ms 16 1 6s156ms 6s156ms 17 11 34s219ms 3s110ms 18 1 1s852ms 1s852ms 19 4 12s150ms 3s37ms 20 2 3s719ms 1s859ms 21 2 3s236ms 1s618ms 23 3 13s676ms 4s558ms Apr 01 00 1 1s597ms 1s597ms 01 2 31s881ms 15s940ms 02 7 23s378ms 3s339ms 03 3 11s18ms 3s672ms 06 1 1s738ms 1s738ms 07 4 13s583ms 3s395ms 08 6 16s191ms 2s698ms 09 1 1s649ms 1s649ms 11 1 5s984ms 5s984ms 13 5 16s671ms 3s334ms 14 1 3s257ms 3s257ms 15 2 9s45ms 4s522ms 16 2 9s210ms 4s605ms 17 31 3m43s 7s195ms 18 2 7s282ms 3s641ms 19 2 8s830ms 4s415ms 23 6 18s203ms 3s33ms Apr 02 02 1 2s88ms 2s88ms 03 1 6s140ms 6s140ms 07 4 12s613ms 3s153ms 08 1 1s998ms 1s998ms 09 3 9s637ms 3s212ms 10 5 26s649ms 5s329ms 11 1 2s863ms 2s863ms 12 1 5s941ms 5s941ms 14 9 23s287ms 2s587ms 16 2 5s515ms 2s757ms Apr 03 01 1 1s880ms 1s880ms 04 6 20s807ms 3s467ms 06 1 1s319ms 1s319ms 07 2 8s240ms 4s120ms 09 2 9s316ms 4s658ms 10 1 1s876ms 1s876ms 11 5 15s245ms 3s49ms 12 6 19s432ms 3s238ms 14 6 16s156ms 2s692ms 15 8 24s81ms 3s10ms 17 3 18s172ms 6s57ms 20 5 10s837ms 2s167ms 21 4 7s783ms 1s945ms 23 1 5s980ms 5s980ms Apr 04 01 1 1s341ms 1s341ms 02 5 14s805ms 2s961ms 03 10 29s666ms 2s966ms 04 2 4s887ms 2s443ms 07 2 4s638ms 2s319ms 09 1 3s265ms 3s265ms 12 1 1s739ms 1s739ms 13 1 3s241ms 3s241ms 14 1 1s866ms 1s866ms Apr 05 00 2 9s254ms 4s627ms 04 2 5s615ms 2s807ms 05 2 8s20ms 4s10ms 06 1 3s263ms 3s263ms 10 1 1s742ms 1s742ms 11 1 1s733ms 1s733ms 18 1 1s842ms 1s842ms 19 1 1s725ms 1s725ms 21 1 1s985ms 1s985ms Apr 06 00 6 15s815ms 2s635ms 01 139 13m12s 5s702ms 05 1 1s451ms 1s451ms 13 1 1s873ms 1s873ms 14 2 7s853ms 3s926ms 17 1 3s228ms 3s228ms 18 1 3s363ms 3s363ms 19 2 5s591ms 2s795ms 21 1 2s177ms 2s177ms 23 1 2s16ms 2s16ms [ User: pubeu - Total duration: 8m49s - Times executed: 117 ]
-
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 = '1381425'))) 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-04-06 01:11:24 Duration: 41s462ms 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 = '1381425'))) 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-04-06 01:11:36 Duration: 39s877ms 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 = '1381425'))) 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-04-06 01:15:03 Duration: 37s885ms Database: ctdprd51 User: pubeu Bind query: yes
12 28m4s 405 3s887ms 16s893ms 4s160ms 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 #12
Day Hour Count Duration Avg duration Mar 31 03 1 4s21ms 4s21ms 08 1 3s931ms 3s931ms 10 2 8s176ms 4s88ms 14 1 4s175ms 4s175ms 15 1 4s47ms 4s47ms 16 2 8s45ms 4s22ms 17 1 4s1ms 4s1ms 18 1 4s7ms 4s7ms 20 1 4s178ms 4s178ms 21 3 12s56ms 4s18ms 22 7 31s51ms 4s435ms 23 2 8s483ms 4s241ms Apr 01 02 1 4s146ms 4s146ms 03 3 12s87ms 4s29ms 04 9 36s608ms 4s67ms 05 4 16s158ms 4s39ms 06 4 16s259ms 4s64ms 07 5 20s729ms 4s145ms 08 1 4s63ms 4s63ms 09 2 8s30ms 4s15ms 10 3 12s52ms 4s17ms 11 6 24s740ms 4s123ms 13 1 5s320ms 5s320ms 14 2 8s204ms 4s102ms 16 1 16s893ms 16s893ms 17 3 11s998ms 3s999ms 20 6 25s94ms 4s182ms 21 17 1m9s 4s114ms 22 7 29s208ms 4s172ms 23 45 3m4s 4s101ms Apr 02 00 85 5m49s 4s106ms 01 3 12s102ms 4s34ms 02 4 16s203ms 4s50ms 03 3 12s374ms 4s124ms 04 3 12s332ms 4s110ms 05 1 4s174ms 4s174ms 06 8 32s398ms 4s49ms 08 1 4s70ms 4s70ms 10 1 3s968ms 3s968ms 11 2 8s535ms 4s267ms 12 2 8s72ms 4s36ms 13 1 4s49ms 4s49ms 14 2 7s998ms 3s999ms 15 1 4s173ms 4s173ms 21 2 8s7ms 4s3ms 22 2 8s31ms 4s15ms 23 2 8s336ms 4s168ms Apr 03 00 1 3s995ms 3s995ms 01 2 8s108ms 4s54ms 02 1 4s188ms 4s188ms 03 5 20s134ms 4s26ms 04 6 24s213ms 4s35ms 05 2 7s910ms 3s955ms 06 2 8s236ms 4s118ms 07 1 4s34ms 4s34ms 08 1 3s960ms 3s960ms 10 4 17s981ms 4s495ms 11 6 24s74ms 4s12ms 12 4 16s199ms 4s49ms 13 1 4s96ms 4s96ms 14 1 4s83ms 4s83ms 15 1 4s14ms 4s14ms 16 2 7s909ms 3s954ms 18 1 4s131ms 4s131ms 19 1 3s997ms 3s997ms 20 2 8s141ms 4s70ms 21 1 4s25ms 4s25ms 22 4 16s478ms 4s119ms 23 2 8s132ms 4s66ms Apr 04 02 1 3s952ms 3s952ms 03 3 12s85ms 4s28ms 04 1 3s925ms 3s925ms 05 1 4s151ms 4s151ms 07 2 8s34ms 4s17ms 08 1 4s93ms 4s93ms 09 6 26s30ms 4s338ms 12 3 12s45ms 4s15ms 13 1 4s111ms 4s111ms 14 3 12s130ms 4s43ms 15 2 8s17ms 4s8ms 16 9 36s497ms 4s55ms 17 4 16s352ms 4s88ms 20 1 4s59ms 4s59ms 21 2 7s974ms 3s987ms 23 1 3s927ms 3s927ms Apr 05 00 1 4s43ms 4s43ms 02 1 4s61ms 4s61ms 04 2 8s25ms 4s12ms 05 2 8s68ms 4s34ms 06 1 4s7ms 4s7ms 07 1 4s70ms 4s70ms 08 5 20s814ms 4s162ms 09 2 8s60ms 4s30ms 10 2 8s10ms 4s5ms 11 1 4s33ms 4s33ms 12 1 4s47ms 4s47ms 14 1 4s62ms 4s62ms 20 1 4s 4s 21 1 4s28ms 4s28ms 23 2 8s149ms 4s74ms Apr 06 00 3 12s534ms 4s178ms 04 5 20s354ms 4s70ms 06 1 3s933ms 3s933ms 08 1 3s995ms 3s995ms 12 1 4s 4s 13 1 4s43ms 4s43ms 18 4 16s90ms 4s22ms 19 4 16s236ms 4s59ms 20 1 4s18ms 4s18ms 22 1 16s425ms 16s425ms 23 1 4s41ms 4s41ms [ User: pubeu - Total duration: 10m37s - Times executed: 152 ]
-
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 = '1381425') 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 = '1381425') 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-04-01 16:19:01 Duration: 16s893ms 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 = '1381425') 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 = '1381425') 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-04-06 22:11:48 Duration: 16s425ms 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 = '1410287') 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 = '1410287') 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-04-03 10:35:56 Duration: 5s708ms Database: ctdprd51 User: pubeu Bind query: yes
13 25m18s 228 1s1ms 38s350ms 6s658ms select d.abbr dagabbr, d.nm dagnm, gt.level_min_no daglevelmin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pvalcorrected, te.raw_p_val pvalraw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, count(*) over () fullrowcount from term_enrichment te inner join dag_node gt on te.enriched_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, d.abbr, gt.nm_sort limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Mar 31 00 1 5s617ms 5s617ms 01 2 10s804ms 5s402ms 02 1 1s14ms 1s14ms 03 2 6s348ms 3s174ms 04 1 1s71ms 1s71ms 05 5 5s228ms 1s45ms 07 3 12s35ms 4s11ms 09 1 1s12ms 1s12ms 10 5 5s216ms 1s43ms 11 2 2s58ms 1s29ms 13 1 5s458ms 5s458ms 15 2 10s766ms 5s383ms 17 3 16s457ms 5s485ms 18 3 3s162ms 1s54ms 19 2 10s916ms 5s458ms 20 4 12s561ms 3s140ms 21 3 12s359ms 4s119ms 22 2 6s371ms 3s185ms 23 2 8s677ms 4s338ms Apr 01 01 1 20s993ms 20s993ms 02 1 5s574ms 5s574ms 04 2 10s910ms 5s455ms 05 2 2s36ms 1s18ms 07 1 1s66ms 1s66ms 08 4 13s395ms 3s348ms 13 2 6s964ms 3s482ms 14 1 5s282ms 5s282ms 16 1 5s256ms 5s256ms 17 16 4m13s 15s817ms 20 1 1s22ms 1s22ms 21 1 1s38ms 1s38ms 23 4 13s139ms 3s284ms Apr 02 00 6 24s201ms 4s33ms 01 1 1s84ms 1s84ms 02 5 18s382ms 3s676ms 05 4 4s85ms 1s21ms 06 1 5s343ms 5s343ms 07 1 6s 6s 08 3 7s437ms 2s479ms 09 1 5s286ms 5s286ms 10 1 5s490ms 5s490ms 11 2 10s885ms 5s442ms 14 3 12s409ms 4s136ms 17 1 1s1ms 1s1ms 19 1 5s861ms 5s861ms 22 1 5s440ms 5s440ms Apr 03 01 1 1s11ms 1s11ms 04 2 6s361ms 3s180ms 05 8 17s352ms 2s169ms 06 3 16s758ms 5s586ms 07 1 5s384ms 5s384ms 08 2 10s643ms 5s321ms 10 5 24s641ms 4s928ms 12 1 1s25ms 1s25ms 15 2 6s445ms 3s222ms 16 6 31s991ms 5s331ms 17 3 17s505ms 5s835ms 19 1 1s12ms 1s12ms 20 5 28s923ms 5s784ms 21 2 11s301ms 5s650ms Apr 04 00 2 10s794ms 5s397ms 02 1 1s96ms 1s96ms 03 3 7s888ms 2s629ms 05 6 6s110ms 1s18ms 08 1 5s840ms 5s840ms 09 1 5s489ms 5s489ms 13 6 10s729ms 1s788ms 14 1 5s973ms 5s973ms 15 1 5s721ms 5s721ms 16 1 5s947ms 5s947ms Apr 05 02 1 5s396ms 5s396ms 05 6 6s111ms 1s18ms 08 2 10s862ms 5s431ms 11 1 5s354ms 5s354ms 13 1 1s10ms 1s10ms 16 1 1s21ms 1s21ms 23 1 5s343ms 5s343ms Apr 06 00 1 5s280ms 5s280ms 01 21 10m 28s585ms 02 2 6s436ms 3s218ms 03 1 5s459ms 5s459ms 04 2 10s791ms 5s395ms 05 5 5s157ms 1s31ms 09 1 1s109ms 1s109ms 12 2 2s49ms 1s24ms 14 1 5s389ms 5s389ms 22 1 5s355ms 5s355ms [ User: pubeu - Total duration: 8m27s - Times executed: 63 ]
[ User: qaeu - Total duration: 6s144ms - Times executed: 6 ]
-
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 = '1260890' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-04-01 17:43:34 Duration: 38s350ms 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 = '1271569' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-04-06 01:11:29 Duration: 38s278ms 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 = '1271569' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-04-06 01:11:15 Duration: 36s757ms Bind query: yes
14 23m9s 1 23m9s 23m9s 23m9s 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 #14
Day Hour Count Duration Avg duration Apr 06 18 1 23m9s 23m9s -
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-04-06 18:59:49 Duration: 23m9s
15 22m59s 1 22m59s 22m59s 22m59s 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 #15
Day Hour Count Duration Avg duration Apr 06 19 1 22m59s 22m59s -
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-04-06 19:39:46 Duration: 22m59s
16 21m16s 836 1s46ms 14s204ms 1s527ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where exposuremarkerterm.id = ? or receptorterm.id = ? group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Mar 31 00 18 20s571ms 1s142ms 01 12 13s310ms 1s109ms 02 19 20s832ms 1s96ms 03 20 22s174ms 1s108ms 04 23 25s219ms 1s96ms 05 28 30s984ms 1s106ms 06 14 15s623ms 1s115ms 07 16 17s917ms 1s119ms 08 18 20s23ms 1s112ms 09 24 26s805ms 1s116ms 10 19 21s138ms 1s112ms 11 33 36s711ms 1s112ms 12 17 18s658ms 1s97ms 13 12 13s250ms 1s104ms 14 25 27s784ms 1s111ms 15 11 12s20ms 1s92ms 16 19 21s72ms 1s109ms 17 17 18s777ms 1s104ms 18 15 16s340ms 1s89ms 19 15 16s528ms 1s101ms 20 31 34s254ms 1s104ms 21 19 21s550ms 1s134ms 22 20 22s444ms 1s122ms 23 10 13s592ms 1s359ms Apr 01 01 2 13s270ms 6s635ms 02 10 11s316ms 1s131ms 03 4 4s482ms 1s120ms 04 11 12s204ms 1s109ms 05 3 3s463ms 1s154ms 06 2 2s204ms 1s102ms 08 1 1s105ms 1s105ms 09 2 2s199ms 1s99ms 11 1 1s99ms 1s99ms 13 1 1s93ms 1s93ms 17 1 1s104ms 1s104ms 18 1 1s122ms 1s122ms 19 1 1s87ms 1s87ms 23 4 4s468ms 1s117ms Apr 02 00 3 3s409ms 1s136ms 01 3 3s422ms 1s140ms 03 7 7s756ms 1s108ms 04 6 6s655ms 1s109ms 05 8 9s5ms 1s125ms 06 6 6s623ms 1s103ms 07 10 11s15ms 1s101ms 08 9 9s944ms 1s104ms 09 4 4s396ms 1s99ms 10 8 8s669ms 1s83ms 11 9 9s818ms 1s90ms 12 11 12s138ms 1s103ms 13 9 9s880ms 1s97ms 14 6 6s561ms 1s93ms 15 4 4s405ms 1s101ms 16 5 5s493ms 1s98ms 17 9 9s860ms 1s95ms 18 12 13s188ms 1s99ms 19 5 5s508ms 1s101ms 20 4 4s369ms 1s92ms 21 8 8s707ms 1s88ms 22 11 12s315ms 1s119ms 23 9 10s52ms 1s116ms Apr 03 00 5 5s572ms 1s114ms 01 11 12s206ms 1s109ms 05 4 4s580ms 1s145ms 06 1 1s114ms 1s114ms 09 1 1s175ms 1s175ms 11 1 1s169ms 1s169ms 12 1 1s119ms 1s119ms 13 1 1s119ms 1s119ms 14 2 2s276ms 1s138ms 15 2 2s189ms 1s94ms 17 1 1s100ms 1s100ms 18 1 1s97ms 1s97ms 19 1 1s57ms 1s57ms 20 2 2s274ms 1s137ms 21 2 2s189ms 1s94ms 22 2 2s194ms 1s97ms 23 1 1s122ms 1s122ms Apr 04 00 5 5s659ms 1s131ms 02 1 1s111ms 1s111ms 03 1 1s131ms 1s131ms 05 4 4s722ms 1s180ms 08 5 5s510ms 1s102ms 09 1 1s89ms 1s89ms 12 1 1s97ms 1s97ms 15 2 2s216ms 1s108ms 16 5 5s479ms 1s95ms 17 2 2s191ms 1s95ms 18 1 1s96ms 1s96ms 22 1 1s156ms 1s156ms Apr 05 00 7 7s931ms 1s133ms 01 3 3s346ms 1s115ms 03 2 2s157ms 1s78ms 05 4 4s609ms 1s152ms 06 1 1s122ms 1s122ms 07 1 1s88ms 1s88ms 10 2 2s217ms 1s108ms 15 1 1s79ms 1s79ms 20 1 1s117ms 1s117ms 21 1 1s85ms 1s85ms 23 2 2s182ms 1s91ms Apr 06 00 29 3m34s 7s380ms 01 20 2m55s 8s753ms 02 1 1s87ms 1s87ms 03 1 1s105ms 1s105ms 05 4 4s610ms 1s152ms 06 2 2s208ms 1s104ms 12 2 2s301ms 1s150ms 13 3 3s329ms 1s109ms 15 1 1s150ms 1s150ms 16 1 1s130ms 1s130ms 17 5 5s551ms 1s110ms 18 1 1s97ms 1s97ms 19 2 2s245ms 1s122ms 20 1 1s98ms 1s98ms 21 3 3s408ms 1s136ms 22 1 1s95ms 1s95ms 23 1 1s110ms 1s110ms [ User: pubeu - Total duration: 5m50s - Times executed: 232 ]
[ User: qaeu - Total duration: 1s194ms - Times executed: 1 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where exposureMarkerTerm.id = '1425257' or receptorTerm.id = '1425257' 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-04-06 00:58:20 Duration: 14s204ms 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 = '1425257' or receptorTerm.id = '1425257' 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-04-06 00:58:32 Duration: 13s294ms 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 = '2008051' or receptorTerm.id = '2008051' 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-04-06 01:15:00 Duration: 13s30ms Bind query: yes
17 19m18s 61 1s879ms 40s583ms 18s986ms 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 ? offset ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Mar 31 06 1 2s843ms 2s843ms Apr 01 17 22 5m6s 13s953ms Apr 02 21 1 1s879ms 1s879ms Apr 06 01 37 14m6s 22s877ms [ User: pubeu - Total duration: 5m45s - Times executed: 23 ]
-
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 = '1381425'))) 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 OFFSET 100;
Date: 2024-04-06 01:11:26 Duration: 40s583ms 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 = '1381425'))) 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 OFFSET 50;
Date: 2024-04-06 01:15:33 Duration: 40s547ms 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 = '1381425'))) 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 OFFSET 200;
Date: 2024-04-06 01:15:03 Duration: 40s247ms Database: ctdprd51 User: pubeu Bind query: yes
18 13m7s 25 30s835ms 31s974ms 31s504ms 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 Mar 31 06 1 31s397ms 31s397ms 10 1 31s161ms 31s161ms 14 1 31s690ms 31s690ms 18 1 31s450ms 31s450ms Apr 01 06 1 31s498ms 31s498ms 10 1 31s974ms 31s974ms 14 1 31s522ms 31s522ms 18 1 31s499ms 31s499ms Apr 02 06 1 31s421ms 31s421ms 10 1 31s357ms 31s357ms 14 1 31s386ms 31s386ms 18 1 31s433ms 31s433ms Apr 03 06 1 31s639ms 31s639ms 10 1 31s710ms 31s710ms 14 1 31s487ms 31s487ms 18 1 31s531ms 31s531ms Apr 04 06 1 31s510ms 31s510ms 10 1 31s547ms 31s547ms 14 1 31s854ms 31s854ms 18 1 31s646ms 31s646ms Apr 05 06 1 31s495ms 31s495ms 10 1 31s488ms 31s488ms 14 1 31s590ms 31s590ms 18 1 31s486ms 31s486ms Apr 06 19 1 30s835ms 30s835ms [ User: postgres - Total duration: 12m36s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 12m36s - 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-04-01 10:05:33 Duration: 31s974ms 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-04-04 14:05:33 Duration: 31s854ms 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-04-03 10:05:34 Duration: 31s710ms Database: ctdprd51 User: postgres Application: pg_dump
19 12m28s 6 2m4s 2m5s 2m4s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by diseaseterm.nm_sort, phenotypeterm.nm_sort limit ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Mar 31 12 4 8m19s 2m4s 13 2 4m9s 2m4s [ User: pubeu - Total duration: 2m5s - 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 = '1211915') and diseaseTerm.object_type_id = 3 ORDER BY diseaseTerm.nm_sort, phenotypeTerm.nm_sort LIMIT 50;
Date: 2024-03-31 12:52:33 Duration: 2m5s 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 = '1211915') and diseaseTerm.object_type_id = 3 ORDER BY diseaseTerm.nm_sort, phenotypeTerm.nm_sort LIMIT 50;
Date: 2024-03-31 13:16:31 Duration: 2m4s 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 = '1211915') and diseaseTerm.object_type_id = 3 ORDER BY diseaseTerm.nm_sort, phenotypeTerm.nm_sort LIMIT 50;
Date: 2024-03-31 12:41:10 Duration: 2m4s Bind query: yes
20 9m28s 353 1s241ms 8s389ms 1s611ms 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 #20
Day Hour Count Duration Avg duration Mar 31 02 1 1s251ms 1s251ms 03 2 2s527ms 1s263ms 05 3 3s771ms 1s257ms 11 1 1s267ms 1s267ms 14 1 1s284ms 1s284ms 15 1 1s252ms 1s252ms 21 1 1s256ms 1s256ms 22 1 1s256ms 1s256ms Apr 01 05 2 2s520ms 1s260ms 09 2 2s511ms 1s255ms 20 1 1s251ms 1s251ms Apr 02 02 2 2s505ms 1s252ms 03 5 6s251ms 1s250ms 04 10 12s549ms 1s254ms 05 12 15s114ms 1s259ms 06 10 12s567ms 1s256ms 07 22 27s652ms 1s256ms 08 9 11s346ms 1s260ms 09 9 11s283ms 1s253ms 10 16 20s96ms 1s256ms 11 7 8s775ms 1s253ms 12 11 13s770ms 1s251ms 13 4 5s10ms 1s252ms 14 12 15s98ms 1s258ms 15 10 12s546ms 1s254ms 16 7 8s808ms 1s258ms 17 5 6s266ms 1s253ms 18 8 10s68ms 1s258ms 19 6 7s513ms 1s252ms 20 4 4s993ms 1s248ms 21 5 6s284ms 1s256ms 22 5 6s261ms 1s252ms 23 10 12s523ms 1s252ms Apr 03 00 7 8s817ms 1s259ms 01 11 13s793ms 1s253ms 02 6 7s515ms 1s252ms 05 4 5s64ms 1s266ms 08 1 1s247ms 1s247ms 09 1 1s254ms 1s254ms 10 2 2s494ms 1s247ms 11 2 2s502ms 1s251ms 13 1 1s256ms 1s256ms 14 2 2s495ms 1s247ms 15 3 3s764ms 1s254ms 16 6 7s534ms 1s255ms 17 2 2s490ms 1s245ms 18 5 6s313ms 1s262ms 20 3 3s746ms 1s248ms 21 2 2s503ms 1s251ms 22 3 3s754ms 1s251ms 23 1 1s254ms 1s254ms Apr 04 00 21 26s415ms 1s257ms 02 3 3s760ms 1s253ms 05 3 3s779ms 1s259ms 10 3 3s772ms 1s257ms 11 1 1s262ms 1s262ms 12 2 2s488ms 1s244ms 18 1 1s242ms 1s242ms 19 1 1s264ms 1s264ms Apr 05 01 3 3s771ms 1s257ms 02 1 1s253ms 1s253ms 05 3 3s782ms 1s260ms 09 1 1s249ms 1s249ms 10 1 1s247ms 1s247ms Apr 06 00 17 1m28s 5s234ms 01 14 1m15s 5s392ms 03 2 2s509ms 1s254ms 04 1 1s248ms 1s248ms 05 2 2s507ms 1s253ms 12 1 1s254ms 1s254ms 13 1 1s242ms 1s242ms 14 1 1s279ms 1s279ms 16 1 1s261ms 1s261ms 18 1 1s254ms 1s254ms 22 1 1s261ms 1s261ms [ User: pubeu - Total duration: 3m2s - Times executed: 127 ]
-
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-04-06 00:59:25 Duration: 8s389ms 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-04-06 01:15:05 Duration: 8s309ms 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-04-06 01:17:23 Duration: 8s224ms Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 2,215 1h27m30s 1s5ms 22s54ms 2s370ms 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 #1
Day Hour Count Duration Avg duration Mar 31 01 98 3m45s 2s302ms 02 136 5m5s 2s247ms 03 242 9m28s 2s347ms 04 89 3m18s 2s225ms 05 86 3m16s 2s287ms 06 16 34s454ms 2s153ms 07 90 3m40s 2s445ms 08 70 2m39s 2s282ms 09 28 1m2s 2s244ms 10 159 6m4s 2s290ms 11 155 5m53s 2s282ms 12 61 2m14s 2s198ms 13 2 4s552ms 2s276ms 14 1 2s200ms 2s200ms 15 66 2m31s 2s288ms 16 155 5m48s 2s245ms 18 20 46s208ms 2s310ms 19 26 58s893ms 2s265ms Apr 01 01 16 2m6s 7s884ms 03 1 2s437ms 2s437ms 04 7 14s907ms 2s129ms 05 13 30s595ms 2s353ms 06 3 5s962ms 1s987ms 07 20 43s936ms 2s196ms 08 9 21s706ms 2s411ms 10 57 2m9s 2s273ms 11 81 3m8s 2s323ms 12 7 13s927ms 1s989ms 13 4 10s818ms 2s704ms 14 5 11s616ms 2s323ms 15 4 8s501ms 2s125ms 16 4 8s311ms 2s77ms 17 8 23s760ms 2s970ms 18 7 14s476ms 2s68ms 19 6 15s391ms 2s565ms 20 6 14s664ms 2s444ms 21 5 12s387ms 2s477ms 22 5 11s503ms 2s300ms 23 13 28s289ms 2s176ms Apr 02 00 94 3m36s 2s301ms 01 91 3m24s 2s250ms 02 61 2m17s 2s259ms 05 4 9s9ms 2s252ms 14 1 1s928ms 1s928ms 19 1 1s944ms 1s944ms 22 1 2s126ms 2s126ms Apr 03 02 82 3m13s 2s355ms 03 49 1m51s 2s269ms 05 4 8s974ms 2s243ms 12 1 1s809ms 1s809ms 15 5 9s173ms 1s834ms Apr 04 04 1 3s325ms 3s325ms 05 5 12s312ms 2s462ms 06 1 3s291ms 3s291ms 08 2 3s720ms 1s860ms 09 3 9s146ms 3s48ms 12 1 1s925ms 1s925ms 21 1 3s353ms 3s353ms Apr 05 05 4 8s889ms 2s222ms Apr 06 00 3 47s861ms 15s953ms 01 7 54s529ms 7s789ms 03 3 10s179ms 3s393ms 05 4 8s914ms 2s228ms 12 3 8s69ms 2s689ms 13 1 1s955ms 1s955ms 14 1 2s589ms 2s589ms [ User: pubeu - Total duration: 16m46s - Times executed: 412 ]
[ User: qaeu - Total duration: 23s949ms - 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 = '648460' 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-04-06 00:58:39 Duration: 22s54ms 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 = '648460' 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-04-06 01:04:05 Duration: 21s862ms 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 = '648460' 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-04-06 00:58:47 Duration: 18s620ms Bind query: yes
2 836 21m16s 1s46ms 14s204ms 1s527ms 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 Mar 31 00 18 20s571ms 1s142ms 01 12 13s310ms 1s109ms 02 19 20s832ms 1s96ms 03 20 22s174ms 1s108ms 04 23 25s219ms 1s96ms 05 28 30s984ms 1s106ms 06 14 15s623ms 1s115ms 07 16 17s917ms 1s119ms 08 18 20s23ms 1s112ms 09 24 26s805ms 1s116ms 10 19 21s138ms 1s112ms 11 33 36s711ms 1s112ms 12 17 18s658ms 1s97ms 13 12 13s250ms 1s104ms 14 25 27s784ms 1s111ms 15 11 12s20ms 1s92ms 16 19 21s72ms 1s109ms 17 17 18s777ms 1s104ms 18 15 16s340ms 1s89ms 19 15 16s528ms 1s101ms 20 31 34s254ms 1s104ms 21 19 21s550ms 1s134ms 22 20 22s444ms 1s122ms 23 10 13s592ms 1s359ms Apr 01 01 2 13s270ms 6s635ms 02 10 11s316ms 1s131ms 03 4 4s482ms 1s120ms 04 11 12s204ms 1s109ms 05 3 3s463ms 1s154ms 06 2 2s204ms 1s102ms 08 1 1s105ms 1s105ms 09 2 2s199ms 1s99ms 11 1 1s99ms 1s99ms 13 1 1s93ms 1s93ms 17 1 1s104ms 1s104ms 18 1 1s122ms 1s122ms 19 1 1s87ms 1s87ms 23 4 4s468ms 1s117ms Apr 02 00 3 3s409ms 1s136ms 01 3 3s422ms 1s140ms 03 7 7s756ms 1s108ms 04 6 6s655ms 1s109ms 05 8 9s5ms 1s125ms 06 6 6s623ms 1s103ms 07 10 11s15ms 1s101ms 08 9 9s944ms 1s104ms 09 4 4s396ms 1s99ms 10 8 8s669ms 1s83ms 11 9 9s818ms 1s90ms 12 11 12s138ms 1s103ms 13 9 9s880ms 1s97ms 14 6 6s561ms 1s93ms 15 4 4s405ms 1s101ms 16 5 5s493ms 1s98ms 17 9 9s860ms 1s95ms 18 12 13s188ms 1s99ms 19 5 5s508ms 1s101ms 20 4 4s369ms 1s92ms 21 8 8s707ms 1s88ms 22 11 12s315ms 1s119ms 23 9 10s52ms 1s116ms Apr 03 00 5 5s572ms 1s114ms 01 11 12s206ms 1s109ms 05 4 4s580ms 1s145ms 06 1 1s114ms 1s114ms 09 1 1s175ms 1s175ms 11 1 1s169ms 1s169ms 12 1 1s119ms 1s119ms 13 1 1s119ms 1s119ms 14 2 2s276ms 1s138ms 15 2 2s189ms 1s94ms 17 1 1s100ms 1s100ms 18 1 1s97ms 1s97ms 19 1 1s57ms 1s57ms 20 2 2s274ms 1s137ms 21 2 2s189ms 1s94ms 22 2 2s194ms 1s97ms 23 1 1s122ms 1s122ms Apr 04 00 5 5s659ms 1s131ms 02 1 1s111ms 1s111ms 03 1 1s131ms 1s131ms 05 4 4s722ms 1s180ms 08 5 5s510ms 1s102ms 09 1 1s89ms 1s89ms 12 1 1s97ms 1s97ms 15 2 2s216ms 1s108ms 16 5 5s479ms 1s95ms 17 2 2s191ms 1s95ms 18 1 1s96ms 1s96ms 22 1 1s156ms 1s156ms Apr 05 00 7 7s931ms 1s133ms 01 3 3s346ms 1s115ms 03 2 2s157ms 1s78ms 05 4 4s609ms 1s152ms 06 1 1s122ms 1s122ms 07 1 1s88ms 1s88ms 10 2 2s217ms 1s108ms 15 1 1s79ms 1s79ms 20 1 1s117ms 1s117ms 21 1 1s85ms 1s85ms 23 2 2s182ms 1s91ms Apr 06 00 29 3m34s 7s380ms 01 20 2m55s 8s753ms 02 1 1s87ms 1s87ms 03 1 1s105ms 1s105ms 05 4 4s610ms 1s152ms 06 2 2s208ms 1s104ms 12 2 2s301ms 1s150ms 13 3 3s329ms 1s109ms 15 1 1s150ms 1s150ms 16 1 1s130ms 1s130ms 17 5 5s551ms 1s110ms 18 1 1s97ms 1s97ms 19 2 2s245ms 1s122ms 20 1 1s98ms 1s98ms 21 3 3s408ms 1s136ms 22 1 1s95ms 1s95ms 23 1 1s110ms 1s110ms [ User: pubeu - Total duration: 5m50s - Times executed: 232 ]
[ User: qaeu - Total duration: 1s194ms - Times executed: 1 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where exposureMarkerTerm.id = '1425257' or receptorTerm.id = '1425257' 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-04-06 00:58:20 Duration: 14s204ms 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 = '1425257' or receptorTerm.id = '1425257' 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-04-06 00:58:32 Duration: 13s294ms 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 = '2008051' or receptorTerm.id = '2008051' 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-04-06 01:15:00 Duration: 13s30ms Bind query: yes
3 563 1h30m53s 1s 1m10s 9s686ms 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 #3
Day Hour Count Duration Avg duration Mar 31 00 2 4s552ms 2s276ms 02 2 12s15ms 6s7ms 04 4 5s303ms 1s325ms 06 2 4s144ms 2s72ms 07 2 9s339ms 4s669ms 09 4 16s884ms 4s221ms 11 1 1s212ms 1s212ms 12 2 8s357ms 4s178ms 13 1 4s187ms 4s187ms 15 1 1s330ms 1s330ms 17 2 4s159ms 2s79ms 19 3 12s150ms 4s50ms 21 4 14s581ms 3s645ms 22 9 22s129ms 2s458ms 23 9 29s291ms 3s254ms Apr 01 00 7 11s425ms 1s632ms 01 9 1m1s 6s838ms 02 1 4s918ms 4s918ms 03 3 14s580ms 4s860ms 04 4 12s608ms 3s152ms 05 8 38s732ms 4s841ms 07 1 1s172ms 1s172ms 08 2 12s837ms 6s418ms 09 2 6s495ms 3s247ms 11 4 19s477ms 4s869ms 12 1 4s352ms 4s352ms 13 3 8s632ms 2s877ms 14 5 31s93ms 6s218ms 15 2 7s829ms 3s914ms 17 37 12m11s 19s777ms 18 1 3s60ms 3s60ms 19 3 9s20ms 3s6ms 20 2 8s649ms 4s324ms 21 1 1s314ms 1s314ms 22 4 10s901ms 2s725ms 23 6 47s591ms 7s931ms Apr 02 00 3 20s132ms 6s710ms 01 11 56s908ms 5s173ms 02 4 27s944ms 6s986ms 03 1 3s2ms 3s2ms 05 4 22s762ms 5s690ms 06 3 4s998ms 1s666ms 07 3 6s645ms 2s215ms 08 3 14s2ms 4s667ms 10 2 23s421ms 11s710ms 11 2 11s658ms 5s829ms 15 1 12s538ms 12s538ms 18 1 1s361ms 1s361ms 19 2 7s300ms 3s650ms 20 2 7s388ms 3s694ms 22 2 14s371ms 7s185ms 23 1 1s212ms 1s212ms Apr 03 00 1 1s142ms 1s142ms 01 2 17s775ms 8s887ms 02 2 4s375ms 2s187ms 03 6 9s496ms 1s582ms 05 1 2s733ms 2s733ms 06 3 13s379ms 4s459ms 08 1 5s178ms 5s178ms 09 1 3s119ms 3s119ms 10 2 3s506ms 1s753ms 12 1 3s4ms 3s4ms 13 2 2s644ms 1s322ms 14 1 5s5ms 5s5ms 15 1 3s109ms 3s109ms 17 3 11s972ms 3s990ms 18 5 20s555ms 4s111ms 19 1 1s213ms 1s213ms 20 12 42s918ms 3s576ms 21 2 4s138ms 2s69ms 22 2 6s627ms 3s313ms 23 2 13s309ms 6s654ms Apr 04 00 3 7s34ms 2s344ms 01 1 1s301ms 1s301ms 02 1 5s401ms 5s401ms 04 1 1s245ms 1s245ms 05 1 1s558ms 1s558ms 07 1 4s788ms 4s788ms 10 1 3s84ms 3s84ms 11 1 2s155ms 2s155ms 12 3 11s987ms 3s995ms 13 2 3s930ms 1s965ms 14 6 14s891ms 2s481ms 15 5 20s639ms 4s127ms 16 1 6s693ms 6s693ms 17 1 2s174ms 2s174ms 18 1 4s688ms 4s688ms 21 1 2s727ms 2s727ms 22 3 16s949ms 5s649ms 23 2 5s150ms 2s575ms Apr 05 00 2 9s108ms 4s554ms 01 1 1s157ms 1s157ms 02 2 6s701ms 3s350ms 03 3 9s537ms 3s179ms 04 4 7s76ms 1s769ms 05 3 8s298ms 2s766ms 06 1 4s896ms 4s896ms 07 1 6s230ms 6s230ms 08 1 6s465ms 6s465ms 09 6 51s576ms 8s596ms 10 3 5s677ms 1s892ms 12 3 11s282ms 3s760ms 14 1 1s110ms 1s110ms 15 3 9s99ms 3s33ms 16 3 11s818ms 3s939ms 17 5 23s859ms 4s771ms 18 1 1s365ms 1s365ms 20 1 1s278ms 1s278ms 22 3 9s546ms 3s182ms 23 7 27s548ms 3s935ms Apr 06 00 75 28m39s 22s929ms 01 98 26m25s 16s174ms 02 3 12s687ms 4s229ms 03 2 6s270ms 3s135ms 04 3 5s183ms 1s727ms 05 3 14s63ms 4s687ms 07 5 16s748ms 3s349ms 08 1 5s48ms 5s48ms 09 5 34s763ms 6s952ms 12 2 4s146ms 2s73ms 13 4 10s823ms 2s705ms 14 1 1s179ms 1s179ms 15 3 10s602ms 3s534ms 16 2 8s260ms 4s130ms 17 4 13s322ms 3s330ms 18 1 1s313ms 1s313ms 19 4 20s452ms 5s113ms 20 1 4s710ms 4s710ms 21 4 24s956ms 6s239ms 22 3 15s621ms 5s207ms [ User: pubeu - Total duration: 33m3s - Times executed: 231 ]
-
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 = '2063367') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-04-06 00:57:59 Duration: 1m10s 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 = '2063367') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-04-01 17:43:52 Duration: 1m8s 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 = '2063367') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-04-06 00:58:40 Duration: 1m8s Bind query: yes
4 424 30m37s 1s2ms 42s901ms 4s334ms 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 #4
Day Hour Count Duration Avg duration Mar 31 01 1 1s103ms 1s103ms 02 3 6s373ms 2s124ms 03 1 2s65ms 2s65ms 04 1 2s812ms 2s812ms 08 3 9s995ms 3s331ms 09 1 1s528ms 1s528ms 11 3 7s121ms 2s373ms 12 3 8s677ms 2s892ms 13 4 18s82ms 4s520ms 14 4 14s756ms 3s689ms 15 11 27s862ms 2s532ms 17 6 19s824ms 3s304ms 18 6 13s286ms 2s214ms 19 5 18s803ms 3s760ms 20 1 1s772ms 1s772ms 21 7 17s247ms 2s463ms 23 4 11s549ms 2s887ms Apr 01 00 2 5s61ms 2s530ms 01 3 16s508ms 5s502ms 02 9 23s237ms 2s581ms 03 3 12s508ms 4s169ms 06 4 7s138ms 1s784ms 07 3 3s967ms 1s322ms 08 7 23s14ms 3s287ms 09 1 2s673ms 2s673ms 11 1 1s115ms 1s115ms 13 10 28s455ms 2s845ms 14 2 2s623ms 1s311ms 15 4 12s736ms 3s184ms 16 2 2s453ms 1s226ms 17 20 1m7s 3s384ms 19 1 1s195ms 1s195ms 20 1 3s485ms 3s485ms 21 1 2s669ms 2s669ms 22 3 10s192ms 3s397ms 23 4 8s286ms 2s71ms Apr 02 01 3 7s503ms 2s501ms 02 1 4s790ms 4s790ms 03 1 3s562ms 3s562ms 06 1 3s480ms 3s480ms 07 5 20s156ms 4s31ms 08 2 6s910ms 3s455ms 09 2 8s402ms 4s201ms 10 10 29s803ms 2s980ms 11 4 13s608ms 3s402ms 13 1 1s210ms 1s210ms 14 12 27s594ms 2s299ms 15 1 2s776ms 2s776ms 16 1 3s484ms 3s484ms 17 2 6s94ms 3s47ms 19 2 5s24ms 2s512ms 21 1 3s591ms 3s591ms 23 1 3s504ms 3s504ms Apr 03 00 1 1s346ms 1s346ms 01 3 7s612ms 2s537ms 03 2 4s778ms 2s389ms 04 6 18s8ms 3s1ms 05 1 1s310ms 1s310ms 06 2 3s647ms 1s823ms 09 1 3s590ms 3s590ms 11 4 12s543ms 3s135ms 12 3 7s118ms 2s372ms 14 6 17s890ms 2s981ms 15 15 40s829ms 2s721ms 17 8 23s655ms 2s956ms 18 2 6s507ms 3s253ms 19 2 3s598ms 1s799ms 20 5 14s147ms 2s829ms 21 1 3s644ms 3s644ms 23 1 1s216ms 1s216ms Apr 04 01 1 1s543ms 1s543ms 02 4 14s202ms 3s550ms 03 11 36s936ms 3s357ms 04 2 9s567ms 4s783ms 07 1 3s509ms 3s509ms 08 1 4s812ms 4s812ms 09 1 3s525ms 3s525ms 10 1 4s817ms 4s817ms 12 3 5s821ms 1s940ms 13 1 4s730ms 4s730ms 14 2 3s821ms 1s910ms 15 1 2s219ms 2s219ms 16 1 1s585ms 1s585ms 22 1 1s247ms 1s247ms 23 2 4s894ms 2s447ms Apr 05 00 2 8s319ms 4s159ms 02 1 1s219ms 1s219ms 05 1 2s706ms 2s706ms 06 1 1s342ms 1s342ms 07 1 2s182ms 2s182ms 09 1 2s633ms 2s633ms 10 1 1s226ms 1s226ms 13 1 4s892ms 4s892ms 15 1 3s502ms 3s502ms 16 2 4s898ms 2s449ms 17 1 4s859ms 4s859ms 19 2 7s425ms 3s712ms 20 1 1s576ms 1s576ms 22 2 8s362ms 4s181ms 23 1 4s903ms 4s903ms Apr 06 00 5 13s501ms 2s700ms 01 86 14m8s 9s870ms 02 3 10s3ms 3s334ms 04 2 7s152ms 3s576ms 06 1 1s8ms 1s8ms 07 1 4s772ms 4s772ms 08 2 3s840ms 1s920ms 13 2 6s998ms 3s499ms 15 3 10s481ms 3s493ms 17 1 1s386ms 1s386ms 20 5 13s906ms 2s781ms 22 3 11s838ms 3s946ms [ User: pubeu - Total duration: 11m13s - Times executed: 166 ]
-
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 = '1381425') 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 = '1381425') 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-04-06 01:15:02 Duration: 42s901ms 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 = '1381425') 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 = '1381425') 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-04-06 01:14:41 Duration: 42s852ms 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 = '1381425') 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 = '1381425') 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-04-06 01:15:17 Duration: 40s842ms Bind query: yes
5 405 28m4s 3s887ms 16s893ms 4s160ms 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 #5
Day Hour Count Duration Avg duration Mar 31 03 1 4s21ms 4s21ms 08 1 3s931ms 3s931ms 10 2 8s176ms 4s88ms 14 1 4s175ms 4s175ms 15 1 4s47ms 4s47ms 16 2 8s45ms 4s22ms 17 1 4s1ms 4s1ms 18 1 4s7ms 4s7ms 20 1 4s178ms 4s178ms 21 3 12s56ms 4s18ms 22 7 31s51ms 4s435ms 23 2 8s483ms 4s241ms Apr 01 02 1 4s146ms 4s146ms 03 3 12s87ms 4s29ms 04 9 36s608ms 4s67ms 05 4 16s158ms 4s39ms 06 4 16s259ms 4s64ms 07 5 20s729ms 4s145ms 08 1 4s63ms 4s63ms 09 2 8s30ms 4s15ms 10 3 12s52ms 4s17ms 11 6 24s740ms 4s123ms 13 1 5s320ms 5s320ms 14 2 8s204ms 4s102ms 16 1 16s893ms 16s893ms 17 3 11s998ms 3s999ms 20 6 25s94ms 4s182ms 21 17 1m9s 4s114ms 22 7 29s208ms 4s172ms 23 45 3m4s 4s101ms Apr 02 00 85 5m49s 4s106ms 01 3 12s102ms 4s34ms 02 4 16s203ms 4s50ms 03 3 12s374ms 4s124ms 04 3 12s332ms 4s110ms 05 1 4s174ms 4s174ms 06 8 32s398ms 4s49ms 08 1 4s70ms 4s70ms 10 1 3s968ms 3s968ms 11 2 8s535ms 4s267ms 12 2 8s72ms 4s36ms 13 1 4s49ms 4s49ms 14 2 7s998ms 3s999ms 15 1 4s173ms 4s173ms 21 2 8s7ms 4s3ms 22 2 8s31ms 4s15ms 23 2 8s336ms 4s168ms Apr 03 00 1 3s995ms 3s995ms 01 2 8s108ms 4s54ms 02 1 4s188ms 4s188ms 03 5 20s134ms 4s26ms 04 6 24s213ms 4s35ms 05 2 7s910ms 3s955ms 06 2 8s236ms 4s118ms 07 1 4s34ms 4s34ms 08 1 3s960ms 3s960ms 10 4 17s981ms 4s495ms 11 6 24s74ms 4s12ms 12 4 16s199ms 4s49ms 13 1 4s96ms 4s96ms 14 1 4s83ms 4s83ms 15 1 4s14ms 4s14ms 16 2 7s909ms 3s954ms 18 1 4s131ms 4s131ms 19 1 3s997ms 3s997ms 20 2 8s141ms 4s70ms 21 1 4s25ms 4s25ms 22 4 16s478ms 4s119ms 23 2 8s132ms 4s66ms Apr 04 02 1 3s952ms 3s952ms 03 3 12s85ms 4s28ms 04 1 3s925ms 3s925ms 05 1 4s151ms 4s151ms 07 2 8s34ms 4s17ms 08 1 4s93ms 4s93ms 09 6 26s30ms 4s338ms 12 3 12s45ms 4s15ms 13 1 4s111ms 4s111ms 14 3 12s130ms 4s43ms 15 2 8s17ms 4s8ms 16 9 36s497ms 4s55ms 17 4 16s352ms 4s88ms 20 1 4s59ms 4s59ms 21 2 7s974ms 3s987ms 23 1 3s927ms 3s927ms Apr 05 00 1 4s43ms 4s43ms 02 1 4s61ms 4s61ms 04 2 8s25ms 4s12ms 05 2 8s68ms 4s34ms 06 1 4s7ms 4s7ms 07 1 4s70ms 4s70ms 08 5 20s814ms 4s162ms 09 2 8s60ms 4s30ms 10 2 8s10ms 4s5ms 11 1 4s33ms 4s33ms 12 1 4s47ms 4s47ms 14 1 4s62ms 4s62ms 20 1 4s 4s 21 1 4s28ms 4s28ms 23 2 8s149ms 4s74ms Apr 06 00 3 12s534ms 4s178ms 04 5 20s354ms 4s70ms 06 1 3s933ms 3s933ms 08 1 3s995ms 3s995ms 12 1 4s 4s 13 1 4s43ms 4s43ms 18 4 16s90ms 4s22ms 19 4 16s236ms 4s59ms 20 1 4s18ms 4s18ms 22 1 16s425ms 16s425ms 23 1 4s41ms 4s41ms [ User: pubeu - Total duration: 10m37s - Times executed: 152 ]
-
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 = '1381425') 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 = '1381425') 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-04-01 16:19:01 Duration: 16s893ms 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 = '1381425') 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 = '1381425') 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-04-06 22:11:48 Duration: 16s425ms 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 = '1410287') 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 = '1410287') 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-04-03 10:35:56 Duration: 5s708ms Database: ctdprd51 User: pubeu Bind query: yes
6 387 28m47s 1s2ms 41s462ms 4s462ms 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 #6
Day Hour Count Duration Avg duration Mar 31 00 1 1s321ms 1s321ms 04 1 2s798ms 2s798ms 11 1 1s861ms 1s861ms 12 5 20s650ms 4s130ms 13 4 15s476ms 3s869ms 14 1 6s120ms 6s120ms 15 3 6s725ms 2s241ms 16 1 6s156ms 6s156ms 17 11 34s219ms 3s110ms 18 1 1s852ms 1s852ms 19 4 12s150ms 3s37ms 20 2 3s719ms 1s859ms 21 2 3s236ms 1s618ms 23 3 13s676ms 4s558ms Apr 01 00 1 1s597ms 1s597ms 01 2 31s881ms 15s940ms 02 7 23s378ms 3s339ms 03 3 11s18ms 3s672ms 06 1 1s738ms 1s738ms 07 4 13s583ms 3s395ms 08 6 16s191ms 2s698ms 09 1 1s649ms 1s649ms 11 1 5s984ms 5s984ms 13 5 16s671ms 3s334ms 14 1 3s257ms 3s257ms 15 2 9s45ms 4s522ms 16 2 9s210ms 4s605ms 17 31 3m43s 7s195ms 18 2 7s282ms 3s641ms 19 2 8s830ms 4s415ms 23 6 18s203ms 3s33ms Apr 02 02 1 2s88ms 2s88ms 03 1 6s140ms 6s140ms 07 4 12s613ms 3s153ms 08 1 1s998ms 1s998ms 09 3 9s637ms 3s212ms 10 5 26s649ms 5s329ms 11 1 2s863ms 2s863ms 12 1 5s941ms 5s941ms 14 9 23s287ms 2s587ms 16 2 5s515ms 2s757ms Apr 03 01 1 1s880ms 1s880ms 04 6 20s807ms 3s467ms 06 1 1s319ms 1s319ms 07 2 8s240ms 4s120ms 09 2 9s316ms 4s658ms 10 1 1s876ms 1s876ms 11 5 15s245ms 3s49ms 12 6 19s432ms 3s238ms 14 6 16s156ms 2s692ms 15 8 24s81ms 3s10ms 17 3 18s172ms 6s57ms 20 5 10s837ms 2s167ms 21 4 7s783ms 1s945ms 23 1 5s980ms 5s980ms Apr 04 01 1 1s341ms 1s341ms 02 5 14s805ms 2s961ms 03 10 29s666ms 2s966ms 04 2 4s887ms 2s443ms 07 2 4s638ms 2s319ms 09 1 3s265ms 3s265ms 12 1 1s739ms 1s739ms 13 1 3s241ms 3s241ms 14 1 1s866ms 1s866ms Apr 05 00 2 9s254ms 4s627ms 04 2 5s615ms 2s807ms 05 2 8s20ms 4s10ms 06 1 3s263ms 3s263ms 10 1 1s742ms 1s742ms 11 1 1s733ms 1s733ms 18 1 1s842ms 1s842ms 19 1 1s725ms 1s725ms 21 1 1s985ms 1s985ms Apr 06 00 6 15s815ms 2s635ms 01 139 13m12s 5s702ms 05 1 1s451ms 1s451ms 13 1 1s873ms 1s873ms 14 2 7s853ms 3s926ms 17 1 3s228ms 3s228ms 18 1 3s363ms 3s363ms 19 2 5s591ms 2s795ms 21 1 2s177ms 2s177ms 23 1 2s16ms 2s16ms [ User: pubeu - Total duration: 8m49s - Times executed: 117 ]
-
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 = '1381425'))) 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-04-06 01:11:24 Duration: 41s462ms 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 = '1381425'))) 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-04-06 01:11:36 Duration: 39s877ms 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 = '1381425'))) 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-04-06 01:15:03 Duration: 37s885ms Database: ctdprd51 User: pubeu Bind query: yes
7 353 9m28s 1s241ms 8s389ms 1s611ms 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 #7
Day Hour Count Duration Avg duration Mar 31 02 1 1s251ms 1s251ms 03 2 2s527ms 1s263ms 05 3 3s771ms 1s257ms 11 1 1s267ms 1s267ms 14 1 1s284ms 1s284ms 15 1 1s252ms 1s252ms 21 1 1s256ms 1s256ms 22 1 1s256ms 1s256ms Apr 01 05 2 2s520ms 1s260ms 09 2 2s511ms 1s255ms 20 1 1s251ms 1s251ms Apr 02 02 2 2s505ms 1s252ms 03 5 6s251ms 1s250ms 04 10 12s549ms 1s254ms 05 12 15s114ms 1s259ms 06 10 12s567ms 1s256ms 07 22 27s652ms 1s256ms 08 9 11s346ms 1s260ms 09 9 11s283ms 1s253ms 10 16 20s96ms 1s256ms 11 7 8s775ms 1s253ms 12 11 13s770ms 1s251ms 13 4 5s10ms 1s252ms 14 12 15s98ms 1s258ms 15 10 12s546ms 1s254ms 16 7 8s808ms 1s258ms 17 5 6s266ms 1s253ms 18 8 10s68ms 1s258ms 19 6 7s513ms 1s252ms 20 4 4s993ms 1s248ms 21 5 6s284ms 1s256ms 22 5 6s261ms 1s252ms 23 10 12s523ms 1s252ms Apr 03 00 7 8s817ms 1s259ms 01 11 13s793ms 1s253ms 02 6 7s515ms 1s252ms 05 4 5s64ms 1s266ms 08 1 1s247ms 1s247ms 09 1 1s254ms 1s254ms 10 2 2s494ms 1s247ms 11 2 2s502ms 1s251ms 13 1 1s256ms 1s256ms 14 2 2s495ms 1s247ms 15 3 3s764ms 1s254ms 16 6 7s534ms 1s255ms 17 2 2s490ms 1s245ms 18 5 6s313ms 1s262ms 20 3 3s746ms 1s248ms 21 2 2s503ms 1s251ms 22 3 3s754ms 1s251ms 23 1 1s254ms 1s254ms Apr 04 00 21 26s415ms 1s257ms 02 3 3s760ms 1s253ms 05 3 3s779ms 1s259ms 10 3 3s772ms 1s257ms 11 1 1s262ms 1s262ms 12 2 2s488ms 1s244ms 18 1 1s242ms 1s242ms 19 1 1s264ms 1s264ms Apr 05 01 3 3s771ms 1s257ms 02 1 1s253ms 1s253ms 05 3 3s782ms 1s260ms 09 1 1s249ms 1s249ms 10 1 1s247ms 1s247ms Apr 06 00 17 1m28s 5s234ms 01 14 1m15s 5s392ms 03 2 2s509ms 1s254ms 04 1 1s248ms 1s248ms 05 2 2s507ms 1s253ms 12 1 1s254ms 1s254ms 13 1 1s242ms 1s242ms 14 1 1s279ms 1s279ms 16 1 1s261ms 1s261ms 18 1 1s254ms 1s254ms 22 1 1s261ms 1s261ms [ User: pubeu - Total duration: 3m2s - Times executed: 127 ]
-
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-04-06 00:59:25 Duration: 8s389ms 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-04-06 01:15:05 Duration: 8s309ms 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-04-06 01:17:23 Duration: 8s224ms Bind query: yes
8 284 45m15s 1s15ms 19s113ms 9s563ms select count(*) from gene_disease gd where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Apr 01 00 3 8s178ms 2s726ms 01 9 1m6s 7s350ms 17 37 4m48s 7s800ms Apr 06 00 74 13m18s 10s789ms 01 161 25m54s 9s655ms [ User: pubeu - Total duration: 3m22s - Times executed: 24 ]
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2051315');
Date: 2024-04-06 01:03:48 Duration: 19s113ms Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2056095');
Date: 2024-04-06 00:58:22 Duration: 18s828ms Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2063106');
Date: 2024-04-06 00:58:19 Duration: 18s138ms Bind query: yes
9 249 38m43s 1s15ms 37s706ms 9s331ms select * from ( select g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, count(*) over () fullrowcount from term g where g.id in ( select gt.gene_id from dag_path dp inner join gene_taxon gt on dp.descendant_object_id = gt.taxon_id where dp.ancestor_object_id = ? union all select gcr.gene_id from dag_path dp inner join gene_chem_reference gcr on dp.descendant_object_id = gcr.taxon_id where dp.ancestor_object_id = ?) offset ?) mq order by mq.genesymbolsort limit ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Apr 01 01 40 6m6s 9s169ms 04 1 1s15ms 1s15ms 17 4 12s771ms 3s192ms Apr 02 04 1 6s909ms 6s909ms 05 1 2s53ms 2s53ms Apr 03 06 1 2s27ms 2s27ms 15 121 18m15s 9s52ms 23 1 1s987ms 1s987ms Apr 04 05 1 2s 2s 21 11 24s519ms 2s229ms Apr 06 00 29 6m26s 13s327ms 01 38 7m1s 11s93ms [ User: pubeu - Total duration: 16m50s - Times executed: 103 ]
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '648460' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '648460') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-04-06 00:58:31 Duration: 37s706ms Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '648460' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '648460') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-04-06 00:58:44 Duration: 37s78ms Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '648460' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '648460') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-04-06 01:17:26 Duration: 33s611ms Database: ctdprd51 User: pubeu Bind query: yes
10 244 9m1s 1s8ms 15s68ms 2s218ms select c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposurereferencecount, case when cd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from chem_disease_axn a where a.chem_id = cd.chem_id and a.disease_id = cd.disease_id) else null end actiontypes from chem_disease cd inner join term c on cd.chem_id = c.id inner join term d on cd.disease_id = d.id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, cd.network_score desc nulls last, d.nm_sort, c.nm_sort limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Mar 31 00 2 2s520ms 1s260ms 01 1 1s776ms 1s776ms 05 2 2s467ms 1s233ms 06 2 3s554ms 1s777ms 09 1 1s783ms 1s783ms 12 1 1s786ms 1s786ms 13 2 3s586ms 1s793ms 15 2 2s512ms 1s256ms 17 3 4s911ms 1s637ms 19 2 3s634ms 1s817ms 20 1 1s245ms 1s245ms 21 3 3s794ms 1s264ms 23 2 3s611ms 1s805ms Apr 01 00 1 1s832ms 1s832ms 01 1 10s509ms 10s509ms 02 5 7s916ms 1s583ms 03 3 5s641ms 1s880ms 04 1 1s825ms 1s825ms 06 1 1s862ms 1s862ms 08 1 1s843ms 1s843ms 11 1 1s839ms 1s839ms 12 1 1s835ms 1s835ms 13 4 6s214ms 1s553ms 14 1 1s822ms 1s822ms 15 2 3s703ms 1s851ms 16 1 1s234ms 1s234ms 17 18 46s515ms 2s584ms 19 1 1s271ms 1s271ms 23 4 6s640ms 1s660ms Apr 02 00 1 1s812ms 1s812ms 01 2 3s117ms 1s558ms 02 1 1s252ms 1s252ms 03 1 1s779ms 1s779ms 06 1 1s250ms 1s250ms 07 1 1s864ms 1s864ms 09 1 1s786ms 1s786ms 10 3 5s462ms 1s820ms 12 1 1s788ms 1s788ms 14 2 3s107ms 1s553ms 15 1 1s820ms 1s820ms 16 1 1s259ms 1s259ms Apr 03 00 1 1s228ms 1s228ms 01 2 3s65ms 1s532ms 03 1 1s248ms 1s248ms 04 1 2s39ms 2s39ms 07 1 1s251ms 1s251ms 10 2 3s145ms 1s572ms 11 2 3s660ms 1s830ms 12 3 4s925ms 1s641ms 13 1 1s812ms 1s812ms 14 1 1s828ms 1s828ms 15 4 7s380ms 1s845ms 16 1 1s801ms 1s801ms 17 3 5s564ms 1s854ms 20 2 2s500ms 1s250ms 21 2 3s6ms 1s503ms 22 4 5s557ms 1s389ms 23 2 3s15ms 1s507ms Apr 04 00 1 1s827ms 1s827ms 01 1 1s826ms 1s826ms 02 2 3s715ms 1s857ms 03 3 5s520ms 1s840ms 05 1 1s808ms 1s808ms 06 1 1s237ms 1s237ms 07 1 1s250ms 1s250ms 16 1 1s830ms 1s830ms Apr 05 04 1 1s797ms 1s797ms 07 1 1s231ms 1s231ms 11 1 1s822ms 1s822ms 18 1 1s782ms 1s782ms 19 1 1s802ms 1s802ms Apr 06 00 4 5s922ms 1s480ms 01 96 4m34s 2s863ms 02 1 1s244ms 1s244ms 03 1 1s807ms 1s807ms 05 1 1s261ms 1s261ms 07 1 1s790ms 1s790ms 08 1 1s250ms 1s250ms 09 1 1s272ms 1s272ms 16 1 1s791ms 1s791ms 22 1 1s801ms 1s801ms 23 1 1s829ms 1s829ms [ User: pubeu - Total duration: 2m58s - Times executed: 83 ]
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1381425') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2024-04-06 01:11:09 Duration: 15s68ms Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1381425') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2024-04-06 01:11:13 Duration: 13s39ms Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1381425') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2024-04-06 01:11:00 Duration: 12s841ms Bind query: yes
11 228 25m18s 1s1ms 38s350ms 6s658ms 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 #11
Day Hour Count Duration Avg duration Mar 31 00 1 5s617ms 5s617ms 01 2 10s804ms 5s402ms 02 1 1s14ms 1s14ms 03 2 6s348ms 3s174ms 04 1 1s71ms 1s71ms 05 5 5s228ms 1s45ms 07 3 12s35ms 4s11ms 09 1 1s12ms 1s12ms 10 5 5s216ms 1s43ms 11 2 2s58ms 1s29ms 13 1 5s458ms 5s458ms 15 2 10s766ms 5s383ms 17 3 16s457ms 5s485ms 18 3 3s162ms 1s54ms 19 2 10s916ms 5s458ms 20 4 12s561ms 3s140ms 21 3 12s359ms 4s119ms 22 2 6s371ms 3s185ms 23 2 8s677ms 4s338ms Apr 01 01 1 20s993ms 20s993ms 02 1 5s574ms 5s574ms 04 2 10s910ms 5s455ms 05 2 2s36ms 1s18ms 07 1 1s66ms 1s66ms 08 4 13s395ms 3s348ms 13 2 6s964ms 3s482ms 14 1 5s282ms 5s282ms 16 1 5s256ms 5s256ms 17 16 4m13s 15s817ms 20 1 1s22ms 1s22ms 21 1 1s38ms 1s38ms 23 4 13s139ms 3s284ms Apr 02 00 6 24s201ms 4s33ms 01 1 1s84ms 1s84ms 02 5 18s382ms 3s676ms 05 4 4s85ms 1s21ms 06 1 5s343ms 5s343ms 07 1 6s 6s 08 3 7s437ms 2s479ms 09 1 5s286ms 5s286ms 10 1 5s490ms 5s490ms 11 2 10s885ms 5s442ms 14 3 12s409ms 4s136ms 17 1 1s1ms 1s1ms 19 1 5s861ms 5s861ms 22 1 5s440ms 5s440ms Apr 03 01 1 1s11ms 1s11ms 04 2 6s361ms 3s180ms 05 8 17s352ms 2s169ms 06 3 16s758ms 5s586ms 07 1 5s384ms 5s384ms 08 2 10s643ms 5s321ms 10 5 24s641ms 4s928ms 12 1 1s25ms 1s25ms 15 2 6s445ms 3s222ms 16 6 31s991ms 5s331ms 17 3 17s505ms 5s835ms 19 1 1s12ms 1s12ms 20 5 28s923ms 5s784ms 21 2 11s301ms 5s650ms Apr 04 00 2 10s794ms 5s397ms 02 1 1s96ms 1s96ms 03 3 7s888ms 2s629ms 05 6 6s110ms 1s18ms 08 1 5s840ms 5s840ms 09 1 5s489ms 5s489ms 13 6 10s729ms 1s788ms 14 1 5s973ms 5s973ms 15 1 5s721ms 5s721ms 16 1 5s947ms 5s947ms Apr 05 02 1 5s396ms 5s396ms 05 6 6s111ms 1s18ms 08 2 10s862ms 5s431ms 11 1 5s354ms 5s354ms 13 1 1s10ms 1s10ms 16 1 1s21ms 1s21ms 23 1 5s343ms 5s343ms Apr 06 00 1 5s280ms 5s280ms 01 21 10m 28s585ms 02 2 6s436ms 3s218ms 03 1 5s459ms 5s459ms 04 2 10s791ms 5s395ms 05 5 5s157ms 1s31ms 09 1 1s109ms 1s109ms 12 2 2s49ms 1s24ms 14 1 5s389ms 5s389ms 22 1 5s355ms 5s355ms [ User: pubeu - Total duration: 8m27s - Times executed: 63 ]
[ User: qaeu - Total duration: 6s144ms - Times executed: 6 ]
-
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 = '1260890' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-04-01 17:43:34 Duration: 38s350ms 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 = '1271569' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-04-06 01:11:29 Duration: 38s278ms 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 = '1271569' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-04-06 01:11:15 Duration: 36s757ms Bind query: yes
12 226 9m26s 1s 12s831ms 2s506ms select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, count(gcr.ixn_id) ixncount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join term g on gcr.gene_id = g.id where gcr.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) group by g.nm, g.id, g.acc_txt, g.acc_db_cd, g.nm_sort order by count(gcr.ixn_id) desc, g.nm_sort limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Apr 01 01 9 21s131ms 2s347ms 17 15 36s936ms 2s462ms Apr 03 04 1 1s43ms 1s43ms 17 1 1s59ms 1s59ms Apr 04 03 1 1s186ms 1s186ms Apr 06 00 1 1s137ms 1s137ms 01 198 8m23s 2s545ms [ User: pubeu - Total duration: 2m33s - Times executed: 52 ]
-
SELECT /* ChemGenesDAO */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, COUNT(gcr.ixn_id) ixnCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN term g ON gcr.gene_id = g.id WHERE gcr.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1381425') GROUP BY g.nm, g.id, g.acc_txt, g.acc_db_cd, g.nm_sort ORDER BY COUNT(gcr.ixn_id) DESC, g.nm_sort LIMIT 50;
Date: 2024-04-06 01:14:50 Duration: 12s831ms Bind query: yes
-
SELECT /* ChemGenesDAO */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, COUNT(gcr.ixn_id) ixnCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN term g ON gcr.gene_id = g.id WHERE gcr.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1381425') GROUP BY g.nm, g.id, g.acc_txt, g.acc_db_cd, g.nm_sort ORDER BY COUNT(gcr.ixn_id) DESC, g.nm_sort LIMIT 50;
Date: 2024-04-06 01:14:33 Duration: 12s430ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGenesDAO */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, COUNT(gcr.ixn_id) ixnCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN term g ON gcr.gene_id = g.id WHERE gcr.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1381425') GROUP BY g.nm, g.id, g.acc_txt, g.acc_db_cd, g.nm_sort ORDER BY COUNT(gcr.ixn_id) DESC, g.nm_sort LIMIT 50;
Date: 2024-04-06 01:14:12 Duration: 12s203ms Database: ctdprd51 User: pubeu Bind query: yes
13 193 4m40s 1s1ms 3s319ms 1s452ms select count(*) from chem_disease cd where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?);Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Apr 01 01 14 27s693ms 1s978ms 17 13 17s535ms 1s348ms Apr 06 01 166 3m55s 1s416ms [ User: pubeu - Total duration: 30s444ms - Times executed: 21 ]
-
SELECT /* ChemDiseaseAssnsDAO.rowCount */ COUNT(*) FROM chem_disease cd WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1381425');
Date: 2024-04-01 01:30:20 Duration: 3s319ms Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO.rowCount */ COUNT(*) FROM chem_disease cd WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1381425');
Date: 2024-04-06 01:11:12 Duration: 3s140ms Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO.rowCount */ COUNT(*) FROM chem_disease cd WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1381425');
Date: 2024-04-06 01:11:02 Duration: 2s736ms Bind query: yes
14 178 7m31s 1s346ms 9s150ms 2s538ms 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 #14
Day Hour Count Duration Avg duration Mar 31 03 1 1s420ms 1s420ms 04 1 1s431ms 1s431ms 05 2 2s905ms 1s452ms 17 1 1s470ms 1s470ms 18 1 1s426ms 1s426ms 21 3 4s339ms 1s446ms 22 1 1s415ms 1s415ms 23 1 1s699ms 1s699ms Apr 01 02 1 1s445ms 1s445ms 03 1 1s449ms 1s449ms 04 1 1s433ms 1s433ms 05 3 4s199ms 1s399ms 07 1 1s369ms 1s369ms 10 1 1s375ms 1s375ms 11 1 1s428ms 1s428ms 12 2 2s833ms 1s416ms 13 1 1s413ms 1s413ms 17 5 23s189ms 4s637ms 18 1 1s432ms 1s432ms 19 1 1s358ms 1s358ms 20 1 1s400ms 1s400ms 22 6 8s614ms 1s435ms 23 2 2s883ms 1s441ms Apr 02 00 4 5s636ms 1s409ms 01 5 7s87ms 1s417ms 02 4 5s724ms 1s431ms 03 2 2s853ms 1s426ms 04 3 4s214ms 1s404ms 05 5 7s133ms 1s426ms 06 1 1s372ms 1s372ms 07 4 5s638ms 1s409ms 08 1 1s358ms 1s358ms 13 1 1s449ms 1s449ms 14 2 2s831ms 1s415ms 15 1 1s429ms 1s429ms 17 1 1s403ms 1s403ms 18 1 1s371ms 1s371ms Apr 03 02 1 1s447ms 1s447ms 03 2 2s838ms 1s419ms 04 1 1s425ms 1s425ms 05 2 2s797ms 1s398ms 06 2 2s764ms 1s382ms 08 3 4s247ms 1s415ms 09 1 1s401ms 1s401ms 10 1 1s448ms 1s448ms 11 1 1s429ms 1s429ms 13 1 1s413ms 1s413ms 18 1 1s427ms 1s427ms 23 1 1s395ms 1s395ms Apr 04 00 1 1s423ms 1s423ms 03 1 1s423ms 1s423ms 05 3 4s304ms 1s434ms 10 1 1s406ms 1s406ms 15 1 1s412ms 1s412ms 23 1 1s416ms 1s416ms Apr 05 01 1 1s416ms 1s416ms 02 2 3s224ms 1s612ms 05 2 2s822ms 1s411ms 06 2 2s822ms 1s411ms 08 1 1s392ms 1s392ms 13 1 1s398ms 1s398ms 16 1 1s418ms 1s418ms 18 1 1s406ms 1s406ms 22 2 2s839ms 1s419ms 23 1 1s346ms 1s346ms Apr 06 00 14 1m29s 6s412ms 01 36 2m43s 4s551ms 04 1 1s395ms 1s395ms 05 2 2s836ms 1s418ms 07 1 1s402ms 1s402ms 09 1 1s444ms 1s444ms 12 1 1s431ms 1s431ms 13 1 1s418ms 1s418ms 14 2 2s789ms 1s394ms 16 1 1s416ms 1s416ms 17 1 1s421ms 1s421ms 22 2 2s844ms 1s422ms 23 2 2s796ms 1s398ms [ User: pubeu - Total duration: 3m31s - Times executed: 85 ]
-
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-04-01 17:43:02 Duration: 9s150ms 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]', '#') = 'S' ORDER BY t.nm_sort LIMIT 100;
Date: 2024-04-06 01:10:54 Duration: 9s34ms 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-04-06 00:58:28 Duration: 8s981ms Bind query: yes
15 144 4h51m33s 1s79ms 45m45s 2m1s 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 Mar 31 06 2 19s346ms 9s673ms 07 4 29s997ms 7s499ms 12 4 4s731ms 1s182ms 13 1 1s887ms 1s887ms 14 5 1m21s 16s242ms 15 2 17s940ms 8s970ms 17 2 7s995ms 3s997ms 18 3 12s225ms 4s75ms 19 1 3s977ms 3s977ms 23 36 55m11s 1m31s Apr 01 00 13 3h42m29s 17m6s 03 3 1m52s 37s518ms 06 2 1m9s 34s968ms 07 1 34s170ms 34s170ms Apr 02 01 1 12s757ms 12s757ms 04 1 2s86ms 2s86ms 08 2 3s163ms 1s581ms 09 1 14s713ms 14s713ms 20 1 3s321ms 3s321ms Apr 03 10 1 14s815ms 14s815ms Apr 04 02 1 2s202ms 2s202ms 05 3 6s237ms 2s79ms 06 12 27s882ms 2s323ms 13 1 12s670ms 12s670ms 20 1 3s262ms 3s262ms Apr 05 01 1 1s94ms 1s94ms 02 22 49s52ms 2s229ms 04 1 1s100ms 1s100ms 05 1 2s128ms 2s128ms 12 1 3s220ms 3s220ms Apr 06 01 7 27s451ms 3s921ms 09 5 2m56s 35s312ms 21 2 1m13s 36s657ms [ User: pubeu - Total duration: 3h45m9s - Times executed: 85 ]
-
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 = '2059262') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-04-01 00:59:12 Duration: 45m45s 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 = '2059262') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-04-01 00:43:17 Duration: 29m49s 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 = '2059262') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-04-01 00:43:29 Duration: 29m37s Database: ctdprd51 User: pubeu Bind query: yes
16 142 5m45s 1s142ms 14s948ms 2s432ms 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 #16
Day Hour Count Duration Avg duration Mar 31 00 2 2s594ms 1s297ms 01 2 2s405ms 1s202ms 02 2 2s348ms 1s174ms 04 2 2s529ms 1s264ms 05 2 2s695ms 1s347ms 07 2 2s610ms 1s305ms 10 3 3s645ms 1s215ms 11 2 2s500ms 1s250ms 12 3 3s614ms 1s204ms 14 2 2s391ms 1s195ms 17 3 3s700ms 1s233ms 19 1 1s208ms 1s208ms 20 1 1s272ms 1s272ms 21 1 1s270ms 1s270ms 23 3 3s787ms 1s262ms Apr 01 05 5 6s329ms 1s265ms 06 1 1s237ms 1s237ms 07 1 1s159ms 1s159ms 13 1 1s189ms 1s189ms 14 2 2s871ms 1s435ms Apr 02 03 1 1s227ms 1s227ms 04 1 1s196ms 1s196ms 05 3 3s977ms 1s325ms 08 2 2s481ms 1s240ms 09 3 3s698ms 1s232ms 10 3 3s714ms 1s238ms 11 2 2s497ms 1s248ms 13 1 1s256ms 1s256ms 14 1 1s161ms 1s161ms 18 1 1s183ms 1s183ms 19 1 1s299ms 1s299ms 21 1 1s263ms 1s263ms Apr 03 05 4 5s222ms 1s305ms 10 1 1s281ms 1s281ms 14 1 1s287ms 1s287ms 15 1 1s231ms 1s231ms 17 1 1s190ms 1s190ms 20 3 3s681ms 1s227ms 21 1 1s248ms 1s248ms 22 1 1s354ms 1s354ms 23 1 1s180ms 1s180ms Apr 04 02 2 2s471ms 1s235ms 05 3 3s995ms 1s331ms 06 1 1s275ms 1s275ms 07 1 1s286ms 1s286ms 11 1 1s515ms 1s515ms 13 1 1s256ms 1s256ms 15 1 1s247ms 1s247ms Apr 05 00 1 1s251ms 1s251ms 03 2 2s402ms 1s201ms 04 1 1s265ms 1s265ms 05 3 3s980ms 1s326ms 06 2 3s175ms 1s587ms 07 3 3s824ms 1s274ms 10 1 1s261ms 1s261ms 17 1 1s198ms 1s198ms 18 3 3s795ms 1s265ms 21 1 1s233ms 1s233ms 23 1 1s409ms 1s409ms Apr 06 00 4 37s885ms 9s471ms 01 19 2m36s 8s252ms 03 2 2s426ms 1s213ms 04 1 1s227ms 1s227ms 05 2 2s715ms 1s357ms 12 1 1s318ms 1s318ms 13 3 3s712ms 1s237ms 14 2 2s509ms 1s254ms 19 1 1s287ms 1s287ms 21 2 2s445ms 1s222ms 22 1 1s256ms 1s256ms [ User: pubeu - Total duration: 2m21s - Times executed: 55 ]
-
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 = '2053240') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2053240') 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-04-06 00:58:16 Duration: 14s948ms 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 = '2061611') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2061611') 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-04-06 01:02:39 Duration: 14s141ms 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 = '2055076') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2055076') 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-04-06 01:17:18 Duration: 13s390ms Database: ctdprd51 User: pubeu Bind query: yes
17 109 6m11s 1s17ms 20s73ms 3s406ms select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where diseaseterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Mar 31 04 1 2s414ms 2s414ms 12 1 1s602ms 1s602ms 15 2 2s652ms 1s326ms 16 1 1s634ms 1s634ms 20 2 2s563ms 1s281ms Apr 01 02 1 1s70ms 1s70ms 14 2 2s215ms 1s107ms 17 21 1m14s 3s565ms 18 1 1s379ms 1s379ms 20 1 2s428ms 2s428ms Apr 02 02 1 1s116ms 1s116ms 04 1 1s23ms 1s23ms 09 1 1s67ms 1s67ms 11 1 1s122ms 1s122ms 12 1 1s135ms 1s135ms 22 2 2s95ms 1s47ms Apr 03 03 1 2s264ms 2s264ms 10 1 1s576ms 1s576ms 12 1 1s648ms 1s648ms 13 2 3s341ms 1s670ms 14 1 1s93ms 1s93ms 21 1 1s29ms 1s29ms Apr 04 00 2 2s941ms 1s470ms 08 1 1s403ms 1s403ms 23 1 1s72ms 1s72ms Apr 05 01 1 1s96ms 1s96ms 02 1 1s26ms 1s26ms 06 1 1s66ms 1s66ms 10 1 1s70ms 1s70ms 14 1 2s316ms 2s316ms 21 1 1s90ms 1s90ms Apr 06 00 28 2m43s 5s832ms 01 18 1m14s 4s129ms 02 1 2s296ms 2s296ms 03 1 1s70ms 1s70ms 14 1 2s295ms 2s295ms 15 1 1s557ms 1s557ms 19 1 1s55ms 1s55ms 23 1 1s17ms 1s17ms [ User: pubeu - Total duration: 1m9s - Times executed: 30 ]
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2051315') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-04-06 00:58:06 Duration: 20s73ms Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2051315') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-04-06 00:58:18 Duration: 19s571ms Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2051315') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-04-06 00:57:46 Duration: 17s578ms Bind query: yes
18 92 2m14s 1s2ms 2s367ms 1s464ms select count(*) from chem_disease cd where cd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Apr 01 01 1 1s735ms 1s735ms 17 7 10s943ms 1s563ms Apr 06 00 29 44s44ms 1s518ms 01 55 1m18s 1s418ms [ User: pubeu - Total duration: 16s112ms - Times executed: 12 ]
-
SELECT /* ChemDiseaseAssnsDAO.rowCount */ COUNT(*) FROM chem_disease cd WHERE cd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2051315');
Date: 2024-04-01 17:43:30 Duration: 2s367ms Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO.rowCount */ COUNT(*) FROM chem_disease cd WHERE cd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2058426');
Date: 2024-04-06 01:03:01 Duration: 2s78ms Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO.rowCount */ COUNT(*) FROM chem_disease cd WHERE cd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2057805');
Date: 2024-04-06 00:58:03 Duration: 2s70ms Bind query: yes
19 85 6m40s 1s47ms 16s361ms 4s713ms select c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposurereferencecount, case when cd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from chem_disease_axn a where a.chem_id = cd.chem_id and a.disease_id = cd.disease_id) else null end actiontypes from chem_disease cd inner join term c on cd.chem_id = c.id inner join term d on cd.disease_id = d.id where cd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, cd.network_score desc nulls last, d.nm_sort, c.nm_sort limit ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Mar 31 19 1 1s148ms 1s148ms Apr 01 14 1 1s47ms 1s47ms 17 16 1m20s 5s21ms 20 1 1s286ms 1s286ms Apr 02 22 1 1s57ms 1s57ms Apr 03 01 1 1s75ms 1s75ms Apr 04 01 1 1s93ms 1s93ms Apr 05 09 1 1s99ms 1s99ms 11 1 1s125ms 1s125ms 14 1 1s119ms 1s119ms 23 1 1s86ms 1s86ms Apr 06 00 27 2m57s 6s561ms 01 27 2m6s 4s685ms 04 1 1s102ms 1s102ms 14 1 1s89ms 1s89ms 16 1 1s114ms 1s114ms 23 2 2s237ms 1s118ms [ User: pubeu - Total duration: 1m31s - Times executed: 28 ]
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2056570') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2024-04-06 00:58:09 Duration: 16s361ms Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2056570') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2024-04-06 00:58:35 Duration: 15s700ms Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2056570') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2024-04-06 00:58:21 Duration: 15s137ms Bind query: yes
20 73 1m29s 1s131ms 1s386ms 1s229ms 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 #20
Day Hour Count Duration Avg duration Mar 31 00 1 1s282ms 1s282ms 01 4 4s741ms 1s185ms 02 2 2s295ms 1s147ms 03 3 3s647ms 1s215ms 05 5 6s184ms 1s236ms 11 2 2s484ms 1s242ms 12 2 2s371ms 1s185ms 16 2 2s481ms 1s240ms 19 1 1s188ms 1s188ms 20 2 2s406ms 1s203ms 21 2 2s432ms 1s216ms 22 1 1s255ms 1s255ms 23 3 3s667ms 1s222ms Apr 01 05 2 2s603ms 1s301ms 15 1 1s204ms 1s204ms 19 1 1s186ms 1s186ms Apr 02 01 1 1s221ms 1s221ms 05 3 3s880ms 1s293ms 07 2 2s419ms 1s209ms 10 1 1s241ms 1s241ms 14 1 1s168ms 1s168ms 20 2 2s357ms 1s178ms Apr 03 00 1 1s201ms 1s201ms 02 1 1s339ms 1s339ms 05 2 2s585ms 1s292ms 07 1 1s203ms 1s203ms 16 1 1s173ms 1s173ms 18 1 1s180ms 1s180ms 21 1 1s223ms 1s223ms Apr 04 05 2 2s660ms 1s330ms 06 1 1s243ms 1s243ms 21 1 1s200ms 1s200ms Apr 05 05 2 2s630ms 1s315ms 06 2 2s448ms 1s224ms 17 1 1s197ms 1s197ms 20 1 1s184ms 1s184ms Apr 06 05 3 3s809ms 1s269ms 09 2 2s469ms 1s234ms 12 1 1s329ms 1s329ms 16 1 1s167ms 1s167ms 19 1 1s131ms 1s131ms 20 2 2s425ms 1s212ms 21 1 1s233ms 1s233ms [ User: pubeu - Total duration: 26s974ms - Times executed: 22 ]
[ User: qaeu - Total duration: 6s414ms - 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 = '1206430') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1206430') 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-04-02 05:38:43 Duration: 1s386ms 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 = '1206430') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1206430') 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-04-04 05:38:41 Duration: 1s373ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1206430') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1206430') 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-04-01 05:38:42 Duration: 1s348ms Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 15m23s 53m17s 25m37s 7 2h59m25s select maint_query_logs_archive ();Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Mar 31 00 1 53m17s 53m17s Apr 01 00 1 49m2s 49m2s Apr 02 00 1 15m24s 15m24s Apr 03 00 1 15m29s 15m29s Apr 04 00 1 15m23s 15m23s Apr 05 00 1 15m24s 15m24s Apr 06 00 1 15m23s 15m23s -
/* * 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-03-31 00:53:19 Duration: 53m17s
-
/* * 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-04-01 00:49:03 Duration: 49m2s
-
/* * 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-04-03 00:15:30 Duration: 15m29s
2 23m9s 23m9s 23m9s 1 23m9s 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 #2
Day Hour Count Duration Avg duration Apr 06 18 1 23m9s 23m9s -
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-04-06 18:59:49 Duration: 23m9s
3 22m59s 22m59s 22m59s 1 22m59s 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 #3
Day Hour Count Duration Avg duration Apr 06 19 1 22m59s 22m59s -
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-04-06 19:39:46 Duration: 22m59s
4 1s287ms 34m1s 9m42s 43 6h57m15s 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 #4
Day Hour Count Duration Avg duration Mar 31 00 4 44m55s 11m13s 01 1 11m3s 11m3s 06 1 1s521ms 1s521ms 15 1 1s540ms 1s540ms 18 1 1s287ms 1s287ms 22 1 1s513ms 1s513ms Apr 01 03 1 1s505ms 1s505ms 05 1 3s199ms 3s199ms 07 1 3s117ms 3s117ms 17 4 23m40s 5m55s 18 1 20m4s 20m4s Apr 02 03 1 3s181ms 3s181ms 05 1 2s55ms 2s55ms 06 1 17m5s 17m5s 10 2 8m29s 4m14s 12 1 3m37s 3m37s Apr 03 02 1 1s548ms 1s548ms 22 1 3s61ms 3s61ms Apr 04 09 1 8m23s 8m23s 16 1 1s551ms 1s551ms Apr 05 02 1 17m32s 17m32s 10 1 17m1s 17m1s 12 1 8m24s 8m24s 21 1 2s327ms 2s327ms Apr 06 00 1 48s253ms 48s253ms 01 8 3h55m34s 29m26s 15 1 1s482ms 1s482ms 20 1 1s518ms 1s518ms 22 1 3s335ms 3s335ms [ User: pubeu - Total duration: 3h56m - Times executed: 17 ]
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1230239') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-04-06 01:30:05 Duration: 34m1s 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 = '1230239') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-04-06 01:29:28 Duration: 33m35s 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 = '1230239') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-04-06 01:29:47 Duration: 33m31s Database: ctdprd51 User: pubeu Bind query: yes
5 2m4s 2m5s 2m4s 6 12m28s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by diseaseterm.nm_sort, phenotypeterm.nm_sort limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Mar 31 12 4 8m19s 2m4s 13 2 4m9s 2m4s [ User: pubeu - Total duration: 2m5s - 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 = '1211915') and diseaseTerm.object_type_id = 3 ORDER BY diseaseTerm.nm_sort, phenotypeTerm.nm_sort LIMIT 50;
Date: 2024-03-31 12:52:33 Duration: 2m5s 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 = '1211915') and diseaseTerm.object_type_id = 3 ORDER BY diseaseTerm.nm_sort, phenotypeTerm.nm_sort LIMIT 50;
Date: 2024-03-31 13:16:31 Duration: 2m4s 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 = '1211915') and diseaseTerm.object_type_id = 3 ORDER BY diseaseTerm.nm_sort, phenotypeTerm.nm_sort LIMIT 50;
Date: 2024-03-31 12:41:10 Duration: 2m4s Bind query: yes
6 1s79ms 45m45s 2m1s 144 4h51m33s 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 #6
Day Hour Count Duration Avg duration Mar 31 06 2 19s346ms 9s673ms 07 4 29s997ms 7s499ms 12 4 4s731ms 1s182ms 13 1 1s887ms 1s887ms 14 5 1m21s 16s242ms 15 2 17s940ms 8s970ms 17 2 7s995ms 3s997ms 18 3 12s225ms 4s75ms 19 1 3s977ms 3s977ms 23 36 55m11s 1m31s Apr 01 00 13 3h42m29s 17m6s 03 3 1m52s 37s518ms 06 2 1m9s 34s968ms 07 1 34s170ms 34s170ms Apr 02 01 1 12s757ms 12s757ms 04 1 2s86ms 2s86ms 08 2 3s163ms 1s581ms 09 1 14s713ms 14s713ms 20 1 3s321ms 3s321ms Apr 03 10 1 14s815ms 14s815ms Apr 04 02 1 2s202ms 2s202ms 05 3 6s237ms 2s79ms 06 12 27s882ms 2s323ms 13 1 12s670ms 12s670ms 20 1 3s262ms 3s262ms Apr 05 01 1 1s94ms 1s94ms 02 22 49s52ms 2s229ms 04 1 1s100ms 1s100ms 05 1 2s128ms 2s128ms 12 1 3s220ms 3s220ms Apr 06 01 7 27s451ms 3s921ms 09 5 2m56s 35s312ms 21 2 1m13s 36s657ms [ User: pubeu - Total duration: 3h45m9s - Times executed: 85 ]
-
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 = '2059262') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-04-01 00:59:12 Duration: 45m45s 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 = '2059262') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-04-01 00:43:17 Duration: 29m49s 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 = '2059262') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-04-01 00:43:29 Duration: 29m37s Database: ctdprd51 User: pubeu Bind query: yes
7 1s 13m32s 1m37s 71 1h55m51s select r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refacc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, count(*) over () fullrowcount from reference r where r.id in ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?)) order by r.sort_txt limit ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Mar 31 03 3 3m8s 1m2s 04 2 2m3s 1m1s 09 1 45s669ms 45s669ms 10 4 3m6s 46s709ms 11 1 45s484ms 45s484ms Apr 01 01 1 1s861ms 1s861ms 02 1 1m36s 1m36s 17 10 43m34s 4m21s Apr 02 07 1 33s441ms 33s441ms Apr 04 10 1 29s8ms 29s8ms Apr 05 17 2 1m18s 39s452ms Apr 06 00 3 10m16s 3m25s 01 39 47m44s 1m13s 08 1 24s422ms 24s422ms 21 1 2s601ms 2s601ms [ User: pubeu - Total duration: 29m28s - Times executed: 18 ]
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1419064')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-04-06 01:24:16 Duration: 13m32s Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1260890')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-04-01 17:51:45 Duration: 12m27s Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1260890')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-04-01 17:53:30 Duration: 10m59s Bind query: yes
8 1s20ms 2m9s 32s961ms 63 34m36s 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 #8
Day Hour Count Duration Avg duration Mar 31 10 2 2s454ms 1s227ms 12 1 1s59ms 1s59ms 14 1 1s57ms 1s57ms 15 1 6s253ms 6s253ms 21 1 1s42ms 1s42ms Apr 01 02 1 1s656ms 1s656ms 07 1 1s501ms 1s501ms 09 1 18s177ms 18s177ms 17 9 5m14s 34s960ms 18 1 1s448ms 1s448ms 23 1 1s67ms 1s67ms Apr 02 02 2 2s707ms 1s353ms 04 1 1s254ms 1s254ms 20 1 2s770ms 2s770ms 21 1 1s20ms 1s20ms 22 1 2s309ms 2s309ms Apr 03 23 2 10s104ms 5s52ms Apr 04 06 1 1s40ms 1s40ms 18 1 8s170ms 8s170ms 22 1 17s928ms 17s928ms Apr 05 00 1 6s21ms 6s21ms 04 1 6s286ms 6s286ms 05 1 1s37ms 1s37ms 06 1 1s161ms 1s161ms 23 1 1s49ms 1s49ms Apr 06 00 16 22m41s 1m25s 01 4 4m22s 1m5s 04 2 14s654ms 7s327ms 05 1 1s625ms 1s625ms 06 1 17s614ms 17s614ms 07 1 1s140ms 1s140ms 12 1 3s91ms 3s91ms 15 1 1s107ms 1s107ms [ User: pubeu - Total duration: 17m15s - Times executed: 33 ]
-
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 = '1230239') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-04-06 00:58:48 Duration: 2m9s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1230239') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-04-06 00:58:32 Duration: 2m5s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1206427') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-04-06 00:58:14 Duration: 2m3s Bind query: yes
9 30s835ms 31s974ms 31s504ms 25 13m7s 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 #9
Day Hour Count Duration Avg duration Mar 31 06 1 31s397ms 31s397ms 10 1 31s161ms 31s161ms 14 1 31s690ms 31s690ms 18 1 31s450ms 31s450ms Apr 01 06 1 31s498ms 31s498ms 10 1 31s974ms 31s974ms 14 1 31s522ms 31s522ms 18 1 31s499ms 31s499ms Apr 02 06 1 31s421ms 31s421ms 10 1 31s357ms 31s357ms 14 1 31s386ms 31s386ms 18 1 31s433ms 31s433ms Apr 03 06 1 31s639ms 31s639ms 10 1 31s710ms 31s710ms 14 1 31s487ms 31s487ms 18 1 31s531ms 31s531ms Apr 04 06 1 31s510ms 31s510ms 10 1 31s547ms 31s547ms 14 1 31s854ms 31s854ms 18 1 31s646ms 31s646ms Apr 05 06 1 31s495ms 31s495ms 10 1 31s488ms 31s488ms 14 1 31s590ms 31s590ms 18 1 31s486ms 31s486ms Apr 06 19 1 30s835ms 30s835ms [ User: postgres - Total duration: 12m36s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 12m36s - 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-04-01 10:05:33 Duration: 31s974ms 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-04-04 14:05:33 Duration: 31s854ms 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-04-03 10:05:34 Duration: 31s710ms Database: ctdprd51 User: postgres Application: pg_dump
10 1s879ms 40s583ms 18s986ms 61 19m18s 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 ? offset ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Mar 31 06 1 2s843ms 2s843ms Apr 01 17 22 5m6s 13s953ms Apr 02 21 1 1s879ms 1s879ms Apr 06 01 37 14m6s 22s877ms [ User: pubeu - Total duration: 5m45s - Times executed: 23 ]
-
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 = '1381425'))) 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 OFFSET 100;
Date: 2024-04-06 01:11:26 Duration: 40s583ms 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 = '1381425'))) 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 OFFSET 50;
Date: 2024-04-06 01:15:33 Duration: 40s547ms 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 = '1381425'))) 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 OFFSET 200;
Date: 2024-04-06 01:15:03 Duration: 40s247ms Database: ctdprd51 User: pubeu Bind query: yes
11 1s 1m10s 9s686ms 563 1h30m53s 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 #11
Day Hour Count Duration Avg duration Mar 31 00 2 4s552ms 2s276ms 02 2 12s15ms 6s7ms 04 4 5s303ms 1s325ms 06 2 4s144ms 2s72ms 07 2 9s339ms 4s669ms 09 4 16s884ms 4s221ms 11 1 1s212ms 1s212ms 12 2 8s357ms 4s178ms 13 1 4s187ms 4s187ms 15 1 1s330ms 1s330ms 17 2 4s159ms 2s79ms 19 3 12s150ms 4s50ms 21 4 14s581ms 3s645ms 22 9 22s129ms 2s458ms 23 9 29s291ms 3s254ms Apr 01 00 7 11s425ms 1s632ms 01 9 1m1s 6s838ms 02 1 4s918ms 4s918ms 03 3 14s580ms 4s860ms 04 4 12s608ms 3s152ms 05 8 38s732ms 4s841ms 07 1 1s172ms 1s172ms 08 2 12s837ms 6s418ms 09 2 6s495ms 3s247ms 11 4 19s477ms 4s869ms 12 1 4s352ms 4s352ms 13 3 8s632ms 2s877ms 14 5 31s93ms 6s218ms 15 2 7s829ms 3s914ms 17 37 12m11s 19s777ms 18 1 3s60ms 3s60ms 19 3 9s20ms 3s6ms 20 2 8s649ms 4s324ms 21 1 1s314ms 1s314ms 22 4 10s901ms 2s725ms 23 6 47s591ms 7s931ms Apr 02 00 3 20s132ms 6s710ms 01 11 56s908ms 5s173ms 02 4 27s944ms 6s986ms 03 1 3s2ms 3s2ms 05 4 22s762ms 5s690ms 06 3 4s998ms 1s666ms 07 3 6s645ms 2s215ms 08 3 14s2ms 4s667ms 10 2 23s421ms 11s710ms 11 2 11s658ms 5s829ms 15 1 12s538ms 12s538ms 18 1 1s361ms 1s361ms 19 2 7s300ms 3s650ms 20 2 7s388ms 3s694ms 22 2 14s371ms 7s185ms 23 1 1s212ms 1s212ms Apr 03 00 1 1s142ms 1s142ms 01 2 17s775ms 8s887ms 02 2 4s375ms 2s187ms 03 6 9s496ms 1s582ms 05 1 2s733ms 2s733ms 06 3 13s379ms 4s459ms 08 1 5s178ms 5s178ms 09 1 3s119ms 3s119ms 10 2 3s506ms 1s753ms 12 1 3s4ms 3s4ms 13 2 2s644ms 1s322ms 14 1 5s5ms 5s5ms 15 1 3s109ms 3s109ms 17 3 11s972ms 3s990ms 18 5 20s555ms 4s111ms 19 1 1s213ms 1s213ms 20 12 42s918ms 3s576ms 21 2 4s138ms 2s69ms 22 2 6s627ms 3s313ms 23 2 13s309ms 6s654ms Apr 04 00 3 7s34ms 2s344ms 01 1 1s301ms 1s301ms 02 1 5s401ms 5s401ms 04 1 1s245ms 1s245ms 05 1 1s558ms 1s558ms 07 1 4s788ms 4s788ms 10 1 3s84ms 3s84ms 11 1 2s155ms 2s155ms 12 3 11s987ms 3s995ms 13 2 3s930ms 1s965ms 14 6 14s891ms 2s481ms 15 5 20s639ms 4s127ms 16 1 6s693ms 6s693ms 17 1 2s174ms 2s174ms 18 1 4s688ms 4s688ms 21 1 2s727ms 2s727ms 22 3 16s949ms 5s649ms 23 2 5s150ms 2s575ms Apr 05 00 2 9s108ms 4s554ms 01 1 1s157ms 1s157ms 02 2 6s701ms 3s350ms 03 3 9s537ms 3s179ms 04 4 7s76ms 1s769ms 05 3 8s298ms 2s766ms 06 1 4s896ms 4s896ms 07 1 6s230ms 6s230ms 08 1 6s465ms 6s465ms 09 6 51s576ms 8s596ms 10 3 5s677ms 1s892ms 12 3 11s282ms 3s760ms 14 1 1s110ms 1s110ms 15 3 9s99ms 3s33ms 16 3 11s818ms 3s939ms 17 5 23s859ms 4s771ms 18 1 1s365ms 1s365ms 20 1 1s278ms 1s278ms 22 3 9s546ms 3s182ms 23 7 27s548ms 3s935ms Apr 06 00 75 28m39s 22s929ms 01 98 26m25s 16s174ms 02 3 12s687ms 4s229ms 03 2 6s270ms 3s135ms 04 3 5s183ms 1s727ms 05 3 14s63ms 4s687ms 07 5 16s748ms 3s349ms 08 1 5s48ms 5s48ms 09 5 34s763ms 6s952ms 12 2 4s146ms 2s73ms 13 4 10s823ms 2s705ms 14 1 1s179ms 1s179ms 15 3 10s602ms 3s534ms 16 2 8s260ms 4s130ms 17 4 13s322ms 3s330ms 18 1 1s313ms 1s313ms 19 4 20s452ms 5s113ms 20 1 4s710ms 4s710ms 21 4 24s956ms 6s239ms 22 3 15s621ms 5s207ms [ User: pubeu - Total duration: 33m3s - Times executed: 231 ]
-
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 = '2063367') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-04-06 00:57:59 Duration: 1m10s 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 = '2063367') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-04-01 17:43:52 Duration: 1m8s 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 = '2063367') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-04-06 00:58:40 Duration: 1m8s Bind query: yes
12 1s15ms 19s113ms 9s563ms 284 45m15s select count(*) from gene_disease gd where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?);Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Apr 01 00 3 8s178ms 2s726ms 01 9 1m6s 7s350ms 17 37 4m48s 7s800ms Apr 06 00 74 13m18s 10s789ms 01 161 25m54s 9s655ms [ User: pubeu - Total duration: 3m22s - Times executed: 24 ]
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2051315');
Date: 2024-04-06 01:03:48 Duration: 19s113ms Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2056095');
Date: 2024-04-06 00:58:22 Duration: 18s828ms Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2063106');
Date: 2024-04-06 00:58:19 Duration: 18s138ms Bind query: yes
13 1s15ms 37s706ms 9s331ms 249 38m43s select * from ( select g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, count(*) over () fullrowcount from term g where g.id in ( select gt.gene_id from dag_path dp inner join gene_taxon gt on dp.descendant_object_id = gt.taxon_id where dp.ancestor_object_id = ? union all select gcr.gene_id from dag_path dp inner join gene_chem_reference gcr on dp.descendant_object_id = gcr.taxon_id where dp.ancestor_object_id = ?) offset ?) mq order by mq.genesymbolsort limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Apr 01 01 40 6m6s 9s169ms 04 1 1s15ms 1s15ms 17 4 12s771ms 3s192ms Apr 02 04 1 6s909ms 6s909ms 05 1 2s53ms 2s53ms Apr 03 06 1 2s27ms 2s27ms 15 121 18m15s 9s52ms 23 1 1s987ms 1s987ms Apr 04 05 1 2s 2s 21 11 24s519ms 2s229ms Apr 06 00 29 6m26s 13s327ms 01 38 7m1s 11s93ms [ User: pubeu - Total duration: 16m50s - Times executed: 103 ]
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '648460' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '648460') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-04-06 00:58:31 Duration: 37s706ms Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '648460' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '648460') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-04-06 00:58:44 Duration: 37s78ms Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '648460' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '648460') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-04-06 01:17:26 Duration: 33s611ms Database: ctdprd51 User: pubeu Bind query: yes
14 1s1ms 38s350ms 6s658ms 228 25m18s 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 #14
Day Hour Count Duration Avg duration Mar 31 00 1 5s617ms 5s617ms 01 2 10s804ms 5s402ms 02 1 1s14ms 1s14ms 03 2 6s348ms 3s174ms 04 1 1s71ms 1s71ms 05 5 5s228ms 1s45ms 07 3 12s35ms 4s11ms 09 1 1s12ms 1s12ms 10 5 5s216ms 1s43ms 11 2 2s58ms 1s29ms 13 1 5s458ms 5s458ms 15 2 10s766ms 5s383ms 17 3 16s457ms 5s485ms 18 3 3s162ms 1s54ms 19 2 10s916ms 5s458ms 20 4 12s561ms 3s140ms 21 3 12s359ms 4s119ms 22 2 6s371ms 3s185ms 23 2 8s677ms 4s338ms Apr 01 01 1 20s993ms 20s993ms 02 1 5s574ms 5s574ms 04 2 10s910ms 5s455ms 05 2 2s36ms 1s18ms 07 1 1s66ms 1s66ms 08 4 13s395ms 3s348ms 13 2 6s964ms 3s482ms 14 1 5s282ms 5s282ms 16 1 5s256ms 5s256ms 17 16 4m13s 15s817ms 20 1 1s22ms 1s22ms 21 1 1s38ms 1s38ms 23 4 13s139ms 3s284ms Apr 02 00 6 24s201ms 4s33ms 01 1 1s84ms 1s84ms 02 5 18s382ms 3s676ms 05 4 4s85ms 1s21ms 06 1 5s343ms 5s343ms 07 1 6s 6s 08 3 7s437ms 2s479ms 09 1 5s286ms 5s286ms 10 1 5s490ms 5s490ms 11 2 10s885ms 5s442ms 14 3 12s409ms 4s136ms 17 1 1s1ms 1s1ms 19 1 5s861ms 5s861ms 22 1 5s440ms 5s440ms Apr 03 01 1 1s11ms 1s11ms 04 2 6s361ms 3s180ms 05 8 17s352ms 2s169ms 06 3 16s758ms 5s586ms 07 1 5s384ms 5s384ms 08 2 10s643ms 5s321ms 10 5 24s641ms 4s928ms 12 1 1s25ms 1s25ms 15 2 6s445ms 3s222ms 16 6 31s991ms 5s331ms 17 3 17s505ms 5s835ms 19 1 1s12ms 1s12ms 20 5 28s923ms 5s784ms 21 2 11s301ms 5s650ms Apr 04 00 2 10s794ms 5s397ms 02 1 1s96ms 1s96ms 03 3 7s888ms 2s629ms 05 6 6s110ms 1s18ms 08 1 5s840ms 5s840ms 09 1 5s489ms 5s489ms 13 6 10s729ms 1s788ms 14 1 5s973ms 5s973ms 15 1 5s721ms 5s721ms 16 1 5s947ms 5s947ms Apr 05 02 1 5s396ms 5s396ms 05 6 6s111ms 1s18ms 08 2 10s862ms 5s431ms 11 1 5s354ms 5s354ms 13 1 1s10ms 1s10ms 16 1 1s21ms 1s21ms 23 1 5s343ms 5s343ms Apr 06 00 1 5s280ms 5s280ms 01 21 10m 28s585ms 02 2 6s436ms 3s218ms 03 1 5s459ms 5s459ms 04 2 10s791ms 5s395ms 05 5 5s157ms 1s31ms 09 1 1s109ms 1s109ms 12 2 2s49ms 1s24ms 14 1 5s389ms 5s389ms 22 1 5s355ms 5s355ms [ User: pubeu - Total duration: 8m27s - Times executed: 63 ]
[ User: qaeu - Total duration: 6s144ms - Times executed: 6 ]
-
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 = '1260890' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-04-01 17:43:34 Duration: 38s350ms 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 = '1271569' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-04-06 01:11:29 Duration: 38s278ms 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 = '1271569' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-04-06 01:11:15 Duration: 36s757ms Bind query: yes
15 1s47ms 16s361ms 4s713ms 85 6m40s select c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposurereferencecount, case when cd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from chem_disease_axn a where a.chem_id = cd.chem_id and a.disease_id = cd.disease_id) else null end actiontypes from chem_disease cd inner join term c on cd.chem_id = c.id inner join term d on cd.disease_id = d.id where cd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, cd.network_score desc nulls last, d.nm_sort, c.nm_sort limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Mar 31 19 1 1s148ms 1s148ms Apr 01 14 1 1s47ms 1s47ms 17 16 1m20s 5s21ms 20 1 1s286ms 1s286ms Apr 02 22 1 1s57ms 1s57ms Apr 03 01 1 1s75ms 1s75ms Apr 04 01 1 1s93ms 1s93ms Apr 05 09 1 1s99ms 1s99ms 11 1 1s125ms 1s125ms 14 1 1s119ms 1s119ms 23 1 1s86ms 1s86ms Apr 06 00 27 2m57s 6s561ms 01 27 2m6s 4s685ms 04 1 1s102ms 1s102ms 14 1 1s89ms 1s89ms 16 1 1s114ms 1s114ms 23 2 2s237ms 1s118ms [ User: pubeu - Total duration: 1m31s - Times executed: 28 ]
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2056570') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2024-04-06 00:58:09 Duration: 16s361ms Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2056570') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2024-04-06 00:58:35 Duration: 15s700ms Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2056570') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2024-04-06 00:58:21 Duration: 15s137ms Bind query: yes
16 1s2ms 41s462ms 4s462ms 387 28m47s 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 #16
Day Hour Count Duration Avg duration Mar 31 00 1 1s321ms 1s321ms 04 1 2s798ms 2s798ms 11 1 1s861ms 1s861ms 12 5 20s650ms 4s130ms 13 4 15s476ms 3s869ms 14 1 6s120ms 6s120ms 15 3 6s725ms 2s241ms 16 1 6s156ms 6s156ms 17 11 34s219ms 3s110ms 18 1 1s852ms 1s852ms 19 4 12s150ms 3s37ms 20 2 3s719ms 1s859ms 21 2 3s236ms 1s618ms 23 3 13s676ms 4s558ms Apr 01 00 1 1s597ms 1s597ms 01 2 31s881ms 15s940ms 02 7 23s378ms 3s339ms 03 3 11s18ms 3s672ms 06 1 1s738ms 1s738ms 07 4 13s583ms 3s395ms 08 6 16s191ms 2s698ms 09 1 1s649ms 1s649ms 11 1 5s984ms 5s984ms 13 5 16s671ms 3s334ms 14 1 3s257ms 3s257ms 15 2 9s45ms 4s522ms 16 2 9s210ms 4s605ms 17 31 3m43s 7s195ms 18 2 7s282ms 3s641ms 19 2 8s830ms 4s415ms 23 6 18s203ms 3s33ms Apr 02 02 1 2s88ms 2s88ms 03 1 6s140ms 6s140ms 07 4 12s613ms 3s153ms 08 1 1s998ms 1s998ms 09 3 9s637ms 3s212ms 10 5 26s649ms 5s329ms 11 1 2s863ms 2s863ms 12 1 5s941ms 5s941ms 14 9 23s287ms 2s587ms 16 2 5s515ms 2s757ms Apr 03 01 1 1s880ms 1s880ms 04 6 20s807ms 3s467ms 06 1 1s319ms 1s319ms 07 2 8s240ms 4s120ms 09 2 9s316ms 4s658ms 10 1 1s876ms 1s876ms 11 5 15s245ms 3s49ms 12 6 19s432ms 3s238ms 14 6 16s156ms 2s692ms 15 8 24s81ms 3s10ms 17 3 18s172ms 6s57ms 20 5 10s837ms 2s167ms 21 4 7s783ms 1s945ms 23 1 5s980ms 5s980ms Apr 04 01 1 1s341ms 1s341ms 02 5 14s805ms 2s961ms 03 10 29s666ms 2s966ms 04 2 4s887ms 2s443ms 07 2 4s638ms 2s319ms 09 1 3s265ms 3s265ms 12 1 1s739ms 1s739ms 13 1 3s241ms 3s241ms 14 1 1s866ms 1s866ms Apr 05 00 2 9s254ms 4s627ms 04 2 5s615ms 2s807ms 05 2 8s20ms 4s10ms 06 1 3s263ms 3s263ms 10 1 1s742ms 1s742ms 11 1 1s733ms 1s733ms 18 1 1s842ms 1s842ms 19 1 1s725ms 1s725ms 21 1 1s985ms 1s985ms Apr 06 00 6 15s815ms 2s635ms 01 139 13m12s 5s702ms 05 1 1s451ms 1s451ms 13 1 1s873ms 1s873ms 14 2 7s853ms 3s926ms 17 1 3s228ms 3s228ms 18 1 3s363ms 3s363ms 19 2 5s591ms 2s795ms 21 1 2s177ms 2s177ms 23 1 2s16ms 2s16ms [ User: pubeu - Total duration: 8m49s - Times executed: 117 ]
-
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 = '1381425'))) 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-04-06 01:11:24 Duration: 41s462ms 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 = '1381425'))) 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-04-06 01:11:36 Duration: 39s877ms 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 = '1381425'))) 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-04-06 01:15:03 Duration: 37s885ms Database: ctdprd51 User: pubeu Bind query: yes
17 1s2ms 42s901ms 4s334ms 424 30m37s 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 #17
Day Hour Count Duration Avg duration Mar 31 01 1 1s103ms 1s103ms 02 3 6s373ms 2s124ms 03 1 2s65ms 2s65ms 04 1 2s812ms 2s812ms 08 3 9s995ms 3s331ms 09 1 1s528ms 1s528ms 11 3 7s121ms 2s373ms 12 3 8s677ms 2s892ms 13 4 18s82ms 4s520ms 14 4 14s756ms 3s689ms 15 11 27s862ms 2s532ms 17 6 19s824ms 3s304ms 18 6 13s286ms 2s214ms 19 5 18s803ms 3s760ms 20 1 1s772ms 1s772ms 21 7 17s247ms 2s463ms 23 4 11s549ms 2s887ms Apr 01 00 2 5s61ms 2s530ms 01 3 16s508ms 5s502ms 02 9 23s237ms 2s581ms 03 3 12s508ms 4s169ms 06 4 7s138ms 1s784ms 07 3 3s967ms 1s322ms 08 7 23s14ms 3s287ms 09 1 2s673ms 2s673ms 11 1 1s115ms 1s115ms 13 10 28s455ms 2s845ms 14 2 2s623ms 1s311ms 15 4 12s736ms 3s184ms 16 2 2s453ms 1s226ms 17 20 1m7s 3s384ms 19 1 1s195ms 1s195ms 20 1 3s485ms 3s485ms 21 1 2s669ms 2s669ms 22 3 10s192ms 3s397ms 23 4 8s286ms 2s71ms Apr 02 01 3 7s503ms 2s501ms 02 1 4s790ms 4s790ms 03 1 3s562ms 3s562ms 06 1 3s480ms 3s480ms 07 5 20s156ms 4s31ms 08 2 6s910ms 3s455ms 09 2 8s402ms 4s201ms 10 10 29s803ms 2s980ms 11 4 13s608ms 3s402ms 13 1 1s210ms 1s210ms 14 12 27s594ms 2s299ms 15 1 2s776ms 2s776ms 16 1 3s484ms 3s484ms 17 2 6s94ms 3s47ms 19 2 5s24ms 2s512ms 21 1 3s591ms 3s591ms 23 1 3s504ms 3s504ms Apr 03 00 1 1s346ms 1s346ms 01 3 7s612ms 2s537ms 03 2 4s778ms 2s389ms 04 6 18s8ms 3s1ms 05 1 1s310ms 1s310ms 06 2 3s647ms 1s823ms 09 1 3s590ms 3s590ms 11 4 12s543ms 3s135ms 12 3 7s118ms 2s372ms 14 6 17s890ms 2s981ms 15 15 40s829ms 2s721ms 17 8 23s655ms 2s956ms 18 2 6s507ms 3s253ms 19 2 3s598ms 1s799ms 20 5 14s147ms 2s829ms 21 1 3s644ms 3s644ms 23 1 1s216ms 1s216ms Apr 04 01 1 1s543ms 1s543ms 02 4 14s202ms 3s550ms 03 11 36s936ms 3s357ms 04 2 9s567ms 4s783ms 07 1 3s509ms 3s509ms 08 1 4s812ms 4s812ms 09 1 3s525ms 3s525ms 10 1 4s817ms 4s817ms 12 3 5s821ms 1s940ms 13 1 4s730ms 4s730ms 14 2 3s821ms 1s910ms 15 1 2s219ms 2s219ms 16 1 1s585ms 1s585ms 22 1 1s247ms 1s247ms 23 2 4s894ms 2s447ms Apr 05 00 2 8s319ms 4s159ms 02 1 1s219ms 1s219ms 05 1 2s706ms 2s706ms 06 1 1s342ms 1s342ms 07 1 2s182ms 2s182ms 09 1 2s633ms 2s633ms 10 1 1s226ms 1s226ms 13 1 4s892ms 4s892ms 15 1 3s502ms 3s502ms 16 2 4s898ms 2s449ms 17 1 4s859ms 4s859ms 19 2 7s425ms 3s712ms 20 1 1s576ms 1s576ms 22 2 8s362ms 4s181ms 23 1 4s903ms 4s903ms Apr 06 00 5 13s501ms 2s700ms 01 86 14m8s 9s870ms 02 3 10s3ms 3s334ms 04 2 7s152ms 3s576ms 06 1 1s8ms 1s8ms 07 1 4s772ms 4s772ms 08 2 3s840ms 1s920ms 13 2 6s998ms 3s499ms 15 3 10s481ms 3s493ms 17 1 1s386ms 1s386ms 20 5 13s906ms 2s781ms 22 3 11s838ms 3s946ms [ User: pubeu - Total duration: 11m13s - Times executed: 166 ]
-
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 = '1381425') 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 = '1381425') 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-04-06 01:15:02 Duration: 42s901ms 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 = '1381425') 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 = '1381425') 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-04-06 01:14:41 Duration: 42s852ms 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 = '1381425') 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 = '1381425') 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-04-06 01:15:17 Duration: 40s842ms Bind query: yes
18 3s887ms 16s893ms 4s160ms 405 28m4s 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 Mar 31 03 1 4s21ms 4s21ms 08 1 3s931ms 3s931ms 10 2 8s176ms 4s88ms 14 1 4s175ms 4s175ms 15 1 4s47ms 4s47ms 16 2 8s45ms 4s22ms 17 1 4s1ms 4s1ms 18 1 4s7ms 4s7ms 20 1 4s178ms 4s178ms 21 3 12s56ms 4s18ms 22 7 31s51ms 4s435ms 23 2 8s483ms 4s241ms Apr 01 02 1 4s146ms 4s146ms 03 3 12s87ms 4s29ms 04 9 36s608ms 4s67ms 05 4 16s158ms 4s39ms 06 4 16s259ms 4s64ms 07 5 20s729ms 4s145ms 08 1 4s63ms 4s63ms 09 2 8s30ms 4s15ms 10 3 12s52ms 4s17ms 11 6 24s740ms 4s123ms 13 1 5s320ms 5s320ms 14 2 8s204ms 4s102ms 16 1 16s893ms 16s893ms 17 3 11s998ms 3s999ms 20 6 25s94ms 4s182ms 21 17 1m9s 4s114ms 22 7 29s208ms 4s172ms 23 45 3m4s 4s101ms Apr 02 00 85 5m49s 4s106ms 01 3 12s102ms 4s34ms 02 4 16s203ms 4s50ms 03 3 12s374ms 4s124ms 04 3 12s332ms 4s110ms 05 1 4s174ms 4s174ms 06 8 32s398ms 4s49ms 08 1 4s70ms 4s70ms 10 1 3s968ms 3s968ms 11 2 8s535ms 4s267ms 12 2 8s72ms 4s36ms 13 1 4s49ms 4s49ms 14 2 7s998ms 3s999ms 15 1 4s173ms 4s173ms 21 2 8s7ms 4s3ms 22 2 8s31ms 4s15ms 23 2 8s336ms 4s168ms Apr 03 00 1 3s995ms 3s995ms 01 2 8s108ms 4s54ms 02 1 4s188ms 4s188ms 03 5 20s134ms 4s26ms 04 6 24s213ms 4s35ms 05 2 7s910ms 3s955ms 06 2 8s236ms 4s118ms 07 1 4s34ms 4s34ms 08 1 3s960ms 3s960ms 10 4 17s981ms 4s495ms 11 6 24s74ms 4s12ms 12 4 16s199ms 4s49ms 13 1 4s96ms 4s96ms 14 1 4s83ms 4s83ms 15 1 4s14ms 4s14ms 16 2 7s909ms 3s954ms 18 1 4s131ms 4s131ms 19 1 3s997ms 3s997ms 20 2 8s141ms 4s70ms 21 1 4s25ms 4s25ms 22 4 16s478ms 4s119ms 23 2 8s132ms 4s66ms Apr 04 02 1 3s952ms 3s952ms 03 3 12s85ms 4s28ms 04 1 3s925ms 3s925ms 05 1 4s151ms 4s151ms 07 2 8s34ms 4s17ms 08 1 4s93ms 4s93ms 09 6 26s30ms 4s338ms 12 3 12s45ms 4s15ms 13 1 4s111ms 4s111ms 14 3 12s130ms 4s43ms 15 2 8s17ms 4s8ms 16 9 36s497ms 4s55ms 17 4 16s352ms 4s88ms 20 1 4s59ms 4s59ms 21 2 7s974ms 3s987ms 23 1 3s927ms 3s927ms Apr 05 00 1 4s43ms 4s43ms 02 1 4s61ms 4s61ms 04 2 8s25ms 4s12ms 05 2 8s68ms 4s34ms 06 1 4s7ms 4s7ms 07 1 4s70ms 4s70ms 08 5 20s814ms 4s162ms 09 2 8s60ms 4s30ms 10 2 8s10ms 4s5ms 11 1 4s33ms 4s33ms 12 1 4s47ms 4s47ms 14 1 4s62ms 4s62ms 20 1 4s 4s 21 1 4s28ms 4s28ms 23 2 8s149ms 4s74ms Apr 06 00 3 12s534ms 4s178ms 04 5 20s354ms 4s70ms 06 1 3s933ms 3s933ms 08 1 3s995ms 3s995ms 12 1 4s 4s 13 1 4s43ms 4s43ms 18 4 16s90ms 4s22ms 19 4 16s236ms 4s59ms 20 1 4s18ms 4s18ms 22 1 16s425ms 16s425ms 23 1 4s41ms 4s41ms [ User: pubeu - Total duration: 10m37s - Times executed: 152 ]
-
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 = '1381425') 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 = '1381425') 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-04-01 16:19:01 Duration: 16s893ms 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 = '1381425') 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 = '1381425') 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-04-06 22:11:48 Duration: 16s425ms 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 = '1410287') 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 = '1410287') 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-04-03 10:35:56 Duration: 5s708ms Database: ctdprd51 User: pubeu Bind query: yes
19 1s17ms 20s73ms 3s406ms 109 6m11s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where diseaseterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Mar 31 04 1 2s414ms 2s414ms 12 1 1s602ms 1s602ms 15 2 2s652ms 1s326ms 16 1 1s634ms 1s634ms 20 2 2s563ms 1s281ms Apr 01 02 1 1s70ms 1s70ms 14 2 2s215ms 1s107ms 17 21 1m14s 3s565ms 18 1 1s379ms 1s379ms 20 1 2s428ms 2s428ms Apr 02 02 1 1s116ms 1s116ms 04 1 1s23ms 1s23ms 09 1 1s67ms 1s67ms 11 1 1s122ms 1s122ms 12 1 1s135ms 1s135ms 22 2 2s95ms 1s47ms Apr 03 03 1 2s264ms 2s264ms 10 1 1s576ms 1s576ms 12 1 1s648ms 1s648ms 13 2 3s341ms 1s670ms 14 1 1s93ms 1s93ms 21 1 1s29ms 1s29ms Apr 04 00 2 2s941ms 1s470ms 08 1 1s403ms 1s403ms 23 1 1s72ms 1s72ms Apr 05 01 1 1s96ms 1s96ms 02 1 1s26ms 1s26ms 06 1 1s66ms 1s66ms 10 1 1s70ms 1s70ms 14 1 2s316ms 2s316ms 21 1 1s90ms 1s90ms Apr 06 00 28 2m43s 5s832ms 01 18 1m14s 4s129ms 02 1 2s296ms 2s296ms 03 1 1s70ms 1s70ms 14 1 2s295ms 2s295ms 15 1 1s557ms 1s557ms 19 1 1s55ms 1s55ms 23 1 1s17ms 1s17ms [ User: pubeu - Total duration: 1m9s - Times executed: 30 ]
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2051315') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-04-06 00:58:06 Duration: 20s73ms Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2051315') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-04-06 00:58:18 Duration: 19s571ms Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2051315') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-04-06 00:57:46 Duration: 17s578ms Bind query: yes
20 1s346ms 9s150ms 2s538ms 178 7m31s 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 #20
Day Hour Count Duration Avg duration Mar 31 03 1 1s420ms 1s420ms 04 1 1s431ms 1s431ms 05 2 2s905ms 1s452ms 17 1 1s470ms 1s470ms 18 1 1s426ms 1s426ms 21 3 4s339ms 1s446ms 22 1 1s415ms 1s415ms 23 1 1s699ms 1s699ms Apr 01 02 1 1s445ms 1s445ms 03 1 1s449ms 1s449ms 04 1 1s433ms 1s433ms 05 3 4s199ms 1s399ms 07 1 1s369ms 1s369ms 10 1 1s375ms 1s375ms 11 1 1s428ms 1s428ms 12 2 2s833ms 1s416ms 13 1 1s413ms 1s413ms 17 5 23s189ms 4s637ms 18 1 1s432ms 1s432ms 19 1 1s358ms 1s358ms 20 1 1s400ms 1s400ms 22 6 8s614ms 1s435ms 23 2 2s883ms 1s441ms Apr 02 00 4 5s636ms 1s409ms 01 5 7s87ms 1s417ms 02 4 5s724ms 1s431ms 03 2 2s853ms 1s426ms 04 3 4s214ms 1s404ms 05 5 7s133ms 1s426ms 06 1 1s372ms 1s372ms 07 4 5s638ms 1s409ms 08 1 1s358ms 1s358ms 13 1 1s449ms 1s449ms 14 2 2s831ms 1s415ms 15 1 1s429ms 1s429ms 17 1 1s403ms 1s403ms 18 1 1s371ms 1s371ms Apr 03 02 1 1s447ms 1s447ms 03 2 2s838ms 1s419ms 04 1 1s425ms 1s425ms 05 2 2s797ms 1s398ms 06 2 2s764ms 1s382ms 08 3 4s247ms 1s415ms 09 1 1s401ms 1s401ms 10 1 1s448ms 1s448ms 11 1 1s429ms 1s429ms 13 1 1s413ms 1s413ms 18 1 1s427ms 1s427ms 23 1 1s395ms 1s395ms Apr 04 00 1 1s423ms 1s423ms 03 1 1s423ms 1s423ms 05 3 4s304ms 1s434ms 10 1 1s406ms 1s406ms 15 1 1s412ms 1s412ms 23 1 1s416ms 1s416ms Apr 05 01 1 1s416ms 1s416ms 02 2 3s224ms 1s612ms 05 2 2s822ms 1s411ms 06 2 2s822ms 1s411ms 08 1 1s392ms 1s392ms 13 1 1s398ms 1s398ms 16 1 1s418ms 1s418ms 18 1 1s406ms 1s406ms 22 2 2s839ms 1s419ms 23 1 1s346ms 1s346ms Apr 06 00 14 1m29s 6s412ms 01 36 2m43s 4s551ms 04 1 1s395ms 1s395ms 05 2 2s836ms 1s418ms 07 1 1s402ms 1s402ms 09 1 1s444ms 1s444ms 12 1 1s431ms 1s431ms 13 1 1s418ms 1s418ms 14 2 2s789ms 1s394ms 16 1 1s416ms 1s416ms 17 1 1s421ms 1s421ms 22 2 2s844ms 1s422ms 23 2 2s796ms 1s398ms [ User: pubeu - Total duration: 3m31s - Times executed: 85 ]
-
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-04-01 17:43:02 Duration: 9s150ms 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]', '#') = 'S' ORDER BY t.nm_sort LIMIT 100;
Date: 2024-04-06 01:10:54 Duration: 9s34ms 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-04-06 00:58:28 Duration: 8s981ms 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 8s408ms 8 1s3ms 1s124ms 1s51ms SELECT DISTINCT stressorTerm.nm as chemNm;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration Apr 06 17 4 4s23ms 1s5ms Apr 06 01 4 4s385ms 1s96ms -
SELECT DISTINCT stressorTerm.nm as chemNm;
Date: 2024-04-06 01:10:06 Duration: 1s124ms Database: postgres parameters: $1 = '1419064'
-
SELECT DISTINCT stressorTerm.nm as chemNm;
Date: 2024-04-06 01:02:06 Duration: 1s67ms Database: postgres parameters: $1 = '2055582'
-
SELECT DISTINCT stressorTerm.nm as chemNm;
Date: 2024-04-01 17:39:35 Duration: 1s7ms Database: postgres parameters: $1 = '1420577', $2 = '1420577', $3 = 'chem%'
2 0ms 214 0ms 0ms 0ms ;Times Reported Time consuming bind #2
Day Hour Count Duration Avg duration Mar 30 10 2 0ms 0ms 11 2 0ms 0ms 12 9 0ms 0ms 17 2 0ms 0ms Mar 31 03 2 0ms 0ms 06 2 0ms 0ms 07 16 0ms 0ms 08 18 0ms 0ms Apr 01 06 2 0ms 0ms 07 8 0ms 0ms 08 6 0ms 0ms 10 16 0ms 0ms 11 2 0ms 0ms 14 2 0ms 0ms 15 2 0ms 0ms 17 2 0ms 0ms Apr 02 00 2 0ms 0ms 13 2 0ms 0ms 16 6 0ms 0ms 17 6 0ms 0ms 20 10 0ms 0ms Apr 03 06 2 0ms 0ms 07 10 0ms 0ms 08 6 0ms 0ms 09 4 0ms 0ms 11 2 0ms 0ms 15 4 0ms 0ms Apr 04 06 2 0ms 0ms 07 4 0ms 0ms 08 2 0ms 0ms 09 4 0ms 0ms 12 2 0ms 0ms 17 2 0ms 0ms Apr 05 07 6 0ms 0ms 10 3 0ms 0ms 11 6 0ms 0ms 12 3 0ms 0ms 15 3 0ms 0ms Apr 06 01 30 0ms 0ms [ User: pubeu - Total duration: 3m17s - Times executed: 64 ]
-
;
Date: Duration: 0ms Database: postgres User: ctdprd51 Remote: pubeu parameters: $1 = '2055076'
-
Events
Log levels
Key values
- 416,679 Log entries
Events distribution
Key values
- 0 PANIC entries
- 926 FATAL entries
- 122 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 835 Max number of times the same event was reported
- 1,048 Total events found
Rank Times reported Error 1 835 FATAL: remaining connection slots are reserved for non-replication superuser connections
Times Reported Most Frequent Error / Event #1
Day Hour Count Apr 03 15 178 Apr 06 01 657 2 50 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #2
Day Hour Count Mar 31 00 4 01 1 13 2 23 24 Apr 01 00 1 17 5 18 1 Apr 02 06 1 Apr 05 02 1 10 1 Apr 06 01 9 - ERROR: could not send data to client: Broken pipe
- ERROR: could not send data to client: Broken pipe
- ERROR: could not send data to client: Broken pipe
Statement: SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = $1) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Date: 2024-03-31 23:47:34 Database: ctdprd51 Application: User: pubeu Remote:
Statement: SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id
Date: 2024-03-31 23:54:13 Database: ctdprd51 Application: User: pubeu Remote:
Statement: SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id)
Date: 2024-03-31 23:54:13 Database: ctdprd51 Application: User: pubeu Remote:
3 39 ERROR: remaining connection slots are reserved for non-replication superuser connections
Times Reported Most Frequent Error / Event #3
Day Hour Count Apr 03 15 15 Apr 06 01 24 - ERROR: remaining connection slots are reserved for non-replication superuser connections
- ERROR: remaining connection slots are reserved for non-replication superuser connections
- ERROR: remaining connection slots are reserved for non-replication superuser connections
Context: parallel worker
Statement: SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol ,g.nm_sort genesymbolsort ,g.acc_txt geneacc ,g.acc_db_cd geneaccdbcd ,g.id geneid ,COUNT(*) OVER() fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = $1 UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = $2 ) OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50Date: 2024-04-03 15:37:35
Context: parallel worker
Statement: 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 = $1 ) 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 = $2 ) and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like $3 ) 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 50Date: 2024-04-06 01:10:49 Database: ctdprd51 Application: User: pubeu Remote:
Context: parallel worker
Statement: SELECT /* ChemGenesDAO */ g.nm geneSymbol ,g.id geneId ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,COUNT(gcr.ixn_id) ixnCount ,COUNT(DISTINCT gcr.taxon_id) taxonCount ,COUNT(*) OVER() fullRowCount FROM gene_chem_reference gcr INNER JOIN term g ON gcr.gene_id = g.id WHERE gcr.chem_id IN(SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = $1) GROUP BY g.nm ,g.id ,g.acc_txt ,g.acc_db_cd ,g.nm_sort ORDER BY COUNT(gcr.ixn_id) DESC ,g.nm_sort LIMIT 50Date: 2024-04-06 01:10:51
4 36 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #4
Day Hour Count Mar 31 00 4 01 1 13 2 23 10 Apr 01 00 1 17 5 18 1 Apr 02 06 1 Apr 05 02 1 10 1 Apr 06 01 9 - FATAL: connection to client lost
- FATAL: connection to client lost
Statement: SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = $1) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Date: 2024-03-31 23:47:34
Statement: SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc
Date: 2024-03-31 23:54:13
5 25 FATAL: terminating background worker "..." due to administrator command
Times Reported Most Frequent Error / Event #5
Day Hour Count Apr 03 15 25 - FATAL: terminating background worker "parallel worker" due to administrator command
Statement: SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol ,g.nm_sort genesymbolsort ,g.acc_txt geneacc ,g.acc_db_cd geneaccdbcd ,g.id geneid ,COUNT(*) OVER() fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = $1 UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = $2 ) OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50
Date: 2024-04-03 15:37:35
6 17 FATAL: canceling authentication due to timeout
Times Reported Most Frequent Error / Event #6
Day Hour Count Apr 01 00 9 01 7 03 1 7 14 LOG: could not receive data from client: Connection timed out
Times Reported Most Frequent Error / Event #7
Day Hour Count Apr 01 22 2 Apr 02 13 6 Apr 03 22 5 Apr 05 20 1 8 7 ERROR: canceling statement due to user request
Times Reported Most Frequent Error / Event #8
Day Hour Count Mar 31 13 2 Apr 01 17 3 Apr 06 01 2 - ERROR: canceling statement due to user request
- ERROR: canceling statement due to user request
- ERROR: canceling statement due to user request
Statement: SELECT count(*) FROM pg_catalog.pg_stat_all_tables WHERE (n_dead_tup/(n_live_tup+n_dead_tup)::float8) > 0.2 AND (n_live_tup+n_dead_tup) > 50;
Date: 2024-03-31 13:09:31 Database: ctdprd51 Application: User: zbx_monitor Remote:
Statement: SELECT row_to_json(T) FROM ( SELECT CASE WHEN pg_is_in_recovery() THEN 0 ELSE pg_wal_lsn_diff(pg_current_wal_lsn(),'0/00000000') END AS WRITE, CASE WHEN NOT pg_is_in_recovery() THEN 0 ELSE pg_wal_lsn_diff(pg_last_wal_receive_lsn(),'0/00000000') END AS RECEIVE, count(*) FROM pg_ls_waldir() AS COUNT ) T;
Date: 2024-04-01 17:41:11
Statement: SELECT row_to_json (T) FROM ( SELECT checkpoints_timed , checkpoints_req , checkpoint_write_time , checkpoint_sync_time , buffers_checkpoint , buffers_clean , maxwritten_clean , buffers_backend , buffers_backend_fsync , buffers_alloc FROM pg_catalog.pg_stat_bgwriter ) T ;
Date: 2024-04-06 01:20:19
9 3 ERROR: syntax error in ts"..."
Times Reported Most Frequent Error / Event #9
Day Hour Count Apr 02 10 3 - ERROR: syntax error in ts"BISPHENOL A"
- ERROR: syntax error in ts"BISPHENOL A"
Statement: SELECT /* BasicCountsDAO gen */ ii.cd ,COUNT(ii.id) cnt FROM (SELECT ot.cd ,tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops',$1) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',$2) OR r.id IN (SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $3 ) ) UNION SELECT ot.cd ,l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper( l.acc_txt ) LIKE $4 ) ) ii GROUP BY ii.cd
Date: 2024-04-02 10:23:06
Statement: SELECT /* MeshBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm casRN ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isNameMatch ,t.has_genes hasGenes ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_phenotypes hasPhenotypes ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.acc_db_cd accdbcd ,t.has_exposures hasExposures 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 t.object_type_id = 2 AND l.object_type_id = 2 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 = 2 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* term acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm casRN ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,t.has_genes hasgenes ,t.has_chems haschems ,t.has_diseases hasdiseases ,t.has_phenotypes hasPhenotypes ,1 relevance ,t.nm_sort ,t.id ,t.acc_db_cd accdbcd ,t.has_exposures hasexposures FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 2 AND (upper( l.acc_txt ) = $3 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2024-04-02 10:26:15
10 2 FATAL: connection to client lost d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (...) FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (...) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Times Reported Most Frequent Error / Event #10
Day Hour Count Mar 31 23 2 - FATAL: connection to client lost d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = ) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Statement: SELECT /* DiseaseGeneAssnsDAO */
Date: 2024-03-31 23:54:13
11 2 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #11
Day Hour Count Apr 01 13 2 - ERROR: syntax error at or near "and" at character 55
- ERROR: syntax error at or near "and" at character 181
Statement: select * from exposure where exp_stressor_id > 0 && and exp_receptor_id > 0 && and exp_event_id > 0 && and exp_outcome_id > 0 && limit 100
Date: 2024-04-01 13:45:22 Database: ctdprd51 Application: pgAdmin 4 - CONN:1446741 User: edit Remote:
Statement: select reference_acc_txt, count(*) from ( select * from exposure where exp_stressor_id > 0 and exp_receptor_id > 0 and exp_event_id > 0 and exp_outcome_id > 0 ) as test and reference_acc_txt in ( select reference_acc_txt from pub1.reference_exp) group by reference_acc_txt order by count(*) desc limit 100
Date: 2024-04-01 13:51:11
12 2 ERROR: relation "..." does not exist
Times Reported Most Frequent Error / Event #12
Day Hour Count Apr 01 13 1 Apr 03 10 1 - ERROR: relation "edit.reference_exposure" does not exist at character 17
- ERROR: relation "pubx.term" does not exist at character 376
Statement: select * from edit.reference_exposure where reference_acc_txt = '38385684'
Date: 2024-04-01 13:48:52 Database: ctdprd51 Application: pgAdmin 4 - CONN:7243206 User: pub1 Remote:
Statement: -- This provides discrepancies introduced this month - it is NOT aggregate select nm as "Underlying Term Name" ,acc_txt as "Underlying Term Accession" ,synonym ,reference_acc_txt ,notes ,create_by ,create_tm from edit.term_label where ( acc_txt, object_type_id ) not in ( -- Current Month's PUB select acc_txt, object_type_id from pubX.term ) order by acc_txt
Date: 2024-04-03 10:07:02
13 2 FATAL: sorry, too many clients already
Times Reported Most Frequent Error / Event #13
Day Hour Count Apr 06 01 2 14 1 FATAL: WHERE p.ancestor_object_id = ) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (...) FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes
Times Reported Most Frequent Error / Event #14
Day Hour Count Mar 31 23 1 - FATAL: WHERE p.ancestor_object_id = ) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes
Statement: SELECT /* DiseaseGeneAssnsDAO */
Date: 2024-03-31 23:54:13
15 1 FATAL: ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (...) FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (...) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort d.nm diseaseNm
Times Reported Most Frequent Error / Event #15
Day Hour Count Mar 31 23 1 - FATAL: ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = ) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort d.nm diseaseNm
Statement: SELECT /* DiseaseGeneAssnsDAO */
Date: 2024-03-31 23:54:13
16 1 FATAL: ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (...) FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (...) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Times Reported Most Frequent Error / Event #16
Day Hour Count Mar 31 23 1 17 1 FATAL: WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (...) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount
Times Reported Most Frequent Error / Event #17
Day Hour Count Mar 31 23 1 - FATAL: WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = ) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount
Statement: SELECT /* DiseaseGeneAssnsDAO */
Date: 2024-03-31 23:54:13
18 1 ERROR: could not map dynamic shared memory segment
Times Reported Most Frequent Error / Event #18
Day Hour Count Apr 03 15 1 19 1 ERROR: subquery in FROM must have an alias
Times Reported Most Frequent Error / Event #19
Day Hour Count Apr 01 13 1 - ERROR: subquery in FROM must have an alias at character 41
Hint: For example, FROM (SELECT ...) [AS] foo.
Statement: select reference_acc_txt, count(*) from ( select * from exposure where exp_stressor_id > 0 and exp_receptor_id > 0 and exp_event_id > 0 and exp_outcome_id > 0 ) group by reference_acc_txt order by count(*) desc limit 100Date: 2024-04-01 13:47:35
20 1 FATAL: ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN
Times Reported Most Frequent Error / Event #20
Day Hour Count Mar 31 23 1 - FATAL: ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN
Statement: SELECT /* DiseaseGeneAssnsDAO */
Date: 2024-03-31 23:54:13
21 1 ERROR: remaining connection slots are reserved for non-replication superuser connections FROM (...) OVER() fullRowCount FROM term g WHERE g.id IN (...) OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50
Times Reported Most Frequent Error / Event #21
Day Hour Count Apr 03 15 1 - ERROR: remaining connection slots are reserved for non-replication superuser connections FROM ( SELECT g.nm genesymbol ,g.nm_sort genesymbolsort ,g.acc_txt geneacc ,g.acc_db_cd geneaccdbcd ,g.id geneid ,COUNT(*) OVER() fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = ) OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50
Context: parallel worker
Statement: SELECT /* TaxonGenesDAO */ *Date: 2024-04-03 15:37:45
22 1 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #22
Day Hour Count Apr 03 10 1 23 1 FATAL: connection to client lost d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (...) FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id
Times Reported Most Frequent Error / Event #23
Day Hour Count Mar 31 23 1 - FATAL: connection to client lost d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,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
Statement: SELECT /* DiseaseGeneAssnsDAO */
Date: 2024-03-31 23:54:13
24 1 FATAL: END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (...) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (...) FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id
Times Reported Most Frequent Error / Event #24
Day Hour Count Mar 31 23 1 - FATAL: END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = ) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id
Statement: SELECT /* DiseaseGeneAssnsDAO */
Date: 2024-03-31 23:54:13
25 1 FATAL: INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (...) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (...) FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (...) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Times Reported Most Frequent Error / Event #25
Day Hour Count Mar 31 23 1 - FATAL: INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = ) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = ) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Statement: SELECT /* DiseaseGeneAssnsDAO */
Date: 2024-03-31 23:54:13
26 1 FATAL: connection to client lost d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (...) FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (...) ORDER BY actionTypes
Times Reported Most Frequent Error / Event #26
Day Hour Count Mar 31 23 1 - FATAL: connection to client lost d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = ) ORDER BY actionTypes
Statement: SELECT /* DiseaseGeneAssnsDAO */
Date: 2024-03-31 23:54:19
27 1 ERROR: invalid byte sequence for encoding
Times Reported Most Frequent Error / Event #27
Day Hour Count Apr 05 03 1 - ERROR: invalid byte sequence for encoding "UTF8": 0x00
Context: unnamed portal parameter $1
Statement: SELECT /* GeneIdBySymbolAccDAO */ t.id ,t.nm ,t.nm_sort nmSort ,t.acc_txt acc ,t.acc_db_cd accDbCd FROM term t ,(SELECT li.term_id FROM term_label li INNER JOIN term_label_type lti ON li.term_label_type_id = lti.id AND li.object_type_id = lti.object_type_id AND UPPER(li.nm) = $1 AND lti.object_type_id = 4 AND lti.nm = 'SYMBOL' UNION SELECT l.object_id FROM db_link l WHERE l.acc_txt = $2 AND l.object_type_id = 4 AND l.type_cd = 'A') ids WHERE t.id = ids.term_id ORDER BY CASE WHEN UPPER(t.nm) = $3 THEN 1 ELSE 2 END ,t.nm_sortDate: 2024-04-05 03:24:10 Database: ctdprd51 Application: User: pubeu Remote: