-
Global information
- Generated on Sun Aug 18 04:15:10 2024
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20240817
- Parsed 171,109 log entries in 9s
- Log start from 2024-08-11 00:00:01 to 2024-08-17 23:59:10
-
Overview
Global Stats
- 290 Number of unique normalized queries
- 5,445 Number of queries
- 1d19h35m38s Total query duration
- 2024-08-11 00:01:06 First query
- 2024-08-17 23:58:18 Last query
- 11 queries/s at 2024-08-16 04:51:35 Query peak
- 1d19h35m38s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 1d19h35m38s Execute total duration
- 17 Number of events
- 6 Number of unique normalized events
- 6 Max number of times the same event was reported
- 0 Number of cancellation
- 39 Total number of automatic vacuums
- 143 Total number of automatic analyzes
- 0 Number temporary file
- 0 Max size of temporary file
- 0.00 B Average size of temporary file
- 16,979 Total number of sessions
- 59 sessions at 2024-08-15 23:21:42 Session peak
- 282d4h59m46s Total duration of sessions
- 23m56s Average duration of sessions
- 0 Average queries per session
- 9s243ms Average queries duration per session
- 23m46s Average idle time per session
- 16,979 Total number of connections
- 18 connections/s at 2024-08-12 05:09:46 Connection peak
- 2 Total number of databases
SQL Traffic
Key values
- 11 queries/s Query Peak
- 2024-08-16 04:51:35 Date
SELECT Traffic
Key values
- 11 queries/s Query Peak
- 2024-08-16 04:51:35 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1 queries/s Query Peak
- 2024-08-12 14:00:16 Date
Queries duration
Key values
- 1d19h35m38s 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) Aug 11 00 20 0ms 16m26s 51s999ms 5s673ms 9s37ms 16m31s 01 14 0ms 2m52s 14s500ms 3s876ms 5s153ms 2m52s 02 6 0ms 5s389ms 1s869ms 1s134ms 1s260ms 7s628ms 03 9 0ms 6s944ms 2s63ms 1s360ms 3s284ms 6s944ms 04 12 0ms 5s44ms 2s443ms 3s577ms 3s843ms 7s358ms 05 51 0ms 7s117ms 2s472ms 14s790ms 22s728ms 22s936ms 06 17 0ms 33s452ms 6s948ms 1s861ms 9s583ms 54s46ms 07 9 0ms 3s945ms 1s779ms 1s344ms 2s536ms 5s114ms 08 12 0ms 7s174ms 3s48ms 1s360ms 5s201ms 14s341ms 09 10 0ms 5s70ms 1s894ms 1s190ms 2s317ms 6s596ms 10 21 0ms 33s333ms 5s943ms 7s227ms 14s817ms 41s318ms 11 12 0ms 10s93ms 2s40ms 1s481ms 3s335ms 10s93ms 12 3 0ms 1s348ms 1s152ms 0ms 1s7ms 1s348ms 13 10 0ms 5s321ms 2s850ms 1s230ms 2s521ms 15s784ms 14 15 0ms 33s490ms 7s761ms 3s906ms 9s543ms 53s872ms 15 10 0ms 5s123ms 2s765ms 3s710ms 4s5ms 8s287ms 16 4 0ms 4s274ms 3s450ms 0ms 4s274ms 7s988ms 17 6 0ms 3s959ms 3s60ms 1s301ms 3s823ms 7s905ms 18 20 0ms 33s338ms 5s436ms 2s813ms 9s528ms 42s865ms 19 8 0ms 5s194ms 2s128ms 1s366ms 1s452ms 9s189ms 20 15 0ms 46s710ms 30s897ms 45s453ms 49s123ms 1m31s 21 77 1s377ms 46s927ms 44s444ms 1m31s 1m32s 1m32s 22 87 1s127ms 47s49ms 40s154ms 1m31s 1m32s 1m35s 23 91 1s16ms 46s965ms 38s437ms 1m32s 1m33s 1m36s Aug 12 00 109 1s23ms 16m24s 41s908ms 1m32s 1m40s 17m16s 01 90 1s56ms 49s833ms 38s897ms 1m32s 1m33s 1m53s 02 86 1s176ms 47s70ms 40s364ms 1m31s 1m32s 1m34s 03 93 1s25ms 50s623ms 37s590ms 1m33s 1m33s 1m38s 04 92 1s58ms 47s782ms 38s487ms 1m32s 1m33s 1m39s 05 108 0ms 52s466ms 20s339ms 1m31s 1m32s 1m40s 06 20 0ms 33s436ms 5s602ms 4s130ms 9s533ms 46s471ms 07 7 0ms 3s986ms 2s129ms 1s204ms 2s192ms 5s132ms 08 81 0ms 47s866ms 40s249ms 1m31s 1m33s 1m34s 09 94 1s40ms 47s126ms 36s762ms 1m33s 1m33s 1m37s 10 99 1s66ms 47s754ms 36s390ms 1m33s 1m41s 2m12s 11 85 1s35ms 47s203ms 40s509ms 1m32s 1m33s 1m38s 12 78 1s157ms 47s434ms 44s491ms 1m32s 1m33s 1m33s 13 78 1s127ms 47s285ms 44s498ms 1m32s 1m32s 1m33s 14 94 1s28ms 47s996ms 37s695ms 1m32s 1m32s 1m40s 15 87 1s107ms 47s618ms 40s456ms 1m33s 1m33s 1m34s 16 85 0ms 47s718ms 40s185ms 1m33s 1m34s 1m38s 17 79 1s108ms 47s654ms 43s617ms 1m33s 1m33s 1m36s 18 97 1s13ms 47s751ms 36s853ms 1m33s 1m41s 2m14s 19 79 1s104ms 47s649ms 44s168ms 1m32s 1m33s 1m35s 20 81 1s142ms 48s11ms 42s603ms 1m33s 1m33s 1m33s 21 82 1s108ms 48s67ms 42s229ms 1m33s 1m33s 1m34s 22 90 1s105ms 47s716ms 38s941ms 1m33s 1m36s 1m38s 23 82 1s92ms 48s272ms 42s464ms 1m33s 1m34s 1m35s Aug 13 00 92 1s93ms 16m28s 48s712ms 1m34s 1m34s 17m21s 01 88 1s128ms 48s401ms 39s399ms 1m33s 1m36s 1m38s 02 85 1s106ms 48s142ms 40s994ms 1m34s 1m35s 1m36s 03 83 1s116ms 48s548ms 41s409ms 1m34s 1m34s 1m36s 04 89 1s108ms 48s190ms 39s599ms 1m33s 1m35s 1m37s 05 102 0ms 48s151ms 21s536ms 1m33s 1m34s 1m36s 06 16 0ms 33s414ms 6s97ms 1s920ms 3s912ms 41s398ms 07 8 0ms 6s762ms 2s915ms 1s177ms 3s920ms 6s762ms 08 15 0ms 14s996ms 3s175ms 3s900ms 6s212ms 14s996ms 09 8 0ms 4s17ms 2s328ms 1s345ms 4s17ms 5s854ms 10 17 0ms 33s629ms 6s999ms 3s857ms 9s561ms 53s999ms 11 11 0ms 3s953ms 1s878ms 1s369ms 2s575ms 3s953ms 12 10 0ms 3s925ms 2s136ms 2s293ms 3s914ms 3s925ms 13 26 0ms 1m54s 8s988ms 7s974ms 32s48ms 1m54s 14 38 0ms 33s374ms 5s679ms 12s180ms 36s847ms 54s151ms 15 14 0ms 1m14s 8s887ms 3s990ms 11s710ms 1m14s 16 7 0ms 2s449ms 1s681ms 1s369ms 1s651ms 2s449ms 17 14 0ms 13s634ms 2s716ms 2s916ms 3s983ms 13s634ms 18 18 0ms 33s518ms 7s481ms 4s785ms 15s178ms 54s69ms 19 4 0ms 3s114ms 1s662ms 1s169ms 1s183ms 3s114ms 20 8 0ms 3s836ms 1s544ms 1s215ms 1s292ms 3s836ms 21 86 0ms 47s903ms 34s751ms 1m33s 1m34s 1m39s 22 79 1s67ms 48s552ms 43s655ms 1m34s 1m35s 1m38s 23 89 1s148ms 48s674ms 39s375ms 1m34s 1m35s 1m38s Aug 14 00 88 1s109ms 16m25s 50s584ms 1m34s 1m34s 18m4s 01 90 1s59ms 51s794ms 39s156ms 1m36s 1m37s 1m59s 02 85 1s80ms 50s86ms 40s686ms 1m37s 1m37s 1m43s 03 81 1s127ms 50s902ms 43s238ms 1m36s 1m37s 1m38s 04 86 1s136ms 50s296ms 40s252ms 1m35s 1m36s 1m38s 05 105 0ms 48s321ms 21s52ms 1m35s 1m36s 1m40s 06 13 0ms 33s459ms 8s397ms 1s20ms 9s559ms 54s304ms 07 10 0ms 5s286ms 2s55ms 1s136ms 1s194ms 8s443ms 08 13 0ms 4s72ms 2s81ms 2s846ms 3s868ms 5s378ms 09 13 0ms 10s487ms 2s119ms 1s444ms 2s540ms 10s487ms 10 16 0ms 33s502ms 7s25ms 1s635ms 9s532ms 53s885ms 11 21 0ms 4s362ms 1s696ms 1s279ms 3s440ms 15s111ms 12 10 0ms 3s961ms 2s252ms 2s30ms 3s940ms 5s161ms 13 7 0ms 3s645ms 1s588ms 1s182ms 1s336ms 3s645ms 14 21 0ms 33s522ms 6s221ms 4s136ms 9s582ms 53s983ms 15 7 0ms 3s970ms 2s495ms 1s351ms 3s910ms 3s970ms 16 9 0ms 4s42ms 3s10ms 3s878ms 3s929ms 7s939ms 17 5 0ms 3s981ms 2s309ms 1s182ms 1s251ms 3s981ms 18 20 0ms 33s453ms 6s797ms 5s69ms 9s609ms 54s76ms 19 4 0ms 36s689ms 10s102ms 1s145ms 1s396ms 36s689ms 20 9 0ms 1s426ms 1s248ms 1s268ms 1s383ms 1s426ms 21 12 0ms 10s100ms 2s550ms 3s226ms 7s169ms 10s100ms 22 6 0ms 2m17s 24s706ms 0ms 1s445ms 2m20s 23 4 0ms 3s983ms 2s582ms 0ms 1s276ms 3s983ms Aug 15 00 14 0ms 16m25s 3m41s 2s682ms 11m29s 23m22s 01 9 0ms 7s294ms 2s317ms 1s623ms 2s326ms 7s294ms 02 13 0ms 4s42ms 1s702ms 2s297ms 2s663ms 5s172ms 03 18 0ms 7s482ms 2s428ms 3s868ms 5s582ms 7s482ms 04 12 0ms 5s185ms 2s784ms 3s929ms 5s185ms 7s884ms 05 56 0ms 1m53s 4s85ms 14s641ms 22s974ms 1m53s 06 18 0ms 33s440ms 5s428ms 4s48ms 9s540ms 41s444ms 07 9 0ms 3s811ms 1s611ms 1s147ms 1s286ms 3s811ms 08 12 0ms 3s953ms 2s563ms 1s394ms 3s877ms 7s882ms 09 10 0ms 5s502ms 3s302ms 1s185ms 5s238ms 10s719ms 10 21 0ms 33s575ms 6s541ms 3s857ms 13s805ms 58s135ms 11 15 0ms 4s888ms 2s285ms 3s889ms 4s888ms 5s401ms 12 8 0ms 4s408ms 1s597ms 1s181ms 1s240ms 4s408ms 13 6 0ms 1s478ms 1s265ms 1s107ms 1s189ms 2s794ms 14 17 0ms 33s519ms 6s832ms 2s811ms 41s524ms 53s984ms 15 12 0ms 1m12s 8s646ms 1s404ms 2s365ms 1m27s 16 6 0ms 3s821ms 2s78ms 1s453ms 1s676ms 3s821ms 17 5 0ms 53s493ms 14s145ms 4s99ms 6s569ms 53s493ms 18 21 0ms 33s414ms 6s204ms 3s989ms 9s526ms 54s107ms 19 203 0ms 1m12s 3s248ms 1m15s 1m33s 1m54s 20 14 0ms 5s300ms 2s771ms 3s152ms 5s300ms 6s377ms 21 7 0ms 14s536ms 3s161ms 1s280ms 1s339ms 14s536ms 22 11 0ms 5s113ms 1s858ms 1s198ms 2s246ms 6s452ms 23 19 0ms 12s314ms 1s906ms 2s36ms 10s743ms 12s314ms Aug 16 00 5 0ms 16m30s 3m20s 1s319ms 6s451ms 16m35s 01 9 0ms 4s2ms 2s245ms 1s559ms 3s867ms 5s272ms 02 9 0ms 4s110ms 2s831ms 3s431ms 4s16ms 4s110ms 03 8 0ms 5s404ms 3s317ms 1s424ms 4s220ms 10s453ms 04 33 0ms 10s255ms 2s759ms 3s300ms 3s918ms 57s361ms 05 48 0ms 5s487ms 2s321ms 5s453ms 14s851ms 26s563ms 06 19 0ms 33s470ms 6s751ms 3s951ms 9s526ms 54s136ms 07 11 0ms 3s958ms 1s923ms 1s253ms 3s953ms 5s16ms 08 6 0ms 4s699ms 1s792ms 1s184ms 2s358ms 4s699ms 09 6 0ms 43s11ms 9s595ms 1s701ms 3s842ms 43s11ms 10 22 0ms 33s509ms 6s398ms 4s8ms 21s534ms 53s919ms 11 10 0ms 6s668ms 3s153ms 3s847ms 5s350ms 6s668ms 12 8 0ms 5s507ms 2s502ms 1s572ms 3s932ms 5s507ms 13 6 0ms 4s29ms 2s378ms 0ms 2s371ms 6s802ms 14 17 0ms 33s509ms 7s490ms 9s544ms 41s531ms 54s11ms 15 14 0ms 1s295ms 1s159ms 2s254ms 2s421ms 3s377ms 16 5 0ms 43s151ms 10s126ms 1s184ms 4s59ms 43s151ms 17 8 0ms 1s952ms 1s399ms 1s273ms 1s952ms 4s264ms 18 16 0ms 33s529ms 7s372ms 2s596ms 9s487ms 53s897ms 19 4 0ms 5s977ms 2s435ms 1s181ms 1s300ms 5s977ms 20 7 0ms 5s21ms 2s265ms 1s415ms 1s615ms 5s21ms 21 5 0ms 5s234ms 2s438ms 1s213ms 3s153ms 5s234ms 22 8 0ms 5s144ms 3s244ms 4s147ms 5s82ms 5s144ms 23 36 0ms 10s251ms 2s993ms 6s781ms 13s925ms 24s768ms Aug 17 00 20 0ms 16m25s 55s340ms 3s40ms 21s274ms 16m30s 01 2 0ms 1s385ms 1s337ms 0ms 1s290ms 1s385ms 02 9 0ms 3s981ms 2s148ms 1s326ms 3s864ms 3s981ms 03 11 0ms 12s157ms 3s232ms 3s952ms 3s974ms 12s157ms 04 10 0ms 2s73ms 1s354ms 1s195ms 1s885ms 3s726ms 05 54 0ms 5s206ms 2s301ms 13s758ms 22s425ms 26s489ms 06 21 0ms 5s748ms 2s915ms 4s75ms 13s116ms 30s878ms 07 8 0ms 10s436ms 3s205ms 2s99ms 3s955ms 11s462ms 08 6 0ms 3m1s 31s747ms 1s186ms 2s107ms 3m1s 09 5 0ms 5s355ms 3s83ms 1s38ms 3s898ms 5s355ms 10 12 0ms 6s263ms 2s521ms 2s893ms 3s282ms 6s263ms 11 5 0ms 4s990ms 2s111ms 1s421ms 2s448ms 4s990ms 12 2 0ms 4s43ms 2s665ms 0ms 1s287ms 4s43ms 13 11 0ms 5s151ms 2s677ms 1s296ms 3s763ms 14s311ms 14 6 0ms 3s953ms 2s546ms 1s184ms 3s874ms 3s953ms 15 18 0ms 11s526ms 3s395ms 3s986ms 4s216ms 15s565ms 16 6 0ms 3s857ms 1s954ms 1s355ms 1s538ms 3s857ms 17 10 0ms 5s52ms 1s665ms 1s515ms 2s509ms 5s52ms 18 34 0ms 1m10s 12s143ms 53s770ms 1m1s 1m10s 19 56 0ms 23m37s 1m25s 2m10s 7m9s 23m40s 20 7 0ms 7s970ms 2s123ms 1s117ms 1s244ms 7s970ms 21 9 0ms 4s51ms 2s285ms 2s286ms 3s885ms 4s300ms 22 5 0ms 14s102ms 4s556ms 0ms 2s472ms 14s102ms 23 5 0ms 2s234ms 1s546ms 1s20ms 1s186ms 2s234ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Aug 11 00 19 0 54s476ms 3s680ms 5s673ms 16m26s 01 14 0 14s500ms 2s568ms 3s876ms 2m52s 02 6 0 1s869ms 0ms 1s134ms 7s628ms 03 9 0 2s63ms 1s16ms 1s360ms 6s944ms 04 12 0 2s443ms 1s21ms 3s577ms 7s358ms 05 47 0 2s496ms 6s118ms 14s790ms 22s936ms 06 6 10 7s266ms 1s172ms 1s353ms 54s46ms 07 9 0 1s779ms 0ms 1s344ms 5s114ms 08 12 0 3s48ms 0ms 1s360ms 8s136ms 09 10 0 1s894ms 0ms 1s190ms 6s255ms 10 13 8 5s943ms 2s359ms 7s227ms 41s318ms 11 12 0 2s40ms 0ms 1s481ms 10s93ms 12 3 0 1s152ms 0ms 0ms 1s348ms 13 10 0 2s850ms 0ms 1s230ms 15s784ms 14 5 10 7s761ms 0ms 3s906ms 53s872ms 15 10 0 2s765ms 0ms 3s710ms 8s287ms 16 4 0 3s450ms 0ms 0ms 7s988ms 17 6 0 3s60ms 0ms 1s301ms 7s905ms 18 11 9 5s436ms 1s449ms 2s813ms 41s304ms 19 8 0 2s128ms 0ms 1s366ms 9s189ms 20 15 0 30s897ms 1s168ms 45s453ms 1m29s 21 77 0 44s444ms 1m30s 1m31s 1m32s 22 87 0 40s154ms 1m30s 1m31s 1m32s 23 91 0 38s437ms 1m31s 1m32s 1m35s Aug 12 00 108 0 42s250ms 1m31s 1m32s 1m56s 01 90 0 38s897ms 1m31s 1m32s 1m42s 02 86 0 40s364ms 1m31s 1m31s 1m32s 03 93 0 37s590ms 1m31s 1m33s 1m33s 04 92 0 38s487ms 1m31s 1m32s 1m35s 05 102 0 21s384ms 51s73ms 1m31s 1m36s 06 12 8 5s602ms 2s9ms 4s161ms 41s419ms 07 7 0 2s129ms 0ms 1s204ms 5s132ms 08 81 0 40s249ms 1m30s 1m31s 1m34s 09 94 0 36s762ms 1m31s 1m33s 1m36s 10 89 10 36s390ms 1m31s 1m33s 1m34s 11 85 0 40s509ms 1m31s 1m32s 1m33s 12 78 0 44s491ms 1m31s 1m32s 1m33s 13 78 0 44s498ms 1m31s 1m32s 1m33s 14 84 10 37s695ms 1m31s 1m32s 1m32s 15 87 0 40s456ms 1m32s 1m33s 1m33s 16 85 0 40s185ms 1m32s 1m33s 1m34s 17 79 0 43s617ms 1m32s 1m33s 1m34s 18 87 10 36s853ms 1m32s 1m32s 1m34s 19 79 0 44s168ms 1m32s 1m32s 1m33s 20 81 0 42s603ms 1m31s 1m33s 1m33s 21 82 0 42s229ms 1m32s 1m33s 1m34s 22 90 0 38s941ms 1m33s 1m33s 1m37s 23 82 0 42s464ms 1m32s 1m33s 1m35s Aug 13 00 91 0 49s192ms 1m33s 1m34s 1m35s 01 88 0 39s399ms 1m33s 1m33s 1m36s 02 85 0 40s994ms 1m33s 1m34s 1m35s 03 83 0 41s409ms 1m32s 1m34s 1m34s 04 89 0 39s599ms 1m32s 1m33s 1m35s 05 98 0 22s326ms 51s96ms 1m33s 1m35s 06 9 7 6s97ms 1s114ms 1s920ms 35s13ms 07 8 0 2s915ms 0ms 1s177ms 5s204ms 08 15 0 3s175ms 1s203ms 3s900ms 14s996ms 09 8 0 2s328ms 0ms 1s345ms 5s854ms 10 7 10 6s999ms 1s167ms 3s857ms 53s999ms 11 11 0 1s878ms 0ms 1s369ms 3s870ms 12 10 0 2s136ms 1s132ms 2s293ms 3s925ms 13 26 0 8s988ms 1s207ms 7s974ms 1m54s 14 28 10 5s679ms 5s391ms 12s180ms 54s151ms 15 14 0 8s887ms 1s126ms 3s990ms 1m14s 16 7 0 1s681ms 0ms 1s369ms 2s449ms 17 14 0 2s716ms 1s186ms 2s916ms 13s634ms 18 8 10 7s481ms 1s249ms 4s785ms 54s69ms 19 4 0 1s662ms 0ms 1s169ms 3s114ms 20 8 0 1s544ms 0ms 1s215ms 3s836ms 21 86 0 34s751ms 54s690ms 1m33s 1m34s 22 79 0 43s655ms 1m33s 1m34s 1m35s 23 89 0 39s375ms 1m33s 1m34s 1m37s Aug 14 00 87 0 51s109ms 1m33s 1m34s 1m35s 01 90 0 39s156ms 1m34s 1m36s 1m41s 02 85 0 40s686ms 52s235ms 1m37s 1m38s 03 81 0 43s238ms 1m35s 1m36s 1m37s 04 86 0 40s252ms 1m32s 1m35s 1m36s 05 101 0 21s799ms 48s717ms 1m35s 1m38s 06 3 10 8s397ms 0ms 1s20ms 41s442ms 07 10 0 2s55ms 0ms 1s136ms 5s286ms 08 13 0 2s81ms 1s203ms 2s846ms 5s378ms 09 13 0 2s119ms 1s116ms 1s444ms 2s666ms 10 6 10 7s25ms 0ms 1s635ms 53s885ms 11 21 0 1s696ms 1s125ms 1s279ms 4s362ms 12 8 0 2s339ms 0ms 2s30ms 5s161ms 13 7 0 1s588ms 0ms 1s182ms 3s645ms 14 11 10 6s221ms 2s443ms 4s136ms 53s983ms 15 7 0 2s495ms 0ms 1s351ms 3s970ms 16 9 0 3s10ms 0ms 3s878ms 7s939ms 17 5 0 2s309ms 0ms 1s182ms 3s981ms 18 10 10 6s797ms 1s195ms 5s69ms 54s76ms 19 4 0 10s102ms 0ms 1s145ms 36s689ms 20 9 0 1s248ms 1s160ms 1s268ms 1s426ms 21 11 0 2s489ms 0ms 1s565ms 10s100ms 22 6 0 24s706ms 0ms 0ms 2m20s 23 4 0 2s582ms 0ms 0ms 3s983ms Aug 15 00 13 0 3m57s 1s177ms 2s682ms 23m22s 01 9 0 2s317ms 0ms 1s623ms 7s294ms 02 13 0 1s702ms 1s120ms 2s297ms 5s172ms 03 18 0 2s428ms 1s450ms 3s868ms 7s482ms 04 12 0 2s784ms 1s161ms 3s929ms 7s884ms 05 52 0 4s230ms 2s656ms 14s641ms 1m53s 06 9 7 5s698ms 1s173ms 4s41ms 41s444ms 07 9 0 1s611ms 0ms 1s147ms 2s469ms 08 12 0 2s563ms 0ms 1s394ms 5s270ms 09 10 0 3s302ms 0ms 1s185ms 5s502ms 10 11 10 6s541ms 1s368ms 4s202ms 41s614ms 11 15 0 2s285ms 1s225ms 3s889ms 5s401ms 12 8 0 1s597ms 0ms 1s181ms 1s301ms 13 6 0 1s265ms 0ms 1s107ms 2s794ms 14 7 10 6s832ms 1s188ms 2s811ms 53s984ms 15 12 0 8s646ms 1s173ms 1s404ms 1m27s 16 6 0 2s78ms 0ms 1s453ms 3s821ms 17 5 0 14s145ms 0ms 4s99ms 53s493ms 18 11 10 6s204ms 1s567ms 3s989ms 54s107ms 19 203 0 3s248ms 14s347ms 1m15s 1m54s 20 14 0 2s771ms 2s867ms 3s152ms 6s377ms 21 7 0 3s161ms 0ms 1s280ms 14s536ms 22 11 0 1s858ms 1s62ms 1s198ms 6s452ms 23 19 0 1s906ms 1s215ms 2s36ms 12s314ms Aug 16 00 4 0 4m9s 0ms 1s319ms 16m30s 01 9 0 2s245ms 0ms 1s559ms 5s272ms 02 9 0 2s831ms 1s142ms 3s431ms 4s110ms 03 8 0 3s317ms 0ms 1s424ms 10s453ms 04 33 0 2s759ms 1s192ms 3s300ms 57s361ms 05 45 0 2s308ms 1s87ms 5s453ms 23s64ms 06 9 10 6s751ms 1s69ms 3s951ms 41s463ms 07 11 0 1s923ms 0ms 1s253ms 5s16ms 08 6 0 1s792ms 0ms 1s184ms 4s699ms 09 6 0 9s595ms 0ms 1s701ms 43s11ms 10 13 9 6s398ms 1s316ms 4s8ms 53s919ms 11 10 0 3s153ms 1s104ms 3s847ms 6s668ms 12 8 0 2s502ms 0ms 1s572ms 5s507ms 13 6 0 2s378ms 0ms 0ms 6s802ms 14 7 10 7s490ms 1s443ms 9s544ms 54s11ms 15 14 0 1s159ms 0ms 2s254ms 3s377ms 16 5 0 10s126ms 0ms 1s184ms 43s151ms 17 8 0 1s399ms 0ms 1s273ms 4s264ms 18 6 10 7s372ms 1s171ms 2s596ms 53s897ms 19 4 0 2s435ms 0ms 1s181ms 5s977ms 20 7 0 2s265ms 0ms 1s415ms 5s21ms 21 5 0 2s438ms 0ms 1s213ms 5s234ms 22 8 0 3s244ms 1s152ms 4s147ms 5s144ms 23 36 0 2s993ms 2s692ms 6s781ms 24s768ms Aug 17 00 19 0 57s986ms 0ms 3s40ms 16m25s 01 2 0 1s337ms 0ms 0ms 1s385ms 02 9 0 2s148ms 0ms 1s326ms 3s981ms 03 11 0 3s232ms 1s62ms 3s952ms 12s157ms 04 10 0 1s354ms 0ms 1s195ms 3s726ms 05 51 0 2s289ms 2s357ms 13s758ms 26s489ms 06 21 0 2s915ms 1s206ms 4s75ms 30s878ms 07 7 0 3s388ms 0ms 2s99ms 11s462ms 08 6 0 31s747ms 0ms 1s186ms 2s442ms 09 5 0 3s83ms 0ms 1s38ms 5s355ms 10 12 0 2s521ms 1s184ms 2s893ms 6s263ms 11 5 0 2s111ms 0ms 1s421ms 4s990ms 12 2 0 2s665ms 0ms 0ms 4s43ms 13 11 0 2s677ms 0ms 1s296ms 14s311ms 14 6 0 2s546ms 0ms 1s184ms 3s953ms 15 18 0 3s395ms 3s911ms 3s986ms 15s565ms 16 6 0 1s954ms 0ms 1s355ms 3s857ms 17 10 0 1s665ms 1s177ms 1s515ms 5s52ms 18 9 25 12s143ms 3s975ms 53s770ms 1m10s 19 9 47 1m25s 1m21s 2m10s 23m40s 20 7 0 2s123ms 0ms 1s117ms 7s970ms 21 9 0 2s285ms 0ms 2s286ms 4s300ms 22 5 0 4s556ms 0ms 0ms 14s102ms 23 5 0 1s546ms 0ms 1s20ms 2s234ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Aug 11 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Aug 12 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Aug 13 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Aug 14 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Aug 15 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 Aug 16 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 Aug 17 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 Aug 11 00 0 18 18.00 0.00% 01 0 14 14.00 0.00% 02 0 6 6.00 0.00% 03 0 9 9.00 0.00% 04 0 12 12.00 0.00% 05 0 51 51.00 0.00% 06 0 7 7.00 0.00% 07 0 9 9.00 0.00% 08 0 14 14.00 0.00% 09 0 10 10.00 0.00% 10 0 14 14.00 0.00% 11 0 12 12.00 0.00% 12 0 3 3.00 0.00% 13 0 10 10.00 0.00% 14 0 5 5.00 0.00% 15 0 10 10.00 0.00% 16 0 4 4.00 0.00% 17 0 8 8.00 0.00% 18 0 12 12.00 0.00% 19 0 8 8.00 0.00% 20 0 18 18.00 0.00% 21 0 77 77.00 0.00% 22 0 87 87.00 0.00% 23 0 91 91.00 0.00% Aug 12 00 0 108 108.00 0.00% 01 0 90 90.00 0.00% 02 0 86 86.00 0.00% 03 0 93 93.00 0.00% 04 0 92 92.00 0.00% 05 0 108 108.00 0.00% 06 0 15 15.00 0.00% 07 0 7 7.00 0.00% 08 0 81 81.00 0.00% 09 0 94 94.00 0.00% 10 0 90 90.00 0.00% 11 0 85 85.00 0.00% 12 0 78 78.00 0.00% 13 0 78 78.00 0.00% 14 0 84 84.00 0.00% 15 0 87 87.00 0.00% 16 0 86 86.00 0.00% 17 0 79 79.00 0.00% 18 0 87 87.00 0.00% 19 0 79 79.00 0.00% 20 0 81 81.00 0.00% 21 0 82 82.00 0.00% 22 0 90 90.00 0.00% 23 0 82 82.00 0.00% Aug 13 00 0 90 90.00 0.00% 01 0 88 88.00 0.00% 02 0 85 85.00 0.00% 03 0 83 83.00 0.00% 04 0 89 89.00 0.00% 05 0 102 102.00 0.00% 06 0 10 10.00 0.00% 07 0 13 13.00 0.00% 08 0 15 15.00 0.00% 09 0 8 8.00 0.00% 10 0 7 7.00 0.00% 11 0 11 11.00 0.00% 12 0 10 10.00 0.00% 13 0 26 26.00 0.00% 14 0 28 28.00 0.00% 15 0 14 14.00 0.00% 16 0 7 7.00 0.00% 17 0 14 14.00 0.00% 18 0 8 8.00 0.00% 19 0 4 4.00 0.00% 20 0 8 8.00 0.00% 21 0 86 86.00 0.00% 22 0 79 79.00 0.00% 23 0 89 89.00 0.00% Aug 14 00 0 86 86.00 0.00% 01 0 90 90.00 0.00% 02 0 85 85.00 0.00% 03 0 81 81.00 0.00% 04 0 86 86.00 0.00% 05 0 105 105.00 0.00% 06 0 3 3.00 0.00% 07 0 13 13.00 0.00% 08 0 13 13.00 0.00% 09 0 13 13.00 0.00% 10 0 6 6.00 0.00% 11 0 22 22.00 0.00% 12 0 10 10.00 0.00% 13 0 7 7.00 0.00% 14 0 11 11.00 0.00% 15 0 7 7.00 0.00% 16 0 10 10.00 0.00% 17 0 5 5.00 0.00% 18 0 10 10.00 0.00% 19 0 4 4.00 0.00% 20 0 9 9.00 0.00% 21 0 12 12.00 0.00% 22 0 6 6.00 0.00% 23 0 4 4.00 0.00% Aug 15 00 0 12 12.00 0.00% 01 0 9 9.00 0.00% 02 0 13 13.00 0.00% 03 0 18 18.00 0.00% 04 0 12 12.00 0.00% 05 0 56 56.00 0.00% 06 0 14 14.00 0.00% 07 0 12 12.00 0.00% 08 0 12 12.00 0.00% 09 0 10 10.00 0.00% 10 0 11 11.00 0.00% 11 0 15 15.00 0.00% 12 0 10 10.00 0.00% 13 0 6 6.00 0.00% 14 0 7 7.00 0.00% 15 0 12 12.00 0.00% 16 0 6 6.00 0.00% 17 0 5 5.00 0.00% 18 0 11 11.00 0.00% 19 0 203 203.00 0.00% 20 0 14 14.00 0.00% 21 0 7 7.00 0.00% 22 0 11 11.00 0.00% 23 0 19 19.00 0.00% Aug 16 00 0 3 3.00 0.00% 01 0 9 9.00 0.00% 02 0 9 9.00 0.00% 03 0 8 8.00 0.00% 04 0 33 33.00 0.00% 05 0 48 48.00 0.00% 06 0 13 13.00 0.00% 07 0 16 16.00 0.00% 08 0 6 6.00 0.00% 09 0 6 6.00 0.00% 10 0 13 13.00 0.00% 11 0 11 11.00 0.00% 12 0 8 8.00 0.00% 13 0 7 7.00 0.00% 14 0 7 7.00 0.00% 15 0 14 14.00 0.00% 16 0 4 4.00 0.00% 17 0 8 8.00 0.00% 18 0 6 6.00 0.00% 19 0 4 4.00 0.00% 20 0 7 7.00 0.00% 21 0 5 5.00 0.00% 22 0 8 8.00 0.00% 23 0 36 36.00 0.00% Aug 17 00 0 19 19.00 0.00% 01 0 2 2.00 0.00% 02 0 9 9.00 0.00% 03 0 11 11.00 0.00% 04 0 10 10.00 0.00% 05 0 54 54.00 0.00% 06 0 21 21.00 0.00% 07 0 8 8.00 0.00% 08 0 6 6.00 0.00% 09 0 5 5.00 0.00% 10 0 12 12.00 0.00% 11 0 5 5.00 0.00% 12 0 2 2.00 0.00% 13 0 11 11.00 0.00% 14 0 6 6.00 0.00% 15 0 18 18.00 0.00% 16 0 6 6.00 0.00% 17 0 10 10.00 0.00% 18 0 9 9.00 0.00% 19 0 9 9.00 0.00% 20 0 7 7.00 0.00% 21 0 9 9.00 0.00% 22 0 5 5.00 0.00% 23 0 5 5.00 0.00% Day Hour Count Average / Second Aug 11 00 79 0.02/s 01 83 0.02/s 02 76 0.02/s 03 74 0.02/s 04 82 0.02/s 05 89 0.02/s 06 90 0.03/s 07 78 0.02/s 08 74 0.02/s 09 76 0.02/s 10 76 0.02/s 11 76 0.02/s 12 75 0.02/s 13 76 0.02/s 14 77 0.02/s 15 78 0.02/s 16 77 0.02/s 17 75 0.02/s 18 78 0.02/s 19 76 0.02/s 20 86 0.02/s 21 150 0.04/s 22 156 0.04/s 23 163 0.05/s Aug 12 00 152 0.04/s 01 243 0.07/s 02 156 0.04/s 03 164 0.05/s 04 173 0.05/s 05 173 0.05/s 06 80 0.02/s 07 81 0.02/s 08 161 0.04/s 09 161 0.04/s 10 160 0.04/s 11 154 0.04/s 12 153 0.04/s 13 149 0.04/s 14 152 0.04/s 15 149 0.04/s 16 150 0.04/s 17 150 0.04/s 18 149 0.04/s 19 151 0.04/s 20 151 0.04/s 21 148 0.04/s 22 159 0.04/s 23 151 0.04/s Aug 13 00 147 0.04/s 01 159 0.04/s 02 156 0.04/s 03 152 0.04/s 04 150 0.04/s 05 136 0.04/s 06 78 0.02/s 07 75 0.02/s 08 74 0.02/s 09 77 0.02/s 10 84 0.02/s 11 78 0.02/s 12 80 0.02/s 13 83 0.02/s 14 84 0.02/s 15 80 0.02/s 16 78 0.02/s 17 80 0.02/s 18 78 0.02/s 19 76 0.02/s 20 75 0.02/s 21 141 0.04/s 22 151 0.04/s 23 155 0.04/s Aug 14 00 154 0.04/s 01 258 0.07/s 02 269 0.07/s 03 257 0.07/s 04 169 0.05/s 05 140 0.04/s 06 75 0.02/s 07 75 0.02/s 08 81 0.02/s 09 80 0.02/s 10 79 0.02/s 11 132 0.04/s 12 76 0.02/s 13 76 0.02/s 14 82 0.02/s 15 81 0.02/s 16 80 0.02/s 17 78 0.02/s 18 79 0.02/s 19 80 0.02/s 20 76 0.02/s 21 70 0.02/s 22 78 0.02/s 23 78 0.02/s Aug 15 00 83 0.02/s 01 76 0.02/s 02 84 0.02/s 03 82 0.02/s 04 82 0.02/s 05 90 0.03/s 06 79 0.02/s 07 72 0.02/s 08 98 0.03/s 09 147 0.04/s 10 117 0.03/s 11 79 0.02/s 12 76 0.02/s 13 76 0.02/s 14 79 0.02/s 15 78 0.02/s 16 78 0.02/s 17 78 0.02/s 18 78 0.02/s 19 102 0.03/s 20 79 0.02/s 21 70 0.02/s 22 80 0.02/s 23 111 0.03/s Aug 16 00 78 0.02/s 01 78 0.02/s 02 78 0.02/s 03 78 0.02/s 04 94 0.03/s 05 147 0.04/s 06 82 0.02/s 07 80 0.02/s 08 78 0.02/s 09 75 0.02/s 10 82 0.02/s 11 79 0.02/s 12 79 0.02/s 13 81 0.02/s 14 79 0.02/s 15 74 0.02/s 16 79 0.02/s 17 77 0.02/s 18 79 0.02/s 19 75 0.02/s 20 76 0.02/s 21 75 0.02/s 22 81 0.02/s 23 81 0.02/s Aug 17 00 80 0.02/s 01 77 0.02/s 02 79 0.02/s 03 78 0.02/s 04 70 0.02/s 05 100 0.03/s 06 89 0.02/s 07 86 0.02/s 08 82 0.02/s 09 76 0.02/s 10 95 0.03/s 11 74 0.02/s 12 76 0.02/s 13 77 0.02/s 14 75 0.02/s 15 89 0.02/s 16 80 0.02/s 17 76 0.02/s 18 78 0.02/s 19 75 0.02/s 20 76 0.02/s 21 75 0.02/s 22 79 0.02/s 23 78 0.02/s Day Hour Count Average Duration Average idle time Aug 11 00 79 31m1s 30m48s 01 83 29m12s 29m9s 02 76 32m9s 32m9s 03 74 32m33s 32m33s 04 82 30m16s 30m16s 05 89 26m15s 26m13s 06 90 26m30s 26m29s 07 78 31m4s 31m4s 08 74 32m35s 32m35s 09 76 31m35s 31m34s 10 76 31m33s 31m32s 11 76 30m50s 30m49s 12 75 31m38s 31m38s 13 76 31m44s 31m44s 14 77 30m54s 30m52s 15 78 31m13s 31m12s 16 77 31m22s 31m22s 17 75 31m52s 31m51s 18 78 30m9s 30m7s 19 76 32m7s 32m7s 20 86 27m34s 27m29s 21 149 15m37s 15m14s 22 156 16m12s 15m50s 23 164 15m12s 14m51s Aug 12 00 152 16m14s 15m44s 01 242 10m2s 9m48s 02 156 15m51s 15m29s 03 164 15m24s 15m3s 04 174 13m52s 13m32s 05 173 13m40s 13m27s 06 80 29m25s 29m23s 07 81 31m31s 31m31s 08 161 15m33s 15m13s 09 160 14m39s 14m17s 10 160 14m30s 14m8s 11 154 15m33s 15m11s 12 153 16m17s 15m54s 13 150 16m27s 16m3s 14 151 16m2s 15m38s 15 150 16m11s 15m47s 16 149 17m 16m37s 17 150 16m21s 15m58s 18 149 16m12s 15m48s 19 151 16m8s 15m45s 20 151 16m24s 16m1s 21 148 15m41s 15m17s 22 159 15m17s 14m55s 23 151 16m13s 15m50s Aug 13 00 148 16m13s 15m42s 01 158 15m54s 15m32s 02 156 15m43s 15m21s 03 152 15m57s 15m35s 04 150 16m17s 15m54s 05 137 17m39s 17m23s 06 78 30m4s 30m3s 07 75 31m21s 31m21s 08 74 31m32s 31m31s 09 77 30m51s 30m51s 10 84 29m41s 29m39s 11 78 31m19s 31m19s 12 80 29m43s 29m43s 13 83 29m57s 29m54s 14 84 29m24s 29m21s 15 79 29m37s 29m36s 16 78 32m11s 32m11s 17 81 31m11s 31m11s 18 78 30m38s 30m36s 19 76 31m18s 31m18s 20 75 31m11s 31m11s 21 140 16m36s 16m14s 22 151 16m11s 15m48s 23 155 16m9s 15m47s Aug 14 00 154 16m4s 15m35s 01 258 9m45s 9m31s 02 269 9m12s 8m59s 03 258 9m16s 9m3s 04 168 14m27s 14m6s 05 141 16m50s 16m35s 06 75 31m17s 31m16s 07 75 31m3s 31m3s 08 81 29m40s 29m40s 09 80 29m55s 29m54s 10 79 30m10s 30m9s 11 132 18m24s 18m24s 12 76 31m48s 31m47s 13 76 31m44s 31m44s 14 81 29m32s 29m30s 15 81 29m58s 29m58s 16 80 30m34s 30m34s 17 78 31m18s 31m18s 18 80 33m9s 33m7s 19 80 31m 31m 20 76 31m8s 31m8s 21 70 31m36s 31m36s 22 78 30m42s 30m40s 23 78 30m24s 30m24s Aug 15 00 83 30m51s 30m13s 01 76 31m48s 31m48s 02 84 29m20s 29m20s 03 82 29m9s 29m8s 04 82 29m43s 29m42s 05 90 26m22s 26m20s 06 79 29m1s 28m59s 07 72 32m28s 32m28s 08 98 25m48s 25m47s 09 147 16m25s 16m25s 10 117 20m37s 20m36s 11 78 29m33s 29m33s 12 76 31m47s 31m47s 13 76 32m17s 32m17s 14 79 30m42s 30m41s 15 78 30m49s 30m47s 16 78 30m36s 30m36s 17 78 30m59s 30m58s 18 79 35m57s 35m55s 19 102 23m34s 23m27s 20 79 30m5s 30m5s 21 70 31m41s 31m40s 22 80 30m15s 30m14s 23 111 22m20s 22m19s Aug 16 00 78 31m48s 31m35s 01 78 31m18s 31m17s 02 78 30m47s 30m47s 03 78 29m57s 29m56s 04 94 26m2s 26m1s 05 147 14m18s 14m17s 06 82 29m30s 29m28s 07 80 30m30s 30m30s 08 78 31m30s 31m29s 09 75 31m32s 31m31s 10 82 29m53s 29m51s 11 79 30m58s 30m57s 12 79 31m1s 31m1s 13 81 30m2s 30m2s 14 79 30m19s 30m17s 15 74 31m48s 31m48s 16 76 31m56s 31m55s 17 77 31m47s 31m47s 18 82 34m31s 34m29s 19 75 31m41s 31m41s 20 76 31m32s 31m32s 21 75 30m10s 30m9s 22 81 30m9s 30m9s 23 81 29m46s 29m45s Aug 17 00 80 30m26s 30m12s 01 77 31m21s 31m21s 02 79 31m15s 31m15s 03 78 30m27s 30m26s 04 70 31m52s 31m52s 05 98 25m 24m59s 06 91 25m6s 25m5s 07 86 29m10s 29m9s 08 82 30m7s 30m4s 09 76 31m47s 31m46s 10 95 26m 26m 11 74 31m10s 31m10s 12 76 31m26s 31m26s 13 77 31m37s 31m37s 14 75 31m31s 31m31s 15 89 26m53s 26m53s 16 80 30m25s 30m25s 17 76 31m52s 31m52s 18 77 31m7s 31m2s 19 76 32m45s 31m42s 20 76 31m45s 31m45s 21 75 30m40s 30m40s 22 79 31m 31m 23 78 31m31s 31m31s -
Connections
Established Connections
Key values
- 18 connections Connection Peak
- 2024-08-12 05:09:46 Date
Connections per database
Key values
- ctdprd51 Main Database
- 16,979 connections Total
Connections per user
Key values
- pubeu Main User
- 16,979 connections Total
-
Sessions
Simultaneous sessions
Key values
- 59 sessions Session Peak
- 2024-08-15 23:21:42 Date
Histogram of session times
Key values
- 12,342 1800000-3600000ms duration
Sessions per database
Key values
- ctdprd51 Main Database
- 16,979 sessions Total
Sessions per user
Key values
- pubeu Main User
- 16,979 sessions Total
Sessions per host
Key values
- 10.12.5.37 Main Host
- 16,979 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 144,079 buffers Checkpoint Peak
- 2024-08-14 23:07:52 Date
- 1619.995 seconds Highest write time
- 0.005 seconds Sync time
Checkpoints Wal files
Key values
- 60 files Wal files usage Peak
- 2024-08-17 10:38:07 Date
Checkpoints distance
Key values
- 1,258.52 Mo Distance Peak
- 2024-08-14 23:07:52 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Aug 11 00 671 67.426s 0.003s 67.497s 01 124 12.613s 0.002s 12.643s 02 115 11.709s 0.002s 11.739s 03 135 13.705s 0.002s 13.736s 04 11,412 1,142.749s 0.003s 1,142.9s 05 325 32.767s 0.002s 32.797s 06 211 21.343s 0.002s 21.374s 07 233 23.543s 0.002s 23.576s 08 406 40.771s 0.002s 40.803s 09 2,228 223.447s 0.004s 223.541s 10 578 58.109s 0.003s 58.14s 11 103 10.495s 0.002s 10.526s 12 80 8.193s 0.002s 8.222s 13 442 44.473s 0.003s 44.505s 14 4,163 417.04s 0.003s 417.134s 15 287 28.941s 0.002s 28.971s 16 232 23.424s 0.002s 23.454s 17 257 25.941s 0.003s 25.971s 18 327 32.962s 0.002s 32.993s 19 76 7.79s 0.002s 7.82s 20 223 22.527s 0.002s 22.558s 21 315 31.752s 0.002s 31.785s 22 246 24.834s 0.002s 24.866s 23 230 23.252s 0.002s 23.336s Aug 12 00 972 97.619s 0.004s 97.652s 01 5,414 542.273s 0.004s 542.419s 02 9,499 951.553s 0.004s 951.682s 03 5,398 540.719s 0.002s 540.81s 04 58,592 1,799.678s 0.003s 1,800.21s 05 1,633 163.626s 0.001s 163.64s 06 22,141 2,217.509s 0.006s 2,217.826s 07 1,710 171.53s 0.003s 171.61s 08 4,432 444.301s 0.003s 444.408s 09 212 21.441s 0.002s 21.473s 10 707 71.071s 0.003s 71.102s 11 534 53.722s 0.003s 53.755s 12 263 26.543s 0.002s 26.572s 13 468 46.985s 0.003s 47.017s 14 267 26.937s 0.002s 26.969s 15 306 30.878s 0.002s 30.965s 16 1,550 155.523s 0.004s 155.556s 17 3,146 315.433s 0.004s 315.516s 18 4,981 499.422s 0.003s 499.525s 19 3,273 327.989s 0.003s 328.07s 20 196 19.818s 0.002s 19.849s 21 113 11.513s 0.003s 11.545s 22 1,269 127.321s 0.003s 127.352s 23 177 17.919s 0.002s 17.95s Aug 13 00 900 90.387s 0.003s 90.473s 01 600 60.213s 0.003s 60.244s 02 279 28.144s 0.002s 28.174s 03 250 25.242s 0.002s 25.272s 04 852 85.577s 0.003s 85.608s 05 9,793 981.165s 0.003s 981.268s 06 600 60.322s 0.002s 60.353s 07 860 86.157s 0.002s 86.223s 08 128,424 1,643.171s 0.003s 1,643.678s 09 226 22.83s 0.002s 22.86s 10 1,130 113.394s 0.002s 113.476s 11 462 46.479s 0.002s 46.509s 12 168 17.016s 0.002s 17.045s 13 104 10.606s 0.002s 10.636s 14 193 19.519s 0.002s 19.55s 15 114 11.602s 0.002s 11.632s 16 70 7.193s 0.002s 7.224s 17 1,020 102.37s 0.003s 102.4s 18 135 13.712s 0.002s 13.741s 19 206 20.827s 0.002s 20.859s 20 71 7.297s 0.002s 7.328s 21 2,717 272.392s 0.003s 272.474s 22 4,594 460.394s 0.003s 460.557s 23 137 13.913s 0.002s 13.944s Aug 14 00 1,073 107.756s 0.004s 107.79s 01 266 26.847s 0.002s 26.879s 02 324 32.56s 0.002s 32.642s 03 9,623 963.846s 0.002s 963.952s 04 22,791 2,282.403s 0.003s 2,282.635s 05 130 13.143s 0.001s 13.164s 06 51,602 1,809.378s 0.004s 1,809.884s 07 370 37.26s 0.002s 37.29s 08 261 26.339s 0.002s 26.37s 09 280 28.26s 0.002s 28.288s 10 194 19.534s 0.001s 19.55s 11 99,531 3,258.448s 0.004s 3,259.063s 12 392 39.464s 0.002s 39.496s 13 1,166 117.003s 0.003s 117.035s 14 212 21.425s 0.002s 21.455s 15 253 25.526s 0.002s 25.557s 16 2,244 225.014s 0.002s 225.09s 17 751 75.436s 0.003s 75.48s 18 136 13.808s 0.002s 13.839s 19 174 17.611s 0.002s 17.641s 20 82 8.391s 0.002s 8.422s 21 52 5.305s 0.001s 5.32s 22 52,149 1,631.213s 0.003s 1,631.675s 23 153,518 2,564.878s 0.003s 2,565.512s Aug 15 00 3,928 401.798s 0.003s 401.844s 01 151 15.311s 0.002s 15.341s 02 214 21.624s 0.002s 21.653s 03 157 15.914s 0.002s 15.945s 04 3,349 335.699s 0.003s 335.756s 05 258 26.05s 0.002s 26.081s 06 501 50.4s 0.003s 50.429s 07 8,180 819.361s 0.004s 819.525s 08 202 20.419s 0.002s 20.449s 09 288 29.038s 0.002s 29.067s 10 680 68.313s 0.003s 68.343s 11 272 27.448s 0.002s 27.48s 12 357 35.95s 0.002s 35.98s 13 344 34.673s 0.002s 34.701s 14 255 25.728s 0.002s 25.758s 15 96 9.796s 0.002s 9.828s 16 384 38.662s 0.002s 38.694s 17 117 11.897s 0.002s 11.929s 18 223 22.527s 0.002s 22.559s 19 969 97.313s 0.002s 97.357s 20 79 8.099s 0.002s 8.127s 21 124 12.638s 0.002s 12.667s 22 2,701 270.701s 0.003s 270.777s 23 109 11.105s 0.002s 11.136s Aug 16 00 827 83.056s 0.004s 83.089s 01 1,005 100.884s 0.003s 100.96s 02 161 16.313s 0.002s 16.343s 03 1,428 143.323s 0.003s 143.355s 04 7,834 784.719s 0.001s 785.207s 05 57,557 2,173.236s 0.004s 2,173.37s 06 1,918 192.284s 0.003s 192.361s 07 292 29.446s 0.002s 29.476s 08 258 26.038s 0.002s 26.068s 09 167 16.917s 0.002s 16.947s 10 334 33.654s 0.002s 33.685s 11 7,944 795.842s 0.004s 796s 12 296 29.749s 0.002s 29.78s 13 402 40.463s 0.003s 40.506s 14 186 18.821s 0.002s 18.869s 15 81 8.291s 0.002s 8.321s 16 78 7.994s 0.002s 8.024s 17 65 6.688s 0.002s 6.718s 18 86 8.797s 0.002s 8.827s 19 162 16.403s 0.002s 16.434s 20 87 8.894s 0.002s 8.925s 21 63 6.506s 0.002s 6.536s 22 10,903 1,092.029s 0.004s 1,092.167s 23 1,294 129.823s 0.003s 129.855s Aug 17 00 647 65.009s 0.005s 65.056s 01 43 4.486s 0.002s 4.514s 02 97 9.9s 0.002s 9.93s 03 40,195 1,622.343s 0.006s 1,622.722s 04 795 79.432s 0.003s 79.507s 05 198 20.028s 0.002s 20.058s 06 97 9.909s 0.002s 9.938s 07 88 9.004s 0.002s 9.033s 08 6,974 697.613s 0.004s 697.759s 09 476 47.88s 0.003s 47.911s 10 43,572 1,619.995s 0.002s 1,620.761s 11 71,561 1,632.398s 0.005s 1,632.444s 12 89 9.096s 0.002s 9.127s 13 102 10.395s 0.002s 10.427s 14 122 12.4s 0.003s 12.431s 15 102 10.402s 0.002s 10.433s 16 100 10.206s 0.002s 10.238s 17 84 8.591s 0.002s 8.621s 18 128 13.005s 0.002s 13.036s 19 53 5.396s 0.001s 5.411s 20 39,830 1,650.026s 0.004s 1,650.085s 21 108 11.001s 0.002s 11.031s 22 67 6.892s 0.002s 6.922s 23 102 10.402s 0.002s 10.432s Day Hour Added Removed Recycled Synced files Longest sync Average sync Aug 11 00 0 0 0 76 0.001s 0.002s 01 0 0 0 27 0.001s 0.002s 02 0 0 0 26 0.001s 0.002s 03 0 0 0 31 0.001s 0.002s 04 0 0 7 40 0.001s 0.002s 05 0 0 0 35 0.001s 0.002s 06 0 0 0 37 0.001s 0.002s 07 0 0 0 75 0.001s 0.002s 08 0 0 0 125 0.001s 0.002s 09 0 0 2 138 0.001s 0.002s 10 0 0 0 129 0.001s 0.002s 11 0 0 0 22 0.001s 0.002s 12 0 0 0 21 0.001s 0.002s 13 0 0 0 128 0.001s 0.002s 14 0 0 2 42 0.001s 0.002s 15 0 0 0 76 0.001s 0.002s 16 0 0 0 102 0.001s 0.002s 17 0 0 0 111 0.001s 0.002s 18 0 0 0 120 0.001s 0.002s 19 0 0 0 20 0.001s 0.002s 20 0 0 0 68 0.001s 0.002s 21 0 0 0 106 0.001s 0.002s 22 0 0 0 24 0.001s 0.002s 23 0 0 1 34 0.001s 0.002s Aug 12 00 0 0 0 100 0.001s 0.002s 01 0 0 3 67 0.001s 0.002s 02 0 0 5 61 0.001s 0.002s 03 0 0 3 20 0.001s 0.001s 04 0 0 35 61 0.001s 0.002s 05 0 0 0 31 0.001s 0.001s 06 0 0 13 197 0.001s 0.003s 07 0 0 1 40 0.001s 0.002s 08 0 0 3 33 0.001s 0.002s 09 0 0 0 27 0.001s 0.002s 10 0 0 0 39 0.001s 0.002s 11 0 0 0 130 0.001s 0.002s 12 0 0 0 111 0.001s 0.002s 13 0 0 0 80 0.001s 0.002s 14 0 0 0 110 0.001s 0.002s 15 0 0 1 80 0.001s 0.002s 16 0 0 0 147 0.001s 0.002s 17 0 0 1 133 0.001s 0.002s 18 0 0 3 102 0.001s 0.002s 19 0 0 1 48 0.001s 0.002s 20 0 0 0 28 0.001s 0.002s 21 0 0 0 20 0.002s 0.002s 22 0 0 0 44 0.001s 0.002s 23 0 0 0 26 0.001s 0.002s Aug 13 00 0 0 1 75 0.001s 0.002s 01 0 0 0 47 0.001s 0.002s 02 0 0 0 35 0.001s 0.002s 03 0 0 0 31 0.001s 0.002s 04 0 0 0 48 0.001s 0.002s 05 0 0 6 51 0.001s 0.002s 06 0 0 0 133 0.001s 0.002s 07 0 0 1 70 0.001s 0.001s 08 0 0 37 143 0.001s 0.002s 09 0 0 0 103 0.001s 0.002s 10 0 0 1 47 0.001s 0.002s 11 0 0 0 125 0.001s 0.002s 12 0 0 0 65 0.001s 0.002s 13 0 0 0 24 0.001s 0.002s 14 0 0 0 31 0.001s 0.002s 15 0 0 0 26 0.001s 0.002s 16 0 0 0 19 0.001s 0.002s 17 0 0 0 32 0.001s 0.002s 18 0 0 0 18 0.001s 0.002s 19 0 0 0 33 0.001s 0.002s 20 0 0 0 19 0.001s 0.002s 21 0 0 1 30 0.001s 0.002s 22 0 0 3 41 0.002s 0.002s 23 0 0 0 19 0.001s 0.002s Aug 14 00 0 0 0 86 0.001s 0.002s 01 0 0 0 27 0.001s 0.002s 02 0 0 1 39 0.001s 0.002s 03 0 0 6 44 0.001s 0.002s 04 0 0 10 59 0.002s 0.002s 05 0 0 0 18 0.001s 0.001s 06 0 0 35 122 0.001s 0.003s 07 0 0 0 117 0.001s 0.002s 08 0 0 0 77 0.001s 0.002s 09 0 0 0 72 0.001s 0.002s 10 0 0 0 65 0.001s 0.001s 11 0 21 37 200 0.001s 0.003s 12 0 0 0 81 0.001s 0.002s 13 0 0 0 36 0.001s 0.002s 14 0 0 0 69 0.001s 0.002s 15 0 0 0 74 0.001s 0.002s 16 0 0 1 80 0.001s 0.002s 17 0 0 1 35 0.001s 0.002s 18 0 0 0 22 0.001s 0.002s 19 0 0 0 27 0.001s 0.002s 20 0 0 0 22 0.001s 0.002s 21 0 0 0 10 0.001s 0.001s 22 0 0 33 46 0.001s 0.002s 23 0 0 46 69 0.001s 0.003s Aug 15 00 0 0 1 90 0.001s 0.002s 01 0 0 0 29 0.001s 0.002s 02 0 0 0 36 0.001s 0.002s 03 0 0 0 29 0.001s 0.002s 04 0 0 2 32 0.001s 0.002s 05 0 0 0 41 0.001s 0.002s 06 0 0 0 132 0.001s 0.002s 07 0 0 5 164 0.001s 0.002s 08 0 0 0 64 0.001s 0.002s 09 0 0 0 39 0.001s 0.002s 10 0 0 0 119 0.001s 0.002s 11 0 0 0 115 0.001s 0.002s 12 0 0 0 98 0.001s 0.002s 13 0 0 0 112 0.001s 0.002s 14 0 0 0 70 0.001s 0.002s 15 0 0 0 20 0.001s 0.002s 16 0 0 0 125 0.001s 0.002s 17 0 0 0 21 0.001s 0.002s 18 0 0 0 34 0.001s 0.002s 19 0 0 1 44 0.001s 0.002s 20 0 0 0 20 0.001s 0.002s 21 0 0 0 20 0.001s 0.002s 22 0 0 1 41 0.001s 0.002s 23 0 0 0 20 0.001s 0.002s Aug 16 00 0 0 0 75 0.001s 0.002s 01 0 0 1 37 0.001s 0.002s 02 0 0 0 26 0.001s 0.002s 03 0 0 0 43 0.001s 0.002s 04 0 0 37 40 0.001s 0.001s 05 0 0 4 77 0.001s 0.003s 06 0 0 1 155 0.001s 0.002s 07 0 0 0 122 0.001s 0.002s 08 0 0 0 79 0.001s 0.002s 09 0 0 0 97 0.001s 0.002s 10 0 0 0 112 0.001s 0.002s 11 0 0 5 161 0.001s 0.002s 12 0 0 0 110 0.001s 0.002s 13 0 0 1 124 0.001s 0.002s 14 0 0 0 34 0.001s 0.002s 15 0 0 0 20 0.001s 0.002s 16 0 0 0 19 0.001s 0.002s 17 0 0 0 19 0.001s 0.002s 18 0 0 0 20 0.001s 0.002s 19 0 0 0 29 0.001s 0.002s 20 0 0 0 20 0.001s 0.002s 21 0 0 0 18 0.001s 0.002s 22 0 0 6 42 0.001s 0.002s 23 0 0 0 30 0.001s 0.002s Aug 17 00 0 0 1 71 0.001s 0.002s 01 0 0 0 19 0.001s 0.002s 02 0 0 0 28 0.001s 0.002s 03 0 0 26 47 0.005s 0.002s 04 0 0 1 33 0.001s 0.002s 05 0 0 0 23 0.001s 0.002s 06 0 0 0 20 0.001s 0.002s 07 0 0 0 19 0.001s 0.002s 08 0 0 3 58 0.001s 0.002s 09 0 0 0 31 0.001s 0.002s 10 0 0 60 22 0.001s 0.001s 11 0 0 0 50 0.002s 0.003s 12 0 0 0 20 0.001s 0.002s 13 0 0 0 22 0.001s 0.002s 14 0 0 0 19 0.001s 0.002s 15 0 0 0 20 0.001s 0.002s 16 0 0 0 18 0.001s 0.002s 17 0 0 0 20 0.001s 0.002s 18 0 0 0 26 0.001s 0.002s 19 0 0 0 11 0.001s 0.001s 20 0 0 1 43 0.001s 0.003s 21 0 0 0 20 0.001s 0.002s 22 0 0 0 19 0.001s 0.002s 23 0 0 0 20 0.001s 0.002s Day Hour Count Avg time (sec) Aug 11 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Aug 12 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Aug 13 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Aug 14 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Aug 15 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 Aug 16 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 Aug 17 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 Aug 11 00 1,692.50 kB 47,069.00 kB 01 166.00 kB 38,227.50 kB 02 164.00 kB 30,996.00 kB 03 186.00 kB 25,141.00 kB 04 56,971.50 kB 67,671.50 kB 05 711.50 kB 97,484.00 kB 06 380.00 kB 79,053.50 kB 07 574.50 kB 64,102.00 kB 08 1,064.50 kB 52,134.00 kB 09 8,536.50 kB 43,184.00 kB 10 1,603.00 kB 35,906.50 kB 11 140.00 kB 29,184.00 kB 12 101.00 kB 23,660.50 kB 13 1,128.50 kB 19,326.50 kB 14 16,376.50 kB 24,607.00 kB 15 723.00 kB 28,060.50 kB 16 586.00 kB 22,828.50 kB 17 666.50 kB 18,609.50 kB 18 801.00 kB 15,207.00 kB 19 95.50 kB 12,377.00 kB 20 573.50 kB 10,092.50 kB 21 922.50 kB 8,365.00 kB 22 365.50 kB 6,865.50 kB 23 445.00 kB 5,647.00 kB Aug 12 00 2,774.50 kB 4,972.50 kB 01 21,767.00 kB 39,579.00 kB 02 44,431.50 kB 59,536.50 kB 03 57,557.00 kB 82,102.00 kB 04 278,831.50 kB 519,813.50 kB 05 10,541.00 kB 444,788.00 kB 06 71,535.33 kB 376,228.67 kB 07 5,287.00 kB 294,452.00 kB 08 22,631.00 kB 242,807.00 kB 09 426.50 kB 196,753.00 kB 10 1,865.50 kB 159,722.00 kB 11 1,460.00 kB 129,636.00 kB 12 717.50 kB 105,141.50 kB 13 1,399.00 kB 85,447.50 kB 14 632.50 kB 69,313.00 kB 15 780.00 kB 56,277.50 kB 16 4,727.50 kB 46,269.50 kB 17 4,149.50 kB 38,330.50 kB 18 20,264.00 kB 35,814.50 kB 19 12,870.50 kB 35,324.50 kB 20 372.50 kB 28,732.00 kB 21 153.50 kB 23,322.50 kB 22 3,669.50 kB 19,294.00 kB 23 332.00 kB 15,980.00 kB Aug 13 00 2,554.50 kB 13,319.50 kB 01 1,414.00 kB 11,067.50 kB 02 352.00 kB 9,127.00 kB 03 268.50 kB 7,455.50 kB 04 2,258.00 kB 6,450.00 kB 05 50,602.50 kB 53,109.00 kB 06 1,346.50 kB 86,250.00 kB 07 5,469.00 kB 74,140.00 kB 08 305,623.00 kB 579,631.00 kB 09 479.50 kB 469,619.00 kB 10 3,501.50 kB 380,773.00 kB 11 1,259.50 kB 308,896.50 kB 12 350.00 kB 250,342.00 kB 13 159.50 kB 202,809.00 kB 14 331.00 kB 164,341.50 kB 15 172.50 kB 133,144.00 kB 16 121.50 kB 107,876.00 kB 17 3,348.00 kB 87,725.00 kB 18 118.50 kB 71,369.00 kB 19 392.00 kB 57,879.50 kB 20 144.00 kB 46,913.00 kB 21 8,942.50 kB 39,687.50 kB 22 21,755.50 kB 38,269.50 kB 23 320.50 kB 36,462.00 kB Aug 14 00 2,794.50 kB 29,942.50 kB 01 217.00 kB 24,428.00 kB 02 443.50 kB 19,854.00 kB 03 50,692.50 kB 58,935.00 kB 04 86,357.50 kB 111,997.00 kB 05 464.00 kB 98,280.00 kB 06 188,188.33 kB 495,707.00 kB 07 1,172.00 kB 380,717.00 kB 08 560.00 kB 308,532.00 kB 09 508.00 kB 249,975.50 kB 10 937.00 kB 213,272.00 kB 11 314,611.00 kB 478,554.00 kB 12 851.00 kB 421,541.00 kB 13 3,275.50 kB 342,068.50 kB 14 423.50 kB 277,133.50 kB 15 552.00 kB 224,590.00 kB 16 8,451.50 kB 183,543.00 kB 17 2,045.50 kB 149,053.50 kB 18 153.00 kB 120,764.50 kB 19 364.50 kB 97,871.00 kB 20 114.50 kB 79,316.00 kB 21 176.00 kB 67,652.00 kB 22 275,127.50 kB 522,111.50 kB 23 246,828.33 kB 585,288.33 kB Aug 15 00 13,520.50 kB 456,908.50 kB 01 201.50 kB 370,262.50 kB 02 414.00 kB 299,973.00 kB 03 235.00 kB 243,026.50 kB 04 14,110.00 kB 198,282.50 kB 05 509.00 kB 161,945.50 kB 06 1,389.50 kB 131,410.00 kB 07 35,671.00 kB 112,395.50 kB 08 510.00 kB 92,014.50 kB 09 533.50 kB 74,610.00 kB 10 1,783.50 kB 60,664.50 kB 11 581.00 kB 49,368.00 kB 12 1,113.00 kB 40,147.50 kB 13 881.00 kB 32,708.00 kB 14 644.50 kB 26,660.00 kB 15 158.00 kB 21,619.00 kB 16 1,097.50 kB 17,681.50 kB 17 203.00 kB 14,397.50 kB 18 380.50 kB 11,736.50 kB 19 2,743.50 kB 9,912.00 kB 20 106.00 kB 8,165.50 kB 21 181.50 kB 6,645.00 kB 22 8,560.50 kB 16,046.00 kB 23 221.00 kB 13,040.50 kB Aug 16 00 2,190.00 kB 10,885.00 kB 01 2,971.00 kB 9,219.00 kB 02 147.00 kB 7,749.50 kB 03 4,399.00 kB 7,685.00 kB 04 73,188.00 kB 73,188.00 kB 05 199,717.33 kB 492,104.67 kB 06 5,861.50 kB 379,606.50 kB 07 865.50 kB 308,083.50 kB 08 726.00 kB 249,707.50 kB 09 408.00 kB 202,324.00 kB 10 804.50 kB 164,024.00 kB 11 41,296.50 kB 138,068.50 kB 12 846.00 kB 114,643.00 kB 13 1,349.50 kB 93,103.50 kB 14 340.00 kB 75,510.00 kB 15 91.50 kB 61,182.00 kB 16 100.00 kB 49,577.00 kB 17 117.00 kB 40,177.50 kB 18 123.00 kB 32,566.50 kB 19 338.00 kB 26,424.50 kB 20 103.50 kB 21,443.50 kB 21 91.00 kB 17,388.50 kB 22 54,846.50 kB 97,613.00 kB 23 673.00 kB 79,471.50 kB Aug 17 00 1,775.50 kB 64,694.50 kB 01 24.50 kB 52,473.50 kB 02 177.50 kB 42,536.50 kB 03 216,555.00 kB 411,407.50 kB 04 3,293.00 kB 333,858.50 kB 05 321.50 kB 270,473.00 kB 06 214.00 kB 219,141.00 kB 07 141.00 kB 177,530.00 kB 08 25,495.00 kB 148,097.00 kB 09 1,326.00 kB 120,755.00 kB 10 473,943.00 kB 473,943.00 kB 11 171,985.33 kB 465,679.67 kB 12 181.00 kB 357,062.50 kB 13 171.50 kB 289,256.00 kB 14 194.00 kB 234,334.00 kB 15 188.50 kB 189,843.50 kB 16 191.50 kB 153,813.50 kB 17 114.50 kB 124,613.00 kB 18 170.50 kB 100,965.00 kB 19 92.00 kB 86,104.00 kB 20 445.67 kB 70,090.33 kB 21 191.00 kB 53,799.50 kB 22 110.50 kB 43,598.50 kB 23 201.50 kB 35,353.50 kB -
Temporary Files
Size of temporary files
Key values
- 0 Temp Files size Peak
- Date
Size of temporary files (5 minutes period)
NO DATASET
Number of temporary files
Key values
- 0 per second Temp Files Peak
- Date
Number of temporary files (5 minutes period)
NO DATASET
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Aug 11 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Aug 12 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Aug 13 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Aug 14 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Aug 15 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 Aug 16 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 Aug 17 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 -
Vacuums
Vacuums / Analyzes Distribution
Key values
- 20.55 sec Highest CPU-cost vacuum
Table pub1.term_set_enrichment_agent
Database ctdprd51 - 2024-08-14 22:39:34 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 20.55 sec Highest CPU-cost vacuum
Table pub1.term_set_enrichment_agent
Database ctdprd51 - 2024-08-14 22:39:34 Date
Analyzes per table
Key values
- pubc.log_query (127) Main table analyzed (database ctdprd51)
- 143 analyzes Total
Vacuums per table
Key values
- pubc.log_query (25) Main table vacuumed on database ctdprd51
- 39 vacuums Total
Index Buffer usage Skipped WAL usage Table Vacuums scans hits misses dirtied pins frozen records full page bytes ctdprd51.pubc.log_query 25 17 10,293 0 1,454 0 6 3,699 477 3,133,062 ctdprd51.pg_toast.pg_toast_486223 4 0 157 0 6 0 0 4 0 752 ctdprd51.pub1.term_comp_agent 3 0 1,192 0 43 0 0 461 4 56,643 ctdprd51.pub1.term_set_enrichment_agent 2 0 411,532 0 159,650 0 0 205,531 9 12,198,541 ctdprd51.pub1.term_set_enrichment 2 0 8,688 0 3,943 0 0 4,237 4 279,205 ctdprd51.pg_catalog.pg_statistic 2 2 1,299 0 219 0 37 750 204 999,851 ctdprd51.pg_toast.pg_toast_2619 1 1 4,204 0 1,138 0 9,972 3,284 1,071 590,786 Total 39 20 437,365 698 166,453 0 10,015 217,966 1,769 17,258,840 Tuples removed per table
Key values
- pubc.log_query (10407) Main table with removed tuples on database ctdprd51
- 15259 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain ctdprd51.pubc.log_query 25 17 10,407 126,176 7,969 0 4,109 ctdprd51.pg_toast.pg_toast_2619 1 1 4,048 19,853 0 0 12,592 ctdprd51.pg_catalog.pg_statistic 2 2 804 4,831 0 0 580 ctdprd51.pub1.term_set_enrichment_agent 2 0 0 90,607,287 0 0 1,029,631 ctdprd51.pub1.term_set_enrichment 2 0 0 1,312,453 0 0 21,736 ctdprd51.pg_toast.pg_toast_486223 4 0 0 116 0 0 25 ctdprd51.pub1.term_comp_agent 3 0 0 179,793 0 0 1,534 Total 39 20 15,259 92,250,509 7,969 0 1,070,207 Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Pages removed per tables
NO DATASET
Table Number of vacuums Index scans Tuples removed Pages removed ctdprd51.pub1.term_set_enrichment_agent 2 0 0 0 ctdprd51.pub1.term_set_enrichment 2 0 0 0 ctdprd51.pg_toast.pg_toast_486223 4 0 0 0 ctdprd51.pg_catalog.pg_statistic 2 2 804 0 ctdprd51.pubc.log_query 25 17 10407 0 ctdprd51.pub1.term_comp_agent 3 0 0 0 ctdprd51.pg_toast.pg_toast_2619 1 1 4048 0 Total 39 20 15,259 0 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Aug 11 00 0 1 01 0 1 02 0 1 03 0 1 04 0 1 05 0 4 06 0 0 07 0 1 08 0 1 09 0 1 10 0 1 11 0 0 12 0 1 13 0 0 14 0 0 15 0 1 16 0 0 17 0 0 18 0 1 19 0 0 20 0 0 21 0 0 22 0 0 23 0 1 Aug 12 00 0 2 01 0 1 02 0 2 03 0 3 04 0 2 05 0 3 06 0 1 07 0 0 08 0 1 09 0 0 10 0 1 11 0 1 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 1 21 0 0 22 0 1 23 0 0 Aug 13 00 0 0 01 0 1 02 0 2 03 0 3 04 0 2 05 0 3 06 0 0 07 0 1 08 0 1 09 0 0 10 0 0 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 1 20 0 0 21 0 1 22 0 0 23 0 1 Aug 14 00 0 0 01 0 2 02 0 2 03 0 1 04 0 2 05 0 4 06 0 0 07 0 1 08 0 0 09 0 1 10 0 2 11 0 1 12 0 0 13 0 0 14 0 0 15 0 1 16 0 0 17 0 0 18 0 0 19 0 1 20 0 0 21 0 0 22 0 0 23 0 1 Aug 15 00 0 2 01 0 2 02 0 2 03 0 1 04 0 1 05 0 3 06 0 0 07 0 1 08 0 0 09 0 1 10 0 1 11 0 0 12 0 0 13 0 1 14 0 0 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 0 Aug 16 00 0 0 01 0 1 02 0 1 03 0 2 04 0 3 05 0 4 06 0 1 07 0 1 08 0 0 09 0 1 10 0 2 11 0 2 12 0 0 13 0 1 14 0 0 15 0 0 16 0 0 17 0 0 18 0 0 19 0 1 20 0 0 21 0 0 22 0 0 23 0 1 Aug 17 00 0 0 01 0 1 02 0 1 03 0 10 04 0 5 05 0 0 06 0 0 07 0 0 08 0 11 09 0 0 10 0 1 11 0 0 12 0 0 13 0 0 14 0 0 15 0 0 16 0 0 17 0 0 18 0 0 19 0 0 20 0 0 21 0 0 22 0 0 23 0 0 - 20.55 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- unknown Main Lock Type
- 0 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query NO DATASET
Queries that waited the most
Rank Wait time Query NO DATASET
-
Queries
Queries by type
Key values
- 5,103 Total read queries
- 335 Total write queries
Queries by database
Key values
- ctdprd51 Main database
- 3,816 Requests
- 1d10h22m12s (ctdprd51)
- Main time consuming database
Queries by user
Key values
- pubeu Main user
- 7,199 Requests
User Request type Count Duration postgres Total 108 42m26s copy to 108 42m26s pub1 Total 3 2m9s select 3 2m9s pubeu Total 7,199 2d12h46m34s cte 26 1m17s select 7,173 2d12h45m16s qaeu Total 66 2m42s cte 17 56s253ms select 49 1m46s unknown Total 3,657 18h51m26s copy to 674 6h29m4s cte 40 1m3s others 9 45s123ms select 2,934 12h20m33s Duration by user
Key values
- 2d12h46m34s (pubeu) Main time consuming user
User Request type Count Duration postgres Total 108 42m26s copy to 108 42m26s pub1 Total 3 2m9s select 3 2m9s pubeu Total 7,199 2d12h46m34s cte 26 1m17s select 7,173 2d12h45m16s qaeu Total 66 2m42s cte 17 56s253ms select 49 1m46s unknown Total 3,657 18h51m26s copy to 674 6h29m4s cte 40 1m3s others 9 45s123ms select 2,934 12h20m33s Queries by host
Key values
- unknown Main host
- 11,033 Requests
- 3d8h25m19s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 5,395 Requests
- 1d19h15m31s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2024-08-16 14:35:31 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 3,072 > 10000ms duration
Slowest individual queries
Rank Duration Query 1 23m37s 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-08-17 19:00:30 ]
2 23m27s 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-08-17 19:41:46 ]
3 16m30s /* * 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-08-16 00:16:31 ]
4 16m28s /* * 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-08-13 00:16:30 ]
5 16m26s /* * 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-08-11 00:16:28 ]
6 16m25s /* * 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-08-15 00:16:27 ]
7 16m25s /* * 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-08-14 00:16:27 ]
8 16m25s /* * 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-08-17 00:16:26 ]
9 16m24s /* * 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-08-12 00:16:25 ]
10 11m49s SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'IRF1') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5))) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;[ Date: 2024-08-15 00:17:01 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
11 11m30s SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'IRF1') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5))) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;[ Date: 2024-08-15 00:17:34 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
12 11m29s SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'IRF1') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5))) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;[ Date: 2024-08-15 00:15:56 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
13 6m46s COPY pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;[ Date: 2024-08-17 19:12:09 ]
14 6m43s COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;[ Date: 2024-08-17 19:53:18 ]
15 3m1s 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 = '1224684') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-08-17 08:30:32 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
16 2m52s 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 = '1232638') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-08-11 01:03:23 - Bind query: yes ]
17 2m17s 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', 'GLUCOSE & PROGESTERONE & (S-NITROSO-N-ACETYLPENICILLAMINE | SNITROSONACETYLPENICILLAMINE) & BISPHENOL & A & (4-IODO-2,5-DIMETHOXYPHENYLISOPROPYLAMINE | 4IODO2,5DIMETHOXYPHENYLISOPROPYLAMINE) & DRONABINOL & MANGANESE & III & (-TETRAKIS | TETRAKIS) & (4-BENZOIC | 4BENZOIC) & ACID & PORPHYRIN & PEROXYNITROUS & ACID & STREPTOZOCIN & URIC & ACID & (1,2-DIMETHYLHYDRAZINE | 1,2DIMETHYLHYDRAZINE) & ACETAMINOPHEN & ACETYLCYSTEINE & ARSENITE & BENZO & A & PYRENE & CHLORODIPHENYL & 54% & CHLORINE & CYCLOSPORINE & DIPHENYLENEIODONIUM & (N- | N) & (1,3-DIMETHYLBUTYL | 1,3DIMETHYLBUTYL) & (-N | N) & (-PHENYL-1,4-PHENYLENEDIAMINE | PHENYL1,4PHENYLENEDIAMINE) & (N- | N) & (1,3-DIMETHYLBUTYL | 1,3DIMETHYLBUTYL) & (-N | N) & (-PHENYL-P-PHENYLENEDIAMINE | PHENYLPPHENYLENEDIAMINE) & QUINONE & PARTICULATE & MATTER & PLANT & EXTRACTS &TETRACHLORODIBENZODI') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'GLUCOSE & PROGESTERONE & (S-NITROSO-N-ACETYLPENICILLAMINE | SNITROSONACETYLPENICILLAMINE) & BISPHENOL & A & (4-IODO-2,5-DIMETHOXYPHENYLISOPROPYLAMINE | 4IODO2,5DIMETHOXYPHENYLISOPROPYLAMINE) & DRONABINOL & MANGANESE & III & (-TETRAKIS | TETRAKIS) & (4-BENZOIC | 4BENZOIC) & ACID & PORPHYRIN & PEROXYNITROUS & ACID & STREPTOZOCIN & URIC & ACID & (1,2-DIMETHYLHYDRAZINE | 1,2DIMETHYLHYDRAZINE) & ACETAMINOPHEN & ACETYLCYSTEINE & ARSENITE & BENZO & A & PYRENE & CHLORODIPHENYL & 54% & CHLORINE & CYCLOSPORINE & DIPHENYLENEIODONIUM & (N- | N) & (1,3-DIMETHYLBUTYL | 1,3DIMETHYLBUTYL) & (-N | N) & (-PHENYL-1,4-PHENYLENEDIAMINE | PHENYL1,4PHENYLENEDIAMINE) & (N- | N) & (1,3-DIMETHYLBUTYL | 1,3DIMETHYLBUTYL) & (-N | N) & (-PHENYL-P-PHENYLENEDIAMINE | PHENYLPPHENYLENEDIAMINE) & QUINONE & PARTICULATE & MATTER & PLANT & EXTRACTS & TETRACHLORODIBENZODI') 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 'GLUCOSE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'PROGESTERONE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '(S-NITROSO-N-ACETYLPENICILLAMINE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SNITROSONACETYLPENICILLAMINE)' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BISPHENOL' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'A' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '(4-IODO-2,5-DIMETHOXYPHENYLISOPROPYLAMINE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '4IODO2,5DIMETHOXYPHENYLISOPROPYLAMINE)' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'DRONABINOL' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'MANGANESE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'III' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '(-TETRAKIS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'TETRAKIS)' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '(4-BENZOIC' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '4BENZOIC)' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ACID' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'PORPHYRIN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'PEROXYNITROUS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ACID' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'STREPTOZOCIN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'URIC' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ACID' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '(1,2-DIMETHYLHYDRAZINE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '1,2DIMETHYLHYDRAZINE)' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ACETAMINOPHEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ACETYLCYSTEINE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ARSENITE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BENZO' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'A' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'PYRENE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHLORODIPHENYL' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '54%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHLORINE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CYCLOSPORINE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'DIPHENYLENEIODONIUM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '(N-' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'N)' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '(1,3-DIMETHYLBUTYL' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '1,3DIMETHYLBUTYL)' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '(-N' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'N)' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '(-PHENYL-1,4-PHENYLENEDIAMINE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'PHENYL1,4PHENYLENEDIAMINE)' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '(N-' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'N)' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '(1,3-DIMETHYLBUTYL' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '1,3DIMETHYLBUTYL)' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '(-N' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'N)' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '(-PHENYL-P-PHENYLENEDIAMINE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'PHENYLPPHENYLENEDIAMINE)' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'QUINONE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'PARTICULATE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'MATTER' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'PLANT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'EXTRACTS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'TETRACHLORODIBENZODI')) 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 'GLUCOSE' OR upper(l.acc_txt) LIKE 'PROGESTERONE' OR upper(l.acc_txt) LIKE 'S-NITROSO-N-ACETYLPENICILLAMINE' OR upper(l.acc_txt) LIKE 'BISPHENOL' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE '4-IODO-2,5-DIMETHOXYPHENYLISOPROPYLAMINE' OR upper(l.acc_txt) LIKE 'DRONABINOL' OR upper(l.acc_txt) LIKE 'MANGANESE' OR upper(l.acc_txt) LIKE 'III' OR upper(l.acc_txt) LIKE '-TETRAKIS' OR upper(l.acc_txt) LIKE '4-BENZOIC' OR upper(l.acc_txt) LIKE 'ACID' OR upper(l.acc_txt) LIKE 'PORPHYRIN' OR upper(l.acc_txt) LIKE 'PEROXYNITROUS' OR upper(l.acc_txt) LIKE 'ACID' OR upper(l.acc_txt) LIKE 'STREPTOZOCIN' OR upper(l.acc_txt) LIKE 'URIC' OR upper(l.acc_txt) LIKE 'ACID' OR upper(l.acc_txt) LIKE '1,2-DIMETHYLHYDRAZINE' OR upper(l.acc_txt) LIKE 'ACETAMINOPHEN' OR upper(l.acc_txt) LIKE 'ACETYLCYSTEINE' OR upper(l.acc_txt) LIKE 'ARSENITE' OR upper(l.acc_txt) LIKE 'BENZO' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE 'PYRENE' OR upper(l.acc_txt) LIKE 'CHLORODIPHENYL' OR upper(l.acc_txt) LIKE '54%' OR upper(l.acc_txt) LIKE 'CHLORINE' OR upper(l.acc_txt) LIKE 'CYCLOSPORINE' OR upper(l.acc_txt) LIKE 'DIPHENYLENEIODONIUM' OR upper(l.acc_txt) LIKE 'N-' OR upper(l.acc_txt) LIKE '1,3-DIMETHYLBUTYL' OR upper(l.acc_txt) LIKE '-N' OR upper(l.acc_txt) LIKE '-PHENYL-1,4-PHENYLENEDIAMINE' OR upper(l.acc_txt) LIKE 'N-' OR upper(l.acc_txt) LIKE '1,3-DIMETHYLBUTYL' OR upper(l.acc_txt) LIKE '-N' OR upper(l.acc_txt) LIKE '-PHENYL-P-PHENYLENEDIAMINE' OR upper(l.acc_txt) LIKE 'QUINONE' OR upper(l.acc_txt) LIKE 'PARTICULATE' OR upper(l.acc_txt) LIKE 'MATTER' OR upper(l.acc_txt) LIKE 'PLANT' OR upper(l.acc_txt) LIKE 'EXTRACTS' OR upper(l.acc_txt) LIKE 'TETRACHLORODIBENZODI')) ii GROUP BY ii.cd;[ Date: 2024-08-14 22:52:12 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
18 2m4s COPY pub2.term_set_enrichment_agent (term_ids_digest, enriched_object_type_id, enriched_term_id, agent_term_id) TO stdout;[ Date: 2024-08-17 19:55:48 ]
19 1m54s SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'TNF'))) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;[ Date: 2024-08-13 13:23:46 - Bind query: yes ]
20 1m53s SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'TNF'))) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;[ Date: 2024-08-15 05:55:34 - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 1d13h9m20s 2,938 1s169ms 52s466ms 45s527ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ? offset ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Aug 11 01 1 3s238ms 3s238ms 07 1 1s169ms 1s169ms 20 10 7m35s 45s583ms 21 75 56m56s 45s558ms 22 76 57m38s 45s504ms 23 76 57m44s 45s586ms Aug 12 00 75 57m17s 45s839ms 01 74 57m 46s224ms 02 75 57m24s 45s929ms 03 75 57m44s 46s198ms 04 75 57m46s 46s213ms 05 45 33m58s 45s293ms 08 70 53m46s 46s93ms 09 75 57m1s 45s616ms 10 76 57m47s 45s627ms 11 75 57m5s 45s667ms 12 75 57m43s 46s185ms 13 75 57m46s 46s216ms 14 74 57m 46s227ms 15 76 58m8s 45s901ms 16 73 56m27s 46s400ms 17 74 57m14s 46s409ms 18 74 57m14s 46s416ms 19 76 58m5s 45s867ms 20 74 57m13s 46s394ms 21 74 57m25s 46s558ms 22 74 57m37s 46s717ms 23 74 57m44s 46s818ms Aug 13 00 75 57m35s 46s68ms 01 74 57m4s 46s274ms 02 74 57m49s 46s886ms 03 73 57m3s 46s902ms 04 74 57m53s 46s935ms 05 44 34m30s 47s60ms 07 4 14s598ms 3s649ms 13 7 28s99ms 4s14ms 16 1 2s180ms 2s180ms 18 1 3s196ms 3s196ms 21 63 49m8s 46s808ms 22 73 57m18s 47s99ms 23 73 57m26s 47s218ms Aug 14 00 73 57m14s 47s47ms 01 72 57m46s 48s148ms 02 72 57m17s 47s736ms 03 72 58m2s 48s373ms 04 72 57m7s 47s602ms 05 44 34m39s 47s266ms 09 1 10s487ms 10s487ms Aug 15 12 1 1s301ms 1s301ms 16 2 3s874ms 1s937ms 18 1 7s595ms 7s595ms 20 1 2s554ms 2s554ms 22 1 5s113ms 5s113ms 23 1 12s314ms 12s314ms Aug 16 00 1 6s451ms 6s451ms 04 3 3s794ms 1s264ms 05 1 5s306ms 5s306ms 11 1 6s668ms 6s668ms 18 1 2s539ms 2s539ms 20 1 1s415ms 1s415ms 23 20 54s392ms 2s719ms Aug 17 00 13 1m45s 8s153ms 20 1 7s970ms 7s970ms [ User: pubeu - Total duration: 1d8h27m46s - Times executed: 2535 ]
-
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 = '2077399') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 2454100;
Date: 2024-08-12 05:10:29 Duration: 52s466ms 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 = '2077399') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 2550000;
Date: 2024-08-14 01:07:51 Duration: 51s794ms 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 = '2077399') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 2549950;
Date: 2024-08-14 01:06:57 Duration: 51s754ms Database: ctdprd51 User: pubeu Bind query: yes
2 1h55m7s 7 16m24s 16m30s 16m26s select maint_query_logs_archive ();Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Aug 11 00 1 16m26s 16m26s Aug 12 00 1 16m24s 16m24s Aug 13 00 1 16m28s 16m28s Aug 14 00 1 16m25s 16m25s Aug 15 00 1 16m25s 16m25s Aug 16 00 1 16m30s 16m30s Aug 17 00 1 16m25s 16m25s -
/* * 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-08-16 00:16:31 Duration: 16m30s
-
/* * 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-08-13 00:16:30 Duration: 16m28s
-
/* * 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-08-11 00:16:28 Duration: 16m26s
3 34m50s 3 11m29s 11m49s 11m36s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?))) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?)) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by c.nm_sort, g.nm_sort, i.sort_txt limit ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Aug 15 00 3 34m50s 11m36s [ User: pubeu - Total duration: 34m50s - Times executed: 3 ]
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'IRF1') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5))) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-08-15 00:17:01 Duration: 11m49s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'IRF1') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5))) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-08-15 00:17:34 Duration: 11m30s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'IRF1') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5))) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-08-15 00:15:56 Duration: 11m29s Database: ctdprd51 User: pubeu Bind query: yes
4 23m37s 1 23m37s 23m37s 23m37s 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 #4
Day Hour Count Duration Avg duration Aug 17 19 1 23m37s 23m37s -
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-08-17 19:00:30 Duration: 23m37s
5 23m27s 1 23m27s 23m27s 23m27s 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 #5
Day Hour Count Duration Avg duration Aug 17 19 1 23m27s 23m27s -
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-08-17 19:41:46 Duration: 23m27s
6 19m55s 299 3s785ms 5s757ms 3s999ms select coalesce(st.alt_nm, t.nm) slimtermnm, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.curated_reference_qty > ?) curatedcount, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.indirect_gene_qty > ?) inferredcount from slim_term st inner join term t on st.slim_term_id = t.id where st.slim_id = ? order by ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Aug 11 00 1 3s998ms 3s998ms 01 3 11s718ms 3s906ms 04 2 7s788ms 3s894ms 07 1 3s945ms 3s945ms 14 2 7s851ms 3s925ms 15 5 21s406ms 4s281ms 16 3 12s262ms 4s87ms 17 4 15s608ms 3s902ms 18 1 3s983ms 3s983ms 19 1 3s995ms 3s995ms 21 1 3s929ms 3s929ms 22 8 31s579ms 3s947ms 23 4 15s919ms 3s979ms Aug 12 00 12 47s663ms 3s971ms 01 4 16s979ms 4s244ms 02 3 12s239ms 4s79ms 03 3 11s862ms 3s954ms 04 1 3s820ms 3s820ms 05 10 40s294ms 4s29ms 06 4 16s36ms 4s9ms 07 2 7s819ms 3s909ms 08 2 8s662ms 4s331ms 09 1 3s980ms 3s980ms 10 1 3s822ms 3s822ms 12 1 4s13ms 4s13ms 14 2 7s821ms 3s910ms 15 2 7s869ms 3s934ms 16 1 3s926ms 3s926ms 17 2 7s975ms 3s987ms 21 3 11s702ms 3s900ms 22 9 35s392ms 3s932ms Aug 13 00 3 12s463ms 4s154ms 01 2 7s580ms 3s790ms 04 5 20s138ms 4s27ms 05 6 23s712ms 3s952ms 06 2 7s777ms 3s888ms 08 1 3s900ms 3s900ms 09 2 8s23ms 4s11ms 10 2 7s851ms 3s925ms 11 2 7s823ms 3s911ms 12 3 11s748ms 3s916ms 15 9 36s87ms 4s9ms 17 3 11s892ms 3s964ms 18 1 3s958ms 3s958ms 20 1 3s836ms 3s836ms 21 1 3s983ms 3s983ms 22 1 3s804ms 3s804ms 23 7 27s518ms 3s931ms Aug 14 00 2 7s945ms 3s972ms 01 3 11s993ms 3s997ms 02 1 3s929ms 3s929ms 03 2 7s902ms 3s951ms 04 1 3s911ms 3s911ms 05 2 8s933ms 4s466ms 08 3 11s970ms 3s990ms 11 1 4s362ms 4s362ms 12 3 11s723ms 3s907ms 14 4 16s190ms 4s47ms 15 3 11s802ms 3s934ms 16 6 23s608ms 3s934ms 17 2 7s930ms 3s965ms 18 5 19s645ms 3s929ms 23 2 7s916ms 3s958ms Aug 15 00 1 3s894ms 3s894ms 01 1 4s21ms 4s21ms 02 2 8s63ms 4s31ms 03 2 7s880ms 3s940ms 04 4 15s728ms 3s932ms 05 2 7s735ms 3s867ms 06 3 11s991ms 3s997ms 07 1 3s811ms 3s811ms 08 5 19s394ms 3s878ms 09 4 17s451ms 4s362ms 10 5 20s506ms 4s101ms 11 4 16s221ms 4s55ms 12 1 4s408ms 4s408ms 16 1 3s821ms 3s821ms 17 1 4s99ms 4s99ms 18 2 7s893ms 3s946ms 19 2 7s929ms 3s964ms 22 1 3s953ms 3s953ms Aug 16 01 3 11s793ms 3s931ms 02 4 16s137ms 4s34ms 03 1 4s220ms 4s220ms 04 1 3s918ms 3s918ms 06 3 11s805ms 3s935ms 07 3 11s754ms 3s918ms 09 1 3s842ms 3s842ms 10 3 12s12ms 4s4ms 11 2 7s836ms 3s918ms 12 2 7s868ms 3s934ms 13 2 7s948ms 3s974ms 14 4 18s338ms 4s584ms 16 1 4s59ms 4s59ms 18 1 3s884ms 3s884ms 22 1 4s147ms 4s147ms Aug 17 02 3 11s779ms 3s926ms 03 4 15s863ms 3s965ms 05 3 13s84ms 4s361ms 06 1 4s75ms 4s75ms 07 1 3s955ms 3s955ms 09 2 7s824ms 3s912ms 13 2 8s55ms 4s27ms 14 3 11s703ms 3s901ms 15 10 39s828ms 3s982ms 16 1 3s857ms 3s857ms 18 1 3s975ms 3s975ms 19 1 3s953ms 3s953ms 21 3 11s785ms 3s928ms [ User: pubeu - Total duration: 14m - Times executed: 211 ]
-
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 = '1335779') 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 = '1335779') 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-08-16 14:11:13 Duration: 5s757ms 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 = '1320093') 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 = '1320093') 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-08-15 09:55:15 Duration: 5s238ms 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 = '1339274') 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 = '1339274') 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-08-17 05:59:42 Duration: 5s206ms Database: ctdprd51 User: pubeu Bind query: yes
7 13m56s 25 32s978ms 33s629ms 33s455ms 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 #7
Day Hour Count Duration Avg duration Aug 11 06 1 33s452ms 33s452ms 10 1 33s333ms 33s333ms 14 1 33s490ms 33s490ms 18 1 33s338ms 33s338ms Aug 12 06 1 33s436ms 33s436ms 10 1 33s452ms 33s452ms 14 1 33s494ms 33s494ms 18 1 33s561ms 33s561ms Aug 13 06 1 33s414ms 33s414ms 10 1 33s629ms 33s629ms 14 1 33s374ms 33s374ms 18 1 33s518ms 33s518ms Aug 14 06 1 33s459ms 33s459ms 10 1 33s502ms 33s502ms 14 1 33s522ms 33s522ms 18 1 33s453ms 33s453ms Aug 15 06 1 33s440ms 33s440ms 10 1 33s575ms 33s575ms 14 1 33s519ms 33s519ms 18 1 33s414ms 33s414ms Aug 16 06 1 33s470ms 33s470ms 10 1 33s509ms 33s509ms 14 1 33s509ms 33s509ms 18 1 33s529ms 33s529ms Aug 17 19 1 32s978ms 32s978ms [ User: postgres - Total duration: 13m23s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 13m23s - 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-08-13 10:05:35 Duration: 33s629ms 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-08-15 10:05:35 Duration: 33s575ms 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-08-12 18:05:34 Duration: 33s561ms Database: ctdprd51 User: postgres Application: pg_dump
8 9m58s 20 1s285ms 3m1s 29s943ms select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Aug 11 01 1 2m52s 2m52s 16 1 1s538ms 1s538ms 18 1 1s560ms 1s560ms Aug 12 00 1 1m9s 1m9s Aug 13 01 1 1s407ms 1s407ms 15 1 1m14s 1m14s 18 1 1s588ms 1s588ms 19 1 3s114ms 3s114ms 21 1 1s471ms 1s471ms Aug 14 21 1 3s240ms 3s240ms Aug 15 15 1 1m12s 1m12s 18 1 1s567ms 1s567ms 21 1 1s285ms 1s285ms Aug 16 18 1 1s479ms 1s479ms 20 1 1s615ms 1s615ms Aug 17 05 1 1s457ms 1s457ms 08 1 3m1s 3m1s 10 1 3s31ms 3s31ms 17 1 1s481ms 1s481ms 19 1 1s611ms 1s611ms [ User: pubeu - Total duration: 5m45s - Times executed: 12 ]
-
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 = '1224684') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-08-17 08:30:32 Duration: 3m1s 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 = '1232638') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-08-11 01:03:23 Duration: 2m52s 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 = '1239590') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-08-13 15:20:40 Duration: 1m14s Database: ctdprd51 User: pubeu Bind query: yes
9 8m13s 192 1s1ms 13s798ms 2s570ms select ? "Input", d.nm "DiseaseName", d.acc_db_cd || ? || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( select string_agg(stm.slim_term_nm, ? order by stm.slim_term_nm) from slim_term_mapping stm where stm.mapped_term_id = d.id) "DiseaseCategories", case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", string_agg(gdr.source_acc_txt, ? order by gdr.source_acc_txt) "OmimIDs", string_agg(distinct r.acc_txt, ?) "PubMedIDs" from gene_disease_reference gdr inner join term g on gdr.gene_id = g.id inner join term d on gdr.disease_id = d.id left outer join reference r on gdr.reference_id = r.id left outer join term c on gdr.via_chem_id = c.id where (d.id = ?) group by g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end, c.nm, gdr.network_score order by d.nm_sort, g.nm, "DirectEvidence", c.nm;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Aug 14 00 1 1s225ms 1s225ms 09 2 4s299ms 2s149ms Aug 15 19 189 8m8s 2s582ms [ User: pubeu - Total duration: 57s905ms - Times executed: 24 ]
-
SELECT /* BatchDiseaseGeneAssnsDAO */ '114480' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2084385) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2024-08-15 19:06:13 Duration: 13s798ms Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ '612052' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2082396) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2024-08-15 19:07:12 Duration: 13s47ms Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ '612052' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2082396) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2024-08-15 19:06:48 Duration: 12s726ms Bind query: yes
10 7m51s 403 1s101ms 1s310ms 1s170ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where exposuremarkerterm.id = ? or receptorterm.id = ? group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Aug 11 00 4 4s600ms 1s150ms 01 2 2s379ms 1s189ms 02 3 3s433ms 1s144ms 03 2 2s350ms 1s175ms 04 3 3s511ms 1s170ms 05 6 7s195ms 1s199ms 06 3 3s552ms 1s184ms 07 1 1s185ms 1s185ms 08 2 2s376ms 1s188ms 09 7 8s239ms 1s177ms 10 4 4s636ms 1s159ms 11 5 5s878ms 1s175ms 13 3 3s581ms 1s193ms 14 2 2s406ms 1s203ms 15 2 2s355ms 1s177ms 19 1 1s140ms 1s140ms 20 3 3s552ms 1s184ms 22 3 3s511ms 1s170ms 23 3 3s479ms 1s159ms Aug 12 00 3 3s484ms 1s161ms 01 1 1s151ms 1s151ms 02 2 2s361ms 1s180ms 03 4 4s766ms 1s191ms 04 3 3s498ms 1s166ms 05 4 4s914ms 1s228ms 06 4 4s686ms 1s171ms 07 2 2s326ms 1s163ms 08 3 3s413ms 1s137ms 09 3 3s506ms 1s168ms 10 1 1s138ms 1s138ms 11 1 1s122ms 1s122ms 13 1 1s127ms 1s127ms 14 1 1s178ms 1s178ms 15 3 3s369ms 1s123ms 16 4 4s627ms 1s156ms 17 2 2s290ms 1s145ms 18 2 2s227ms 1s113ms 19 2 2s226ms 1s113ms 20 2 2s299ms 1s149ms 21 3 3s393ms 1s131ms 22 4 4s476ms 1s119ms 23 2 2s304ms 1s152ms Aug 13 00 5 5s651ms 1s130ms 01 6 7s34ms 1s172ms 02 2 2s329ms 1s164ms 03 2 2s293ms 1s146ms 04 2 2s307ms 1s153ms 05 5 5s976ms 1s195ms 06 1 1s139ms 1s139ms 07 1 1s177ms 1s177ms 08 4 4s617ms 1s154ms 09 1 1s124ms 1s124ms 10 2 2s355ms 1s177ms 11 1 1s192ms 1s192ms 12 1 1s204ms 1s204ms 13 4 4s757ms 1s189ms 14 4 4s698ms 1s174ms 15 1 1s126ms 1s126ms 16 1 1s162ms 1s162ms 17 5 5s848ms 1s169ms 19 2 2s366ms 1s183ms 20 2 2s367ms 1s183ms 21 10 11s542ms 1s154ms 22 3 3s405ms 1s135ms 23 2 2s348ms 1s174ms Aug 14 00 4 4s519ms 1s129ms 01 3 3s529ms 1s176ms 02 1 1s122ms 1s122ms 03 3 3s447ms 1s149ms 04 4 4s694ms 1s173ms 05 4 4s854ms 1s213ms 07 5 5s807ms 1s161ms 08 2 2s381ms 1s190ms 09 4 4s649ms 1s162ms 10 2 2s378ms 1s189ms 11 8 9s508ms 1s188ms 12 2 2s340ms 1s170ms 14 3 3s548ms 1s182ms 15 1 1s183ms 1s183ms 16 2 2s361ms 1s180ms 17 1 1s182ms 1s182ms 18 3 3s543ms 1s181ms 19 2 2s325ms 1s162ms 20 4 4s630ms 1s157ms 21 1 1s191ms 1s191ms 23 1 1s136ms 1s136ms Aug 15 00 2 2s350ms 1s175ms 01 3 3s457ms 1s152ms 02 7 8s101ms 1s157ms 03 2 2s296ms 1s148ms 05 7 8s487ms 1s212ms 06 2 2s350ms 1s175ms 07 2 2s323ms 1s161ms 08 4 4s673ms 1s168ms 09 3 3s482ms 1s160ms 10 4 4s624ms 1s156ms 11 6 7s51ms 1s175ms 12 5 5s833ms 1s166ms 13 2 2s352ms 1s176ms 14 4 4s755ms 1s188ms 15 4 4s833ms 1s208ms 17 1 1s186ms 1s186ms 18 3 3s522ms 1s174ms 19 4 4s693ms 1s173ms 20 2 2s345ms 1s172ms 21 2 2s326ms 1s163ms 22 4 4s666ms 1s166ms 23 1 1s159ms 1s159ms Aug 16 02 1 1s142ms 1s142ms 04 3 3s410ms 1s136ms 05 2 2s491ms 1s245ms 06 1 1s212ms 1s212ms 07 7 8s146ms 1s163ms 08 4 4s709ms 1s177ms 09 1 1s183ms 1s183ms 10 2 2s385ms 1s192ms 11 2 2s246ms 1s123ms 12 2 2s338ms 1s169ms 13 3 3s547ms 1s182ms 14 1 1s181ms 1s181ms 15 3 3s575ms 1s191ms 16 2 2s376ms 1s188ms 17 2 2s369ms 1s184ms 18 1 1s171ms 1s171ms 19 1 1s181ms 1s181ms 21 1 1s138ms 1s138ms 22 2 2s316ms 1s158ms 23 2 2s355ms 1s177ms Aug 17 02 3 3s554ms 1s184ms 03 3 3s504ms 1s168ms 04 4 4s750ms 1s187ms 05 4 4s945ms 1s236ms 06 3 3s506ms 1s168ms 08 1 1s186ms 1s186ms 09 1 1s196ms 1s196ms 10 2 2s370ms 1s185ms 11 1 1s176ms 1s176ms 13 2 2s382ms 1s191ms 14 2 2s364ms 1s182ms 15 2 2s361ms 1s180ms 17 3 3s541ms 1s180ms 19 3 3s424ms 1s141ms 20 5 5s648ms 1s129ms 21 1 1s102ms 1s102ms 22 2 2s384ms 1s192ms 23 1 1s186ms 1s186ms [ User: pubeu - Total duration: 5m6s - Times executed: 263 ]
-
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 = '1435399' or receptorTerm.id = '1435399' 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-08-11 05:38:45 Duration: 1s310ms 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 = '1957407' or receptorTerm.id = '1957407' 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-08-12 03:02:54 Duration: 1s300ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where exposureMarkerTerm.id = '1435399' or receptorTerm.id = '1435399' 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-08-12 05:43:46 Duration: 1s289ms Bind query: yes
11 6m46s 1 6m46s 6m46s 6m46s copy pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Aug 17 19 1 6m46s 6m46s -
COPY pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-08-17 19:12:09 Duration: 6m46s
12 6m43s 1 6m43s 6m43s 6m43s copy pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Aug 17 19 1 6m43s 6m43s -
COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-08-17 19:53:18 Duration: 6m43s
13 5m59s 25 14s284ms 14s525ms 14s386ms copy edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Aug 11 06 1 14s359ms 14s359ms 10 1 14s322ms 14s322ms 14 1 14s343ms 14s343ms 18 1 14s368ms 14s368ms Aug 12 06 1 14s349ms 14s349ms 10 1 14s436ms 14s436ms 14 1 14s525ms 14s525ms 18 1 14s429ms 14s429ms Aug 13 06 1 14s375ms 14s375ms 10 1 14s368ms 14s368ms 14 1 14s413ms 14s413ms 18 1 14s469ms 14s469ms Aug 14 06 1 14s433ms 14s433ms 10 1 14s326ms 14s326ms 14 1 14s326ms 14s326ms 18 1 14s417ms 14s417ms Aug 15 06 1 14s387ms 14s387ms 10 1 14s383ms 14s383ms 14 1 14s364ms 14s364ms 18 1 14s391ms 14s391ms Aug 16 06 1 14s462ms 14s462ms 10 1 14s350ms 14s350ms 14 1 14s443ms 14s443ms 18 1 14s322ms 14s322ms Aug 17 18 1 14s284ms 14s284ms [ User: postgres - Total duration: 5m59s - Times executed: 25 ]
[ Application: pg_dump - Total duration: 5m59s - Times executed: 25 ]
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-12 14:00:16 Duration: 14s525ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-13 18:00:16 Duration: 14s469ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-16 06:00:16 Duration: 14s462ms Database: ctdprd51 User: postgres Application: pg_dump
14 5m46s 88 1s3ms 5s913ms 3s933ms 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 Aug 11 00 1 5s913ms 5s913ms 01 1 5s153ms 5s153ms 02 1 5s389ms 5s389ms 03 1 1s16ms 1s16ms 04 1 5s44ms 5s44ms 05 1 1s3ms 1s3ms 06 1 5s105ms 5s105ms 08 2 6s217ms 3s108ms 09 1 5s70ms 5s70ms 10 2 6s331ms 3s165ms 11 1 1s12ms 1s12ms 13 4 20s916ms 5s229ms 19 1 5s194ms 5s194ms 23 1 1s16ms 1s16ms Aug 12 02 1 5s287ms 5s287ms 03 1 1s25ms 1s25ms 04 1 5s378ms 5s378ms 09 1 5s35ms 5s35ms 15 3 15s960ms 5s320ms 16 1 5s84ms 5s84ms 22 1 5s343ms 5s343ms Aug 13 05 5 5s51ms 1s10ms 07 1 1s24ms 1s24ms 08 4 8s41ms 2s10ms 10 1 1s13ms 1s13ms Aug 14 05 3 11s838ms 3s946ms 06 1 1s20ms 1s20ms 18 1 5s69ms 5s69ms 22 1 5s108ms 5s108ms Aug 15 04 1 5s185ms 5s185ms 05 3 3s42ms 1s14ms 09 2 10s938ms 5s469ms 10 1 5s647ms 5s647ms 11 1 4s888ms 4s888ms 15 1 5s364ms 5s364ms 17 1 5s379ms 5s379ms 20 2 10s171ms 5s85ms Aug 16 03 3 15s858ms 5s286ms 04 1 1s3ms 1s3ms 05 4 13s41ms 3s260ms 06 1 5s507ms 5s507ms 10 4 21s534ms 5s383ms 12 1 5s507ms 5s507ms 15 1 1s9ms 1s9ms 20 1 5s21ms 5s21ms 22 2 10s147ms 5s73ms 23 1 5s397ms 5s397ms Aug 17 05 1 1s4ms 1s4ms 06 3 15s906ms 5s302ms 09 1 5s355ms 5s355ms 11 1 4s990ms 4s990ms 13 2 10s274ms 5s137ms 17 1 5s52ms 5s52ms 18 1 4s932ms 4s932ms 21 1 3s299ms 3s299ms 22 1 5s9ms 5s9ms [ User: pubeu - Total duration: 3m34s - Times executed: 55 ]
[ User: qaeu - Total duration: 2s39ms - Times executed: 2 ]
-
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 = '1421972' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-08-11 00:01:26 Duration: 5s913ms 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 = '1266646' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-08-15 10:32:17 Duration: 5s647ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1343081' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-08-16 10:49:28 Duration: 5s619ms Bind query: yes
15 5m23s 23 14s6ms 14s163ms 14s55ms copy edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Aug 11 06 1 14s62ms 14s62ms 10 1 14s44ms 14s44ms 14 1 14s9ms 14s9ms 18 1 14s51ms 14s51ms Aug 12 10 1 14s59ms 14s59ms 14 1 14s53ms 14s53ms 18 1 14s73ms 14s73ms Aug 13 06 1 14s48ms 14s48ms 10 1 14s47ms 14s47ms 14 1 14s82ms 14s82ms 18 1 14s28ms 14s28ms Aug 14 06 1 14s163ms 14s163ms 10 1 14s41ms 14s41ms 14 1 14s96ms 14s96ms 18 1 14s69ms 14s69ms Aug 15 10 1 14s108ms 14s108ms 14 1 14s15ms 14s15ms 18 1 14s57ms 14s57ms Aug 16 06 1 14s50ms 14s50ms 10 1 14s40ms 14s40ms 14 1 14s6ms 14s6ms 18 1 14s59ms 14s59ms Aug 17 18 1 14s10ms 14s10ms -
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-14 06:00:58 Duration: 14s163ms
-
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-15 10:00:58 Duration: 14s108ms
-
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-14 14:00:57 Duration: 14s96ms
16 4m59s 85 1s7ms 12s157ms 3s521ms 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 #16
Day Hour Count Duration Avg duration Aug 11 00 2 4s712ms 2s356ms 03 1 6s944ms 6s944ms 06 1 1s353ms 1s353ms 11 1 10s93ms 10s93ms 12 1 1s7ms 1s7ms 18 1 1s131ms 1s131ms 20 1 2s620ms 2s620ms Aug 12 01 1 5s62ms 5s62ms 04 3 14s852ms 4s950ms 07 1 2s192ms 2s192ms 08 1 1s369ms 1s369ms 09 1 1s350ms 1s350ms 10 1 2s589ms 2s589ms 11 3 9s598ms 3s199ms 12 1 1s157ms 1s157ms 14 1 1s331ms 1s331ms 19 1 1s135ms 1s135ms 20 1 2s674ms 2s674ms 23 1 1s92ms 1s92ms Aug 13 00 1 2s185ms 2s185ms 01 1 1s171ms 1s171ms 02 1 1s106ms 1s106ms 07 1 2s605ms 2s605ms 08 2 7s594ms 3s797ms 10 1 1s318ms 1s318ms 11 1 2s575ms 2s575ms 12 2 3s426ms 1s713ms 14 2 7s179ms 3s589ms 15 2 11s863ms 5s931ms 21 1 2s637ms 2s637ms 22 1 1s67ms 1s67ms 23 2 21s114ms 10s557ms Aug 14 01 2 9s999ms 4s999ms 04 2 15s397ms 7s698ms 06 1 1s570ms 1s570ms 07 3 8s443ms 2s814ms 08 1 1s376ms 1s376ms 09 1 1s257ms 1s257ms 11 1 1s96ms 1s96ms 12 1 1s115ms 1s115ms 21 1 10s100ms 10s100ms 22 1 1s158ms 1s158ms Aug 15 00 1 1s395ms 1s395ms 04 1 4s566ms 4s566ms 05 1 2s502ms 2s502ms 06 1 1s130ms 1s130ms 07 1 1s239ms 1s239ms 17 1 6s569ms 6s569ms 18 1 1s140ms 1s140ms 21 1 1s364ms 1s364ms 23 1 1s131ms 1s131ms Aug 16 04 4 14s90ms 3s522ms 09 1 1s701ms 1s701ms 11 1 1s195ms 1s195ms 13 1 2s773ms 2s773ms 23 6 36s307ms 6s51ms Aug 17 03 2 13s220ms 6s610ms 07 1 10s436ms 10s436ms 12 1 4s43ms 4s43ms 13 2 3s803ms 1s901ms 23 1 1s67ms 1s67ms [ User: pubeu - Total duration: 3m38s - Times executed: 61 ]
-
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 = '2073928') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-08-17 03:33:32 Duration: 12s157ms 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 = '2084677') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-08-12 04:38:02 Duration: 10s786ms 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 = '2084677') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-08-14 04:49:45 Duration: 10s728ms Database: ctdprd51 User: pubeu Bind query: yes
17 4m42s 21 13s376ms 13s539ms 13s440ms copy edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Aug 11 06 1 13s523ms 13s523ms 14 1 13s397ms 13s397ms Aug 12 06 1 13s418ms 13s418ms 10 1 13s448ms 13s448ms 14 1 13s484ms 13s484ms 18 1 13s487ms 13s487ms Aug 13 10 1 13s415ms 13s415ms 14 1 13s411ms 13s411ms 18 1 13s440ms 13s440ms Aug 14 06 1 13s508ms 13s508ms 10 1 13s399ms 13s399ms 14 1 13s425ms 13s425ms 18 1 13s435ms 13s435ms Aug 15 10 1 13s410ms 13s410ms 14 1 13s436ms 13s436ms 18 1 13s539ms 13s539ms Aug 16 06 1 13s467ms 13s467ms 10 1 13s421ms 13s421ms 14 1 13s413ms 13s413ms 18 1 13s396ms 13s396ms Aug 17 18 1 13s376ms 13s376ms -
COPY edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-15 18:00:44 Duration: 13s539ms
-
COPY edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-11 06:00:43 Duration: 13s523ms
-
COPY edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-14 06:00:44 Duration: 13s508ms
18 3m47s 2 1m53s 1m54s 1m53s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?))) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by c.nm_sort, g.nm_sort, i.sort_txt limit ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Aug 13 13 1 1m54s 1m54s Aug 15 05 1 1m53s 1m53s -
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'TNF'))) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-08-13 13:23:46 Duration: 1m54s Bind query: yes
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'TNF'))) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-08-15 05:55:34 Duration: 1m53s Bind query: yes
19 3m19s 25 7s889ms 8s47ms 7s994ms copy pubc.log_query_bots (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, 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, user_agent_pattern) to stdout;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Aug 11 06 1 7s963ms 7s963ms 10 1 7s984ms 7s984ms 14 1 7s983ms 7s983ms 18 1 7s965ms 7s965ms Aug 12 06 1 7s983ms 7s983ms 10 1 8s9ms 8s9ms 14 1 7s979ms 7s979ms 18 1 8s35ms 8s35ms Aug 13 06 1 7s984ms 7s984ms 10 1 8s3ms 8s3ms 14 1 8s47ms 8s47ms 18 1 7s990ms 7s990ms Aug 14 06 1 7s983ms 7s983ms 10 1 7s990ms 7s990ms 14 1 7s991ms 7s991ms 18 1 7s988ms 7s988ms Aug 15 06 1 8s4ms 8s4ms 10 1 8s39ms 8s39ms 14 1 8s4ms 8s4ms 18 1 8s4ms 8s4ms Aug 16 06 1 7s992ms 7s992ms 10 1 8s13ms 8s13ms 14 1 8s22ms 8s22ms 18 1 8s12ms 8s12ms Aug 17 19 1 7s889ms 7s889ms -
COPY pubc.log_query_bots (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, 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, user_agent_pattern) TO stdout;
Date: 2024-08-13 14:05:43 Duration: 8s47ms
-
COPY pubc.log_query_bots (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, 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, user_agent_pattern) TO stdout;
Date: 2024-08-15 10:05:43 Duration: 8s39ms
-
COPY pubc.log_query_bots (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, 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, user_agent_pattern) TO stdout;
Date: 2024-08-12 18:05:43 Duration: 8s35ms
20 2m42s 20 1s592ms 21s71ms 8s123ms select ? "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casrn "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" from ( with sq as ( select distinct c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casrn, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort from term c inner join gene_chem_reference gcr on c.id = gcr.chem_id inner join term g on gcr.gene_id = g.id where (c.id = ?)) select distinct sq.chem_nm, sq.chem_acc_txt, sq.casrn, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm from sq inner join gene_go_annot gga on sq.gene_id = gga.gene_id inner join dag_node gt on gga.go_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where gga.is_not = false and (d.id = ?) order by sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Aug 13 13 10 1m21s 8s153ms 14 10 1m20s 8s94ms [ User: pubeu - Total duration: 1m9s - Times executed: 6 ]
-
SELECT /* BatchChemGODAO */ 'd004317' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1282459)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 4) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-08-13 13:24:12 Duration: 21s71ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchChemGODAO */ 'd004317' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1282459)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 4) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-08-13 14:30:42 Duration: 20s734ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchChemGODAO */ 'd003907' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1291936)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 4) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-08-13 13:25:04 Duration: 19s538ms Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 2,938 1d13h9m20s 1s169ms 52s466ms 45s527ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ? offset ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Aug 11 01 1 3s238ms 3s238ms 07 1 1s169ms 1s169ms 20 10 7m35s 45s583ms 21 75 56m56s 45s558ms 22 76 57m38s 45s504ms 23 76 57m44s 45s586ms Aug 12 00 75 57m17s 45s839ms 01 74 57m 46s224ms 02 75 57m24s 45s929ms 03 75 57m44s 46s198ms 04 75 57m46s 46s213ms 05 45 33m58s 45s293ms 08 70 53m46s 46s93ms 09 75 57m1s 45s616ms 10 76 57m47s 45s627ms 11 75 57m5s 45s667ms 12 75 57m43s 46s185ms 13 75 57m46s 46s216ms 14 74 57m 46s227ms 15 76 58m8s 45s901ms 16 73 56m27s 46s400ms 17 74 57m14s 46s409ms 18 74 57m14s 46s416ms 19 76 58m5s 45s867ms 20 74 57m13s 46s394ms 21 74 57m25s 46s558ms 22 74 57m37s 46s717ms 23 74 57m44s 46s818ms Aug 13 00 75 57m35s 46s68ms 01 74 57m4s 46s274ms 02 74 57m49s 46s886ms 03 73 57m3s 46s902ms 04 74 57m53s 46s935ms 05 44 34m30s 47s60ms 07 4 14s598ms 3s649ms 13 7 28s99ms 4s14ms 16 1 2s180ms 2s180ms 18 1 3s196ms 3s196ms 21 63 49m8s 46s808ms 22 73 57m18s 47s99ms 23 73 57m26s 47s218ms Aug 14 00 73 57m14s 47s47ms 01 72 57m46s 48s148ms 02 72 57m17s 47s736ms 03 72 58m2s 48s373ms 04 72 57m7s 47s602ms 05 44 34m39s 47s266ms 09 1 10s487ms 10s487ms Aug 15 12 1 1s301ms 1s301ms 16 2 3s874ms 1s937ms 18 1 7s595ms 7s595ms 20 1 2s554ms 2s554ms 22 1 5s113ms 5s113ms 23 1 12s314ms 12s314ms Aug 16 00 1 6s451ms 6s451ms 04 3 3s794ms 1s264ms 05 1 5s306ms 5s306ms 11 1 6s668ms 6s668ms 18 1 2s539ms 2s539ms 20 1 1s415ms 1s415ms 23 20 54s392ms 2s719ms Aug 17 00 13 1m45s 8s153ms 20 1 7s970ms 7s970ms [ User: pubeu - Total duration: 1d8h27m46s - Times executed: 2535 ]
-
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 = '2077399') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 2454100;
Date: 2024-08-12 05:10:29 Duration: 52s466ms 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 = '2077399') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 2550000;
Date: 2024-08-14 01:07:51 Duration: 51s794ms 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 = '2077399') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 2549950;
Date: 2024-08-14 01:06:57 Duration: 51s754ms Database: ctdprd51 User: pubeu Bind query: yes
2 403 7m51s 1s101ms 1s310ms 1s170ms 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 Aug 11 00 4 4s600ms 1s150ms 01 2 2s379ms 1s189ms 02 3 3s433ms 1s144ms 03 2 2s350ms 1s175ms 04 3 3s511ms 1s170ms 05 6 7s195ms 1s199ms 06 3 3s552ms 1s184ms 07 1 1s185ms 1s185ms 08 2 2s376ms 1s188ms 09 7 8s239ms 1s177ms 10 4 4s636ms 1s159ms 11 5 5s878ms 1s175ms 13 3 3s581ms 1s193ms 14 2 2s406ms 1s203ms 15 2 2s355ms 1s177ms 19 1 1s140ms 1s140ms 20 3 3s552ms 1s184ms 22 3 3s511ms 1s170ms 23 3 3s479ms 1s159ms Aug 12 00 3 3s484ms 1s161ms 01 1 1s151ms 1s151ms 02 2 2s361ms 1s180ms 03 4 4s766ms 1s191ms 04 3 3s498ms 1s166ms 05 4 4s914ms 1s228ms 06 4 4s686ms 1s171ms 07 2 2s326ms 1s163ms 08 3 3s413ms 1s137ms 09 3 3s506ms 1s168ms 10 1 1s138ms 1s138ms 11 1 1s122ms 1s122ms 13 1 1s127ms 1s127ms 14 1 1s178ms 1s178ms 15 3 3s369ms 1s123ms 16 4 4s627ms 1s156ms 17 2 2s290ms 1s145ms 18 2 2s227ms 1s113ms 19 2 2s226ms 1s113ms 20 2 2s299ms 1s149ms 21 3 3s393ms 1s131ms 22 4 4s476ms 1s119ms 23 2 2s304ms 1s152ms Aug 13 00 5 5s651ms 1s130ms 01 6 7s34ms 1s172ms 02 2 2s329ms 1s164ms 03 2 2s293ms 1s146ms 04 2 2s307ms 1s153ms 05 5 5s976ms 1s195ms 06 1 1s139ms 1s139ms 07 1 1s177ms 1s177ms 08 4 4s617ms 1s154ms 09 1 1s124ms 1s124ms 10 2 2s355ms 1s177ms 11 1 1s192ms 1s192ms 12 1 1s204ms 1s204ms 13 4 4s757ms 1s189ms 14 4 4s698ms 1s174ms 15 1 1s126ms 1s126ms 16 1 1s162ms 1s162ms 17 5 5s848ms 1s169ms 19 2 2s366ms 1s183ms 20 2 2s367ms 1s183ms 21 10 11s542ms 1s154ms 22 3 3s405ms 1s135ms 23 2 2s348ms 1s174ms Aug 14 00 4 4s519ms 1s129ms 01 3 3s529ms 1s176ms 02 1 1s122ms 1s122ms 03 3 3s447ms 1s149ms 04 4 4s694ms 1s173ms 05 4 4s854ms 1s213ms 07 5 5s807ms 1s161ms 08 2 2s381ms 1s190ms 09 4 4s649ms 1s162ms 10 2 2s378ms 1s189ms 11 8 9s508ms 1s188ms 12 2 2s340ms 1s170ms 14 3 3s548ms 1s182ms 15 1 1s183ms 1s183ms 16 2 2s361ms 1s180ms 17 1 1s182ms 1s182ms 18 3 3s543ms 1s181ms 19 2 2s325ms 1s162ms 20 4 4s630ms 1s157ms 21 1 1s191ms 1s191ms 23 1 1s136ms 1s136ms Aug 15 00 2 2s350ms 1s175ms 01 3 3s457ms 1s152ms 02 7 8s101ms 1s157ms 03 2 2s296ms 1s148ms 05 7 8s487ms 1s212ms 06 2 2s350ms 1s175ms 07 2 2s323ms 1s161ms 08 4 4s673ms 1s168ms 09 3 3s482ms 1s160ms 10 4 4s624ms 1s156ms 11 6 7s51ms 1s175ms 12 5 5s833ms 1s166ms 13 2 2s352ms 1s176ms 14 4 4s755ms 1s188ms 15 4 4s833ms 1s208ms 17 1 1s186ms 1s186ms 18 3 3s522ms 1s174ms 19 4 4s693ms 1s173ms 20 2 2s345ms 1s172ms 21 2 2s326ms 1s163ms 22 4 4s666ms 1s166ms 23 1 1s159ms 1s159ms Aug 16 02 1 1s142ms 1s142ms 04 3 3s410ms 1s136ms 05 2 2s491ms 1s245ms 06 1 1s212ms 1s212ms 07 7 8s146ms 1s163ms 08 4 4s709ms 1s177ms 09 1 1s183ms 1s183ms 10 2 2s385ms 1s192ms 11 2 2s246ms 1s123ms 12 2 2s338ms 1s169ms 13 3 3s547ms 1s182ms 14 1 1s181ms 1s181ms 15 3 3s575ms 1s191ms 16 2 2s376ms 1s188ms 17 2 2s369ms 1s184ms 18 1 1s171ms 1s171ms 19 1 1s181ms 1s181ms 21 1 1s138ms 1s138ms 22 2 2s316ms 1s158ms 23 2 2s355ms 1s177ms Aug 17 02 3 3s554ms 1s184ms 03 3 3s504ms 1s168ms 04 4 4s750ms 1s187ms 05 4 4s945ms 1s236ms 06 3 3s506ms 1s168ms 08 1 1s186ms 1s186ms 09 1 1s196ms 1s196ms 10 2 2s370ms 1s185ms 11 1 1s176ms 1s176ms 13 2 2s382ms 1s191ms 14 2 2s364ms 1s182ms 15 2 2s361ms 1s180ms 17 3 3s541ms 1s180ms 19 3 3s424ms 1s141ms 20 5 5s648ms 1s129ms 21 1 1s102ms 1s102ms 22 2 2s384ms 1s192ms 23 1 1s186ms 1s186ms [ User: pubeu - Total duration: 5m6s - Times executed: 263 ]
-
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 = '1435399' or receptorTerm.id = '1435399' 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-08-11 05:38:45 Duration: 1s310ms 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 = '1957407' or receptorTerm.id = '1957407' 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-08-12 03:02:54 Duration: 1s300ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where exposureMarkerTerm.id = '1435399' or receptorTerm.id = '1435399' 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-08-12 05:43:46 Duration: 1s289ms Bind query: yes
3 299 19m55s 3s785ms 5s757ms 3s999ms select coalesce(st.alt_nm, t.nm) slimtermnm, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.curated_reference_qty > ?) curatedcount, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.indirect_gene_qty > ?) inferredcount from slim_term st inner join term t on st.slim_term_id = t.id where st.slim_id = ? order by ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Aug 11 00 1 3s998ms 3s998ms 01 3 11s718ms 3s906ms 04 2 7s788ms 3s894ms 07 1 3s945ms 3s945ms 14 2 7s851ms 3s925ms 15 5 21s406ms 4s281ms 16 3 12s262ms 4s87ms 17 4 15s608ms 3s902ms 18 1 3s983ms 3s983ms 19 1 3s995ms 3s995ms 21 1 3s929ms 3s929ms 22 8 31s579ms 3s947ms 23 4 15s919ms 3s979ms Aug 12 00 12 47s663ms 3s971ms 01 4 16s979ms 4s244ms 02 3 12s239ms 4s79ms 03 3 11s862ms 3s954ms 04 1 3s820ms 3s820ms 05 10 40s294ms 4s29ms 06 4 16s36ms 4s9ms 07 2 7s819ms 3s909ms 08 2 8s662ms 4s331ms 09 1 3s980ms 3s980ms 10 1 3s822ms 3s822ms 12 1 4s13ms 4s13ms 14 2 7s821ms 3s910ms 15 2 7s869ms 3s934ms 16 1 3s926ms 3s926ms 17 2 7s975ms 3s987ms 21 3 11s702ms 3s900ms 22 9 35s392ms 3s932ms Aug 13 00 3 12s463ms 4s154ms 01 2 7s580ms 3s790ms 04 5 20s138ms 4s27ms 05 6 23s712ms 3s952ms 06 2 7s777ms 3s888ms 08 1 3s900ms 3s900ms 09 2 8s23ms 4s11ms 10 2 7s851ms 3s925ms 11 2 7s823ms 3s911ms 12 3 11s748ms 3s916ms 15 9 36s87ms 4s9ms 17 3 11s892ms 3s964ms 18 1 3s958ms 3s958ms 20 1 3s836ms 3s836ms 21 1 3s983ms 3s983ms 22 1 3s804ms 3s804ms 23 7 27s518ms 3s931ms Aug 14 00 2 7s945ms 3s972ms 01 3 11s993ms 3s997ms 02 1 3s929ms 3s929ms 03 2 7s902ms 3s951ms 04 1 3s911ms 3s911ms 05 2 8s933ms 4s466ms 08 3 11s970ms 3s990ms 11 1 4s362ms 4s362ms 12 3 11s723ms 3s907ms 14 4 16s190ms 4s47ms 15 3 11s802ms 3s934ms 16 6 23s608ms 3s934ms 17 2 7s930ms 3s965ms 18 5 19s645ms 3s929ms 23 2 7s916ms 3s958ms Aug 15 00 1 3s894ms 3s894ms 01 1 4s21ms 4s21ms 02 2 8s63ms 4s31ms 03 2 7s880ms 3s940ms 04 4 15s728ms 3s932ms 05 2 7s735ms 3s867ms 06 3 11s991ms 3s997ms 07 1 3s811ms 3s811ms 08 5 19s394ms 3s878ms 09 4 17s451ms 4s362ms 10 5 20s506ms 4s101ms 11 4 16s221ms 4s55ms 12 1 4s408ms 4s408ms 16 1 3s821ms 3s821ms 17 1 4s99ms 4s99ms 18 2 7s893ms 3s946ms 19 2 7s929ms 3s964ms 22 1 3s953ms 3s953ms Aug 16 01 3 11s793ms 3s931ms 02 4 16s137ms 4s34ms 03 1 4s220ms 4s220ms 04 1 3s918ms 3s918ms 06 3 11s805ms 3s935ms 07 3 11s754ms 3s918ms 09 1 3s842ms 3s842ms 10 3 12s12ms 4s4ms 11 2 7s836ms 3s918ms 12 2 7s868ms 3s934ms 13 2 7s948ms 3s974ms 14 4 18s338ms 4s584ms 16 1 4s59ms 4s59ms 18 1 3s884ms 3s884ms 22 1 4s147ms 4s147ms Aug 17 02 3 11s779ms 3s926ms 03 4 15s863ms 3s965ms 05 3 13s84ms 4s361ms 06 1 4s75ms 4s75ms 07 1 3s955ms 3s955ms 09 2 7s824ms 3s912ms 13 2 8s55ms 4s27ms 14 3 11s703ms 3s901ms 15 10 39s828ms 3s982ms 16 1 3s857ms 3s857ms 18 1 3s975ms 3s975ms 19 1 3s953ms 3s953ms 21 3 11s785ms 3s928ms [ User: pubeu - Total duration: 14m - Times executed: 211 ]
-
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 = '1335779') 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 = '1335779') 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-08-16 14:11:13 Duration: 5s757ms 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 = '1320093') 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 = '1320093') 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-08-15 09:55:15 Duration: 5s238ms 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 = '1339274') 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 = '1339274') 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-08-17 05:59:42 Duration: 5s206ms Database: ctdprd51 User: pubeu Bind query: yes
4 192 8m13s 1s1ms 13s798ms 2s570ms select ? "Input", d.nm "DiseaseName", d.acc_db_cd || ? || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( select string_agg(stm.slim_term_nm, ? order by stm.slim_term_nm) from slim_term_mapping stm where stm.mapped_term_id = d.id) "DiseaseCategories", case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", string_agg(gdr.source_acc_txt, ? order by gdr.source_acc_txt) "OmimIDs", string_agg(distinct r.acc_txt, ?) "PubMedIDs" from gene_disease_reference gdr inner join term g on gdr.gene_id = g.id inner join term d on gdr.disease_id = d.id left outer join reference r on gdr.reference_id = r.id left outer join term c on gdr.via_chem_id = c.id where (d.id = ?) group by g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end, c.nm, gdr.network_score order by d.nm_sort, g.nm, "DirectEvidence", c.nm;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Aug 14 00 1 1s225ms 1s225ms 09 2 4s299ms 2s149ms Aug 15 19 189 8m8s 2s582ms [ User: pubeu - Total duration: 57s905ms - Times executed: 24 ]
-
SELECT /* BatchDiseaseGeneAssnsDAO */ '114480' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2084385) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2024-08-15 19:06:13 Duration: 13s798ms Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ '612052' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2082396) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2024-08-15 19:07:12 Duration: 13s47ms Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ '612052' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2082396) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2024-08-15 19:06:48 Duration: 12s726ms Bind query: yes
5 115 2m31s 1s187ms 1s651ms 1s318ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where outcome.disease_id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or receptorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Aug 11 00 1 1s364ms 1s364ms 01 3 3s902ms 1s300ms 03 1 1s290ms 1s290ms 04 1 1s263ms 1s263ms 05 2 2s814ms 1s407ms 07 1 1s344ms 1s344ms 08 1 1s278ms 1s278ms 13 1 1s334ms 1s334ms 17 1 1s301ms 1s301ms Aug 12 00 3 3s857ms 1s285ms 01 1 1s319ms 1s319ms 03 2 2s518ms 1s259ms 04 1 1s300ms 1s300ms 05 2 2s882ms 1s441ms 08 1 1s223ms 1s223ms 11 1 1s282ms 1s282ms 13 1 1s347ms 1s347ms 17 1 1s201ms 1s201ms 18 2 2s487ms 1s243ms 20 1 1s309ms 1s309ms Aug 13 00 1 1s405ms 1s405ms 01 1 1s294ms 1s294ms 02 3 4s60ms 1s353ms 03 1 1s187ms 1s187ms 05 3 4s6ms 1s335ms 09 1 1s198ms 1s198ms 16 2 3s7ms 1s503ms 18 1 1s312ms 1s312ms 20 3 3s780ms 1s260ms 21 1 1s320ms 1s320ms 23 2 2s526ms 1s263ms Aug 14 00 1 1s310ms 1s310ms 01 1 1s419ms 1s419ms 02 5 6s525ms 1s305ms 04 2 2s643ms 1s321ms 05 3 4s125ms 1s375ms 08 1 1s233ms 1s233ms 09 3 4s60ms 1s353ms 10 1 1s635ms 1s635ms 11 1 1s279ms 1s279ms 13 2 2s644ms 1s322ms Aug 15 01 1 1s623ms 1s623ms 03 1 1s259ms 1s259ms 04 1 1s283ms 1s283ms 05 2 2s842ms 1s421ms 11 2 2s507ms 1s253ms 12 1 1s240ms 1s240ms 13 1 1s315ms 1s315ms 14 1 1s274ms 1s274ms 18 1 1s287ms 1s287ms 20 1 1s299ms 1s299ms 21 2 2s620ms 1s310ms 23 1 1s215ms 1s215ms Aug 16 00 1 1s319ms 1s319ms 05 4 5s487ms 1s371ms 07 1 1s253ms 1s253ms 10 1 1s316ms 1s316ms 14 1 1s295ms 1s295ms 19 2 2s584ms 1s292ms 20 1 1s326ms 1s326ms 23 2 2s554ms 1s277ms Aug 17 00 1 1s355ms 1s355ms 01 1 1s290ms 1s290ms 04 1 1s271ms 1s271ms 05 3 4s93ms 1s364ms 06 1 1s277ms 1s277ms 08 2 2s832ms 1s416ms 11 1 1s272ms 1s272ms 13 1 1s256ms 1s256ms 15 3 3s865ms 1s288ms 16 1 1s355ms 1s355ms 17 2 2s509ms 1s254ms 19 2 2s448ms 1s224ms 20 1 1s244ms 1s244ms [ User: pubeu - Total duration: 1m30s - Times executed: 69 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.disease_id in ( select descendant_object_id from dag_path where ancestor_object_id = '2076639') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2076639') 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-08-13 16:21:35 Duration: 1s651ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.disease_id in ( select descendant_object_id from dag_path where ancestor_object_id = '2076639') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2076639') 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-08-14 10:23:23 Duration: 1s635ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.disease_id in ( select descendant_object_id from dag_path where ancestor_object_id = '2076639') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2076639') 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-08-15 01:24:32 Duration: 1s623ms Database: ctdprd51 User: pubeu Bind query: yes
6 109 2m33s 1s338ms 1s481ms 1s409ms select t.nm, t.nm_html nmhtml, t.secondary_nm secondarynm, t.acc_txt acc, ? || t.nm accquerystr, t.has_chems haschems, t.has_diseases hasdiseases, t.has_exposures hasexposures, t.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term t where t.object_type_id = ? and regexp_replace(upper(substring(t.nm, ?, ?)), ?, ?) = ? order by t.nm_sort limit ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Aug 11 05 3 4s289ms 1s429ms 09 1 1s387ms 1s387ms 10 1 1s447ms 1s447ms 11 1 1s481ms 1s481ms 12 1 1s348ms 1s348ms 13 1 1s438ms 1s438ms 15 1 1s360ms 1s360ms 17 1 1s454ms 1s454ms 18 3 4s263ms 1s421ms 19 2 2s819ms 1s409ms 20 1 1s447ms 1s447ms 21 1 1s377ms 1s377ms 23 1 1s438ms 1s438ms Aug 12 00 3 4s88ms 1s362ms 01 1 1s386ms 1s386ms 02 3 4s226ms 1s408ms 05 2 2s867ms 1s433ms 08 1 1s359ms 1s359ms 09 2 2s897ms 1s448ms 10 1 1s389ms 1s389ms 15 2 2s761ms 1s380ms 23 1 1s360ms 1s360ms Aug 13 01 1 1s447ms 1s447ms 02 3 4s237ms 1s412ms 03 3 4s175ms 1s391ms 04 1 1s347ms 1s347ms 05 3 4s178ms 1s392ms 06 1 1s358ms 1s358ms 09 1 1s345ms 1s345ms 13 1 1s451ms 1s451ms 16 1 1s369ms 1s369ms 17 2 2s916ms 1s458ms 21 3 4s153ms 1s384ms Aug 14 00 2 2s796ms 1s398ms 01 3 4s219ms 1s406ms 04 3 4s148ms 1s382ms 05 8 11s319ms 1s414ms 08 2 2s821ms 1s410ms 09 1 1s357ms 1s357ms 20 1 1s426ms 1s426ms 21 3 4s115ms 1s371ms 22 3 4s299ms 1s433ms Aug 15 00 1 1s369ms 1s369ms 02 2 2s774ms 1s387ms 03 1 1s450ms 1s450ms 04 2 2s809ms 1s404ms 05 3 4s270ms 1s423ms 08 1 1s429ms 1s429ms 13 1 1s478ms 1s478ms 15 2 2s866ms 1s433ms 16 1 1s453ms 1s453ms Aug 16 03 1 1s424ms 1s424ms 04 1 1s462ms 1s462ms 05 3 4s276ms 1s425ms 11 1 1s448ms 1s448ms 12 1 1s341ms 1s341ms 22 1 1s431ms 1s431ms Aug 17 01 1 1s385ms 1s385ms 02 1 1s387ms 1s387ms 05 3 4s285ms 1s428ms 13 1 1s414ms 1s414ms 16 1 1s456ms 1s456ms [ User: pubeu - Total duration: 1m38s - Times executed: 70 ]
-
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-08-11 11:08:21 Duration: 1s481ms 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-08-12 09:22:39 Duration: 1s478ms 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-08-16 05:42:09 Duration: 1s478ms Bind query: yes
7 99 2m9s 1s137ms 1s557ms 1s306ms 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 #7
Day Hour Count Duration Avg duration Aug 11 01 1 1s269ms 1s269ms 02 1 1s260ms 1s260ms 03 1 1s278ms 1s278ms 05 2 2s799ms 1s399ms 08 2 2s519ms 1s259ms 10 1 1s347ms 1s347ms 11 1 1s281ms 1s281ms 14 1 1s277ms 1s277ms 18 2 2s624ms 1s312ms Aug 12 00 1 1s449ms 1s449ms 02 2 2s516ms 1s258ms 03 1 1s269ms 1s269ms 04 1 1s260ms 1s260ms 05 2 2s772ms 1s386ms 06 2 2s527ms 1s263ms 09 2 2s486ms 1s243ms 11 1 1s332ms 1s332ms 15 1 1s234ms 1s234ms 16 2 2s536ms 1s268ms 18 2 2s512ms 1s256ms 21 1 1s217ms 1s217ms Aug 13 00 1 1s475ms 1s475ms 04 1 1s363ms 1s363ms 05 2 2s737ms 1s368ms 06 1 1s265ms 1s265ms 09 1 1s345ms 1s345ms 11 1 1s314ms 1s314ms 12 1 1s557ms 1s557ms 13 2 2s441ms 1s220ms 17 2 2s633ms 1s316ms 18 1 1s249ms 1s249ms 23 3 3s928ms 1s309ms Aug 14 00 1 1s438ms 1s438ms 02 1 1s220ms 1s220ms 03 2 2s450ms 1s225ms 05 4 5s402ms 1s350ms 06 1 1s268ms 1s268ms 08 1 1s265ms 1s265ms 11 1 1s285ms 1s285ms 12 1 1s502ms 1s502ms 14 1 1s275ms 1s275ms 17 1 1s251ms 1s251ms 20 2 2s541ms 1s270ms 23 1 1s276ms 1s276ms Aug 15 00 2 2s535ms 1s267ms 02 1 1s301ms 1s301ms 04 2 2s673ms 1s336ms 05 3 4s62ms 1s354ms 11 1 1s287ms 1s287ms 15 1 1s276ms 1s276ms 20 1 1s287ms 1s287ms 22 1 1s338ms 1s338ms Aug 16 00 1 1s482ms 1s482ms 01 1 1s258ms 1s258ms 05 2 2s656ms 1s328ms 09 1 1s286ms 1s286ms 17 3 3s815ms 1s271ms 18 1 1s357ms 1s357ms 20 1 1s225ms 1s225ms 23 1 1s506ms 1s506ms Aug 17 02 1 1s284ms 1s284ms 04 2 2s541ms 1s270ms 05 3 4s60ms 1s353ms 10 2 2s568ms 1s284ms 16 1 1s285ms 1s285ms 18 1 1s367ms 1s367ms 21 2 2s286ms 1s143ms 22 1 1s283ms 1s283ms [ User: pubeu - Total duration: 1m17s - Times executed: 59 ]
[ User: qaeu - Total duration: 2s738ms - Times executed: 2 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1228415') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1228415') 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-08-13 12:43:34 Duration: 1s557ms 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 = '1228415') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1228415') 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-08-16 23:22:06 Duration: 1s506ms 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 = '1228415') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1228415') 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-08-14 12:37:40 Duration: 1s502ms Bind query: yes
8 88 5m46s 1s3ms 5s913ms 3s933ms select d.abbr dagabbr, d.nm dagnm, gt.level_min_no daglevelmin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pvalcorrected, te.raw_p_val pvalraw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, count(*) over () fullrowcount from term_enrichment te inner join dag_node gt on te.enriched_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, d.abbr, gt.nm_sort limit ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Aug 11 00 1 5s913ms 5s913ms 01 1 5s153ms 5s153ms 02 1 5s389ms 5s389ms 03 1 1s16ms 1s16ms 04 1 5s44ms 5s44ms 05 1 1s3ms 1s3ms 06 1 5s105ms 5s105ms 08 2 6s217ms 3s108ms 09 1 5s70ms 5s70ms 10 2 6s331ms 3s165ms 11 1 1s12ms 1s12ms 13 4 20s916ms 5s229ms 19 1 5s194ms 5s194ms 23 1 1s16ms 1s16ms Aug 12 02 1 5s287ms 5s287ms 03 1 1s25ms 1s25ms 04 1 5s378ms 5s378ms 09 1 5s35ms 5s35ms 15 3 15s960ms 5s320ms 16 1 5s84ms 5s84ms 22 1 5s343ms 5s343ms Aug 13 05 5 5s51ms 1s10ms 07 1 1s24ms 1s24ms 08 4 8s41ms 2s10ms 10 1 1s13ms 1s13ms Aug 14 05 3 11s838ms 3s946ms 06 1 1s20ms 1s20ms 18 1 5s69ms 5s69ms 22 1 5s108ms 5s108ms Aug 15 04 1 5s185ms 5s185ms 05 3 3s42ms 1s14ms 09 2 10s938ms 5s469ms 10 1 5s647ms 5s647ms 11 1 4s888ms 4s888ms 15 1 5s364ms 5s364ms 17 1 5s379ms 5s379ms 20 2 10s171ms 5s85ms Aug 16 03 3 15s858ms 5s286ms 04 1 1s3ms 1s3ms 05 4 13s41ms 3s260ms 06 1 5s507ms 5s507ms 10 4 21s534ms 5s383ms 12 1 5s507ms 5s507ms 15 1 1s9ms 1s9ms 20 1 5s21ms 5s21ms 22 2 10s147ms 5s73ms 23 1 5s397ms 5s397ms Aug 17 05 1 1s4ms 1s4ms 06 3 15s906ms 5s302ms 09 1 5s355ms 5s355ms 11 1 4s990ms 4s990ms 13 2 10s274ms 5s137ms 17 1 5s52ms 5s52ms 18 1 4s932ms 4s932ms 21 1 3s299ms 3s299ms 22 1 5s9ms 5s9ms [ User: pubeu - Total duration: 3m34s - Times executed: 55 ]
[ User: qaeu - Total duration: 2s39ms - Times executed: 2 ]
-
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 = '1421972' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-08-11 00:01:26 Duration: 5s913ms 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 = '1266646' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-08-15 10:32:17 Duration: 5s647ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1343081' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-08-16 10:49:28 Duration: 5s619ms Bind query: yes
9 85 4m59s 1s7ms 12s157ms 3s521ms 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 #9
Day Hour Count Duration Avg duration Aug 11 00 2 4s712ms 2s356ms 03 1 6s944ms 6s944ms 06 1 1s353ms 1s353ms 11 1 10s93ms 10s93ms 12 1 1s7ms 1s7ms 18 1 1s131ms 1s131ms 20 1 2s620ms 2s620ms Aug 12 01 1 5s62ms 5s62ms 04 3 14s852ms 4s950ms 07 1 2s192ms 2s192ms 08 1 1s369ms 1s369ms 09 1 1s350ms 1s350ms 10 1 2s589ms 2s589ms 11 3 9s598ms 3s199ms 12 1 1s157ms 1s157ms 14 1 1s331ms 1s331ms 19 1 1s135ms 1s135ms 20 1 2s674ms 2s674ms 23 1 1s92ms 1s92ms Aug 13 00 1 2s185ms 2s185ms 01 1 1s171ms 1s171ms 02 1 1s106ms 1s106ms 07 1 2s605ms 2s605ms 08 2 7s594ms 3s797ms 10 1 1s318ms 1s318ms 11 1 2s575ms 2s575ms 12 2 3s426ms 1s713ms 14 2 7s179ms 3s589ms 15 2 11s863ms 5s931ms 21 1 2s637ms 2s637ms 22 1 1s67ms 1s67ms 23 2 21s114ms 10s557ms Aug 14 01 2 9s999ms 4s999ms 04 2 15s397ms 7s698ms 06 1 1s570ms 1s570ms 07 3 8s443ms 2s814ms 08 1 1s376ms 1s376ms 09 1 1s257ms 1s257ms 11 1 1s96ms 1s96ms 12 1 1s115ms 1s115ms 21 1 10s100ms 10s100ms 22 1 1s158ms 1s158ms Aug 15 00 1 1s395ms 1s395ms 04 1 4s566ms 4s566ms 05 1 2s502ms 2s502ms 06 1 1s130ms 1s130ms 07 1 1s239ms 1s239ms 17 1 6s569ms 6s569ms 18 1 1s140ms 1s140ms 21 1 1s364ms 1s364ms 23 1 1s131ms 1s131ms Aug 16 04 4 14s90ms 3s522ms 09 1 1s701ms 1s701ms 11 1 1s195ms 1s195ms 13 1 2s773ms 2s773ms 23 6 36s307ms 6s51ms Aug 17 03 2 13s220ms 6s610ms 07 1 10s436ms 10s436ms 12 1 4s43ms 4s43ms 13 2 3s803ms 1s901ms 23 1 1s67ms 1s67ms [ User: pubeu - Total duration: 3m38s - Times executed: 61 ]
-
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 = '2073928') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-08-17 03:33:32 Duration: 12s157ms 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 = '2084677') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-08-12 04:38:02 Duration: 10s786ms 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 = '2084677') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-08-14 04:49:45 Duration: 10s728ms Database: ctdprd51 User: pubeu Bind query: yes
10 45 2m14s 1s7ms 16s430ms 2s981ms 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 #10
Day Hour Count Duration Avg duration Aug 11 23 4 8s388ms 2s97ms Aug 12 01 3 47s365ms 15s788ms 03 2 2s190ms 1s95ms 04 2 2s165ms 1s82ms 05 6 6s153ms 1s25ms 10 3 5s896ms 1s965ms Aug 14 05 4 5s240ms 1s310ms 08 2 3s165ms 1s582ms Aug 16 02 1 1s576ms 1s576ms 04 1 3s300ms 3s300ms 21 1 1s453ms 1s453ms Aug 17 05 7 15s925ms 2s275ms 06 1 1s206ms 1s206ms 07 4 8s301ms 2s75ms 08 1 2s107ms 2s107ms 10 2 8s204ms 4s102ms 15 1 11s526ms 11s526ms [ User: pubeu - Total duration: 1m13s - Times executed: 32 ]
-
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 = '2072890') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-08-12 01:31:52 Duration: 16s430ms 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 = '2072890') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-08-12 01:31:31 Duration: 15s519ms 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 = '2072890') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-08-12 01:30:54 Duration: 15s416ms Bind query: yes
11 35 1m22s 1s1ms 3s395ms 2s368ms with recursive sub_node ( object_id, id, path, lvl ) as ( select n.object_id, n.id, array[n.nm_sort], ? from dag_node n where n.object_id = ? union all select n.object_id, n.id, cast(path || n.nm_sort as varchar(?)[]), sn.lvl + ? from dag_node n inner join sub_node sn on (n.parent_id = sn.id)) select distinct t.nm prinm, t.nm_html prinmhtml, t.secondary_nm secondarynm, t.acc_db_cd accdbcd, t.acc_txt termacc, t.is_leaf isleaf, t.has_chems haschems, t.has_diseases hasdiseases, t.has_exposures hasexposures, t.has_genes hasgenes, sn.lvl, sn.path, max(sn.lvl) over () maxlvl, t.has_phenotypes hasphenotypes from sub_node sn inner join term t on sn.object_id = t.id where sn.lvl <= ? order by sn.path;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Aug 11 05 4 8s753ms 2s188ms 06 1 1s861ms 1s861ms Aug 12 05 6 15s451ms 2s575ms Aug 13 05 4 8s689ms 2s172ms Aug 14 05 4 8s722ms 2s180ms 12 2 3s816ms 1s908ms 21 1 3s226ms 3s226ms Aug 15 05 4 8s791ms 2s197ms 06 2 6s527ms 3s263ms Aug 16 05 3 7s583ms 2s527ms Aug 17 05 3 7s550ms 2s516ms 07 1 1s928ms 1s928ms [ User: pubeu - Total duration: 30s384ms - Times executed: 10 ]
[ User: qaeu - Total duration: 23s197ms - 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 = '591154' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2024-08-12 05:35:19 Duration: 3s395ms Database: ctdprd51 User: pubeu Bind query: yes
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '591154' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2024-08-11 05:40:12 Duration: 3s388ms Database: ctdprd51 User: qaeu Bind query: yes
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '591154' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2024-08-15 05:40:12 Duration: 3s361ms Database: ctdprd51 User: qaeu Bind query: yes
12 33 45s702ms 1s93ms 1s795ms 1s384ms select fg.nm fromgenesymbol, fg.acc_txt fromgeneacc, tg.nm togenesymbol, tg.acc_txt togeneacc, ft.nm fromtaxonnm, ft.secondary_nm fromtaxoncommonnm, ft.acc_txt fromtaxonacc, tt.nm totaxonnm, tt.secondary_nm totaxoncommonnm, tt.acc_txt totaxonacc, ggr.experimental_sys_nm, ggr.experimental_sys_type, ( select string_agg(ggt.throughput_txt, ? order by ggt.throughput_txt) from gene_gene_ref_throughput ggt where ggt.gene_gene_reference_id = ggr.id) throughput, count(*) over () fullrowcount from gene_gene_reference ggr inner join term fg on ggr.from_gene_id = fg.id inner join term tg on ggr.to_gene_id = tg.id inner join term ft on ggr.from_taxon_id = ft.id inner join term tt on ggr.to_taxon_id = tt.id where ggr.reference_id = ? order by fg.nm_sort, tg.nm_sort limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Aug 11 05 4 5s352ms 1s338ms 19 1 1s137ms 1s137ms Aug 12 05 4 5s572ms 1s393ms 09 1 1s195ms 1s195ms Aug 13 00 1 1s93ms 1s93ms 03 1 1s195ms 1s195ms 05 4 6s269ms 1s567ms Aug 14 05 4 5s450ms 1s362ms Aug 15 05 4 5s909ms 1s477ms Aug 16 05 4 5s890ms 1s472ms Aug 17 05 3 4s2ms 1s334ms 11 1 1s421ms 1s421ms 14 1 1s211ms 1s211ms [ User: pubeu - Total duration: 17s468ms - Times executed: 13 ]
[ User: qaeu - Total duration: 7s716ms - Times executed: 6 ]
-
SELECT /* ReferenceGeneGeneIxnsDAO */ fg.nm fromGeneSymbol, fg.acc_txt fromGeneAcc, tg.nm toGeneSymbol, tg.acc_txt toGeneAcc, ft.nm fromTaxonNm, ft.secondary_nm fromTaxonCommonNm, ft.acc_txt fromTaxonAcc, tt.nm toTaxonNm, tt.secondary_nm toTaxonCommonNm, tt.acc_txt toTaxonAcc, ggr.experimental_sys_nm, ggr.experimental_sys_type, ( SELECT STRING_AGG(ggt.throughput_txt, ', ' ORDER BY ggt.throughput_txt) FROM gene_gene_ref_throughput ggt WHERE ggt.gene_gene_reference_id = ggr.id) throughput, COUNT(*) OVER () fullRowCount FROM gene_gene_reference ggr INNER JOIN term fg ON ggr.from_gene_id = fg.id INNER JOIN term tg ON ggr.to_gene_id = tg.id INNER JOIN term ft ON ggr.from_taxon_id = ft.id INNER JOIN term tt ON ggr.to_taxon_id = tt.id WHERE ggr.reference_id = '111363' ORDER BY fg.nm_sort, tg.nm_sort LIMIT 50;
Date: 2024-08-16 05:43:11 Duration: 1s795ms Bind query: yes
-
SELECT /* ReferenceGeneGeneIxnsDAO */ fg.nm fromGeneSymbol, fg.acc_txt fromGeneAcc, tg.nm toGeneSymbol, tg.acc_txt toGeneAcc, ft.nm fromTaxonNm, ft.secondary_nm fromTaxonCommonNm, ft.acc_txt fromTaxonAcc, tt.nm toTaxonNm, tt.secondary_nm toTaxonCommonNm, tt.acc_txt toTaxonAcc, ggr.experimental_sys_nm, ggr.experimental_sys_type, ( SELECT STRING_AGG(ggt.throughput_txt, ', ' ORDER BY ggt.throughput_txt) FROM gene_gene_ref_throughput ggt WHERE ggt.gene_gene_reference_id = ggr.id) throughput, COUNT(*) OVER () fullRowCount FROM gene_gene_reference ggr INNER JOIN term fg ON ggr.from_gene_id = fg.id INNER JOIN term tg ON ggr.to_gene_id = tg.id INNER JOIN term ft ON ggr.from_taxon_id = ft.id INNER JOIN term tt ON ggr.to_taxon_id = tt.id WHERE ggr.reference_id = '111363' ORDER BY fg.nm_sort, tg.nm_sort LIMIT 50;
Date: 2024-08-12 05:43:13 Duration: 1s776ms Bind query: yes
-
SELECT /* ReferenceGeneGeneIxnsDAO */ fg.nm fromGeneSymbol, fg.acc_txt fromGeneAcc, tg.nm toGeneSymbol, tg.acc_txt toGeneAcc, ft.nm fromTaxonNm, ft.secondary_nm fromTaxonCommonNm, ft.acc_txt fromTaxonAcc, tt.nm toTaxonNm, tt.secondary_nm toTaxonCommonNm, tt.acc_txt toTaxonAcc, ggr.experimental_sys_nm, ggr.experimental_sys_type, ( SELECT STRING_AGG(ggt.throughput_txt, ', ' ORDER BY ggt.throughput_txt) FROM gene_gene_ref_throughput ggt WHERE ggt.gene_gene_reference_id = ggr.id) throughput, COUNT(*) OVER () fullRowCount FROM gene_gene_reference ggr INNER JOIN term fg ON ggr.from_gene_id = fg.id INNER JOIN term tg ON ggr.to_gene_id = tg.id INNER JOIN term ft ON ggr.from_taxon_id = ft.id INNER JOIN term tt ON ggr.to_taxon_id = tt.id WHERE ggr.reference_id = '111363' ORDER BY fg.nm_sort, tg.nm_sort LIMIT 50;
Date: 2024-08-13 05:38:18 Duration: 1s763ms Database: ctdprd51 User: pubeu Bind query: yes
13 31 1m36s 1s167ms 6s595ms 3s123ms 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 Aug 11 00 1 2s99ms 2s99ms Aug 13 01 1 1s167ms 1s167ms 21 1 2s764ms 2s764ms Aug 14 18 1 2s564ms 2s564ms Aug 16 04 17 57s361ms 3s374ms Aug 17 06 10 30s878ms 3s87ms [ User: pubeu - Total duration: 1m3s - Times executed: 21 ]
-
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 = '651438' 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 = '651438') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-08-16 04:51:38 Duration: 6s595ms Database: ctdprd51 User: pubeu 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 = '651438' 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 = '651438') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-08-17 06:03:22 Duration: 5s748ms 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 = '651112' 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 = '651112') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-08-16 04:51:36 Duration: 4s379ms Database: ctdprd51 User: pubeu Bind query: yes
14 25 13m56s 32s978ms 33s629ms 33s455ms 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 #14
Day Hour Count Duration Avg duration Aug 11 06 1 33s452ms 33s452ms 10 1 33s333ms 33s333ms 14 1 33s490ms 33s490ms 18 1 33s338ms 33s338ms Aug 12 06 1 33s436ms 33s436ms 10 1 33s452ms 33s452ms 14 1 33s494ms 33s494ms 18 1 33s561ms 33s561ms Aug 13 06 1 33s414ms 33s414ms 10 1 33s629ms 33s629ms 14 1 33s374ms 33s374ms 18 1 33s518ms 33s518ms Aug 14 06 1 33s459ms 33s459ms 10 1 33s502ms 33s502ms 14 1 33s522ms 33s522ms 18 1 33s453ms 33s453ms Aug 15 06 1 33s440ms 33s440ms 10 1 33s575ms 33s575ms 14 1 33s519ms 33s519ms 18 1 33s414ms 33s414ms Aug 16 06 1 33s470ms 33s470ms 10 1 33s509ms 33s509ms 14 1 33s509ms 33s509ms 18 1 33s529ms 33s529ms Aug 17 19 1 32s978ms 32s978ms [ User: postgres - Total duration: 13m23s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 13m23s - 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-08-13 10:05:35 Duration: 33s629ms 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-08-15 10:05:35 Duration: 33s575ms 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-08-12 18:05:34 Duration: 33s561ms Database: ctdprd51 User: postgres Application: pg_dump
15 25 5m59s 14s284ms 14s525ms 14s386ms copy edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Aug 11 06 1 14s359ms 14s359ms 10 1 14s322ms 14s322ms 14 1 14s343ms 14s343ms 18 1 14s368ms 14s368ms Aug 12 06 1 14s349ms 14s349ms 10 1 14s436ms 14s436ms 14 1 14s525ms 14s525ms 18 1 14s429ms 14s429ms Aug 13 06 1 14s375ms 14s375ms 10 1 14s368ms 14s368ms 14 1 14s413ms 14s413ms 18 1 14s469ms 14s469ms Aug 14 06 1 14s433ms 14s433ms 10 1 14s326ms 14s326ms 14 1 14s326ms 14s326ms 18 1 14s417ms 14s417ms Aug 15 06 1 14s387ms 14s387ms 10 1 14s383ms 14s383ms 14 1 14s364ms 14s364ms 18 1 14s391ms 14s391ms Aug 16 06 1 14s462ms 14s462ms 10 1 14s350ms 14s350ms 14 1 14s443ms 14s443ms 18 1 14s322ms 14s322ms Aug 17 18 1 14s284ms 14s284ms [ User: postgres - Total duration: 5m59s - Times executed: 25 ]
[ Application: pg_dump - Total duration: 5m59s - Times executed: 25 ]
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-12 14:00:16 Duration: 14s525ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-13 18:00:16 Duration: 14s469ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-16 06:00:16 Duration: 14s462ms Database: ctdprd51 User: postgres Application: pg_dump
16 25 3m19s 7s889ms 8s47ms 7s994ms copy pubc.log_query_bots (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, 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, user_agent_pattern) to stdout;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Aug 11 06 1 7s963ms 7s963ms 10 1 7s984ms 7s984ms 14 1 7s983ms 7s983ms 18 1 7s965ms 7s965ms Aug 12 06 1 7s983ms 7s983ms 10 1 8s9ms 8s9ms 14 1 7s979ms 7s979ms 18 1 8s35ms 8s35ms Aug 13 06 1 7s984ms 7s984ms 10 1 8s3ms 8s3ms 14 1 8s47ms 8s47ms 18 1 7s990ms 7s990ms Aug 14 06 1 7s983ms 7s983ms 10 1 7s990ms 7s990ms 14 1 7s991ms 7s991ms 18 1 7s988ms 7s988ms Aug 15 06 1 8s4ms 8s4ms 10 1 8s39ms 8s39ms 14 1 8s4ms 8s4ms 18 1 8s4ms 8s4ms Aug 16 06 1 7s992ms 7s992ms 10 1 8s13ms 8s13ms 14 1 8s22ms 8s22ms 18 1 8s12ms 8s12ms Aug 17 19 1 7s889ms 7s889ms -
COPY pubc.log_query_bots (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, 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, user_agent_pattern) TO stdout;
Date: 2024-08-13 14:05:43 Duration: 8s47ms
-
COPY pubc.log_query_bots (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, 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, user_agent_pattern) TO stdout;
Date: 2024-08-15 10:05:43 Duration: 8s39ms
-
COPY pubc.log_query_bots (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, 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, user_agent_pattern) TO stdout;
Date: 2024-08-12 18:05:43 Duration: 8s35ms
17 25 1m5s 2s608ms 2s661ms 2s630ms copy edit.reference_ixn_qualifier (reference_ixn_id, ixn_qualifier_id, create_by, create_tm) to stdout;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Aug 11 06 1 2s628ms 2s628ms 10 1 2s608ms 2s608ms 14 1 2s632ms 2s632ms 18 1 2s644ms 2s644ms Aug 12 06 1 2s626ms 2s626ms 10 1 2s636ms 2s636ms 14 1 2s639ms 2s639ms 18 1 2s630ms 2s630ms Aug 13 06 1 2s635ms 2s635ms 10 1 2s620ms 2s620ms 14 1 2s629ms 2s629ms 18 1 2s633ms 2s633ms Aug 14 06 1 2s624ms 2s624ms 10 1 2s642ms 2s642ms 14 1 2s617ms 2s617ms 18 1 2s655ms 2s655ms Aug 15 06 1 2s631ms 2s631ms 10 1 2s661ms 2s661ms 14 1 2s629ms 2s629ms 18 1 2s626ms 2s626ms Aug 16 06 1 2s614ms 2s614ms 10 1 2s626ms 2s626ms 14 1 2s630ms 2s630ms 18 1 2s623ms 2s623ms Aug 17 18 1 2s618ms 2s618ms -
COPY edit.reference_ixn_qualifier (reference_ixn_id, ixn_qualifier_id, create_by, create_tm) TO stdout;
Date: 2024-08-15 10:01:10 Duration: 2s661ms
-
COPY edit.reference_ixn_qualifier (reference_ixn_id, ixn_qualifier_id, create_by, create_tm) TO stdout;
Date: 2024-08-14 18:01:09 Duration: 2s655ms
-
COPY edit.reference_ixn_qualifier (reference_ixn_id, ixn_qualifier_id, create_by, create_tm) TO stdout;
Date: 2024-08-11 18:01:09 Duration: 2s644ms
18 25 25s580ms 1s4ms 1s71ms 1s23ms copy edit.reference_party_role (reference_id, reference_party_id, list_seq, create_by, create_tm) to stdout;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Aug 11 06 1 1s71ms 1s71ms 10 1 1s18ms 1s18ms 14 1 1s30ms 1s30ms 18 1 1s19ms 1s19ms Aug 12 06 1 1s13ms 1s13ms 10 1 1s66ms 1s66ms 14 1 1s28ms 1s28ms 18 1 1s13ms 1s13ms Aug 13 06 1 1s19ms 1s19ms 10 1 1s29ms 1s29ms 14 1 1s50ms 1s50ms 18 1 1s8ms 1s8ms Aug 14 06 1 1s13ms 1s13ms 10 1 1s12ms 1s12ms 14 1 1s14ms 1s14ms 18 1 1s26ms 1s26ms Aug 15 06 1 1s20ms 1s20ms 10 1 1s24ms 1s24ms 14 1 1s13ms 1s13ms 18 1 1s12ms 1s12ms Aug 16 06 1 1s17ms 1s17ms 10 1 1s22ms 1s22ms 14 1 1s18ms 1s18ms 18 1 1s4ms 1s4ms Aug 17 18 1 1s11ms 1s11ms -
COPY edit.reference_party_role (reference_id, reference_party_id, list_seq, create_by, create_tm) TO stdout;
Date: 2024-08-11 06:01:11 Duration: 1s71ms
-
COPY edit.reference_party_role (reference_id, reference_party_id, list_seq, create_by, create_tm) TO stdout;
Date: 2024-08-12 10:01:11 Duration: 1s66ms
-
COPY edit.reference_party_role (reference_id, reference_party_id, list_seq, create_by, create_tm) TO stdout;
Date: 2024-08-13 14:01:11 Duration: 1s50ms
19 23 5m23s 14s6ms 14s163ms 14s55ms copy edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Aug 11 06 1 14s62ms 14s62ms 10 1 14s44ms 14s44ms 14 1 14s9ms 14s9ms 18 1 14s51ms 14s51ms Aug 12 10 1 14s59ms 14s59ms 14 1 14s53ms 14s53ms 18 1 14s73ms 14s73ms Aug 13 06 1 14s48ms 14s48ms 10 1 14s47ms 14s47ms 14 1 14s82ms 14s82ms 18 1 14s28ms 14s28ms Aug 14 06 1 14s163ms 14s163ms 10 1 14s41ms 14s41ms 14 1 14s96ms 14s96ms 18 1 14s69ms 14s69ms Aug 15 10 1 14s108ms 14s108ms 14 1 14s15ms 14s15ms 18 1 14s57ms 14s57ms Aug 16 06 1 14s50ms 14s50ms 10 1 14s40ms 14s40ms 14 1 14s6ms 14s6ms 18 1 14s59ms 14s59ms Aug 17 18 1 14s10ms 14s10ms -
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-14 06:00:58 Duration: 14s163ms
-
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-15 10:00:58 Duration: 14s108ms
-
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-14 14:00:57 Duration: 14s96ms
20 23 2m32s 6s590ms 6s707ms 6s628ms copy edit.ixn (id, ixn_type_id, parent_id, position_seq, root_id, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Aug 11 06 1 6s599ms 6s599ms 14 1 6s608ms 6s608ms 18 1 6s609ms 6s609ms Aug 12 10 1 6s627ms 6s627ms 14 1 6s665ms 6s665ms 18 1 6s637ms 6s637ms Aug 13 06 1 6s590ms 6s590ms 10 1 6s645ms 6s645ms 14 1 6s707ms 6s707ms 18 1 6s631ms 6s631ms Aug 14 06 1 6s671ms 6s671ms 10 1 6s616ms 6s616ms 14 1 6s634ms 6s634ms 18 1 6s625ms 6s625ms Aug 15 06 1 6s620ms 6s620ms 10 1 6s610ms 6s610ms 14 1 6s650ms 6s650ms 18 1 6s606ms 6s606ms Aug 16 06 1 6s631ms 6s631ms 10 1 6s611ms 6s611ms 14 1 6s642ms 6s642ms 18 1 6s614ms 6s614ms Aug 17 18 1 6s602ms 6s602ms -
COPY edit.ixn (id, ixn_type_id, parent_id, position_seq, root_id, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-13 14:00:24 Duration: 6s707ms
-
COPY edit.ixn (id, ixn_type_id, parent_id, position_seq, root_id, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-14 06:00:25 Duration: 6s671ms
-
COPY edit.ixn (id, ixn_type_id, parent_id, position_seq, root_id, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-12 14:00:25 Duration: 6s665ms
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 23m37s 23m37s 23m37s 1 23m37s copy pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Aug 17 19 1 23m37s 23m37s -
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-08-17 19:00:30 Duration: 23m37s
2 23m27s 23m27s 23m27s 1 23m27s copy pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Aug 17 19 1 23m27s 23m27s -
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-08-17 19:41:46 Duration: 23m27s
3 16m24s 16m30s 16m26s 7 1h55m7s select maint_query_logs_archive ();Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Aug 11 00 1 16m26s 16m26s Aug 12 00 1 16m24s 16m24s Aug 13 00 1 16m28s 16m28s Aug 14 00 1 16m25s 16m25s Aug 15 00 1 16m25s 16m25s Aug 16 00 1 16m30s 16m30s Aug 17 00 1 16m25s 16m25s -
/* * 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-08-16 00:16:31 Duration: 16m30s
-
/* * 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-08-13 00:16:30 Duration: 16m28s
-
/* * 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-08-11 00:16:28 Duration: 16m26s
4 11m29s 11m49s 11m36s 3 34m50s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?))) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?)) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by c.nm_sort, g.nm_sort, i.sort_txt limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Aug 15 00 3 34m50s 11m36s [ User: pubeu - Total duration: 34m50s - Times executed: 3 ]
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'IRF1') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5))) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-08-15 00:17:01 Duration: 11m49s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'IRF1') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5))) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-08-15 00:17:34 Duration: 11m30s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'IRF1') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5))) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-08-15 00:15:56 Duration: 11m29s Database: ctdprd51 User: pubeu Bind query: yes
5 6m46s 6m46s 6m46s 1 6m46s copy pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Aug 17 19 1 6m46s 6m46s -
COPY pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-08-17 19:12:09 Duration: 6m46s
6 6m43s 6m43s 6m43s 1 6m43s copy pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Aug 17 19 1 6m43s 6m43s -
COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-08-17 19:53:18 Duration: 6m43s
7 1m53s 1m54s 1m53s 2 3m47s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?))) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by c.nm_sort, g.nm_sort, i.sort_txt limit ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Aug 13 13 1 1m54s 1m54s Aug 15 05 1 1m53s 1m53s -
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'TNF'))) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-08-13 13:23:46 Duration: 1m54s Bind query: yes
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'TNF'))) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-08-15 05:55:34 Duration: 1m53s Bind query: yes
8 1s169ms 52s466ms 45s527ms 2,938 1d13h9m20s select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ? offset ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Aug 11 01 1 3s238ms 3s238ms 07 1 1s169ms 1s169ms 20 10 7m35s 45s583ms 21 75 56m56s 45s558ms 22 76 57m38s 45s504ms 23 76 57m44s 45s586ms Aug 12 00 75 57m17s 45s839ms 01 74 57m 46s224ms 02 75 57m24s 45s929ms 03 75 57m44s 46s198ms 04 75 57m46s 46s213ms 05 45 33m58s 45s293ms 08 70 53m46s 46s93ms 09 75 57m1s 45s616ms 10 76 57m47s 45s627ms 11 75 57m5s 45s667ms 12 75 57m43s 46s185ms 13 75 57m46s 46s216ms 14 74 57m 46s227ms 15 76 58m8s 45s901ms 16 73 56m27s 46s400ms 17 74 57m14s 46s409ms 18 74 57m14s 46s416ms 19 76 58m5s 45s867ms 20 74 57m13s 46s394ms 21 74 57m25s 46s558ms 22 74 57m37s 46s717ms 23 74 57m44s 46s818ms Aug 13 00 75 57m35s 46s68ms 01 74 57m4s 46s274ms 02 74 57m49s 46s886ms 03 73 57m3s 46s902ms 04 74 57m53s 46s935ms 05 44 34m30s 47s60ms 07 4 14s598ms 3s649ms 13 7 28s99ms 4s14ms 16 1 2s180ms 2s180ms 18 1 3s196ms 3s196ms 21 63 49m8s 46s808ms 22 73 57m18s 47s99ms 23 73 57m26s 47s218ms Aug 14 00 73 57m14s 47s47ms 01 72 57m46s 48s148ms 02 72 57m17s 47s736ms 03 72 58m2s 48s373ms 04 72 57m7s 47s602ms 05 44 34m39s 47s266ms 09 1 10s487ms 10s487ms Aug 15 12 1 1s301ms 1s301ms 16 2 3s874ms 1s937ms 18 1 7s595ms 7s595ms 20 1 2s554ms 2s554ms 22 1 5s113ms 5s113ms 23 1 12s314ms 12s314ms Aug 16 00 1 6s451ms 6s451ms 04 3 3s794ms 1s264ms 05 1 5s306ms 5s306ms 11 1 6s668ms 6s668ms 18 1 2s539ms 2s539ms 20 1 1s415ms 1s415ms 23 20 54s392ms 2s719ms Aug 17 00 13 1m45s 8s153ms 20 1 7s970ms 7s970ms [ User: pubeu - Total duration: 1d8h27m46s - Times executed: 2535 ]
-
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 = '2077399') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 2454100;
Date: 2024-08-12 05:10:29 Duration: 52s466ms 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 = '2077399') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 2550000;
Date: 2024-08-14 01:07:51 Duration: 51s794ms 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 = '2077399') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 2549950;
Date: 2024-08-14 01:06:57 Duration: 51s754ms Database: ctdprd51 User: pubeu Bind query: yes
9 32s978ms 33s629ms 33s455ms 25 13m56s 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 Aug 11 06 1 33s452ms 33s452ms 10 1 33s333ms 33s333ms 14 1 33s490ms 33s490ms 18 1 33s338ms 33s338ms Aug 12 06 1 33s436ms 33s436ms 10 1 33s452ms 33s452ms 14 1 33s494ms 33s494ms 18 1 33s561ms 33s561ms Aug 13 06 1 33s414ms 33s414ms 10 1 33s629ms 33s629ms 14 1 33s374ms 33s374ms 18 1 33s518ms 33s518ms Aug 14 06 1 33s459ms 33s459ms 10 1 33s502ms 33s502ms 14 1 33s522ms 33s522ms 18 1 33s453ms 33s453ms Aug 15 06 1 33s440ms 33s440ms 10 1 33s575ms 33s575ms 14 1 33s519ms 33s519ms 18 1 33s414ms 33s414ms Aug 16 06 1 33s470ms 33s470ms 10 1 33s509ms 33s509ms 14 1 33s509ms 33s509ms 18 1 33s529ms 33s529ms Aug 17 19 1 32s978ms 32s978ms [ User: postgres - Total duration: 13m23s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 13m23s - 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-08-13 10:05:35 Duration: 33s629ms 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-08-15 10:05:35 Duration: 33s575ms 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-08-12 18:05:34 Duration: 33s561ms Database: ctdprd51 User: postgres Application: pg_dump
10 1s285ms 3m1s 29s943ms 20 9m58s 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 #10
Day Hour Count Duration Avg duration Aug 11 01 1 2m52s 2m52s 16 1 1s538ms 1s538ms 18 1 1s560ms 1s560ms Aug 12 00 1 1m9s 1m9s Aug 13 01 1 1s407ms 1s407ms 15 1 1m14s 1m14s 18 1 1s588ms 1s588ms 19 1 3s114ms 3s114ms 21 1 1s471ms 1s471ms Aug 14 21 1 3s240ms 3s240ms Aug 15 15 1 1m12s 1m12s 18 1 1s567ms 1s567ms 21 1 1s285ms 1s285ms Aug 16 18 1 1s479ms 1s479ms 20 1 1s615ms 1s615ms Aug 17 05 1 1s457ms 1s457ms 08 1 3m1s 3m1s 10 1 3s31ms 3s31ms 17 1 1s481ms 1s481ms 19 1 1s611ms 1s611ms [ User: pubeu - Total duration: 5m45s - Times executed: 12 ]
-
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 = '1224684') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-08-17 08:30:32 Duration: 3m1s 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 = '1232638') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-08-11 01:03:23 Duration: 2m52s 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 = '1239590') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-08-13 15:20:40 Duration: 1m14s Database: ctdprd51 User: pubeu Bind query: yes
11 14s284ms 14s525ms 14s386ms 25 5m59s copy edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Aug 11 06 1 14s359ms 14s359ms 10 1 14s322ms 14s322ms 14 1 14s343ms 14s343ms 18 1 14s368ms 14s368ms Aug 12 06 1 14s349ms 14s349ms 10 1 14s436ms 14s436ms 14 1 14s525ms 14s525ms 18 1 14s429ms 14s429ms Aug 13 06 1 14s375ms 14s375ms 10 1 14s368ms 14s368ms 14 1 14s413ms 14s413ms 18 1 14s469ms 14s469ms Aug 14 06 1 14s433ms 14s433ms 10 1 14s326ms 14s326ms 14 1 14s326ms 14s326ms 18 1 14s417ms 14s417ms Aug 15 06 1 14s387ms 14s387ms 10 1 14s383ms 14s383ms 14 1 14s364ms 14s364ms 18 1 14s391ms 14s391ms Aug 16 06 1 14s462ms 14s462ms 10 1 14s350ms 14s350ms 14 1 14s443ms 14s443ms 18 1 14s322ms 14s322ms Aug 17 18 1 14s284ms 14s284ms [ User: postgres - Total duration: 5m59s - Times executed: 25 ]
[ Application: pg_dump - Total duration: 5m59s - Times executed: 25 ]
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-12 14:00:16 Duration: 14s525ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-13 18:00:16 Duration: 14s469ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-16 06:00:16 Duration: 14s462ms Database: ctdprd51 User: postgres Application: pg_dump
12 14s6ms 14s163ms 14s55ms 23 5m23s copy edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Aug 11 06 1 14s62ms 14s62ms 10 1 14s44ms 14s44ms 14 1 14s9ms 14s9ms 18 1 14s51ms 14s51ms Aug 12 10 1 14s59ms 14s59ms 14 1 14s53ms 14s53ms 18 1 14s73ms 14s73ms Aug 13 06 1 14s48ms 14s48ms 10 1 14s47ms 14s47ms 14 1 14s82ms 14s82ms 18 1 14s28ms 14s28ms Aug 14 06 1 14s163ms 14s163ms 10 1 14s41ms 14s41ms 14 1 14s96ms 14s96ms 18 1 14s69ms 14s69ms Aug 15 10 1 14s108ms 14s108ms 14 1 14s15ms 14s15ms 18 1 14s57ms 14s57ms Aug 16 06 1 14s50ms 14s50ms 10 1 14s40ms 14s40ms 14 1 14s6ms 14s6ms 18 1 14s59ms 14s59ms Aug 17 18 1 14s10ms 14s10ms -
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-14 06:00:58 Duration: 14s163ms
-
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-15 10:00:58 Duration: 14s108ms
-
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-14 14:00:57 Duration: 14s96ms
13 13s376ms 13s539ms 13s440ms 21 4m42s copy edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Aug 11 06 1 13s523ms 13s523ms 14 1 13s397ms 13s397ms Aug 12 06 1 13s418ms 13s418ms 10 1 13s448ms 13s448ms 14 1 13s484ms 13s484ms 18 1 13s487ms 13s487ms Aug 13 10 1 13s415ms 13s415ms 14 1 13s411ms 13s411ms 18 1 13s440ms 13s440ms Aug 14 06 1 13s508ms 13s508ms 10 1 13s399ms 13s399ms 14 1 13s425ms 13s425ms 18 1 13s435ms 13s435ms Aug 15 10 1 13s410ms 13s410ms 14 1 13s436ms 13s436ms 18 1 13s539ms 13s539ms Aug 16 06 1 13s467ms 13s467ms 10 1 13s421ms 13s421ms 14 1 13s413ms 13s413ms 18 1 13s396ms 13s396ms Aug 17 18 1 13s376ms 13s376ms -
COPY edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-15 18:00:44 Duration: 13s539ms
-
COPY edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-11 06:00:43 Duration: 13s523ms
-
COPY edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-14 06:00:44 Duration: 13s508ms
14 1s592ms 21s71ms 8s123ms 20 2m42s select ? "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casrn "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" from ( with sq as ( select distinct c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casrn, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort from term c inner join gene_chem_reference gcr on c.id = gcr.chem_id inner join term g on gcr.gene_id = g.id where (c.id = ?)) select distinct sq.chem_nm, sq.chem_acc_txt, sq.casrn, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm from sq inner join gene_go_annot gga on sq.gene_id = gga.gene_id inner join dag_node gt on gga.go_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where gga.is_not = false and (d.id = ?) order by sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Aug 13 13 10 1m21s 8s153ms 14 10 1m20s 8s94ms [ User: pubeu - Total duration: 1m9s - Times executed: 6 ]
-
SELECT /* BatchChemGODAO */ 'd004317' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1282459)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 4) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-08-13 13:24:12 Duration: 21s71ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchChemGODAO */ 'd004317' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1282459)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 4) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-08-13 14:30:42 Duration: 20s734ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchChemGODAO */ 'd003907' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1291936)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 4) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-08-13 13:25:04 Duration: 19s538ms Bind query: yes
15 7s889ms 8s47ms 7s994ms 25 3m19s copy pubc.log_query_bots (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, 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, user_agent_pattern) to stdout;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Aug 11 06 1 7s963ms 7s963ms 10 1 7s984ms 7s984ms 14 1 7s983ms 7s983ms 18 1 7s965ms 7s965ms Aug 12 06 1 7s983ms 7s983ms 10 1 8s9ms 8s9ms 14 1 7s979ms 7s979ms 18 1 8s35ms 8s35ms Aug 13 06 1 7s984ms 7s984ms 10 1 8s3ms 8s3ms 14 1 8s47ms 8s47ms 18 1 7s990ms 7s990ms Aug 14 06 1 7s983ms 7s983ms 10 1 7s990ms 7s990ms 14 1 7s991ms 7s991ms 18 1 7s988ms 7s988ms Aug 15 06 1 8s4ms 8s4ms 10 1 8s39ms 8s39ms 14 1 8s4ms 8s4ms 18 1 8s4ms 8s4ms Aug 16 06 1 7s992ms 7s992ms 10 1 8s13ms 8s13ms 14 1 8s22ms 8s22ms 18 1 8s12ms 8s12ms Aug 17 19 1 7s889ms 7s889ms -
COPY pubc.log_query_bots (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, 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, user_agent_pattern) TO stdout;
Date: 2024-08-13 14:05:43 Duration: 8s47ms
-
COPY pubc.log_query_bots (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, 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, user_agent_pattern) TO stdout;
Date: 2024-08-15 10:05:43 Duration: 8s39ms
-
COPY pubc.log_query_bots (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, 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, user_agent_pattern) TO stdout;
Date: 2024-08-12 18:05:43 Duration: 8s35ms
16 6s590ms 6s707ms 6s628ms 23 2m32s copy edit.ixn (id, ixn_type_id, parent_id, position_seq, root_id, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Aug 11 06 1 6s599ms 6s599ms 14 1 6s608ms 6s608ms 18 1 6s609ms 6s609ms Aug 12 10 1 6s627ms 6s627ms 14 1 6s665ms 6s665ms 18 1 6s637ms 6s637ms Aug 13 06 1 6s590ms 6s590ms 10 1 6s645ms 6s645ms 14 1 6s707ms 6s707ms 18 1 6s631ms 6s631ms Aug 14 06 1 6s671ms 6s671ms 10 1 6s616ms 6s616ms 14 1 6s634ms 6s634ms 18 1 6s625ms 6s625ms Aug 15 06 1 6s620ms 6s620ms 10 1 6s610ms 6s610ms 14 1 6s650ms 6s650ms 18 1 6s606ms 6s606ms Aug 16 06 1 6s631ms 6s631ms 10 1 6s611ms 6s611ms 14 1 6s642ms 6s642ms 18 1 6s614ms 6s614ms Aug 17 18 1 6s602ms 6s602ms -
COPY edit.ixn (id, ixn_type_id, parent_id, position_seq, root_id, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-13 14:00:24 Duration: 6s707ms
-
COPY edit.ixn (id, ixn_type_id, parent_id, position_seq, root_id, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-14 06:00:25 Duration: 6s671ms
-
COPY edit.ixn (id, ixn_type_id, parent_id, position_seq, root_id, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-12 14:00:25 Duration: 6s665ms
17 3s785ms 5s757ms 3s999ms 299 19m55s select coalesce(st.alt_nm, t.nm) slimtermnm, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.curated_reference_qty > ?) curatedcount, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.indirect_gene_qty > ?) inferredcount from slim_term st inner join term t on st.slim_term_id = t.id where st.slim_id = ? order by ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Aug 11 00 1 3s998ms 3s998ms 01 3 11s718ms 3s906ms 04 2 7s788ms 3s894ms 07 1 3s945ms 3s945ms 14 2 7s851ms 3s925ms 15 5 21s406ms 4s281ms 16 3 12s262ms 4s87ms 17 4 15s608ms 3s902ms 18 1 3s983ms 3s983ms 19 1 3s995ms 3s995ms 21 1 3s929ms 3s929ms 22 8 31s579ms 3s947ms 23 4 15s919ms 3s979ms Aug 12 00 12 47s663ms 3s971ms 01 4 16s979ms 4s244ms 02 3 12s239ms 4s79ms 03 3 11s862ms 3s954ms 04 1 3s820ms 3s820ms 05 10 40s294ms 4s29ms 06 4 16s36ms 4s9ms 07 2 7s819ms 3s909ms 08 2 8s662ms 4s331ms 09 1 3s980ms 3s980ms 10 1 3s822ms 3s822ms 12 1 4s13ms 4s13ms 14 2 7s821ms 3s910ms 15 2 7s869ms 3s934ms 16 1 3s926ms 3s926ms 17 2 7s975ms 3s987ms 21 3 11s702ms 3s900ms 22 9 35s392ms 3s932ms Aug 13 00 3 12s463ms 4s154ms 01 2 7s580ms 3s790ms 04 5 20s138ms 4s27ms 05 6 23s712ms 3s952ms 06 2 7s777ms 3s888ms 08 1 3s900ms 3s900ms 09 2 8s23ms 4s11ms 10 2 7s851ms 3s925ms 11 2 7s823ms 3s911ms 12 3 11s748ms 3s916ms 15 9 36s87ms 4s9ms 17 3 11s892ms 3s964ms 18 1 3s958ms 3s958ms 20 1 3s836ms 3s836ms 21 1 3s983ms 3s983ms 22 1 3s804ms 3s804ms 23 7 27s518ms 3s931ms Aug 14 00 2 7s945ms 3s972ms 01 3 11s993ms 3s997ms 02 1 3s929ms 3s929ms 03 2 7s902ms 3s951ms 04 1 3s911ms 3s911ms 05 2 8s933ms 4s466ms 08 3 11s970ms 3s990ms 11 1 4s362ms 4s362ms 12 3 11s723ms 3s907ms 14 4 16s190ms 4s47ms 15 3 11s802ms 3s934ms 16 6 23s608ms 3s934ms 17 2 7s930ms 3s965ms 18 5 19s645ms 3s929ms 23 2 7s916ms 3s958ms Aug 15 00 1 3s894ms 3s894ms 01 1 4s21ms 4s21ms 02 2 8s63ms 4s31ms 03 2 7s880ms 3s940ms 04 4 15s728ms 3s932ms 05 2 7s735ms 3s867ms 06 3 11s991ms 3s997ms 07 1 3s811ms 3s811ms 08 5 19s394ms 3s878ms 09 4 17s451ms 4s362ms 10 5 20s506ms 4s101ms 11 4 16s221ms 4s55ms 12 1 4s408ms 4s408ms 16 1 3s821ms 3s821ms 17 1 4s99ms 4s99ms 18 2 7s893ms 3s946ms 19 2 7s929ms 3s964ms 22 1 3s953ms 3s953ms Aug 16 01 3 11s793ms 3s931ms 02 4 16s137ms 4s34ms 03 1 4s220ms 4s220ms 04 1 3s918ms 3s918ms 06 3 11s805ms 3s935ms 07 3 11s754ms 3s918ms 09 1 3s842ms 3s842ms 10 3 12s12ms 4s4ms 11 2 7s836ms 3s918ms 12 2 7s868ms 3s934ms 13 2 7s948ms 3s974ms 14 4 18s338ms 4s584ms 16 1 4s59ms 4s59ms 18 1 3s884ms 3s884ms 22 1 4s147ms 4s147ms Aug 17 02 3 11s779ms 3s926ms 03 4 15s863ms 3s965ms 05 3 13s84ms 4s361ms 06 1 4s75ms 4s75ms 07 1 3s955ms 3s955ms 09 2 7s824ms 3s912ms 13 2 8s55ms 4s27ms 14 3 11s703ms 3s901ms 15 10 39s828ms 3s982ms 16 1 3s857ms 3s857ms 18 1 3s975ms 3s975ms 19 1 3s953ms 3s953ms 21 3 11s785ms 3s928ms [ User: pubeu - Total duration: 14m - Times executed: 211 ]
-
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 = '1335779') 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 = '1335779') 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-08-16 14:11:13 Duration: 5s757ms 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 = '1320093') 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 = '1320093') 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-08-15 09:55:15 Duration: 5s238ms 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 = '1339274') 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 = '1339274') 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-08-17 05:59:42 Duration: 5s206ms Database: ctdprd51 User: pubeu Bind query: yes
18 1s3ms 5s913ms 3s933ms 88 5m46s select d.abbr dagabbr, d.nm dagnm, gt.level_min_no daglevelmin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pvalcorrected, te.raw_p_val pvalraw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, count(*) over () fullrowcount from term_enrichment te inner join dag_node gt on te.enriched_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, d.abbr, gt.nm_sort limit ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Aug 11 00 1 5s913ms 5s913ms 01 1 5s153ms 5s153ms 02 1 5s389ms 5s389ms 03 1 1s16ms 1s16ms 04 1 5s44ms 5s44ms 05 1 1s3ms 1s3ms 06 1 5s105ms 5s105ms 08 2 6s217ms 3s108ms 09 1 5s70ms 5s70ms 10 2 6s331ms 3s165ms 11 1 1s12ms 1s12ms 13 4 20s916ms 5s229ms 19 1 5s194ms 5s194ms 23 1 1s16ms 1s16ms Aug 12 02 1 5s287ms 5s287ms 03 1 1s25ms 1s25ms 04 1 5s378ms 5s378ms 09 1 5s35ms 5s35ms 15 3 15s960ms 5s320ms 16 1 5s84ms 5s84ms 22 1 5s343ms 5s343ms Aug 13 05 5 5s51ms 1s10ms 07 1 1s24ms 1s24ms 08 4 8s41ms 2s10ms 10 1 1s13ms 1s13ms Aug 14 05 3 11s838ms 3s946ms 06 1 1s20ms 1s20ms 18 1 5s69ms 5s69ms 22 1 5s108ms 5s108ms Aug 15 04 1 5s185ms 5s185ms 05 3 3s42ms 1s14ms 09 2 10s938ms 5s469ms 10 1 5s647ms 5s647ms 11 1 4s888ms 4s888ms 15 1 5s364ms 5s364ms 17 1 5s379ms 5s379ms 20 2 10s171ms 5s85ms Aug 16 03 3 15s858ms 5s286ms 04 1 1s3ms 1s3ms 05 4 13s41ms 3s260ms 06 1 5s507ms 5s507ms 10 4 21s534ms 5s383ms 12 1 5s507ms 5s507ms 15 1 1s9ms 1s9ms 20 1 5s21ms 5s21ms 22 2 10s147ms 5s73ms 23 1 5s397ms 5s397ms Aug 17 05 1 1s4ms 1s4ms 06 3 15s906ms 5s302ms 09 1 5s355ms 5s355ms 11 1 4s990ms 4s990ms 13 2 10s274ms 5s137ms 17 1 5s52ms 5s52ms 18 1 4s932ms 4s932ms 21 1 3s299ms 3s299ms 22 1 5s9ms 5s9ms [ User: pubeu - Total duration: 3m34s - Times executed: 55 ]
[ User: qaeu - Total duration: 2s39ms - Times executed: 2 ]
-
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 = '1421972' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-08-11 00:01:26 Duration: 5s913ms 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 = '1266646' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-08-15 10:32:17 Duration: 5s647ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1343081' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-08-16 10:49:28 Duration: 5s619ms Bind query: yes
19 1s7ms 12s157ms 3s521ms 85 4m59s select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Aug 11 00 2 4s712ms 2s356ms 03 1 6s944ms 6s944ms 06 1 1s353ms 1s353ms 11 1 10s93ms 10s93ms 12 1 1s7ms 1s7ms 18 1 1s131ms 1s131ms 20 1 2s620ms 2s620ms Aug 12 01 1 5s62ms 5s62ms 04 3 14s852ms 4s950ms 07 1 2s192ms 2s192ms 08 1 1s369ms 1s369ms 09 1 1s350ms 1s350ms 10 1 2s589ms 2s589ms 11 3 9s598ms 3s199ms 12 1 1s157ms 1s157ms 14 1 1s331ms 1s331ms 19 1 1s135ms 1s135ms 20 1 2s674ms 2s674ms 23 1 1s92ms 1s92ms Aug 13 00 1 2s185ms 2s185ms 01 1 1s171ms 1s171ms 02 1 1s106ms 1s106ms 07 1 2s605ms 2s605ms 08 2 7s594ms 3s797ms 10 1 1s318ms 1s318ms 11 1 2s575ms 2s575ms 12 2 3s426ms 1s713ms 14 2 7s179ms 3s589ms 15 2 11s863ms 5s931ms 21 1 2s637ms 2s637ms 22 1 1s67ms 1s67ms 23 2 21s114ms 10s557ms Aug 14 01 2 9s999ms 4s999ms 04 2 15s397ms 7s698ms 06 1 1s570ms 1s570ms 07 3 8s443ms 2s814ms 08 1 1s376ms 1s376ms 09 1 1s257ms 1s257ms 11 1 1s96ms 1s96ms 12 1 1s115ms 1s115ms 21 1 10s100ms 10s100ms 22 1 1s158ms 1s158ms Aug 15 00 1 1s395ms 1s395ms 04 1 4s566ms 4s566ms 05 1 2s502ms 2s502ms 06 1 1s130ms 1s130ms 07 1 1s239ms 1s239ms 17 1 6s569ms 6s569ms 18 1 1s140ms 1s140ms 21 1 1s364ms 1s364ms 23 1 1s131ms 1s131ms Aug 16 04 4 14s90ms 3s522ms 09 1 1s701ms 1s701ms 11 1 1s195ms 1s195ms 13 1 2s773ms 2s773ms 23 6 36s307ms 6s51ms Aug 17 03 2 13s220ms 6s610ms 07 1 10s436ms 10s436ms 12 1 4s43ms 4s43ms 13 2 3s803ms 1s901ms 23 1 1s67ms 1s67ms [ User: pubeu - Total duration: 3m38s - Times executed: 61 ]
-
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 = '2073928') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-08-17 03:33:32 Duration: 12s157ms 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 = '2084677') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-08-12 04:38:02 Duration: 10s786ms 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 = '2084677') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-08-14 04:49:45 Duration: 10s728ms Database: ctdprd51 User: pubeu Bind query: yes
20 1s167ms 6s595ms 3s123ms 31 1m36s 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 #20
Day Hour Count Duration Avg duration Aug 11 00 1 2s99ms 2s99ms Aug 13 01 1 1s167ms 1s167ms 21 1 2s764ms 2s764ms Aug 14 18 1 2s564ms 2s564ms Aug 16 04 17 57s361ms 3s374ms Aug 17 06 10 30s878ms 3s87ms [ User: pubeu - Total duration: 1m3s - Times executed: 21 ]
-
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 = '651438' 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 = '651438') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-08-16 04:51:38 Duration: 6s595ms Database: ctdprd51 User: pubeu 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 = '651438' 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 = '651438') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-08-17 06:03:22 Duration: 5s748ms 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 = '651112' 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 = '651112') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-08-16 04:51:36 Duration: 4s379ms Database: ctdprd51 User: pubeu Bind query: yes
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query NO DATASET
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 0ms 78 0ms 0ms 0ms ;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration Aug 11 07 2 0ms 0ms 08 2 0ms 0ms 10 2 0ms 0ms 17 2 0ms 0ms 18 2 0ms 0ms 20 2 0ms 0ms Aug 12 00 1 0ms 0ms 06 4 0ms 0ms 16 2 0ms 0ms Aug 13 06 4 0ms 0ms 07 6 0ms 0ms Aug 14 07 2 0ms 0ms 11 2 0ms 0ms 15 2 0ms 0ms 22 2 0ms 0ms Aug 15 06 4 0ms 0ms 07 6 0ms 0ms 12 4 0ms 0ms Aug 16 01 1 0ms 0ms 06 6 0ms 0ms 07 12 0ms 0ms 11 3 0ms 0ms 13 3 0ms 0ms Aug 17 00 2 0ms 0ms [ User: pubeu - Total duration: 5m51s - Times executed: 39 ]
-
;
Date: Duration: 0ms Database: postgres parameters: $1 = '2077874'
-
Events
Log levels
Key values
- 97,644 Log entries
Events distribution
Key values
- 0 PANIC entries
- 3 FATAL entries
- 14 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 6 Max number of times the same event was reported
- 17 Total events found
Rank Times reported Error 1 6 LOG: could not receive data from client: Connection timed out
Times Reported Most Frequent Error / Event #1
Day Hour Count Aug 13 17 1 Aug 14 18 1 Aug 15 18 1 Aug 16 18 3 2 3 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #2
Day Hour Count Aug 15 00 3 3 3 ERROR: invalid byte sequence for encoding
Times Reported Most Frequent Error / Event #3
Day Hour Count Aug 12 02 2 03 1 - ERROR: invalid byte sequence for encoding "UTF8": 0x00
Context: unnamed portal parameter $1
Statement: SELECT /* ObjectIdDAOImpl.LabelsAndAccs */ t.id ,t.nm ,t.nm_sort nmSort ,t.acc_txt acc ,t.acc_db_cd accDbCd FROM term t ,(SELECT li.term_id FROM term_label li WHERE UPPER(li.nm) = $1 AND li.object_type_id = 2 UNION SELECT l.object_id FROM db_link l WHERE upper( l.acc_txt ) = $2 AND l.object_type_id = 2 AND l.type_cd = 'A') ids WHERE t.id = ids.term_id ORDER BY CASE WHEN UPPER(t.nm) = $3 THEN 1 ELSE 2 END ,t.nm_sortDate: 2024-08-12 02:58:00 Database: ctdprd51 Application: User: pubeu Remote:
4 3 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #4
Day Hour Count Aug 15 00 3 5 1 ERROR: column "..." does not exist
Times Reported Most Frequent Error / Event #5
Day Hour Count Aug 16 16 1 - ERROR: column "disease_id" does not exist at character 158
Statement: select * from PHENOTYPE_TERM_REFERENCE where term_object_type_id = ( select id from pub1.OBJECT_TYPE where cd = 'disease') and phenotype_id = 1208577 and disease_id = 2072314 limit 100
Date: 2024-08-16 16:36:35 Database: ctdprd51 Application: pgAdmin 4 - CONN:9653228 User: pub1 Remote:
6 1 ERROR: syntax error in ts"..."
Times Reported Most Frequent Error / Event #6
Day Hour Count Aug 15 22 1 - ERROR: syntax error in ts"@司徒俊健 @黄美琪 @曾婉玲 @莫珊珊 @林春晓 @麦冬梅 @邱靖怡 各位"
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-08-15 22:40:20 Database: ctdprd51 Application: User: pubeu Remote: