-
Global information
- Generated on Sun Jun 8 04:15:50 2025
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20250607
- Parsed 1,934,835 log entries in 49s
- Log start from 2025-06-01 00:00:02 to 2025-06-07 23:59:59
-
Overview
Global Stats
- 618 Number of unique normalized queries
- 309,994 Number of queries
- 6d19h30m46s Total query duration
- 2025-06-01 00:00:05 First query
- 2025-06-07 23:59:59 Last query
- 11 queries/s at 2025-06-03 05:57:03 Query peak
- 6d19h30m46s Total query duration
- 59s804ms Prepare/parse total duration
- 2m31s Bind total duration
- 6d19h27m15s Execute total duration
- 497 Number of events
- 15 Number of unique normalized events
- 228 Max number of times the same event was reported
- 0 Number of cancellation
- 121 Total number of automatic vacuums
- 190 Total number of automatic analyzes
- 51 Number temporary file
- 8.33 MiB Max size of temporary file
- 2.22 MiB Average size of temporary file
- 99,271 Total number of sessions
- 86 sessions at 2025-06-03 10:06:17 Session peak
- 292d22h43m55s Total duration of sessions
- 4m14s Average duration of sessions
- 3 Average queries per session
- 5s929ms Average queries duration per session
- 4m9s Average idle time per session
- 99,273 Total number of connections
- 86 connections/s at 2025-06-01 05:35:16 Connection peak
- 3 Total number of databases
SQL Traffic
Key values
- 11 queries/s Query Peak
- 2025-06-03 05:57:03 Date
SELECT Traffic
Key values
- 11 queries/s Query Peak
- 2025-06-03 05:57:03 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1 queries/s Query Peak
- 2025-06-04 06:01:15 Date
Queries duration
Key values
- 6d19h30m46s 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) Jun 01 00 387 1s2ms 6m9s 3s72ms 41s430ms 1m 6m22s 01 425 1s8ms 16s119ms 1s813ms 19s539ms 25s810ms 50s220ms 02 426 1s6ms 22s1ms 1s989ms 29s198ms 40s952ms 1m2s 03 435 1s 19s984ms 2s4ms 28s889ms 48s417ms 59s376ms 04 445 1s8ms 18s80ms 1s636ms 19s93ms 22s491ms 51s534ms 05 517 1s2ms 17s347ms 2s8ms 35s546ms 40s444ms 49s460ms 06 431 1s2ms 1m8s 2s240ms 48s801ms 1m3s 1m42s 07 368 1s1ms 17s87ms 1s572ms 16s923ms 24s297ms 29s90ms 08 345 0ms 34s52ms 1s838ms 17s218ms 20s773ms 1m55s 09 417 1s 21s752ms 1s807ms 24s319ms 36s829ms 1m10s 10 508 1s4ms 1m8s 2s238ms 37s215ms 1m10s 2m7s 11 470 0ms 20s130ms 1s674ms 19s825ms 23s130ms 49s519ms 12 561 1s 17s279ms 1s601ms 23s8ms 28s30ms 45s499ms 13 570 1s14ms 20s491ms 2s217ms 45s515ms 53s45ms 1m15s 14 585 1s3ms 1m8s 1s851ms 25s561ms 46s624ms 1m57s 15 548 1s3ms 16s828ms 1s627ms 22s459ms 39s291ms 55s71ms 16 594 1s4ms 19s774ms 1s988ms 42s970ms 50s747ms 1m11s 17 555 1s12ms 18s635ms 1s748ms 23s834ms 1m1s 1m12s 18 468 1s12ms 1m8s 1s952ms 21s491ms 55s654ms 1m54s 19 548 1s11ms 17s104ms 1s720ms 23s665ms 44s171ms 1m8s 20 616 1s 18s184ms 1s853ms 29s314ms 1m2s 1m6s 21 680 1s20ms 30s921ms 1s833ms 30s652ms 50s630ms 1m13s 22 735 1s 28s126ms 1s919ms 49s851ms 1m18s 1m32s 23 629 1s5ms 18m27s 3s479ms 37s727ms 45s231ms 18m38s Jun 02 00 639 1s10ms 6m34s 2s279ms 28s134ms 51s529ms 7m5s 01 691 1s3ms 38s43ms 1s988ms 43s463ms 53s299ms 2m16s 02 752 1s7ms 36s572ms 1s860ms 55s869ms 1m10s 1m40s 03 827 1s1ms 1m17s 2s84ms 41s129ms 1m22s 3m35s 04 871 1s11ms 18s452ms 1s749ms 39s689ms 1m9s 1m12s 05 1,049 1s8ms 36s449ms 1s876ms 1m3s 1m21s 2m28s 06 953 1s1ms 1m10s 1s854ms 45s677ms 1m17s 2m5s 07 1,012 1s4ms 15s562ms 1s608ms 39s494ms 46s503ms 1m22s 08 1,083 1s6ms 19s492ms 1s699ms 40s544ms 1m7s 1m29s 09 1,118 0ms 16s215ms 1s593ms 49s58ms 58s380ms 1m12s 10 1,333 1s30ms 1m10s 1s799ms 1m5s 1m24s 2m10s 11 1,472 1s16ms 25s912ms 1s618ms 52s488ms 1m2s 1m35s 12 1,494 1s4ms 17s591ms 1s623ms 1m 1m3s 1m12s 13 1,867 1s 18m24s 2s678ms 1m37s 2m34s 19m4s 14 1,876 1s12ms 1m12s 1s705ms 1m28s 1m31s 2m18s 15 2,097 1s41ms 19s251ms 1s576ms 1m21s 1m29s 1m33s 16 2,296 1s13ms 8m14s 1s978ms 1m51s 3m2s 9m21s 17 2,774 1s2ms 18s625ms 1s582ms 1m46s 1m59s 2m15s 18 3,142 1s24ms 1m11s 1s620ms 1m52s 2m7s 2m50s 19 3,375 1s14ms 27s21ms 1s604ms 2m1s 2m18s 2m42s 20 4,313 1s1ms 20m24s 1s863ms 2m44s 2m53s 22m20s 21 4,435 1s19ms 51s861ms 1s595ms 2m43s 2m56s 4m8s 22 4,533 1s11ms 18m31s 1s788ms 2m46s 2m58s 19m46s 23 5,108 1s26ms 19m59s 2s530ms 4m7s 20m43s 21m34s Jun 03 00 5,911 1s6ms 21m 1s868ms 4m7s 4m23s 24m28s 01 6,259 1s2ms 18s25ms 1s583ms 3m37s 3m49s 4m2s 02 6,194 1s2ms 30s744ms 1s615ms 3m38s 4m7s 5m32s 03 6,647 0ms 19m38s 1s989ms 4m5s 5m41s 22m41s 04 6,270 1s2ms 18m50s 1s967ms 3m37s 4m54s 19m54s 05 1,557 0ms 17s683ms 1s681ms 3m4s 4m23s 4m50s 06 6,628 1s 21m36s 2s727ms 6m52s 24m38s 47m23s 07 5,094 1s 19m9s 1s869ms 3m30s 4m58s 20m37s 08 2,398 1s32ms 18m46s 2s74ms 3m22s 3m46s 19m11s 09 335 1s31ms 2m9s 2s1ms 15s866ms 17s683ms 2m18s 10 374 0ms 1m14s 2s188ms 29s123ms 42s375ms 2m 11 430 1s10ms 17s343ms 1s677ms 18s750ms 23s441ms 51s253ms 12 484 1s4ms 6m32s 3s19ms 25s903ms 48s108ms 6m44s 13 469 1s3ms 19s153ms 1s658ms 20s835ms 29s105ms 32s444ms 14 497 1s46ms 3m3s 2s612ms 33s956ms 1m55s 3m20s 15 488 1s6ms 1m10s 1s990ms 21s201ms 1m9s 1m58s 16 309 0ms 18s977ms 1s822ms 16s546ms 26s30ms 47s745ms 17 250 1s42ms 5m29s 2s955ms 13s242ms 17s293ms 5m35s 18 544 1s2ms 4m36s 2s588ms 40s749ms 1m4s 4m49s 19 592 1s20ms 24s208ms 1s858ms 32s312ms 48s274ms 1m5s 20 565 1s8ms 19s861ms 1s583ms 22s895ms 26s688ms 59s648ms 21 592 1s1ms 27s175ms 2s173ms 41s542ms 46s700ms 1m45s 22 431 1s1ms 3m9s 2s70ms 19s36ms 22s730ms 3m22s 23 607 0ms 23s308ms 2s56ms 39s700ms 1m4s 1m34s Jun 04 00 662 1s 7m32s 2s971ms 59s482ms 1m31s 7m59s 01 582 1s2ms 4m14s 2s49ms 23s169ms 39s24ms 4m24s 02 641 1s1ms 5m29s 2s891ms 44s749ms 51s435ms 5m52s 03 625 1s 17s199ms 1s739ms 26s181ms 30s639ms 1m10s 04 670 1s5ms 1m7s 2s277ms 47s697ms 1m16s 2m15s 05 688 1s6ms 18s442ms 1s823ms 34s348ms 52s267ms 1m4s 06 583 1s8ms 1m15s 1s980ms 26s912ms 1m2s 2m1s 07 500 1s2ms 43s760ms 1s830ms 24s967ms 35s230ms 1m40s 08 428 0ms 14s494ms 1s635ms 19s515ms 21s374ms 36s265ms 09 680 1s5ms 3m39s 2s310ms 52s3ms 1m13s 4m4s 10 627 1s2ms 1m14s 1s784ms 26s807ms 48s620ms 2m5s 11 697 1s4ms 25s114ms 2s32ms 56s869ms 1m13s 1m36s 12 659 1s3ms 1m28s 2s277ms 42s896ms 1m29s 3m5s 13 739 1s7ms 16s211ms 1s657ms 30s858ms 34s948ms 38s261ms 14 677 1s1ms 4m29s 2s449ms 49s99ms 1m27s 4m50s 15 732 1s7ms 19s840ms 1s837ms 44s112ms 50s944ms 55s525ms 16 727 1s 3m23s 2s324ms 47s156ms 1m11s 5m16s 17 572 1s21ms 18m32s 3s624ms 26s880ms 47s63ms 18m48s 18 613 1s10ms 1m14s 1s971ms 39s286ms 51s623ms 1m57s 19 811 1s9ms 5m26s 2s326ms 42s903ms 53s97ms 5m44s 20 776 1s12ms 39s586ms 1s849ms 39s44ms 1m27s 1m52s 21 781 1s4ms 1m23s 1s866ms 41s783ms 1m18s 1m41s 22 815 1s3ms 18s703ms 1s831ms 55s342ms 1m9s 1m17s 23 852 1s1ms 4m28s 2s355ms 51s567ms 1m21s 4m45s Jun 05 00 995 1s2ms 8m15s 2s480ms 56s805ms 1m15s 8m44s 01 966 1s3ms 23s207ms 1s832ms 44s556ms 1m8s 1m25s 02 954 1s 1m21s 1s822ms 46s450ms 1m4s 2m6s 03 1,074 1s 2m49s 2s44ms 56s894ms 2m 3m17s 04 1,182 1s5ms 3m6s 2s68ms 1m14s 2m9s 3m36s 05 1,254 1s6ms 25s601ms 1s636ms 47s844ms 53s293ms 1m26s 06 1,215 1s 1m16s 1s856ms 1m8s 1m20s 2m27s 07 1,509 1s1ms 30s699ms 1s595ms 51s39ms 1m2s 1m7s 08 1,750 1s2ms 23s332ms 1s596ms 1m5s 1m12s 1m37s 09 1,882 1s2ms 43s54ms 1s816ms 1m22s 1m56s 2m32s 10 2,237 1s9ms 3m4s 1s765ms 1m24s 2m35s 4m24s 11 2,524 1s15ms 20s573ms 1s584ms 1m30s 1m49s 2m 12 2,802 1s 5m31s 1s834ms 2m7s 3m33s 6m51s 13 3,750 1s21ms 24s727ms 1s537ms 2m7s 2m18s 2m33s 14 3,916 1s16ms 18m35s 1s931ms 2m35s 3m2s 20m24s 15 4,356 1s25ms 19m24s 1s924ms 2m42s 3m20s 21m22s 16 4,682 1s30ms 18m29s 1s787ms 2m45s 3m1s 19m59s 17 5,460 1s9ms 26s766ms 1s565ms 2m59s 3m21s 3m55s 18 5,407 1s 19m23s 2s305ms 4m58s 10m22s 25m51s 19 5,922 1s4ms 18m45s 1s730ms 3m15s 4m17s 20m41s 20 6,899 1s2ms 40s102ms 1s607ms 3m50s 4m15s 6m55s 21 6,557 1s3ms 1m14s 1s700ms 3m53s 5m36s 10m12s 22 6,554 1s9ms 18m51s 1s754ms 3m49s 4m47s 20m17s 23 6,248 1s9ms 18m43s 1s758ms 3m50s 5m5s 21m7s Jun 06 00 6,847 1s7ms 8m31s 1s776ms 4m45s 8m9s 11m46s 01 6,668 1s2ms 19m4s 1s739ms 3m42s 5m18s 22m4s 02 6,401 1s10ms 1m7s 1s655ms 4m26s 5m1s 6m10s 03 3,204 0ms 21m44s 2s677ms 3m36s 4m44s 44m 04 16 0ms 5s658ms 1s690ms 1s647ms 1s761ms 16s926ms 05 455 0ms 7s636ms 1s521ms 1m35s 1m58s 2m15s 06 334 0ms 1m17s 2s97ms 31s487ms 1m31s 4m42s 07 702 0ms 19s88ms 1s804ms 50s254ms 57s301ms 1m18s 08 324 1s1ms 6m27s 3s291ms 25s799ms 40s933ms 6m33s 09 337 1s4ms 1m3s 2s920ms 29s283ms 1m9s 3m57s 10 309 0ms 5m27s 3s766ms 39s476ms 48s172ms 5m29s 11 291 0ms 1m22s 3s289ms 50s643ms 1m3s 2m37s 12 551 1s7ms 5m18s 2s382ms 27s684ms 1m7s 5m35s 13 550 1s30ms 37s950ms 1s909ms 27s440ms 46s145ms 2m38s 14 526 1s2ms 1m17s 2s300ms 46s303ms 57s192ms 2m 15 388 0ms 3m1s 2s208ms 25s566ms 41s27ms 3m9s 16 478 0ms 17s495ms 1s854ms 35s778ms 44s85ms 57s290ms 17 27 0ms 1s586ms 1s327ms 2s714ms 9s446ms 13s852ms 18 155 0ms 1m15s 2s554ms 29s555ms 30s661ms 1m47s 19 694 0ms 18m31s 3s148ms 39s527ms 41s123ms 18m52s 20 479 1s1ms 16s397ms 1s502ms 18s534ms 21s735ms 26s770ms 21 523 1s5ms 9m49s 2s827ms 35s819ms 48s906ms 10m4s 22 568 1s2ms 19s128ms 1s872ms 32s574ms 43s841ms 59s428ms 23 531 1s1ms 56s315ms 1s983ms 23s210ms 55s231ms 2m15s Jun 07 00 566 1s77ms 8m40s 3s73ms 25s202ms 40s543ms 8m58s 01 558 1s21ms 17s468ms 1s664ms 21s935ms 25s12ms 32s328ms 02 617 1s 23s324ms 1s664ms 26s249ms 35s425ms 45s531ms 03 433 1s26ms 4m55s 3s79ms 22s60ms 38s490ms 5m10s 04 578 1s2ms 3m36s 2s386ms 44s301ms 45s341ms 3m47s 05 561 1s5ms 2m17s 2s48ms 27s573ms 39s952ms 2m51s 06 669 1s58ms 4m26s 2s20ms 28s509ms 31s796ms 4m50s 07 846 1s24ms 23s662ms 1s611ms 30s761ms 36s759ms 1m10s 08 980 1s19ms 19s551ms 1s589ms 37s530ms 40s349ms 52s516ms 09 1,075 1s20ms 3m23s 1s739ms 41s918ms 48s955ms 3m43s 10 1,445 1s27ms 18s2ms 1s607ms 54s621ms 1m8s 1m14s 11 1,849 1s 18m13s 2s283ms 1m3s 1m19s 19m8s 12 2,096 1s2ms 19m16s 2s363ms 1m16s 1m26s 20m3s 13 2,639 1s6ms 19s168ms 1s637ms 1m47s 2m6s 2m47s 14 3,291 1s 3m21s 1s588ms 2m1s 2m17s 4m27s 15 3,522 1s29ms 2m29s 1s545ms 2m1s 2m18s 3m52s 16 4,774 1s11ms 45s722ms 1s527ms 2m33s 2m39s 3m7s 17 4,841 1s9ms 19m10s 2s213ms 3m5s 20m16s 22m10s 18 5,927 1s16ms 18m34s 1s993ms 4m20s 4m29s 21m38s 19 5,999 1s4ms 25m41s 2s518ms 4m1s 20m37s 27m46s 20 6,006 1s7ms 18m27s 1s912ms 3m28s 4m13s 21m36s 21 6,531 1s 18m28s 1s862ms 3m26s 4m21s 21m13s 22 5,929 1s8ms 26s172ms 1s523ms 3m20s 3m35s 3m43s 23 5,374 1s11ms 18m20s 1s744ms 3m9s 3m27s 21m10s Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jun 01 00 386 0 3s63ms 19s473ms 41s430ms 1m5s 01 421 0 1s808ms 15s723ms 19s539ms 48s283ms 02 426 0 1s989ms 18s281ms 29s198ms 55s424ms 03 435 0 2s4ms 16s770ms 28s889ms 50s280ms 04 445 0 1s636ms 15s151ms 19s93ms 23s279ms 05 512 0 1s999ms 27s512ms 35s546ms 45s564ms 06 420 11 2s240ms 15s659ms 45s102ms 1m8s 07 368 0 1s572ms 14s294ms 16s923ms 26s933ms 08 345 0 1s838ms 11s387ms 17s218ms 39s148ms 09 417 0 1s807ms 15s258ms 24s319ms 38s5ms 10 497 11 2s238ms 21s745ms 37s215ms 1m40s 11 470 0 1s674ms 16s192ms 19s825ms 44s698ms 12 560 0 1s600ms 20s737ms 23s8ms 31s19ms 13 570 0 2s217ms 35s673ms 45s515ms 1m11s 14 573 12 1s851ms 21s440ms 24s872ms 46s624ms 15 548 0 1s627ms 17s629ms 22s459ms 43s196ms 16 594 0 1s988ms 26s591ms 42s970ms 57s349ms 17 555 0 1s748ms 18s527ms 23s834ms 1m5s 18 456 12 1s952ms 16s605ms 20s992ms 1m14s 19 548 0 1s720ms 19s205ms 23s665ms 59s311ms 20 616 0 1s853ms 22s627ms 29s314ms 1m2s 21 679 0 1s830ms 23s767ms 30s652ms 1m 22 735 0 1s919ms 26s966ms 49s851ms 1m22s 23 628 0 3s479ms 21s250ms 37s727ms 54s848ms Jun 02 00 636 0 2s272ms 22s838ms 28s134ms 1m8s 01 691 0 1s988ms 26s837ms 43s463ms 1m27s 02 752 0 1s860ms 24s390ms 55s869ms 1m13s 03 827 0 2s84ms 29s950ms 41s129ms 2m54s 04 871 0 1s749ms 29s171ms 39s689ms 1m11s 05 1,044 0 1s875ms 39s866ms 1m3s 1m55s 06 942 11 1s854ms 33s805ms 43s210ms 1m22s 07 1,012 0 1s608ms 33s329ms 39s494ms 48s243ms 08 1,083 0 1s699ms 37s91ms 40s544ms 1m19s 09 1,118 0 1s593ms 37s843ms 49s58ms 1m6s 10 1,321 12 1s799ms 45s31ms 1m3s 1m31s 11 1,472 0 1s618ms 48s295ms 52s488ms 1m2s 12 1,493 0 1s622ms 52s932ms 1m 1m9s 13 1,867 0 2s678ms 1m3s 1m37s 13m25s 14 1,864 12 1s705ms 59s994ms 1m26s 1m34s 15 2,095 0 1s576ms 1m6s 1m21s 1m30s 16 2,294 0 1s763ms 1m20s 1m40s 3m2s 17 2,774 0 1s582ms 1m25s 1m46s 2m 18 3,130 12 1s620ms 1m41s 1m49s 2m4s 19 3,375 0 1s604ms 1m49s 2m1s 2m23s 20 4,313 0 1s863ms 2m18s 2m44s 2m55s 21 4,434 0 1s595ms 2m27s 2m43s 3m30s 22 4,531 0 1s788ms 2m31s 2m46s 3m23s 23 5,108 0 2s530ms 3m20s 4m7s 21m12s Jun 03 00 5,908 0 1s866ms 3m36s 4m7s 10m16s 01 6,258 0 1s582ms 3m16s 3m37s 3m58s 02 6,194 0 1s615ms 3m19s 3m38s 4m11s 03 6,646 0 1s989ms 3m38s 4m5s 22m 04 6,270 0 1s967ms 3m27s 3m37s 19m35s 05 1,553 0 1s679ms 2m18s 3m4s 4m50s 06 6,613 11 2s726ms 4m42s 6m52s 25m9s 07 5,093 0 1s869ms 2m59s 3m30s 7m40s 08 2,396 0 2s74ms 2m58s 3m22s 4m12s 09 335 0 2s1ms 14s111ms 15s866ms 17s946ms 10 362 12 2s188ms 15s550ms 25s80ms 44s796ms 11 430 0 1s677ms 15s394ms 18s750ms 37s147ms 12 483 0 3s20ms 18s757ms 23s625ms 5m6s 13 469 0 1s658ms 17s780ms 20s835ms 29s554ms 14 484 12 2s613ms 21s450ms 26s788ms 2m29s 15 487 0 1s989ms 17s870ms 21s201ms 1m18s 16 309 0 1s822ms 11s560ms 16s546ms 26s218ms 17 250 0 2s955ms 10s475ms 13s242ms 17s694ms 18 532 12 2s588ms 24s574ms 40s749ms 1m44s 19 592 0 1s858ms 25s341ms 32s312ms 49s667ms 20 564 0 1s582ms 19s913ms 22s895ms 38s82ms 21 590 0 2s170ms 30s18ms 41s542ms 1m 22 431 0 2s70ms 17s745ms 19s36ms 37s631ms 23 605 0 2s54ms 25s641ms 39s700ms 1m8s Jun 04 00 660 0 2s966ms 37s312ms 59s482ms 2m24s 01 581 0 2s48ms 19s651ms 23s169ms 41s514ms 02 641 0 2s891ms 33s882ms 44s749ms 5m39s 03 625 0 1s739ms 23s698ms 26s181ms 36s684ms 04 670 0 2s277ms 30s957ms 47s697ms 1m39s 05 684 0 1s821ms 27s732ms 34s348ms 56s567ms 06 571 10 1s979ms 21s472ms 26s912ms 1m11s 07 499 0 1s830ms 18s140ms 24s967ms 41s408ms 08 427 0 1s633ms 15s125ms 19s515ms 22s348ms 09 678 0 2s309ms 28s858ms 52s3ms 1m17s 10 615 11 1s782ms 19s931ms 24s529ms 48s620ms 11 696 0 2s32ms 25s386ms 56s869ms 1m25s 12 657 0 2s278ms 26s747ms 42s896ms 2m31s 13 739 0 1s657ms 26s498ms 30s858ms 37s986ms 14 665 11 2s448ms 29s319ms 44s960ms 1m47s 15 731 0 1s837ms 30s415ms 44s112ms 55s83ms 16 726 0 2s324ms 29s537ms 47s156ms 1m12s 17 572 0 3s624ms 21s806ms 26s880ms 48s230ms 18 601 12 1s971ms 27s878ms 38s388ms 51s623ms 19 811 0 2s326ms 30s559ms 42s903ms 3m57s 20 774 0 1s846ms 26s638ms 39s44ms 1m37s 21 780 0 1s866ms 26s142ms 41s783ms 1m32s 22 815 0 1s831ms 30s916ms 55s342ms 1m13s 23 852 0 2s355ms 32s155ms 51s567ms 4m41s Jun 05 00 994 0 2s475ms 49s255ms 56s805ms 1m40s 01 966 0 1s832ms 35s944ms 44s556ms 1m15s 02 954 0 1s822ms 31s261ms 46s450ms 1m39s 03 1,073 0 2s44ms 39s90ms 56s894ms 2m24s 04 1,182 0 2s68ms 46s75ms 1m14s 2m33s 05 1,250 0 1s634ms 41s677ms 47s844ms 1m6s 06 1,202 11 1s855ms 48s902ms 1m8s 1m31s 07 1,508 0 1s595ms 45s520ms 51s39ms 1m3s 08 1,749 0 1s596ms 57s990ms 1m5s 1m28s 09 1,882 0 1s816ms 1m9s 1m22s 2m16s 10 2,224 11 1s763ms 1m12s 1m24s 1m55s 11 2,524 0 1s584ms 1m21s 1m30s 1m54s 12 2,802 0 1s834ms 1m31s 2m7s 3m49s 13 3,739 0 1s535ms 1m47s 2m2s 2m28s 14 3,903 11 1s930ms 2m7s 2m23s 3m2s 15 4,352 0 1s924ms 2m22s 2m42s 7m1s 16 4,681 0 1s787ms 2m33s 2m45s 3m44s 17 5,457 0 1s564ms 2m42s 2m59s 3m48s 18 5,394 11 2s305ms 4m3s 4m56s 22m25s 19 5,920 0 1s729ms 2m58s 3m12s 4m33s 20 6,899 0 1s607ms 3m37s 3m50s 4m21s 21 6,556 0 1s700ms 3m28s 3m53s 7m55s 22 6,552 0 1s753ms 3m27s 3m49s 4m57s 23 6,247 0 1s757ms 3m14s 3m50s 6m14s Jun 06 00 6,845 0 1s776ms 3m54s 4m45s 8m10s 01 6,668 0 1s739ms 3m26s 3m42s 7m16s 02 6,399 0 1s654ms 3m22s 4m26s 5m42s 03 3,203 0 2s677ms 3m13s 3m36s 44m 04 16 0 1s690ms 0ms 1s647ms 16s926ms 05 451 0 1s515ms 26s553ms 1m35s 2m15s 06 324 10 2s97ms 11s67ms 34s481ms 1m51s 07 699 0 1s801ms 29s743ms 50s254ms 1m6s 08 323 0 3s294ms 14s764ms 25s799ms 1m1s 09 334 0 2s915ms 17s555ms 29s283ms 1m10s 10 298 11 3s766ms 24s360ms 39s476ms 1m48s 11 291 0 3s289ms 15s32ms 50s643ms 2m16s 12 550 0 2s382ms 18s377ms 27s684ms 1m23s 13 549 0 1s908ms 19s710ms 27s440ms 48s37ms 14 514 11 2s298ms 24s498ms 45s922ms 1m45s 15 388 0 2s208ms 17s869ms 25s566ms 1m12s 16 475 0 1s849ms 24s308ms 33s792ms 52s345ms 17 27 0 1s327ms 1s94ms 2s714ms 13s852ms 18 144 11 2s554ms 17s362ms 29s555ms 1m47s 19 693 0 3s149ms 28s809ms 39s527ms 43s574ms 20 478 0 1s501ms 17s80ms 18s534ms 23s848ms 21 523 0 2s827ms 17s762ms 35s819ms 57s114ms 22 568 0 1s872ms 21s313ms 32s574ms 55s777ms 23 531 0 1s983ms 19s582ms 23s210ms 1m23s Jun 07 00 565 0 3s66ms 20s12ms 25s202ms 5m34s 01 558 0 1s664ms 20s375ms 21s935ms 28s979ms 02 615 0 1s660ms 22s410ms 25s792ms 40s725ms 03 429 0 3s64ms 16s527ms 22s60ms 5m4s 04 574 0 2s385ms 29s643ms 42s784ms 1m13s 05 555 0 2s44ms 20s389ms 27s573ms 1m35s 06 667 0 2s20ms 23s759ms 28s509ms 37s525ms 07 845 0 1s611ms 27s510ms 30s761ms 39s611ms 08 979 0 1s587ms 33s878ms 37s530ms 41s707ms 09 1,074 0 1s739ms 35s974ms 41s918ms 1m2s 10 1,443 0 1s606ms 49s686ms 54s621ms 1m8s 11 1,846 0 2s283ms 59s448ms 1m3s 6m 12 2,093 0 2s364ms 1m12s 1m16s 10m54s 13 2,625 0 1s633ms 1m30s 1m43s 2m18s 14 3,287 0 1s587ms 1m39s 2m1s 2m18s 15 3,520 0 1s544ms 1m48s 2m1s 2m27s 16 4,770 0 1s526ms 2m30s 2m33s 3m1s 17 4,838 0 2s212ms 2m32s 3m5s 21m18s 18 5,898 27 1s993ms 3m15s 4m14s 21m2s 19 5,948 44 2s517ms 3m7s 3m57s 26m 20 5,991 9 1s911ms 3m6s 3m19s 21m2s 21 6,527 0 1s861ms 3m9s 3m26s 20m59s 22 5,927 0 1s523ms 2m57s 3m20s 3m39s 23 5,372 0 1s743ms 2m44s 3m9s 3m33s Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jun 01 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Jun 02 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 1 0 0 0 2s363ms 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 Jun 03 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Jun 04 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Jun 05 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Jun 06 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Jun 07 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Jun 01 00 0 389 389.00 0.00% 01 0 425 425.00 0.00% 02 0 426 426.00 0.00% 03 0 435 435.00 0.00% 04 0 445 445.00 0.00% 05 0 512 512.00 0.00% 06 0 456 456.00 0.00% 07 0 441 441.00 0.00% 08 0 416 416.00 0.00% 09 0 449 449.00 0.00% 10 0 497 497.00 0.00% 11 0 470 470.00 0.00% 12 0 561 561.00 0.00% 13 0 570 570.00 0.00% 14 0 573 573.00 0.00% 15 0 548 548.00 0.00% 16 0 594 594.00 0.00% 17 0 556 556.00 0.00% 18 0 456 456.00 0.00% 19 0 549 549.00 0.00% 20 0 616 616.00 0.00% 21 0 680 680.00 0.00% 22 0 735 735.00 0.00% 23 0 630 630.00 0.00% Jun 02 00 0 641 641.00 0.00% 01 0 694 694.00 0.00% 02 0 753 753.00 0.00% 03 0 831 831.00 0.00% 04 0 874 874.00 0.00% 05 0 1,044 1,044.00 0.00% 06 0 954 954.00 0.00% 07 0 1,019 1,019.00 0.00% 08 0 1,090 1,090.00 0.00% 09 0 1,136 1,136.00 0.00% 10 0 1,379 1,379.00 0.00% 11 0 1,481 1,481.00 0.00% 12 0 1,503 1,503.00 0.00% 13 0 1,887 1,887.00 0.00% 14 0 1,881 1,881.00 0.00% 15 0 2,135 2,135.00 0.00% 16 0 2,400 2,400.00 0.00% 17 0 2,821 2,821.00 0.00% 18 0 3,165 3,165.00 0.00% 19 0 3,433 3,433.00 0.00% 20 0 4,409 4,409.00 0.00% 21 0 4,563 4,563.00 0.00% 22 0 4,657 4,657.00 0.00% 23 0 5,219 5,219.00 0.00% Jun 03 00 1 6,101 6,101.00 0.02% 01 0 6,419 6,419.00 0.00% 02 0 6,312 6,312.00 0.00% 03 0 6,763 6,763.00 0.00% 04 0 6,400 6,400.00 0.00% 05 0 1,584 1,584.00 0.00% 06 3 6,746 2,248.67 0.05% 07 0 5,313 5,313.00 0.00% 08 0 2,489 2,489.00 0.00% 09 0 335 335.00 0.00% 10 0 362 362.00 0.00% 11 0 430 430.00 0.00% 12 0 528 528.00 0.00% 13 0 496 496.00 0.00% 14 0 518 518.00 0.00% 15 0 488 488.00 0.00% 16 0 309 309.00 0.00% 17 0 275 275.00 0.00% 18 0 550 550.00 0.00% 19 0 592 592.00 0.00% 20 0 567 567.00 0.00% 21 0 593 593.00 0.00% 22 0 432 432.00 0.00% 23 0 607 607.00 0.00% Jun 04 00 0 663 663.00 0.00% 01 0 582 582.00 0.00% 02 0 642 642.00 0.00% 03 0 625 625.00 0.00% 04 0 670 670.00 0.00% 05 0 690 690.00 0.00% 06 0 632 632.00 0.00% 07 0 576 576.00 0.00% 08 0 428 428.00 0.00% 09 0 698 698.00 0.00% 10 0 645 645.00 0.00% 11 0 710 710.00 0.00% 12 0 670 670.00 0.00% 13 0 780 780.00 0.00% 14 0 667 667.00 0.00% 15 0 732 732.00 0.00% 16 0 729 729.00 0.00% 17 0 574 574.00 0.00% 18 0 608 608.00 0.00% 19 0 814 814.00 0.00% 20 0 777 777.00 0.00% 21 0 785 785.00 0.00% 22 0 820 820.00 0.00% 23 0 853 853.00 0.00% Jun 05 00 0 1,000 1,000.00 0.00% 01 0 969 969.00 0.00% 02 0 957 957.00 0.00% 03 0 1,077 1,077.00 0.00% 04 1 1,186 1,186.00 0.08% 05 0 1,264 1,264.00 0.00% 06 0 1,263 1,263.00 0.00% 07 0 1,577 1,577.00 0.00% 08 0 1,796 1,796.00 0.00% 09 0 1,925 1,925.00 0.00% 10 0 2,275 2,275.00 0.00% 11 0 2,608 2,608.00 0.00% 12 0 2,860 2,860.00 0.00% 13 0 3,840 3,840.00 0.00% 14 0 4,004 4,004.00 0.00% 15 0 4,472 4,472.00 0.00% 16 0 4,832 4,832.00 0.00% 17 0 5,612 5,612.00 0.00% 18 0 5,546 5,546.00 0.00% 19 0 6,085 6,085.00 0.00% 20 0 7,108 7,108.00 0.00% 21 0 6,715 6,715.00 0.00% 22 0 6,750 6,750.00 0.00% 23 0 6,458 6,458.00 0.00% Jun 06 00 1 7,035 7,035.00 0.01% 01 0 6,845 6,845.00 0.00% 02 0 6,584 6,584.00 0.00% 03 0 3,299 3,299.00 0.00% 04 0 16 16.00 0.00% 05 0 462 462.00 0.00% 06 0 345 345.00 0.00% 07 0 759 759.00 0.00% 08 0 343 343.00 0.00% 09 0 340 340.00 0.00% 10 0 311 311.00 0.00% 11 0 351 351.00 0.00% 12 0 602 602.00 0.00% 13 0 577 577.00 0.00% 14 0 516 516.00 0.00% 15 0 389 389.00 0.00% 16 0 480 480.00 0.00% 17 0 27 27.00 0.00% 18 0 146 146.00 0.00% 19 0 700 700.00 0.00% 20 0 479 479.00 0.00% 21 0 523 523.00 0.00% 22 0 568 568.00 0.00% 23 0 535 535.00 0.00% Jun 07 00 0 573 573.00 0.00% 01 0 561 561.00 0.00% 02 0 619 619.00 0.00% 03 0 434 434.00 0.00% 04 0 580 580.00 0.00% 05 0 563 563.00 0.00% 06 0 672 672.00 0.00% 07 0 852 852.00 0.00% 08 0 987 987.00 0.00% 09 0 1,089 1,089.00 0.00% 10 0 1,465 1,465.00 0.00% 11 0 1,877 1,877.00 0.00% 12 0 2,139 2,139.00 0.00% 13 0 2,701 2,701.00 0.00% 14 0 3,398 3,398.00 0.00% 15 0 3,642 3,642.00 0.00% 16 0 4,923 4,923.00 0.00% 17 0 5,002 5,002.00 0.00% 18 0 6,153 6,153.00 0.00% 19 0 6,197 6,197.00 0.00% 20 0 6,228 6,228.00 0.00% 21 0 6,795 6,795.00 0.00% 22 0 6,203 6,203.00 0.00% 23 0 5,595 5,595.00 0.00% Day Hour Count Average / Second Jun 01 00 148 0.04/s 01 134 0.04/s 02 142 0.04/s 03 143 0.04/s 04 139 0.04/s 05 279 0.08/s 06 204 0.06/s 07 132 0.04/s 08 143 0.04/s 09 139 0.04/s 10 154 0.04/s 11 141 0.04/s 12 134 0.04/s 13 215 0.06/s 14 165 0.05/s 15 160 0.04/s 16 185 0.05/s 17 190 0.05/s 18 143 0.04/s 19 167 0.05/s 20 192 0.05/s 21 178 0.05/s 22 194 0.05/s 23 177 0.05/s Jun 02 00 187 0.05/s 01 214 0.06/s 02 183 0.05/s 03 269 0.07/s 04 184 0.05/s 05 345 0.10/s 06 203 0.06/s 07 184 0.05/s 08 276 0.08/s 09 346 0.10/s 10 366 0.10/s 11 280 0.08/s 12 249 0.07/s 13 341 0.09/s 14 340 0.09/s 15 381 0.11/s 16 431 0.12/s 17 452 0.13/s 18 614 0.17/s 19 638 0.18/s 20 1,111 0.31/s 21 763 0.21/s 22 856 0.24/s 23 1,600 0.44/s Jun 03 00 1,506 0.42/s 01 5,034 1.40/s 02 7,166 1.99/s 03 7,644 2.12/s 04 4,389 1.22/s 05 1,242 0.34/s 06 9,933 2.76/s 07 2,072 0.58/s 08 436 0.12/s 09 93 0.03/s 10 1,076 0.30/s 11 141 0.04/s 12 142 0.04/s 13 159 0.04/s 14 197 0.05/s 15 293 0.08/s 16 98 0.03/s 17 112 0.03/s 18 167 0.05/s 19 159 0.04/s 20 156 0.04/s 21 260 0.07/s 22 129 0.04/s 23 232 0.06/s Jun 04 00 371 0.10/s 01 198 0.06/s 02 167 0.05/s 03 187 0.05/s 04 229 0.06/s 05 306 0.09/s 06 157 0.04/s 07 146 0.04/s 08 159 0.04/s 09 219 0.06/s 10 150 0.04/s 11 272 0.08/s 12 221 0.06/s 13 138 0.04/s 14 165 0.05/s 15 208 0.06/s 16 216 0.06/s 17 132 0.04/s 18 149 0.04/s 19 174 0.05/s 20 183 0.05/s 21 164 0.05/s 22 189 0.05/s 23 192 0.05/s Jun 05 00 229 0.06/s 01 217 0.06/s 02 224 0.06/s 03 200 0.06/s 04 318 0.09/s 05 350 0.10/s 06 217 0.06/s 07 252 0.07/s 08 291 0.08/s 09 346 0.10/s 10 438 0.12/s 11 381 0.11/s 12 503 0.14/s 13 630 0.17/s 14 779 0.22/s 15 862 0.24/s 16 942 0.26/s 17 1,441 0.40/s 18 1,565 0.43/s 19 1,408 0.39/s 20 2,018 0.56/s 21 1,890 0.53/s 22 1,629 0.45/s 23 1,781 0.49/s Jun 06 00 1,938 0.54/s 01 1,832 0.51/s 02 2,005 0.56/s 03 901 0.25/s 04 81 0.02/s 05 152 0.04/s 06 118 0.03/s 07 316 0.09/s 08 140 0.04/s 09 164 0.05/s 10 138 0.04/s 11 152 0.04/s 12 140 0.04/s 13 153 0.04/s 14 169 0.05/s 15 119 0.03/s 16 192 0.05/s 17 73 0.02/s 18 84 0.02/s 19 150 0.04/s 20 106 0.03/s 21 119 0.03/s 22 133 0.04/s 23 133 0.04/s Jun 07 00 119 0.03/s 01 125 0.03/s 02 158 0.04/s 03 108 0.03/s 04 122 0.03/s 05 143 0.04/s 06 120 0.03/s 07 124 0.03/s 08 146 0.04/s 09 159 0.04/s 10 149 0.04/s 11 173 0.05/s 12 192 0.05/s 13 257 0.07/s 14 279 0.08/s 15 322 0.09/s 16 536 0.15/s 17 608 0.17/s 18 811 0.23/s 19 720 0.20/s 20 785 0.22/s 21 992 0.28/s 22 730 0.20/s 23 637 0.18/s Day Hour Count Average Duration Average idle time Jun 01 00 148 16m35s 16m27s 01 134 17m58s 17m52s 02 141 17m23s 17m17s 03 144 17m1s 16m55s 04 139 17m34s 17m28s 05 279 8m46s 8m43s 06 204 11m58s 11m54s 07 132 18m22s 18m17s 08 143 16m54s 16m49s 09 139 17m39s 17m34s 10 154 15m46s 15m39s 11 141 14m58s 14m52s 12 134 17m26s 17m19s 13 215 11m19s 11m13s 14 165 14m7s 14m 15 160 15m3s 14m57s 16 185 13m27s 13m20s 17 190 12m22s 12m17s 18 143 16m39s 16m32s 19 167 14m47s 14m41s 20 192 12m16s 12m10s 21 178 13m3s 12m56s 22 193 12m45s 12m37s 23 178 13m49s 13m36s Jun 02 00 187 13m11s 13m3s 01 214 11m21s 11m15s 02 183 13m12s 13m4s 03 268 9m7s 9m1s 04 185 13m15s 13m7s 05 345 6m59s 6m54s 06 203 11m50s 11m42s 07 184 12m51s 12m42s 08 276 8m45s 8m38s 09 346 7m11s 7m6s 10 366 6m33s 6m27s 11 280 8m10s 8m2s 12 249 9m10s 9m 13 341 6m 5m45s 14 340 7m53s 7m43s 15 381 6m50s 6m41s 16 424 5m50s 5m40s 17 453 5m16s 5m7s 18 617 4m57s 4m49s 19 638 4m6s 3m57s 20 1,114 2m13s 2m6s 21 763 3m11s 3m2s 22 855 2m54s 2m44s 23 1,601 1m36s 1m28s Jun 03 00 1,506 1m38s 1m31s 01 5,034 30s68ms 28s100ms 02 7,164 19s994ms 18s597ms 03 7,645 20s402ms 18s672ms 04 4,388 35s423ms 32s612ms 05 1,242 2m2s 2m 06 9,935 16s972ms 15s152ms 07 2,072 1m13s 1m8s 08 436 5m32s 5m20s 09 93 25m42s 25m35s 10 1,076 2m15s 2m15s 11 141 17m41s 17m36s 12 142 15m41s 15m31s 13 155 15m39s 15m34s 14 197 12m32s 12m25s 15 293 8m10s 8m6s 16 98 23m44s 23m39s 17 112 26m27s 26m21s 18 169 17m57s 17m49s 19 159 14m49s 14m42s 20 156 15m 14m54s 21 260 9m10s 9m6s 22 129 17m38s 17m31s 23 232 10m56s 10m50s Jun 04 00 371 7m51s 7m46s 01 198 12m12s 12m6s 02 167 14m43s 14m32s 03 187 12m56s 12m51s 04 229 10m22s 10m16s 05 306 7m30s 7m26s 06 157 15m16s 15m8s 07 146 15m58s 15m52s 08 159 15m43s 15m39s 09 219 10m56s 10m48s 10 150 15m25s 15m18s 11 272 8m47s 8m41s 12 220 14m13s 14m6s 13 139 17m19s 17m10s 14 165 15m2s 14m52s 15 208 11m41s 11m35s 16 216 11m17s 11m9s 17 132 17m36s 17m20s 18 149 16m39s 16m31s 19 174 14m9s 13m58s 20 183 12m55s 12m48s 21 164 13m48s 13m40s 22 188 13m17s 13m9s 23 193 12m31s 12m20s Jun 05 00 229 10m52s 10m41s 01 217 11m1s 10m53s 02 223 10m48s 10m40s 03 201 12m26s 12m15s 04 318 10m20s 10m12s 05 350 6m56s 6m50s 06 217 11m21s 11m11s 07 252 9m25s 9m16s 08 291 8m17s 8m7s 09 345 6m53s 6m43s 10 438 5m20s 5m11s 11 382 6m9s 5m59s 12 503 4m59s 4m49s 13 628 3m50s 3m41s 14 780 7m18s 7m8s 15 861 2m48s 2m38s 16 944 2m40s 2m31s 17 1,430 1m42s 1m36s 18 1,576 1m37s 1m29s 19 1,407 1m59s 1m51s 20 2,019 1m14s 1m9s 21 1,890 1m20s 1m14s 22 1,629 1m51s 1m43s 23 1,777 1m25s 1m19s Jun 06 00 1,941 1m15s 1m9s 01 1,832 1m21s 1m15s 02 2,002 1m33s 1m28s 03 905 2m28s 2m18s 04 81 30m9s 30m8s 05 152 16m41s 16m37s 06 118 19m13s 19m7s 07 316 8m18s 8m14s 08 140 16m3s 15m55s 09 164 20m37s 20m31s 10 138 17m33s 17m25s 11 152 16m11s 16m5s 12 140 17m15s 17m6s 13 153 16m59s 16m52s 14 169 14m21s 14m14s 15 119 19m30s 19m23s 16 192 12m12s 12m7s 17 73 33m38s 33m37s 18 84 28m16s 28m11s 19 150 17m5s 16m51s 20 106 22m11s 22m4s 21 119 20m16s 20m4s 22 133 17m57s 17m49s 23 133 18m2s 17m54s Jun 07 00 119 20m27s 20m13s 01 125 19m53s 19m46s 02 158 14m18s 14m11s 03 108 20m29s 20m17s 04 122 20m22s 20m11s 05 142 16m41s 16m33s 06 121 19m55s 19m44s 07 124 19m23s 19m12s 08 146 16m9s 15m59s 09 159 15m46s 15m34s 10 149 16m22s 16m6s 11 172 14m14s 13m50s 12 193 12m41s 12m15s 13 255 9m39s 9m22s 14 281 8m35s 8m17s 15 322 7m35s 7m18s 16 535 4m32s 4m19s 17 608 9m53s 9m35s 18 811 3m7s 2m53s 19 720 3m23s 3m2s 20 783 3m17s 3m2s 21 995 2m21s 2m9s 22 730 4m13s 4m1s 23 637 3m54s 3m40s -
Connections
Established Connections
Key values
- 86 connections Connection Peak
- 2025-06-01 05:35:16 Date
Connections per database
Key values
- ctdprd51 Main Database
- 99,273 connections Total
Connections per user
Key values
- pubeu Main User
- 99,273 connections Total
-
Sessions
Simultaneous sessions
Key values
- 86 sessions Session Peak
- 2025-06-03 10:06:17 Date
Histogram of session times
Key values
- 37,573 1000-30000ms duration
Sessions per database
Key values
- ctdprd51 Main Database
- 99,271 sessions Total
Sessions per user
Key values
- pubeu Main User
- 99,271 sessions Total
Sessions per host
Key values
- 10.12.5.37 Main Host
- 99,271 sessions Total
Host Count Total Duration Average Duration 10.12.5.37 88,474 59d1h25m5s 57s674ms 10.12.5.38 2,630 56d1h8m1s 30m41s 10.12.5.39 2,586 56d23m47s 31m11s 10.12.5.40 2 7m14s 3m37s 10.12.5.45 2,843 55d23h52m5s 28m21s 10.12.5.46 2,632 56d1h17m23s 30m40s 192.168.201.30 2 8h30m24s 4h15m12s 192.168.201.6 7 14h15m35s 2h2m13s ::1 95 8d19h44m15s 2h13m43s -
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 86,883 buffers Checkpoint Peak
- 2025-06-05 22:16:00 Date
- 1619.972 seconds Highest write time
- 0.070 seconds Sync time
Checkpoints Wal files
Key values
- 41 files Wal files usage Peak
- 2025-06-05 22:16:00 Date
Checkpoints distance
Key values
- 1,258.37 Mo Distance Peak
- 2025-06-05 22:16:00 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Jun 01 00 10,139 1,015.255s 0.004s 1,015.34s 01 2,766 276.624s 0.004s 276.704s 02 2,162 216.262s 0.003s 216.342s 03 1,396 139.575s 0.002s 139.634s 04 10,543 1,055.466s 0.005s 1,055.577s 05 4,209 421.113s 0.004s 421.194s 06 4,945 494.827s 0.004s 494.878s 07 4,340 434.412s 0.028s 434.516s 08 5,479 549.308s 0.004s 549.44s 09 4,793 479.784s 0.003s 479.833s 10 5,566 557.084s 0.004s 557.171s 11 50,360 1,845.705s 0.003s 1,845.874s 12 10,752 1,076.792s 0.004s 1,076.851s 13 5,845 585.29s 0.004s 585.343s 14 7,348 735.178s 0.015s 735.242s 15 6,039 604.313s 0.004s 604.364s 16 7,347 735.671s 0.045s 735.96s 17 3,466 346.84s 0.001s 346.864s 18 13,878 1,388.8s 0.007s 1,388.885s 19 7,896 790.273s 0.004s 790.328s 20 8,776 878.472s 0.004s 878.535s 21 16,165 1,619.198s 0.004s 1,619.254s 22 9,043 905.66s 0.005s 905.749s 23 7,962 797.118s 0.003s 797.172s Jun 02 00 29,549 1,714.846s 0.006s 1,714.958s 01 2,723 272.272s 0.002s 272.351s 02 3,367 336.731s 0.004s 336.812s 03 4,083 408.306s 0.004s 408.39s 04 4,767 476.794s 0.004s 476.844s 05 5,595 560.135s 0.004s 560.186s 06 5,037 503.878s 0.004s 503.939s 07 9,032 904.015s 0.003s 904.093s 08 3,646 365.126s 0.002s 365.151s 09 23,073 2,310.604s 0.006s 2,310.702s 10 3,643 364.605s 0.002s 364.63s 11 16,097 1,611.798s 0.006s 1,611.918s 12 8,921 893.145s 0.004s 893.199s 13 6,184 619.334s 0.005s 619.388s 14 7,349 735.598s 0.003s 735.652s 15 9,256 927.345s 0.004s 927.402s 16 11,504 1,152.75s 0.003s 1,152.911s 17 9,654 967.207s 0.003s 967.258s 18 4,385 439.192s 0.001s 439.215s 19 17,350 1,739.268s 0.006s 1,739.351s 20 9,236 926.205s 0.004s 926.258s 21 10,963 1,098.546s 0.018s 1,098.664s 22 9,507 952.552s 0.003s 952.603s 23 17,091 1,717.239s 0.005s 1,717.305s Jun 03 00 42,155 2,171.553s 0.006s 2,171.73s 01 8,621 866.691s 0.003s 866.767s 02 11,436 1,151.063s 0.003s 1,151.144s 03 12,679 1,276.11s 0.051s 1,276.387s 04 12,942 1,300.673s 0.03s 1,300.754s 05 7,858 786.756s 0.004s 786.835s 06 14,461 1,462.448s 0.011s 1,462.576s 07 6,879 690.791s 0.003s 690.823s 08 17,932 1,796.381s 0.024s 1,796.576s 09 9,990 999.465s 0.003s 999.511s 10 5,311 531.572s 0.003s 531.686s 11 64,412 2,507.227s 0.005s 2,507.339s 12 7,449 745.893s 0.004s 746.017s 13 7,433 744.392s 0.004s 744.519s 14 3,368 337.609s 0.002s 337.765s 15 57,279 2,162.994s 0.006s 2,163.133s 16 8,576 858.531s 0.003s 858.651s 17 5,074 507.926s 0.004s 508.044s 18 7,076 708.632s 0.007s 708.757s 19 6,586 659.611s 0.004s 659.736s 20 6,168 617.502s 0.002s 617.623s 21 6,343 635.209s 0.002s 635.327s 22 7,082 708.639s 0.004s 708.735s 23 9,063 908.504s 0.004s 908.646s Jun 04 00 46,292 1,840.959s 0.006s 1,841.339s 01 2,995 299.846s 0.002s 299.862s 02 12,919 1,294.197s 0.005s 1,294.38s 03 6,412 641.99s 0.004s 642.071s 04 8,138 816.553s 0.004s 816.67s 05 6,241 624.858s 0.004s 624.938s 06 11,454 1,147.477s 0.004s 1,147.583s 07 6,985 699.336s 0.003s 699.43s 08 6,247 625.553s 0.004s 625.636s 09 3,672 367.83s 0.002s 367.907s 10 16,920 1,695.859s 0.006s 1,696.073s 11 6,884 690.063s 0.003s 690.197s 12 5,013 502.476s 0.004s 502.849s 13 5,684 569.541s 0.004s 569.674s 14 6,150 615.918s 0.004s 616.019s 15 8,187 819.963s 0.003s 820.057s 16 5,369 537.612s 0.004s 537.749s 17 3,576 358.146s 0.003s 358.189s 18 4,528 453.712s 0.004s 453.807s 19 5,980 599.758s 0.004s 599.844s 20 4,187 420.434s 0.004s 420.514s 21 4,172 417.829s 0.004s 417.966s 22 6,579 659.301s 0.004s 659.344s 23 65,035 2,144.934s 0.004s 2,145.541s Jun 05 00 23,673 1,667.534s 0.005s 1,667.776s 01 3,385 339.183s 0.003s 339.28s 02 1,821 182.464s 0.003s 182.552s 03 1,858 186.292s 0.004s 186.327s 04 3,789 380.332s 0.004s 380.431s 05 1,927 192.905s 0.004s 192.989s 06 2,836 284.18s 0.003s 284.212s 07 2,321 232.606s 0.004s 232.651s 08 2,850 285.699s 0.004s 285.75s 09 57,792 1,712.776s 0.004s 1,713.299s 10 1,350 135.23s 0.002s 135.26s 11 60,820 2,112.116s 0.006s 2,112.751s 12 8,127 816.905s 0.004s 816.986s 13 3,021 303.142s 0.002s 303.194s 14 4,933 495.935s 0.004s 496.036s 15 7,432 746.977s 0.003s 747.127s 16 4,618 463.158s 0.004s 463.202s 17 3,905 391.903s 0.004s 391.989s 18 3,313 332.625s 0.003s 332.672s 19 5,679 570.271s 0.012s 570.376s 20 5,270 531.307s 0.071s 531.708s 21 11,009 1,107.083s 0.002s 1,107.484s 22 140,683 3,353.498s 0.006s 3,354.308s 23 3,058 307.056s 0.002s 307.115s Jun 06 00 29,104 1,727.287s 0.005s 1,727.582s 01 4,364 437.95s 0.005s 438.078s 02 84,385 1,888.782s 0.003s 1,889.379s 03 4,820 484.052s 0.004s 484.127s 04 261 26.329s 0.002s 26.358s 05 689 69.103s 0.002s 69.133s 06 1,275 127.924s 0.004s 127.956s 07 2,310 231.685s 0.004s 231.765s 08 4,915 492.266s 0.004s 492.311s 09 3,638 364.551s 0.004s 364.582s 10 4,647 465.469s 0.004s 465.514s 11 3,626 363.443s 0.003s 363.519s 12 3,510 351.689s 0.002s 351.731s 13 4,340 434.81s 0.007s 434.893s 14 2,042 204.694s 0.001s 204.755s 15 8,085 810.125s 0.002s 810.253s 16 60,632 1,836.201s 0.005s 1,836.748s 17 710 71.304s 0.004s 71.344s 18 850 85.213s 0.003s 85.243s 19 1,725 172.969s 0.002s 173.047s 20 4,212 421.978s 0.002s 422.026s 21 3,411 341.974s 0.002s 342.027s 22 2,759 276.391s 0.002s 276.436s 23 3,214 321.791s 0.003s 321.834s Jun 07 00 15,993 1,601.895s 0.005s 1,602.082s 01 762 76.472s 0.003s 76.548s 02 2,115 211.896s 0.004s 211.927s 03 1,685 168.797s 0.004s 168.874s 04 5,019 502.662s 0.003s 502.784s 05 1,945 194.847s 0.004s 194.893s 06 1,254 125.719s 0.003s 125.75s 07 549 55.007s 0.001s 55.023s 08 11,272 1,128.802s 0.005s 1,128.963s 09 4,468 447.719s 0.003s 447.809s 10 2,573 257.909s 0.004s 257.984s 11 1,600 160.319s 0.003s 160.351s 12 1,399 140.175s 0.003s 140.257s 13 658 66.028s 0.002s 66.043s 14 9,435 945.182s 0.006s 945.311s 15 1,688 169.248s 0.004s 169.325s 16 2,135 214s 0.004s 214.078s 17 1,680 168.422s 0.004s 168.453s 18 2,276 228.216s 0.003s 228.26s 19 5,519 562.621s 0.004s 562.715s 20 2,799 280.655s 0.004s 280.7s 21 2,331 233.895s 0.003s 233.972s 22 1,990 199.618s 0.004s 199.649s 23 2,664 267.332s 0.004s 267.375s Day Hour Added Removed Recycled Synced files Longest sync Average sync Jun 01 00 0 11 0 77 0.001s 0.002s 01 0 1 0 50 0.001s 0.002s 02 0 1 0 36 0.001s 0.002s 03 0 1 0 17 0.001s 0.001s 04 0 4 0 68 0.001s 0.003s 05 0 1 0 42 0.001s 0.002s 06 0 2 0 101 0.001s 0.002s 07 0 1 0 134 0.020s 0.002s 08 0 2 0 135 0.001s 0.002s 09 0 1 0 122 0.001s 0.002s 10 0 2 0 35 0.001s 0.002s 11 0 34 0 58 0.001s 0.002s 12 0 5 0 39 0.001s 0.002s 13 0 2 0 30 0.001s 0.002s 14 0 3 0 35 0.011s 0.002s 15 0 2 0 23 0.001s 0.002s 16 0 3 0 31 0.025s 0.005s 17 0 1 0 11 0.001s 0.001s 18 0 4 0 42 0.001s 0.003s 19 0 3 0 31 0.001s 0.002s 20 0 6 0 38 0.001s 0.002s 21 0 3 0 40 0.001s 0.002s 22 0 4 0 31 0.001s 0.002s 23 0 3 0 22 0.001s 0.002s Jun 02 00 0 24 0 84 0.001s 0.002s 01 0 1 0 38 0.001s 0.002s 02 0 1 0 40 0.001s 0.002s 03 0 2 0 45 0.001s 0.002s 04 0 2 0 39 0.001s 0.002s 05 0 2 0 45 0.001s 0.002s 06 0 2 0 82 0.001s 0.002s 07 0 4 0 81 0.001s 0.002s 08 0 1 0 22 0.001s 0.001s 09 0 10 0 152 0.001s 0.003s 10 0 1 0 67 0.001s 0.001s 11 0 8 0 155 0.001s 0.003s 12 0 3 0 43 0.001s 0.002s 13 0 2 0 32 0.001s 0.002s 14 0 3 0 37 0.001s 0.002s 15 0 3 0 71 0.002s 0.002s 16 0 37 0 121 0.001s 0.002s 17 0 3 0 33 0.001s 0.002s 18 0 1 0 16 0.001s 0.001s 19 0 6 0 42 0.001s 0.003s 20 0 3 0 22 0.001s 0.002s 21 0 4 0 29 0.016s 0.002s 22 0 4 0 27 0.001s 0.002s 23 0 6 0 48 0.002s 0.002s Jun 03 00 0 35 0 85 0.002s 0.002s 01 0 1 0 49 0.001s 0.002s 02 0 2 0 41 0.001s 0.002s 03 0 2 0 60 0.041s 0.003s 04 0 3 0 48 0.028s 0.002s 05 0 1 0 38 0.001s 0.002s 06 0 4 0 165 0.009s 0.002s 07 0 1 0 60 0.002s 0.001s 08 0 6 0 158 0.011s 0.003s 09 0 2 0 37 0.001s 0.002s 10 0 32 0 34 0.001s 0.001s 11 0 4 0 68 0.001s 0.003s 12 0 2 0 127 0.001s 0.002s 13 0 2 0 136 0.001s 0.002s 14 0 33 0 68 0.001s 0.001s 15 0 3 0 156 0.001s 0.003s 16 0 2 0 27 0.001s 0.002s 17 0 2 0 80 0.001s 0.002s 18 0 2 0 128 0.004s 0.002s 19 0 2 0 34 0.001s 0.002s 20 0 2 0 26 0.001s 0.002s 21 0 2 0 24 0.001s 0.002s 22 0 1 1 32 0.001s 0.002s 23 0 1 2 27 0.001s 0.002s Jun 04 00 0 0 25 104 0.002s 0.002s 01 0 0 0 21 0.001s 0.001s 02 0 0 4 75 0.001s 0.003s 03 0 0 1 48 0.001s 0.002s 04 0 0 2 43 0.001s 0.002s 05 0 0 1 79 0.001s 0.002s 06 0 0 3 154 0.001s 0.002s 07 0 0 2 145 0.001s 0.002s 08 0 0 1 94 0.001s 0.002s 09 0 0 2 63 0.001s 0.001s 10 0 0 6 197 0.001s 0.003s 11 0 0 2 143 0.001s 0.002s 12 0 0 1 88 0.001s 0.002s 13 0 0 2 135 0.001s 0.002s 14 0 0 2 38 0.001s 0.002s 15 0 0 2 45 0.001s 0.002s 16 0 0 2 44 0.001s 0.002s 17 0 0 1 31 0.001s 0.002s 18 0 0 2 86 0.001s 0.002s 19 0 0 1 43 0.001s 0.002s 20 0 0 1 26 0.001s 0.002s 21 0 0 2 25 0.001s 0.002s 22 0 0 1 28 0.001s 0.002s 23 0 2 38 60 0.001s 0.002s Jun 05 00 0 0 14 84 0.001s 0.002s 01 0 0 1 54 0.001s 0.002s 02 0 0 1 40 0.001s 0.002s 03 0 0 0 58 0.001s 0.002s 04 0 0 2 52 0.001s 0.002s 05 0 0 1 31 0.001s 0.002s 06 0 0 0 138 0.001s 0.002s 07 0 0 1 131 0.001s 0.002s 08 0 0 1 77 0.001s 0.002s 09 0 0 36 104 0.001s 0.002s 10 0 0 1 54 0.001s 0.001s 11 0 0 42 214 0.001s 0.003s 12 0 0 1 99 0.001s 0.002s 13 0 0 1 32 0.001s 0.002s 14 0 0 2 91 0.001s 0.002s 15 0 0 4 111 0.001s 0.002s 16 0 0 1 41 0.001s 0.002s 17 0 0 1 32 0.001s 0.002s 18 0 0 1 27 0.001s 0.002s 19 0 0 2 25 0.009s 0.002s 20 0 0 2 130 0.058s 0.002s 21 0 0 7 21 0.001s 0.001s 22 0 29 45 73 0.001s 0.003s 23 0 0 1 24 0.001s 0.002s Jun 06 00 0 0 19 97 0.001s 0.002s 01 0 0 1 44 0.002s 0.002s 02 0 0 39 55 0.001s 0.002s 03 0 0 1 59 0.001s 0.002s 04 0 0 0 19 0.001s 0.002s 05 0 0 0 26 0.001s 0.002s 06 0 0 0 132 0.001s 0.002s 07 0 0 1 138 0.001s 0.002s 08 0 0 1 84 0.001s 0.002s 09 0 0 0 78 0.001s 0.002s 10 0 0 1 120 0.001s 0.002s 11 0 0 1 132 0.001s 0.002s 12 0 0 1 135 0.001s 0.002s 13 0 0 1 118 0.006s 0.002s 14 0 0 1 70 0.001s 0.001s 15 0 0 4 44 0.001s 0.002s 16 0 0 36 66 0.001s 0.003s 17 0 0 0 23 0.002s 0.002s 18 0 0 0 23 0.001s 0.002s 19 0 0 1 26 0.001s 0.002s 20 0 0 1 28 0.001s 0.002s 21 0 0 1 36 0.001s 0.002s 22 0 0 1 26 0.001s 0.002s 23 0 0 1 30 0.001s 0.002s Jun 07 00 0 0 10 80 0.001s 0.002s 01 0 0 1 31 0.001s 0.002s 02 0 0 0 42 0.001s 0.002s 03 0 0 1 40 0.001s 0.002s 04 0 0 2 59 0.001s 0.002s 05 0 0 1 37 0.001s 0.002s 06 0 0 0 33 0.001s 0.002s 07 0 0 0 14 0.001s 0.001s 08 0 0 7 63 0.001s 0.003s 09 0 0 2 41 0.001s 0.002s 10 0 0 1 34 0.001s 0.002s 11 0 0 0 30 0.001s 0.002s 12 0 0 1 22 0.001s 0.002s 13 0 0 0 11 0.001s 0.001s 14 0 0 4 54 0.001s 0.003s 15 0 0 1 23 0.001s 0.002s 16 0 0 1 28 0.001s 0.002s 17 0 0 0 22 0.001s 0.002s 18 0 0 1 36 0.001s 0.002s 19 0 0 1 24 0.001s 0.002s 20 0 0 1 31 0.001s 0.002s 21 0 0 1 22 0.001s 0.002s 22 0 0 0 21 0.001s 0.002s 23 0 0 1 30 0.001s 0.002s Day Hour Count Avg time (sec) Jun 01 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Jun 02 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Jun 03 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Jun 04 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Jun 05 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Jun 06 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Jun 07 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Day Hour Mean distance Mean estimate Jun 01 00 93,932.00 kB 173,150.50 kB 01 9,013.00 kB 141,925.50 kB 02 6,826.00 kB 116,234.00 kB 03 8,094.00 kB 100,259.00 kB 04 22,929.00 kB 86,966.00 kB 05 10,644.50 kB 68,972.00 kB 06 11,472.50 kB 58,010.50 kB 07 12,699.00 kB 49,367.50 kB 08 13,470.00 kB 42,533.00 kB 09 13,764.00 kB 37,077.00 kB 10 13,917.00 kB 32,632.50 kB 11 272,821.00 kB 500,274.50 kB 12 44,191.00 kB 413,741.00 kB 13 17,537.00 kB 338,430.50 kB 14 19,390.50 kB 277,721.50 kB 15 19,213.00 kB 228,637.50 kB 16 20,643.00 kB 189,059.00 kB 17 21,422.00 kB 164,321.00 kB 18 22,540.33 kB 137,873.67 kB 19 23,014.50 kB 110,945.50 kB 20 24,542.50 kB 94,444.00 kB 21 53,352.00 kB 86,613.00 kB 22 26,873.00 kB 75,191.00 kB 23 26,179.50 kB 65,954.50 kB Jun 02 00 201,886.50 kB 376,668.00 kB 01 9,329.00 kB 306,781.50 kB 02 9,865.00 kB 250,355.00 kB 03 12,132.50 kB 204,959.00 kB 04 14,901.50 kB 168,843.50 kB 05 16,644.50 kB 139,838.00 kB 06 16,967.50 kB 116,311.50 kB 07 31,412.00 kB 99,395.00 kB 08 17,432.00 kB 88,220.00 kB 09 52,275.00 kB 93,992.33 kB 10 19,267.00 kB 80,091.00 kB 11 40,307.00 kB 73,877.00 kB 12 30,132.50 kB 63,705.00 kB 13 20,720.00 kB 55,524.50 kB 14 22,414.50 kB 49,183.50 kB 15 24,789.50 kB 44,464.50 kB 16 295,813.50 kB 303,908.50 kB 17 27,666.00 kB 488,126.50 kB 18 25,584.00 kB 420,074.00 kB 19 29,765.33 kB 347,152.67 kB 20 28,503.50 kB 272,835.50 kB 21 28,816.00 kB 226,478.00 kB 22 29,908.00 kB 189,054.00 kB 23 54,352.00 kB 163,448.50 kB Jun 03 00 289,516.00 kB 502,412.00 kB 01 8,727.00 kB 410,580.50 kB 02 11,513.50 kB 334,532.50 kB 03 21,453.50 kB 274,966.50 kB 04 17,922.50 kB 226,081.50 kB 05 12,343.00 kB 186,173.50 kB 06 29,167.50 kB 155,380.00 kB 07 23,433.00 kB 135,907.00 kB 08 30,563.00 kB 117,579.33 kB 09 17,050.00 kB 93,823.50 kB 10 17,662.00 kB 82,623.00 kB 11 193,226.33 kB 489,711.00 kB 12 18,926.50 kB 379,977.50 kB 13 13,816.00 kB 310,708.50 kB 14 14,674.00 kB 267,027.00 kB 15 194,919.00 kB 503,425.33 kB 16 15,409.50 kB 389,426.00 kB 17 12,815.50 kB 318,020.00 kB 18 16,133.00 kB 260,509.00 kB 19 16,333.00 kB 214,159.00 kB 20 16,364.50 kB 176,532.50 kB 21 17,306.00 kB 146,247.00 kB 22 17,157.00 kB 121,796.00 kB 23 19,098.50 kB 102,071.50 kB Jun 04 00 210,408.50 kB 393,591.00 kB 01 6,072.00 kB 336,521.00 kB 02 20,918.33 kB 278,698.67 kB 03 8,384.50 kB 215,504.00 kB 04 14,689.00 kB 177,283.50 kB 05 8,898.50 kB 145,301.00 kB 06 26,687.00 kB 122,646.00 kB 07 14,928.00 kB 102,215.50 kB 08 10,147.00 kB 84,800.00 kB 09 18,902.00 kB 74,621.00 kB 10 36,101.67 kB 75,258.67 kB 11 14,827.00 kB 60,935.00 kB 12 11,126.50 kB 51,837.50 kB 13 12,132.50 kB 44,325.50 kB 14 16,977.00 kB 38,367.50 kB 15 18,731.00 kB 34,830.50 kB 16 11,938.50 kB 31,004.50 kB 17 8,481.00 kB 26,830.50 kB 18 11,438.00 kB 23,602.50 kB 19 16,640.00 kB 22,422.00 kB 20 10,516.50 kB 20,169.50 kB 21 10,776.50 kB 18,381.00 kB 22 12,534.50 kB 17,198.00 kB 23 320,697.50 kB 559,799.00 kB Jun 05 00 118,249.50 kB 478,181.00 kB 01 11,363.00 kB 388,882.50 kB 02 4,498.00 kB 316,440.50 kB 03 5,602.00 kB 257,364.50 kB 04 12,541.00 kB 210,222.50 kB 05 5,826.00 kB 171,968.50 kB 06 7,023.00 kB 140,623.00 kB 07 7,031.50 kB 115,218.00 kB 08 7,509.50 kB 94,710.00 kB 09 295,107.00 kB 554,103.50 kB 10 7,168.00 kB 473,510.00 kB 11 214,737.67 kB 552,375.00 kB 12 34,334.50 kB 431,446.00 kB 13 9,299.50 kB 351,249.50 kB 14 15,050.50 kB 287,345.00 kB 15 22,328.50 kB 236,375.50 kB 16 15,153.00 kB 194,830.00 kB 17 10,207.50 kB 159,800.00 kB 18 9,677.50 kB 131,279.00 kB 19 12,081.50 kB 108,471.50 kB 20 14,664.00 kB 90,624.50 kB 21 108,219.00 kB 108,219.00 kB 22 410,283.33 kB 618,865.33 kB 23 8,657.00 kB 492,654.50 kB Jun 06 00 153,992.00 kB 428,514.00 kB 01 4,797.00 kB 347,948.00 kB 02 320,060.00 kB 602,478.50 kB 03 10,588.00 kB 489,897.50 kB 04 404.00 kB 397,284.00 kB 05 918.00 kB 321,921.00 kB 06 2,014.50 kB 261,096.00 kB 07 4,069.00 kB 212,131.50 kB 08 6,689.00 kB 173,058.50 kB 09 6,354.00 kB 141,334.50 kB 10 7,215.50 kB 115,797.00 kB 11 7,044.00 kB 95,229.00 kB 12 6,702.00 kB 78,378.50 kB 13 7,996.00 kB 64,880.00 kB 14 8,287.00 kB 56,615.00 kB 15 35,000.50 kB 60,936.00 kB 16 197,166.00 kB 524,762.00 kB 17 1,582.00 kB 403,088.50 kB 18 1,541.50 kB 326,724.50 kB 19 3,935.00 kB 265,236.00 kB 20 8,756.50 kB 216,411.50 kB 21 7,708.50 kB 176,777.50 kB 22 7,002.00 kB 144,539.00 kB 23 7,293.50 kB 118,438.00 kB Jun 07 00 89,007.00 kB 162,764.00 kB 01 2,719.00 kB 132,555.50 kB 02 5,747.00 kB 108,198.50 kB 03 5,267.50 kB 88,711.00 kB 04 17,754.00 kB 74,936.50 kB 05 4,963.00 kB 61,962.50 kB 06 3,607.00 kB 50,987.00 kB 07 3,676.00 kB 44,021.00 kB 08 35,952.00 kB 90,831.67 kB 09 13,604.50 kB 71,589.50 kB 10 9,272.50 kB 60,508.50 kB 11 4,410.00 kB 49,839.50 kB 12 4,334.50 kB 41,200.50 kB 13 3,922.00 kB 35,737.00 kB 14 22,908.00 kB 52,267.67 kB 15 5,282.00 kB 41,337.50 kB 16 5,432.00 kB 34,504.00 kB 17 5,209.00 kB 28,937.00 kB 18 5,218.50 kB 24,434.50 kB 19 6,633.50 kB 20,906.50 kB 20 7,170.00 kB 18,304.00 kB 21 7,789.50 kB 16,327.00 kB 22 6,317.50 kB 14,493.50 kB 23 6,063.00 kB 12,912.00 kB -
Temporary Files
Size of temporary files
Key values
- 37.12 MiB Temp Files size Peak
- 2025-06-04 00:07:35 Date
Number of temporary files
Key values
- 12 per second Temp Files Peak
- 2025-06-04 00:07:35 Date
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Jun 01 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Jun 02 00 12 2.08 MiB 177.33 KiB 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 Jun 03 00 12 50.75 MiB 4.23 MiB 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Jun 04 00 12 37.12 MiB 3.09 MiB 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Jun 05 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Jun 06 00 9 20.26 MiB 2.25 MiB 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Jun 07 00 6 3.00 MiB 512.00 KiB 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Queries generating the most temporary files (N)
Rank Count Total size Min size Max size Avg size Query 1 51 113.20 MiB 96.00 KiB 8.33 MiB 2.22 MiB vacuum full analyze log_query;-
VACUUM FULL ANALYZE log_query;
Date: 2025-06-03 00:07:12 Duration: 2s427ms
-
VACUUM FULL ANALYZE log_query;
Date: 2025-06-04 00:07:35 Duration: 1s794ms
-
VACUUM FULL ANALYZE log_query;
Date: 2025-06-06 00:08:35 Duration: 1s557ms
Queries generating the largest temporary files
Rank Size Query 1 8.33 MiB VACUUM FULL ANALYZE log_query;[ Date: 2025-06-03 00:07:11 ]
2 6.92 MiB VACUUM FULL ANALYZE log_query;[ Date: 2025-06-03 00:07:11 ]
3 6.09 MiB VACUUM FULL ANALYZE log_query;[ Date: 2025-06-03 00:07:11 ]
4 5.38 MiB VACUUM FULL ANALYZE log_query;[ Date: 2025-06-03 00:07:12 ]
5 5.02 MiB VACUUM FULL ANALYZE log_query;[ Date: 2025-06-03 00:07:11 ]
6 4.99 MiB VACUUM FULL ANALYZE log_query;[ Date: 2025-06-04 00:07:35 ]
7 4.89 MiB VACUUM FULL ANALYZE log_query;[ Date: 2025-06-04 00:07:35 ]
8 4.72 MiB VACUUM FULL ANALYZE log_query;[ Date: 2025-06-04 00:07:35 ]
9 4.66 MiB VACUUM FULL ANALYZE log_query;[ Date: 2025-06-04 00:07:35 ]
10 4.16 MiB VACUUM FULL ANALYZE log_query;[ Date: 2025-06-03 00:07:12 ]
11 3.87 MiB VACUUM FULL ANALYZE log_query;[ Date: 2025-06-06 00:08:34 ]
12 3.33 MiB VACUUM FULL ANALYZE log_query;[ Date: 2025-06-06 00:08:34 ]
13 3.27 MiB VACUUM FULL ANALYZE log_query;[ Date: 2025-06-06 00:08:34 ]
14 3.22 MiB VACUUM FULL ANALYZE log_query;[ Date: 2025-06-04 00:07:35 ]
15 3.14 MiB VACUUM FULL ANALYZE log_query;[ Date: 2025-06-03 00:07:12 ]
16 3.12 MiB VACUUM FULL ANALYZE log_query;[ Date: 2025-06-06 00:08:34 ]
17 2.91 MiB VACUUM FULL ANALYZE log_query;[ Date: 2025-06-03 00:07:12 ]
18 2.78 MiB VACUUM FULL ANALYZE log_query;[ Date: 2025-06-03 00:07:12 ]
19 2.60 MiB VACUUM FULL ANALYZE log_query;[ Date: 2025-06-04 00:07:35 ]
20 2.58 MiB VACUUM FULL ANALYZE log_query;[ Date: 2025-06-04 00:07:35 ]
-
Vacuums
Vacuums / Analyzes Distribution
Key values
- 13.84 sec Highest CPU-cost vacuum
Table load.ixn_prose
Database ctdprd51 - 2025-06-02 16:41:52 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 13.84 sec Highest CPU-cost vacuum
Table load.ixn_prose
Database ctdprd51 - 2025-06-02 16:41:52 Date
Analyzes per table
Key values
- pubc.log_query (155) Main table analyzed (database ctdprd51)
- 190 analyzes Total
Vacuums per table
Key values
- pubc.log_query (94) Main table vacuumed on database ctdprd51
- 121 vacuums Total
Index Buffer usage Skipped WAL usage Table Vacuums scans hits misses dirtied pins frozen records full page bytes ctdprd51.pubc.log_query 94 31 1,350,392 0 148,443 0 383,291 289,752 32,413 123,391,663 ctdprd51.pub1.term_set_enrichment_agent 10 0 440,130 0 70,658 0 0 219,105 15 13,052,370 ctdprd51.pub1.term_set_enrichment 9 0 12,646 0 4,149 0 0 5,268 17 391,778 ctdprd51.pg_toast.pg_toast_2619 3 3 14,906 0 3,749 0 29,396 10,943 3,577 2,136,478 ctdprd51.pg_toast.pg_toast_486223 2 0 88 0 8 0 0 18 2 17,714 ctdprd51.pub1.term_comp_agent 1 0 256 0 47 0 0 43 2 12,444 ctdprd51.load.ixn_prose 1 0 57,764 0 53,655 0 0 55,686 2 3,301,997 ctdprd51.pg_catalog.pg_statistic 1 1 742 0 171 0 117 481 159 598,542 Total 121 35 1,876,924 77,361 280,880 0 412,804 581,296 36,187 142,902,986 Tuples removed per table
Key values
- pubc.log_query (1279155) Main table with removed tuples on database ctdprd51
- 1293177 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain ctdprd51.pubc.log_query 94 31 1,279,155 18,776,795 9,062,675 0 1,062,211 ctdprd51.pg_toast.pg_toast_2619 3 3 13,444 67,217 91 0 37,776 ctdprd51.pg_catalog.pg_statistic 1 1 578 3,317 0 0 410 ctdprd51.pub1.term_comp_agent 1 0 0 9,218 0 0 83 ctdprd51.pub1.term_set_enrichment_agent 10 0 0 80,588,188 0 0 915,783 ctdprd51.load.ixn_prose 1 0 0 3,065,488 0 0 55,685 ctdprd51.pg_toast.pg_toast_486223 2 0 0 68 0 0 16 ctdprd51.pub1.term_set_enrichment 9 0 0 1,368,220 0 0 22,698 Total 121 35 1,293,177 103,878,511 9,062,766 0 2,094,662 Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Pages removed per tables
NO DATASET
Table Number of vacuums Index scans Tuples removed Pages removed ctdprd51.pub1.term_comp_agent 1 0 0 0 ctdprd51.pubc.log_query 94 31 1279155 0 ctdprd51.pub1.term_set_enrichment_agent 10 0 0 0 ctdprd51.pg_toast.pg_toast_2619 3 3 13444 0 ctdprd51.load.ixn_prose 1 0 0 0 ctdprd51.pg_toast.pg_toast_486223 2 0 0 0 ctdprd51.pg_catalog.pg_statistic 1 1 578 0 ctdprd51.pub1.term_set_enrichment 9 0 0 0 Total 121 35 1,293,177 0 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Jun 01 00 3 5 01 1 4 02 2 3 03 3 4 04 0 2 05 1 2 06 1 2 07 0 1 08 1 1 09 0 1 10 4 4 11 0 1 12 1 1 13 0 1 14 1 1 15 0 0 16 0 1 17 2 1 18 0 1 19 0 0 20 0 3 21 1 0 22 0 1 23 0 0 Jun 02 00 3 5 01 2 3 02 1 3 03 1 2 04 1 3 05 1 1 06 0 2 07 1 0 08 2 4 09 1 0 10 0 2 11 1 1 12 1 1 13 0 0 14 1 1 15 0 1 16 1 1 17 0 1 18 1 0 19 0 1 20 0 0 21 0 1 22 1 0 23 0 2 Jun 03 00 21 4 01 1 3 02 1 3 03 2 2 04 1 2 05 0 0 06 2 2 07 0 1 08 1 1 09 0 0 10 2 3 11 1 1 12 0 0 13 0 1 14 1 2 15 0 1 16 1 0 17 0 0 18 0 0 19 0 1 20 0 0 21 0 0 22 0 1 23 1 0 Jun 04 00 2 3 01 1 3 02 1 2 03 1 1 04 2 2 05 0 1 06 1 1 07 0 1 08 1 1 09 1 2 10 1 0 11 0 2 12 0 1 13 0 0 14 1 0 15 0 0 16 0 1 17 0 0 18 0 0 19 0 1 20 0 0 21 0 0 22 1 0 23 1 3 Jun 05 00 2 2 01 1 2 02 1 1 03 0 2 04 1 1 05 1 1 06 0 1 07 0 1 08 4 3 09 0 1 10 0 3 11 1 1 12 0 1 13 0 0 14 0 1 15 2 2 16 0 0 17 0 1 18 0 0 19 1 1 20 0 0 21 2 3 22 0 1 23 0 0 Jun 06 00 2 1 01 1 2 02 2 3 03 0 1 04 0 0 05 0 0 06 0 0 07 0 1 08 1 1 09 0 1 10 1 0 11 0 1 12 0 1 13 1 0 14 0 1 15 1 1 16 0 1 17 0 0 18 0 0 19 1 0 20 0 0 21 0 1 22 0 0 23 0 1 Jun 07 00 1 2 01 0 1 02 1 1 03 0 0 04 0 1 05 1 1 06 0 1 07 0 1 08 0 1 09 1 1 10 0 0 11 0 1 12 0 0 13 0 1 14 1 0 15 0 1 16 0 0 17 0 1 18 0 0 19 1 0 20 0 1 21 0 0 22 0 0 23 0 1 - 13.84 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- AccessShareLock Main Lock Type
- 8 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query 1 6 7s120ms 1s119ms 1s333ms 1s186ms select id from pubc.log_query where session_id = ? and type_cd = ? and basic_query_txt = substr(?, ?, ?) and basic_query_type = ?;-
SELECT /* BasicQueryLoggingDAO.getQueryId */ id FROM pubc.log_query WHERE session_id = $1 AND type_cd = $2 AND basic_query_txt = SUBSTR($3, 1, 1000) AND basic_query_type = $4;
Date: 2025-06-04 00:07:35
2 1 1s194ms 1s194ms 1s194ms 1s194ms update pubc.log_query set query_tm = current_timestamp, submission_qty = submission_qty + ? where type_cd = ? and session_id = ? and server_nm = ? and remote_addr = substr(?, ?, ?) and results_qty = ? and basic_query_txt = substr(?, ?, ?) and batch_input_type_txt = ? and results_format_txt = ? if (?, ?) and dag_txt is null and action_type_txt is null and action_degree_type_txt is null;-
UPDATE pubc.log_query SET query_tm = CURRENT_TIMESTAMP, submission_qty = submission_qty + 1 WHERE type_cd = $1 AND session_id = $2 AND server_nm = $3 AND remote_addr = SUBSTR($4, 1, 128) AND results_qty = $5 AND basic_query_txt = SUBSTR($6, 1, 4000) AND batch_input_type_txt = $7 AND results_format_txt = NULLIF ($8, '') AND dag_txt IS NULL AND action_type_txt IS NULL AND action_degree_type_txt IS NULL;
Date: 2025-06-04 00:07:35
3 1 1s156ms 1s156ms 1s156ms 1s156ms select id;-
SELECT /* AdvancedQueryDAO.getQueryId */ id;
Date: 2025-06-06 00:08:34
Queries that waited the most
Rank Wait time Query 1 1s333ms SELECT /* BasicQueryLoggingDAO.getQueryId */ id FROM pubc.log_query WHERE session_id = $1 AND type_cd = $2 AND basic_query_txt = SUBSTR($3, 1, 1000) AND basic_query_type = $4;[ Date: 2025-06-04 00:07:35 ]
2 1s304ms SELECT /* BasicQueryLoggingDAO.getQueryId */ id FROM pubc.log_query WHERE session_id = $1 AND type_cd = $2 AND basic_query_txt = SUBSTR($3, 1, 1000) AND basic_query_type = $4;[ Date: 2025-06-04 00:07:35 ]
3 1s194ms UPDATE pubc.log_query SET query_tm = CURRENT_TIMESTAMP, submission_qty = submission_qty + 1 WHERE type_cd = $1 AND session_id = $2 AND server_nm = $3 AND remote_addr = SUBSTR($4, 1, 128) AND results_qty = $5 AND basic_query_txt = SUBSTR($6, 1, 4000) AND batch_input_type_txt = $7 AND results_format_txt = NULLIF ($8, '') AND dag_txt IS NULL AND action_type_txt IS NULL AND action_degree_type_txt IS NULL;[ Date: 2025-06-04 00:07:35 ]
4 1s159ms SELECT /* BasicQueryLoggingDAO.getQueryId */ id FROM pubc.log_query WHERE session_id = $1 AND type_cd = $2 AND basic_query_txt = SUBSTR($3, 1, 1000) AND basic_query_type = $4;[ Date: 2025-06-04 00:07:35 ]
5 1s156ms SELECT /* AdvancedQueryDAO.getQueryId */ id;[ Date: 2025-06-06 00:08:34 ]
6 1s119ms SELECT /* BasicQueryLoggingDAO.getQueryId */ id FROM pubc.log_query WHERE session_id = $1 AND type_cd = $2 AND basic_query_txt = SUBSTR($3, 1, 1000) AND basic_query_type = $4;[ Date: 2025-06-04 00:07:35 ]
7 1s103ms SELECT /* BasicQueryLoggingDAO.getQueryId */ id FROM pubc.log_query WHERE session_id = $1 AND type_cd = $2 AND basic_query_txt = SUBSTR($3, 1, 1000) AND basic_query_type = $4;[ Date: 2025-06-03 00:07:12 ]
8 1s99ms SELECT /* BasicQueryLoggingDAO.getQueryId */ id FROM pubc.log_query WHERE session_id = $1 AND type_cd = $2 AND basic_query_txt = SUBSTR($3, 1, 1000) AND basic_query_type = $4;[ Date: 2025-06-03 00:07:12 ]
-
Queries
Queries by type
Key values
- 309,422 Total read queries
- 556 Total write queries
Queries by database
Key values
- unknown Main database
- 262,530 Requests
- 5d16h29m15s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 570,804 Requests
User Request type Count Duration edit Total 4 6s892ms select 4 6s892ms editeu Total 24 1m38s select 24 1m38s load Total 6 21m58s ddl 2 16m28s select 4 5m29s postgres Total 108 59m47s copy to 108 59m47s pub1 Total 4 29s639ms select 4 29s639ms pubc Total 4 13s837ms others 4 13s837ms pubeu Total 91,972 2d2h29m57s cte 72 3m56s select 91,900 2d2h26m qaeu Total 96 4m32s cte 31 1m49s select 65 2m43s unknown Total 570,804 12d12h14m25s copy to 796 7h44m51s cte 404 16m44s insert 2 4s727ms others 20 1m20s select 569,582 12d4h11m24s zbx_monitor Total 8 17s847ms select 8 17s847ms Duration by user
Key values
- 12d12h14m25s (unknown) Main time consuming user
User Request type Count Duration edit Total 4 6s892ms select 4 6s892ms editeu Total 24 1m38s select 24 1m38s load Total 6 21m58s ddl 2 16m28s select 4 5m29s postgres Total 108 59m47s copy to 108 59m47s pub1 Total 4 29s639ms select 4 29s639ms pubc Total 4 13s837ms others 4 13s837ms pubeu Total 91,972 2d2h29m57s cte 72 3m56s select 91,900 2d2h26m qaeu Total 96 4m32s cte 31 1m49s select 65 2m43s unknown Total 570,804 12d12h14m25s copy to 796 7h44m51s cte 404 16m44s insert 2 4s727ms others 20 1m20s select 569,582 12d4h11m24s zbx_monitor Total 8 17s847ms select 8 17s847ms Queries by host
Key values
- unknown Main host
- 663,030 Requests
- 14d16h13m27s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 309,938 Requests
- 6d18h52m7s (unknown)
- Main time consuming application
Application Request type Count Duration pgAdmin 4 - CONN:1292847 Total 2 3s446ms select 2 3s446ms pgAdmin 4 - CONN:4233619 Total 1 12s365ms select 1 12s365ms pgAdmin 4 - CONN:5567364 Total 1 8m14s ddl 1 8m14s pg_dump Total 49 26m28s copy to 49 26m28s psql Total 3 9s372ms others 2 6s918ms select 1 2s453ms unknown Total 309,938 6d18h52m7s copy to 302 2h17m17s cte 203 9m6s insert 1 2s363ms others 14 1m select 309,418 6d16h24m40s Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2025-06-03 02:49:16 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 315,851 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 25m41s 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: 2025-06-07 19:03:04 ]
2 25m20s 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: 2025-06-07 19:47:06 ]
3 21m44s 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 = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-06-06 03:02:41 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
4 21m36s 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 = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-06-03 06:45:29 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
5 21m33s 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 = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-06-03 06:25:29 - Bind query: yes ]
6 21m13s 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 = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-06-03 06:25:09 - Bind query: yes ]
7 21m3s 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 = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-06-03 06:39:44 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
8 21m 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 = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-06-03 00:25:55 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
9 20m24s 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 = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-06-02 20:53:20 - Bind query: yes ]
10 19m59s 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 = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-06-02 23:46:55 - Bind query: yes ]
11 19m38s 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 = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-06-03 03:55:53 - Bind query: yes ]
12 19m24s 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 = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-06-05 15:29:10 - Bind query: yes ]
13 19m23s 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 = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-06-05 18:28:26 - Bind query: yes ]
14 19m16s 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 = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-06-07 12:19:51 - Bind query: yes ]
15 19m10s 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 = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-06-07 17:40:54 - Bind query: yes ]
16 19m9s 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 = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-06-03 07:46:58 - Bind query: yes ]
17 19m6s 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 = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-06-03 03:38:39 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
18 19m4s 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 = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-06-05 18:30:15 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
19 19m4s 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 = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-06-06 01:54:37 - Bind query: yes ]
20 18m52s 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 = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-06-06 03:02:52 - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 4d5h4m19s 241,501 1s305ms 6s695ms 1s506ms 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 #1
Day Hour Count Duration Avg duration Jun 01 00 41 1m 1s477ms 01 67 1m39s 1s491ms 02 56 1m22s 1s474ms 03 58 1m25s 1s469ms 04 67 1m37s 1s456ms 05 56 1m23s 1s488ms 06 66 1m37s 1s479ms 07 64 1m35s 1s494ms 08 44 1m5s 1s483ms 09 64 1m35s 1s499ms 10 71 1m45s 1s485ms 11 85 2m5s 1s482ms 12 109 2m40s 1s475ms 13 123 3m4s 1s496ms 14 132 3m15s 1s478ms 15 140 3m29s 1s493ms 16 134 3m19s 1s491ms 17 148 3m40s 1s486ms 18 187 4m36s 1s476ms 19 141 3m29s 1s486ms 20 157 3m51s 1s477ms 21 186 4m36s 1s487ms 22 183 4m32s 1s490ms 23 228 5m35s 1s470ms Jun 02 00 269 6m36s 1s473ms 01 271 6m49s 1s509ms 02 317 7m51s 1s487ms 03 355 9m4s 1s532ms 04 378 9m22s 1s488ms 05 492 12m17s 1s499ms 06 498 12m20s 1s486ms 07 588 14m32s 1s483ms 08 619 15m24s 1s494ms 09 682 16m56s 1s490ms 10 852 21m20s 1s503ms 11 992 24m31s 1s483ms 12 1,045 25m56s 1s489ms 13 1,392 34m40s 1s494ms 14 1,436 35m28s 1s482ms 15 1,634 40m57s 1s503ms 16 1,716 43m37s 1s525ms 17 2,279 56m48s 1s495ms 18 2,637 1h6m14s 1s507ms 19 2,774 1h9m18s 1s499ms 20 3,700 1h32m50s 1s505ms 21 3,864 1h36m36s 1s500ms 22 3,859 1h36m2s 1s493ms 23 4,386 1h51m26s 1s524ms Jun 03 00 5,221 2h12m5s 1s518ms 01 5,569 2h22m24s 1s534ms 02 5,477 2h22m 1s555ms 03 5,909 2h35m10s 1s575ms 04 5,529 2h22m54s 1s550ms 05 1,306 34m35s 1s589ms 06 5,645 2h46m26s 1s769ms 07 4,412 1h52m37s 1s531ms 08 1,968 49m24s 1s506ms 09 116 2m48s 1s450ms 10 104 2m33s 1s476ms 11 80 1m57s 1s473ms 12 137 3m21s 1s469ms 13 112 2m44s 1s469ms 14 118 2m54s 1s477ms 15 121 2m58s 1s474ms 16 143 3m25s 1s435ms 17 152 3m38s 1s435ms 18 156 3m49s 1s473ms 19 183 4m26s 1s456ms 20 167 4m4s 1s462ms 21 157 3m55s 1s499ms 22 162 3m54s 1s447ms 23 196 4m50s 1s480ms Jun 04 00 176 4m26s 1s512ms 01 186 4m41s 1s513ms 02 197 4m54s 1s493ms 03 191 4m44s 1s489ms 04 220 5m34s 1s521ms 05 202 5m2s 1s496ms 06 180 4m29s 1s497ms 07 173 4m18s 1s495ms 08 205 5m2s 1s474ms 09 210 5m18s 1s515ms 10 208 5m11s 1s499ms 11 219 5m29s 1s505ms 12 259 6m32s 1s514ms 13 347 8m38s 1s493ms 14 271 6m45s 1s497ms 15 315 7m52s 1s499ms 16 339 8m27s 1s498ms 17 295 7m15s 1s475ms 18 333 8m11s 1s474ms 19 360 8m56s 1s489ms 20 374 9m12s 1s478ms 21 388 9m21s 1s447ms 22 364 9m2s 1s491ms 23 411 10m 1s461ms Jun 05 00 464 11m18s 1s461ms 01 519 13m1s 1s506ms 02 547 13m37s 1s494ms 03 611 15m7s 1s485ms 04 701 17m30s 1s499ms 05 816 20m20s 1s496ms 06 866 21m23s 1s482ms 07 1,105 27m26s 1s490ms 08 1,347 33m22s 1s486ms 09 1,374 34m31s 1s507ms 10 1,749 43m44s 1s500ms 11 2,069 51m11s 1s484ms 12 2,344 58m30s 1s497ms 13 3,204 1h19m16s 1s484ms 14 3,369 1h23m50s 1s493ms 15 3,758 1h32m27s 1s476ms 16 4,100 1h41m17s 1s482ms 17 4,828 2h1m6s 1s504ms 18 4,730 2h3m12s 1s562ms 19 5,291 2h11m2s 1s485ms 20 6,136 2h34m47s 1s513ms 21 5,773 2h30m18s 1s562ms 22 5,901 2h27m59s 1s504ms 23 5,668 2h20m25s 1s486ms Jun 06 00 6,121 2h33m29s 1s504ms 01 5,985 2h31m5s 1s514ms 02 5,594 2h23m2s 1s534ms 03 2,854 1h11m38s 1s506ms 04 6 8s751ms 1s458ms 05 382 9m12s 1s445ms 06 257 6m24s 1s497ms 07 311 7m44s 1s492ms 08 5 7s101ms 1s420ms 09 3 4s406ms 1s468ms 10 5 7s348ms 1s469ms 11 14 20s607ms 1s471ms 12 245 5m56s 1s454ms 13 206 5m1s 1s461ms 14 199 4m48s 1s449ms 15 147 3m31s 1s435ms 16 188 4m30s 1s440ms 17 10 14s22ms 1s402ms 18 88 2m7s 1s451ms 19 473 11m20s 1s438ms 20 217 5m8s 1s421ms 21 239 5m47s 1s452ms 22 328 7m53s 1s445ms 23 303 7m20s 1s452ms Jun 07 00 372 8m56s 1s443ms 01 406 9m55s 1s465ms 02 476 11m38s 1s467ms 03 294 7m6s 1s452ms 04 360 8m47s 1s463ms 05 450 10m54s 1s455ms 06 569 13m45s 1s450ms 07 723 17m35s 1s459ms 08 886 21m34s 1s460ms 09 961 23m23s 1s460ms 10 1,330 32m34s 1s469ms 11 1,689 41m2s 1s457ms 12 1,911 45m53s 1s440ms 13 2,343 57m15s 1s466ms 14 2,941 1h11m30s 1s458ms 15 3,288 1h19m47s 1s455ms 16 4,418 1h47m32s 1s460ms 17 4,494 1h50m15s 1s472ms 18 5,380 2h12m29s 1s477ms 19 5,557 2h17m33s 1s485ms 20 5,594 2h17m2s 1s469ms 21 6,041 2h28m35s 1s475ms 22 5,416 2h12m54s 1s472ms 23 4,947 2h2m12s 1s482ms [ User: pubeu - Total duration: 16h35m24s - Times executed: 37769 ]
-
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: 2025-06-03 06:23:27 Duration: 6s695ms 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: 2025-06-05 18:06:59 Duration: 6s481ms 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: 2025-06-03 06:23:27 Duration: 6s424ms Database: ctdprd51 User: pubeu Bind query: yes
2 18h24m26s 335 1s342ms 21m44s 3m17s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jun 01 22 2 5s25ms 2s512ms 23 2 18m30s 9m15s Jun 02 08 1 3s509ms 3s509ms 13 1 18m24s 18m24s 15 1 1s552ms 1s552ms 16 2 3s220ms 1s610ms 19 1 1s566ms 1s566ms 20 2 20m26s 10m13s 21 1 3s399ms 3s399ms 22 5 18m42s 3m44s 23 5 1h15m46s 15m9s Jun 03 00 3 21m8s 7m2s 01 3 8s595ms 2s865ms 02 1 2s522ms 2s522ms 03 3 38m48s 12m56s 04 2 37m38s 18m49s 05 2 3s382ms 1s691ms 06 6 1h25m32s 14m15s 07 5 19m18s 3m51s 08 2 18m48s 9m24s 09 1 2m9s 2m9s 10 3 6s612ms 2s204ms 11 1 3s387ms 3s387ms 12 4 11m31s 2m52s 13 1 1s779ms 1s779ms 14 1 3m3s 3m3s 16 1 1s692ms 1s692ms 17 3 5m33s 1m51s 18 1 4m36s 4m36s 19 2 3s622ms 1s811ms 20 1 1s772ms 1s772ms 22 2 3m12s 1m36s 23 2 4s187ms 2s93ms Jun 04 01 1 4m14s 4m14s 02 3 10m42s 3m34s 03 1 2s36ms 2s36ms 05 1 3s490ms 3s490ms 08 1 2s614ms 2s614ms 09 2 3m41s 1m50s 10 3 6s412ms 2s137ms 12 2 4s119ms 2s59ms 13 1 2s186ms 2s186ms 14 1 4m29s 4m29s 15 1 1s978ms 1s978ms 16 4 3m30s 52s504ms 17 1 18m32s 18m32s 18 3 7s460ms 2s486ms 19 4 8m57s 2m14s 20 3 5s927ms 1s975ms 21 2 1m25s 42s715ms 23 5 8m50s 1m46s Jun 05 00 1 1s680ms 1s680ms 01 2 5s778ms 2s889ms 02 1 1s921ms 1s921ms 03 2 2m53s 1m26s 04 3 3m11s 1m3s 05 5 10s996ms 2s199ms 06 2 5s876ms 2s938ms 07 2 3s337ms 1s668ms 08 4 10s582ms 2s645ms 09 5 16s959ms 3s391ms 10 3 3m10s 1m3s 11 1 2s505ms 2s505ms 12 3 7m42s 2m34s 13 2 3s452ms 1s726ms 14 3 18m38s 6m12s 15 3 23m59s 7m59s 16 2 18m31s 9m15s 17 2 6s959ms 3s479ms 18 9 51m55s 5m46s 19 3 18m50s 6m16s 20 4 10s260ms 2s565ms 21 3 6s978ms 2s326ms 22 5 18m59s 3m47s 23 5 23m18s 4m39s Jun 06 00 6 15m30s 2m35s 01 10 19m25s 1m56s 02 4 10s670ms 2s667ms 03 4 59m30s 14m52s 08 1 6m27s 6m27s 09 2 4s48ms 2s24ms 10 1 5m27s 5m27s 11 1 2s64ms 2s64ms 12 3 5m22s 1m47s 13 2 9s728ms 4s864ms 15 3 3m5s 1m1s 16 1 3s380ms 3s380ms 19 3 18m37s 6m12s 20 1 1s651ms 1s651ms 21 2 9m50s 4m55s 23 1 1s837ms 1s837ms Jun 07 00 3 5m29s 1m49s 01 1 2s144ms 2s144ms 02 2 5s640ms 2s820ms 03 3 9m48s 3m16s 04 6 3m47s 37s861ms 05 5 3m49s 45s809ms 06 3 4m32s 1m30s 07 2 4s78ms 2s39ms 08 2 5s144ms 2s572ms 09 2 3m25s 1m42s 10 3 6s459ms 2s153ms 11 6 23m52s 3m58s 12 8 29m15s 3m39s 14 4 3m26s 51s624ms 15 3 2m32s 50s950ms 16 3 7s610ms 2s536ms 17 8 56m19s 7m2s 18 8 40m18s 5m2s 19 5 18m49s 3m45s 20 8 37m6s 4m38s 21 9 37m5s 4m7s 22 2 3s337ms 1s668ms 23 7 18m38s 2m39s [ User: pubeu - Total duration: 3h10m54s - Times executed: 46 ]
-
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 = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-06-06 03:02:41 Duration: 21m44s 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 = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-06-03 06:45:29 Duration: 21m36s 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 = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-06-03 06:25:29 Duration: 21m33s Bind query: yes
3 8h6m42s 22,249 1s158ms 8s672ms 1s312ms 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 #3
Day Hour Count Duration Avg duration Jun 01 00 136 2m57s 1s308ms 01 123 2m41s 1s314ms 02 158 3m29s 1s325ms 03 140 3m3s 1s310ms 04 164 3m36s 1s321ms 05 156 3m27s 1s331ms 06 128 2m47s 1s306ms 07 121 2m36s 1s294ms 08 125 2m42s 1s298ms 09 132 2m52s 1s305ms 10 183 3m59s 1s309ms 11 147 3m10s 1s298ms 12 155 3m22s 1s304ms 13 143 3m6s 1s301ms 14 166 3m33s 1s287ms 15 142 3m4s 1s300ms 16 154 3m18s 1s291ms 17 133 2m51s 1s291ms 18 63 1m20s 1s284ms 19 137 2m56s 1s291ms 20 152 3m14s 1s281ms 21 173 3m43s 1s289ms 22 177 3m53s 1s320ms 23 137 2m59s 1s309ms Jun 02 00 118 2m34s 1s308ms 01 139 3m5s 1s333ms 02 145 3m10s 1s313ms 03 152 3m25s 1s350ms 04 172 3m41s 1s289ms 05 167 3m41s 1s323ms 06 155 3m20s 1s293ms 07 139 2m59s 1s294ms 08 169 3m39s 1s300ms 09 143 3m6s 1s301ms 10 135 2m56s 1s306ms 11 160 3m25s 1s284ms 12 166 3m35s 1s295ms 13 144 3m8s 1s309ms 14 129 2m44s 1s272ms 15 153 3m17s 1s291ms 16 148 3m13s 1s308ms 17 140 3m4s 1s317ms 18 154 3m19s 1s295ms 19 185 3m59s 1s296ms 20 154 3m21s 1s306ms 21 105 2m19s 1s324ms 22 153 3m24s 1s334ms 23 169 4m34s 1s623ms Jun 03 00 157 3m30s 1s343ms 01 148 3m31s 1s425ms 02 166 3m49s 1s382ms 03 167 3m56s 1s418ms 04 195 4m26s 1s364ms 05 51 1m12s 1s418ms 06 205 6m15s 1s830ms 07 118 2m39s 1s350ms 08 19 24s653ms 1s297ms 09 10 12s565ms 1s256ms 10 5 6s309ms 1s261ms 11 92 1m59s 1s295ms 12 168 3m36s 1s286ms 13 192 4m5s 1s278ms 14 160 3m24s 1s275ms 15 188 4m6s 1s311ms 16 42 53s105ms 1s264ms 17 5 6s198ms 1s239ms 18 191 4m1s 1s266ms 19 197 4m8s 1s261ms 20 185 3m53s 1s259ms 21 182 3m51s 1s270ms 22 100 2m8s 1s287ms 23 174 3m48s 1s310ms Jun 04 00 204 4m29s 1s321ms 01 176 3m48s 1s298ms 02 211 4m35s 1s304ms 03 189 4m5s 1s301ms 04 204 4m29s 1s322ms 05 199 4m18s 1s298ms 06 179 3m48s 1s279ms 07 114 2m26s 1s284ms 08 61 1m17s 1s271ms 09 194 4m10s 1s292ms 10 194 4m6s 1s273ms 11 197 4m17s 1s308ms 12 188 4m10s 1s329ms 13 173 3m40s 1s273ms 14 184 3m55s 1s279ms 15 226 4m49s 1s279ms 16 180 3m50s 1s281ms 17 111 2m20s 1s266ms 18 90 1m56s 1s296ms 19 190 4m3s 1s283ms 20 193 4m6s 1s275ms 21 198 4m10s 1s265ms 22 212 4m36s 1s302ms 23 180 3m50s 1s283ms Jun 05 00 217 4m40s 1s290ms 01 206 4m29s 1s309ms 02 181 3m55s 1s303ms 03 210 4m32s 1s297ms 04 204 4m25s 1s300ms 05 191 4m7s 1s297ms 06 155 3m18s 1s281ms 07 184 3m56s 1s283ms 08 171 3m39s 1s283ms 09 177 3m51s 1s309ms 10 185 3m58s 1s287ms 11 189 4m 1s271ms 12 173 3m41s 1s280ms 13 180 3m48s 1s267ms 14 174 3m45s 1s294ms 15 186 4m2s 1s304ms 16 176 3m47s 1s291ms 17 177 3m50s 1s302ms 18 182 4m35s 1s513ms 19 184 4m 1s307ms 20 179 4m7s 1s382ms 21 197 4m35s 1s398ms 22 118 2m43s 1s381ms 23 114 2m34s 1s357ms Jun 06 00 185 4m6s 1s334ms 01 177 3m59s 1s350ms 02 198 4m46s 1s445ms 03 87 1m57s 1s346ms 04 4 4s903ms 1s225ms 05 25 31s915ms 1s276ms 06 28 35s64ms 1s252ms 07 149 3m13s 1s297ms 08 170 3m34s 1s262ms 09 169 3m40s 1s306ms 10 164 3m25s 1s253ms 11 134 2m55s 1s312ms 12 125 2m36s 1s253ms 13 167 3m30s 1s257ms 14 175 3m35s 1s232ms 15 122 2m30s 1s229ms 16 133 2m51s 1s289ms 17 10 12s876ms 1s287ms 18 38 45s799ms 1s205ms 19 91 1m55s 1s263ms 20 134 2m53s 1s294ms 21 134 2m54s 1s303ms 22 111 2m23s 1s294ms 23 81 1m45s 1s304ms Jun 07 00 71 1m32s 1s301ms 01 39 51s187ms 1s312ms 02 22 28s974ms 1s317ms 03 49 1m3s 1s290ms 04 30 38s917ms 1s297ms 05 12 16s268ms 1s355ms 06 25 32s531ms 1s301ms 07 37 48s297ms 1s305ms 08 18 23s765ms 1s320ms 09 29 38s403ms 1s324ms 10 29 39s98ms 1s348ms 11 39 50s917ms 1s305ms 12 21 27s151ms 1s292ms 13 34 44s509ms 1s309ms 14 26 33s628ms 1s293ms 15 19 24s988ms 1s315ms 16 44 57s942ms 1s316ms 17 23 31s423ms 1s366ms 18 23 29s336ms 1s275ms 19 10 13s367ms 1s336ms 20 15 19s919ms 1s327ms 21 48 1m3s 1s321ms 22 42 58s36ms 1s381ms 23 20 26s797ms 1s339ms [ User: pubeu - Total duration: 1h6m36s - Times executed: 2932 ]
-
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 = '2084817' or receptorTerm.id = '2084817' 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: 2025-06-05 18:06:55 Duration: 8s672ms 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 = '1835062' or receptorTerm.id = '1835062' 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: 2025-06-05 18:07:00 Duration: 8s456ms 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 = '1761516' or receptorTerm.id = '1761516' 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: 2025-06-05 18:06:51 Duration: 7s956ms Bind query: yes
4 7h9m33s 1,403 1s66ms 1m28s 18s370ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jun 01 00 15 3m51s 15s454ms 01 6 1m35s 15s947ms 02 14 3m50s 16s444ms 03 12 3m18s 16s569ms 04 3 18s894ms 6s298ms 05 15 3m53s 15s586ms 06 11 3m20s 18s203ms 07 4 52s903ms 13s225ms 08 6 2m9s 21s515ms 09 9 2m40s 17s862ms 10 13 3m46s 17s442ms 11 3 56s742ms 18s914ms 12 3 48s207ms 16s69ms 13 24 6m41s 16s737ms 14 3 50s557ms 16s852ms 15 6 1m37s 16s236ms 16 20 5m22s 16s138ms 17 9 2m32s 16s988ms 18 3 57s232ms 19s77ms 19 10 2m29s 14s972ms 20 13 3m25s 15s812ms 21 1 12s177ms 12s177ms 22 7 1m50s 15s739ms 23 3 53s916ms 17s972ms Jun 02 00 6 1m40s 16s687ms 01 16 5m25s 20s345ms 02 11 2m56s 16s48ms 03 14 7m6s 30s478ms 04 14 3m51s 16s514ms 05 17 4m36s 16s258ms 06 8 2m14s 16s764ms 07 8 1m33s 11s645ms 08 12 3m18s 16s557ms 09 7 1m36s 13s784ms 10 13 3m42s 17s119ms 11 11 3m2s 16s578ms 12 12 2m47s 13s969ms 13 14 4m46s 20s457ms 14 15 3m55s 15s714ms 15 10 2m22s 14s203ms 16 10 3m20s 20s87ms 17 9 2m25s 16s135ms 18 11 2m54s 15s823ms 19 18 4m27s 14s842ms 20 13 4m13s 19s476ms 21 10 2m37s 15s781ms 22 5 1m21s 16s385ms 23 14 2m57s 12s684ms Jun 03 00 7 1m57s 16s830ms 01 8 2m6s 15s816ms 02 9 2m37s 17s528ms 03 16 4m3s 15s227ms 04 6 1m33s 15s578ms 05 3 48s767ms 16s255ms 06 16 8m3s 30s236ms 07 4 1m20s 20s51ms 11 3 49s946ms 16s648ms 12 3 47s834ms 15s944ms 13 2 30s712ms 15s356ms 14 8 3m1s 22s669ms 15 8 3m48s 28s516ms 16 3 53s156ms 17s718ms 18 9 2m20s 15s600ms 19 12 3m16s 16s379ms 20 4 49s971ms 12s492ms 21 18 4m54s 16s345ms 22 1 2s284ms 2s284ms 23 19 5m34s 17s609ms Jun 04 00 11 5m5s 27s765ms 01 2 4s242ms 2s121ms 02 11 3m1s 16s469ms 03 7 1m49s 15s585ms 04 21 7m20s 20s987ms 05 8 2m7s 15s890ms 06 9 2m22s 15s824ms 07 5 1m20s 16s65ms 09 17 4m45s 16s819ms 11 18 5m28s 18s252ms 12 19 8m10s 25s813ms 13 6 1m20s 13s427ms 14 13 3m13s 14s848ms 15 13 3m24s 15s734ms 16 18 5m4s 16s893ms 17 6 1m31s 15s202ms 18 4 1m7s 16s815ms 19 3 51s946ms 17s315ms 20 18 5m19s 17s739ms 21 12 3m13s 16s155ms 22 17 4m12s 14s848ms 23 3 46s850ms 15s616ms Jun 05 00 19 5m5s 16s69ms 01 15 4m2s 16s186ms 02 5 1m29s 17s865ms 03 13 3m47s 17s484ms 04 22 7m56s 21s664ms 05 4 1m9s 17s407ms 06 10 3m2s 18s273ms 07 4 57s427ms 14s356ms 08 6 1m34s 15s730ms 09 18 6m34s 21s928ms 10 11 3m8s 17s119ms 11 10 2m40s 16s4ms 12 16 6m55s 25s956ms 13 5 1m24s 16s865ms 14 16 4m36s 17s301ms 15 16 4m24s 16s518ms 16 9 2m48s 18s689ms 17 6 1m48s 18s49ms 18 17 9m47s 34s565ms 19 7 2m37s 22s474ms 20 20 6m14s 18s714ms 21 23 9m48s 25s596ms 22 11 3m18s 18s85ms 23 6 1m58s 19s816ms Jun 06 00 6 1m53s 18s974ms 01 5 2m25s 29s24ms 02 18 6m29s 21s656ms 03 3 1m3s 21s202ms 06 3 50s945ms 16s981ms 07 9 2m34s 17s143ms 08 8 2m24s 18s99ms 09 15 6m50s 27s381ms 10 12 3m36s 18s31ms 11 20 8m42s 26s100ms 12 9 2m40s 17s835ms 13 9 3m23s 22s660ms 14 16 4m28s 16s794ms 15 8 2m14s 16s816ms 16 9 2m29s 16s655ms 18 1 16s245ms 16s245ms 19 2 32s278ms 16s139ms 20 2 32s198ms 16s99ms 21 9 2m38s 17s627ms 22 11 3m12s 17s482ms 23 9 3m24s 22s673ms Jun 07 02 1 16s23ms 16s23ms 04 3 52s181ms 17s393ms 05 1 16s237ms 16s237ms 07 3 51s766ms 17s255ms 08 1 16s90ms 16s90ms 10 6 1m36s 16s38ms 12 1 15s950ms 15s950ms 13 9 2m41s 17s899ms 15 1 16s381ms 16s381ms 16 4 1m7s 16s955ms 17 3 49s614ms 16s538ms 21 3 52s162ms 17s387ms 22 3 52s227ms 17s409ms [ User: pubeu - Total duration: 1h41m16s - Times executed: 297 ]
-
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 = '2107351') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-06-04 12:45:16 Duration: 1m28s 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 = '2095019') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-06-04 12:45:15 Duration: 1m24s 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 = '2097134') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-06-05 18:08:00 Duration: 1m24s Bind query: yes
5 6h26m42s 14,594 1s511ms 5s134ms 1s589ms select coalesce(d.abbr_display, d.nm_display) nm # ?, d.description # ?, coalesce(d.abbr, d.nm) anchor # ?, get_homepage_url (d.id) url # ? from db d # ? where d.id in (# ? select l.db_id # ? from db_link l # ? where l.type_cd = ? # ? and l.object_type_id = ?) # ? order by ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jun 01 00 88 2m17s 1s564ms 01 97 2m32s 1s571ms 02 94 2m27s 1s565ms 03 101 2m38s 1s570ms 04 117 3m3s 1s566ms 05 142 3m43s 1s574ms 06 102 2m42s 1s589ms 07 74 1m56s 1s569ms 08 73 1m54s 1s567ms 09 110 2m52s 1s566ms 10 136 3m33s 1s572ms 11 131 3m25s 1s568ms 12 186 4m52s 1s572ms 13 186 4m54s 1s582ms 14 199 5m13s 1s577ms 15 164 4m18s 1s573ms 16 190 5m 1s580ms 17 169 4m26s 1s575ms 18 157 4m5s 1s564ms 19 175 4m35s 1s574ms 20 190 4m59s 1s575ms 21 181 4m45s 1s575ms 22 178 4m41s 1s583ms 23 159 4m10s 1s576ms Jun 02 00 155 4m4s 1s575ms 01 147 3m54s 1s597ms 02 176 4m37s 1s576ms 03 170 4m32s 1s600ms 04 188 4m56s 1s575ms 05 243 6m27s 1s595ms 06 162 4m14s 1s573ms 07 158 4m9s 1s577ms 08 174 4m35s 1s581ms 09 177 4m40s 1s584ms 10 175 4m37s 1s584ms 11 182 4m46s 1s576ms 12 148 3m52s 1s569ms 13 158 4m11s 1s591ms 14 165 4m21s 1s584ms 15 164 4m19s 1s584ms 16 187 4m59s 1s599ms 17 162 4m16s 1s586ms 18 185 4m54s 1s593ms 19 210 5m34s 1s592ms 20 207 5m35s 1s620ms 21 205 5m29s 1s608ms 22 201 5m20s 1s592ms 23 150 4m4s 1s629ms Jun 03 00 108 2m53s 1s609ms 01 110 3m1s 1s653ms 02 156 4m19s 1s660ms 03 136 3m46s 1s662ms 04 148 4m3s 1s642ms 05 41 1m8s 1s659ms 06 182 5m43s 1s885ms 07 190 5m8s 1s623ms 08 217 5m40s 1s568ms 09 177 4m36s 1s559ms 10 193 5m6s 1s585ms 11 161 4m12s 1s568ms 12 60 1m33s 1s566ms 13 46 1m11s 1s558ms 14 58 1m30s 1s564ms 15 38 59s244ms 1s559ms 16 67 1m44s 1s554ms 17 52 1m20s 1s544ms 18 65 1m42s 1s573ms 19 55 1m26s 1s567ms 20 68 1m46s 1s562ms 21 71 1m52s 1s582ms 22 74 1m55s 1s557ms 23 73 1m55s 1s580ms Jun 04 00 92 2m25s 1s584ms 01 80 2m5s 1s574ms 02 78 2m2s 1s571ms 03 89 2m20s 1s575ms 04 76 2m 1s587ms 05 83 2m11s 1s588ms 06 67 1m46s 1s589ms 07 74 1m56s 1s577ms 08 95 2m29s 1s577ms 09 92 2m26s 1s588ms 10 76 2m 1s579ms 11 90 2m22s 1s581ms 12 59 1m34s 1s600ms 13 64 1m40s 1s571ms 14 51 1m20s 1s576ms 15 50 1m18s 1s576ms 16 53 1m22s 1s565ms 17 76 1m58s 1s561ms 18 67 1m45s 1s573ms 19 66 1m43s 1s574ms 20 56 1m28s 1s574ms 21 56 1m27s 1s557ms 22 52 1m21s 1s561ms 23 68 1m47s 1s576ms Jun 05 00 70 1m49s 1s566ms 01 57 1m30s 1s584ms 02 63 1m39s 1s572ms 03 54 1m26s 1s600ms 04 65 1m44s 1s602ms 05 54 1m25s 1s577ms 06 56 1m28s 1s586ms 07 52 1m22s 1s577ms 08 53 1m24s 1s585ms 09 58 1m32s 1s590ms 10 62 1m38s 1s586ms 11 63 1m38s 1s568ms 12 65 1m42s 1s580ms 13 88 2m19s 1s580ms 14 65 1m43s 1s589ms 15 73 1m55s 1s583ms 16 74 1m57s 1s590ms 17 68 1m47s 1s586ms 18 70 1m52s 1s606ms 19 52 1m22s 1s593ms 20 72 1m56s 1s611ms 21 69 1m52s 1s624ms 22 65 1m47s 1s650ms 23 74 2m5s 1s695ms Jun 06 00 81 2m9s 1s604ms 01 62 1m39s 1s598ms 02 83 2m17s 1s659ms 03 32 52s300ms 1s634ms 05 3 4s744ms 1s581ms 06 1 1s575ms 1s575ms 07 60 1m35s 1s588ms 08 4 6s188ms 1s547ms 09 2 3s114ms 1s557ms 10 2 3s168ms 1s584ms 11 1 1s552ms 1s552ms 12 45 1m10s 1s572ms 13 30 48s309ms 1s610ms 14 33 53s194ms 1s611ms 15 29 45s537ms 1s570ms 16 31 48s752ms 1s572ms 17 1 1s586ms 1s586ms 18 2 3s106ms 1s553ms 19 28 43s730ms 1s561ms 20 40 1m2s 1s563ms 21 36 56s474ms 1s568ms 22 45 1m10s 1s566ms 23 45 1m12s 1s601ms Jun 07 00 50 1m17s 1s559ms 01 50 1m18s 1s568ms 02 54 1m24s 1s558ms 03 2 3s82ms 1s541ms 04 6 9s263ms 1s543ms 05 8 12s460ms 1s557ms 06 3 4s638ms 1s546ms 07 6 9s434ms 1s572ms 08 5 7s794ms 1s558ms 09 5 7s868ms 1s573ms 10 5 7s848ms 1s569ms 11 5 7s741ms 1s548ms 12 22 34s222ms 1s555ms 13 31 49s63ms 1s582ms 14 21 32s636ms 1s554ms 15 14 21s827ms 1s559ms 16 21 32s849ms 1s564ms 17 27 42s614ms 1s578ms 18 23 36s614ms 1s591ms 19 24 38s182ms 1s590ms 20 20 31s325ms 1s566ms 21 17 26s857ms 1s579ms 22 13 20s390ms 1s568ms 23 20 31s333ms 1s566ms [ User: pubeu - Total duration: 52m38s - Times executed: 1941 ]
[ User: qaeu - Total duration: 6s253ms - Times executed: 4 ]
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2025-06-03 06:23:26 Duration: 5s134ms Bind query: yes
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2025-06-03 06:14:28 Duration: 3s638ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2025-06-05 22:09:08 Duration: 3s468ms Bind query: yes
6 2h52m14s 6,502 1s328ms 19s659ms 1s589ms select ;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jun 01 08 1 1s583ms 1s583ms 16 1 1s827ms 1s827ms 17 1 1s623ms 1s623ms 18 1 1s659ms 1s659ms 19 1 1s780ms 1s780ms 23 1 1s610ms 1s610ms Jun 02 00 1 1s657ms 1s657ms 01 3 4s933ms 1s644ms 02 1 1s831ms 1s831ms 03 4 6s536ms 1s634ms 04 3 4s863ms 1s621ms 06 5 8s42ms 1s608ms 07 6 9s553ms 1s592ms 08 7 11s885ms 1s697ms 09 6 9s307ms 1s551ms 10 9 15s444ms 1s716ms 11 8 12s871ms 1s608ms 12 6 9s466ms 1s577ms 13 16 25s798ms 1s612ms 14 16 25s736ms 1s608ms 15 20 33s70ms 1s653ms 16 21 33s978ms 1s618ms 17 43 1m9s 1s617ms 18 36 58s775ms 1s632ms 19 57 1m31s 1s613ms 20 97 2m34s 1s588ms 21 115 3m3s 1s594ms 22 121 3m12s 1s591ms 23 116 3m6s 1s610ms Jun 03 00 197 5m14s 1s597ms 01 192 5m8s 1s608ms 02 165 4m26s 1s616ms 03 153 4m8s 1s623ms 04 164 4m26s 1s626ms 05 35 56s738ms 1s621ms 06 115 3m9s 1s651ms 07 147 4m 1s635ms 08 83 2m14s 1s622ms 17 1 1s535ms 1s535ms 18 1 1s686ms 1s686ms 21 1 1s708ms 1s708ms Jun 04 00 1 1s442ms 1s442ms 02 1 1s661ms 1s661ms 12 3 4s899ms 1s633ms 13 3 4s937ms 1s645ms 14 1 1s774ms 1s774ms 18 1 1s669ms 1s669ms 19 2 3s257ms 1s628ms 21 2 3s233ms 1s616ms 22 5 7s539ms 1s507ms Jun 05 00 1 1s519ms 1s519ms 01 3 4s843ms 1s614ms 02 3 5s55ms 1s685ms 03 3 5s190ms 1s730ms 04 4 6s437ms 1s609ms 05 10 16s482ms 1s648ms 06 4 6s815ms 1s703ms 07 11 17s641ms 1s603ms 08 17 28s58ms 1s650ms 09 28 46s227ms 1s650ms 10 28 45s291ms 1s617ms 11 45 1m12s 1s609ms 12 56 1m30s 1s621ms 13 82 2m10s 1s586ms 14 96 2m31s 1s579ms 15 101 2m39s 1s575ms 16 128 3m20s 1s567ms 17 144 4m7s 1s715ms 18 143 3m45s 1s579ms 19 170 4m23s 1s548ms 20 188 4m53s 1s558ms 21 184 4m47s 1s561ms 22 193 5m3s 1s572ms 23 197 5m4s 1s544ms Jun 06 00 180 4m41s 1s563ms 01 175 4m34s 1s566ms 02 196 5m8s 1s575ms 03 95 2m27s 1s556ms 05 7 10s954ms 1s564ms 06 8 12s406ms 1s550ms 07 1 1s660ms 1s660ms 13 1 1s643ms 1s643ms 16 1 1s538ms 1s538ms 18 2 3s262ms 1s631ms 19 3 4s734ms 1s578ms 22 1 1s644ms 1s644ms 23 2 3s279ms 1s639ms Jun 07 00 3 4s798ms 1s599ms 01 2 3s260ms 1s630ms 02 2 3s405ms 1s702ms 04 2 3s148ms 1s574ms 05 2 3s373ms 1s686ms 06 3 4s992ms 1s664ms 07 6 9s440ms 1s573ms 08 7 11s446ms 1s635ms 09 12 19s114ms 1s592ms 10 19 30s834ms 1s622ms 11 20 31s479ms 1s573ms 12 35 55s14ms 1s571ms 13 57 1m31s 1s599ms 14 91 2m23s 1s577ms 15 104 2m42s 1s566ms 16 146 3m51s 1s588ms 17 147 3m50s 1s570ms 18 241 6m17s 1s566ms 19 206 5m23s 1s569ms 20 194 5m1s 1s556ms 21 254 6m37s 1s565ms 22 250 6m33s 1s573ms 23 192 5m9s 1s610ms [ User: pubeu - Total duration: 23m39s - Times executed: 872 ]
-
SELECT /* DiseaseGeneAssnsDAO */ ;
Date: 2025-06-05 17:58:31 Duration: 19s659ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ ;
Date: 2025-06-06 00:02:00 Duration: 2s800ms Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ ;
Date: 2025-06-03 01:42:43 Duration: 2s772ms Database: ctdprd51 User: pubeu Bind query: yes
7 1h23m58s 3,459 1s263ms 6s675ms 1s456ms 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 Jun 01 00 18 26s404ms 1s466ms 01 25 36s555ms 1s462ms 02 24 35s384ms 1s474ms 03 27 39s290ms 1s455ms 04 17 24s924ms 1s466ms 05 29 42s922ms 1s480ms 06 27 38s847ms 1s438ms 07 29 41s691ms 1s437ms 08 17 24s207ms 1s423ms 09 28 40s175ms 1s434ms 10 30 45s961ms 1s532ms 11 21 30s8ms 1s428ms 12 23 33s147ms 1s441ms 13 30 42s825ms 1s427ms 14 20 28s601ms 1s430ms 15 21 30s366ms 1s446ms 16 20 28s786ms 1s439ms 17 26 37s822ms 1s454ms 18 13 18s608ms 1s431ms 19 26 37s305ms 1s434ms 20 21 31s554ms 1s502ms 21 16 22s753ms 1s422ms 22 21 30s904ms 1s471ms 23 22 32s47ms 1s456ms Jun 02 00 19 27s535ms 1s449ms 01 29 46s540ms 1s604ms 02 16 23s211ms 1s450ms 03 34 49s73ms 1s443ms 04 27 38s582ms 1s428ms 05 16 23s159ms 1s447ms 06 26 37s618ms 1s446ms 07 24 34s660ms 1s444ms 08 29 42s56ms 1s450ms 09 25 35s755ms 1s430ms 10 25 35s813ms 1s432ms 11 25 34s842ms 1s393ms 12 21 30s193ms 1s437ms 13 21 30s710ms 1s462ms 14 19 27s154ms 1s429ms 15 17 24s101ms 1s417ms 16 25 35s700ms 1s428ms 17 20 28s645ms 1s432ms 18 19 27s352ms 1s439ms 19 28 39s984ms 1s428ms 20 18 26s250ms 1s458ms 21 13 18s701ms 1s438ms 22 21 30s550ms 1s454ms 23 22 43s516ms 1s978ms Jun 03 00 20 29s845ms 1s492ms 01 28 44s442ms 1s587ms 02 20 30s226ms 1s511ms 03 24 38s953ms 1s623ms 04 28 42s927ms 1s533ms 05 14 21s845ms 1s560ms 06 21 39s421ms 1s877ms 07 15 22s511ms 1s500ms 08 3 4s792ms 1s597ms 09 1 1s404ms 1s404ms 11 22 31s958ms 1s452ms 12 21 30s58ms 1s431ms 13 23 32s744ms 1s423ms 14 32 44s182ms 1s380ms 15 40 57s49ms 1s426ms 16 3 4s218ms 1s406ms 18 26 36s236ms 1s393ms 19 33 45s989ms 1s393ms 20 30 41s903ms 1s396ms 21 25 35s82ms 1s403ms 22 11 15s798ms 1s436ms 23 33 47s594ms 1s442ms Jun 04 00 33 48s474ms 1s468ms 01 22 31s514ms 1s432ms 02 30 43s341ms 1s444ms 03 39 56s279ms 1s443ms 04 38 57s261ms 1s506ms 05 42 1m 1s440ms 06 27 38s200ms 1s414ms 07 24 34s55ms 1s418ms 08 15 21s140ms 1s409ms 09 21 29s752ms 1s416ms 10 24 34s106ms 1s421ms 11 26 37s476ms 1s441ms 12 19 26s749ms 1s407ms 13 28 39s191ms 1s399ms 14 33 46s851ms 1s419ms 15 32 45s67ms 1s408ms 16 25 35s505ms 1s420ms 17 12 16s839ms 1s403ms 18 15 21s242ms 1s416ms 19 29 41s181ms 1s420ms 20 28 39s608ms 1s414ms 21 25 34s585ms 1s383ms 22 27 39s348ms 1s457ms 23 34 48s498ms 1s426ms Jun 05 00 27 38s396ms 1s422ms 01 27 38s587ms 1s429ms 02 37 56s70ms 1s515ms 03 39 55s478ms 1s422ms 04 43 1m2s 1s445ms 05 27 38s909ms 1s441ms 06 20 30s746ms 1s537ms 07 27 38s532ms 1s427ms 08 28 40s272ms 1s438ms 09 34 52s440ms 1s542ms 10 28 41s368ms 1s477ms 11 28 39s3ms 1s392ms 12 16 22s480ms 1s405ms 13 33 46s267ms 1s402ms 14 34 48s120ms 1s415ms 15 31 45s813ms 1s477ms 16 36 50s636ms 1s406ms 17 38 54s421ms 1s432ms 18 26 39s274ms 1s510ms 19 26 36s979ms 1s422ms 20 33 48s431ms 1s467ms 21 22 41s634ms 1s892ms 22 18 30s706ms 1s705ms 23 21 33s56ms 1s574ms Jun 06 00 26 39s827ms 1s531ms 01 26 39s468ms 1s518ms 02 26 39s769ms 1s529ms 03 13 19s350ms 1s488ms 04 2 2s647ms 1s323ms 05 2 2s826ms 1s413ms 06 7 10s527ms 1s503ms 07 26 37s568ms 1s444ms 08 29 40s731ms 1s404ms 09 23 32s119ms 1s396ms 10 25 35s145ms 1s405ms 11 24 33s362ms 1s390ms 12 39 54s981ms 1s409ms 13 32 45s438ms 1s419ms 14 22 30s273ms 1s376ms 15 18 24s263ms 1s347ms 16 20 27s997ms 1s399ms 17 1 1s396ms 1s396ms 18 1 1s341ms 1s341ms 19 28 38s847ms 1s387ms 20 13 18s454ms 1s419ms 21 12 17s227ms 1s435ms 22 11 15s569ms 1s415ms 23 16 22s817ms 1s426ms Jun 07 00 16 23s42ms 1s440ms 01 4 5s758ms 1s439ms 02 1 1s403ms 1s403ms 03 6 8s571ms 1s428ms 04 10 14s567ms 1s456ms 05 4 6s560ms 1s640ms 06 4 5s725ms 1s431ms 07 6 8s746ms 1s457ms 08 4 6s45ms 1s511ms 09 3 4s432ms 1s477ms 10 4 5s902ms 1s475ms 11 4 5s881ms 1s470ms 12 4 5s714ms 1s428ms 13 5 7s290ms 1s458ms 14 2 2s879ms 1s439ms 15 1 1s444ms 1s444ms 16 4 5s898ms 1s474ms 17 7 10s350ms 1s478ms 18 2 2s808ms 1s404ms 19 4 5s814ms 1s453ms 20 2 3s22ms 1s511ms 21 5 8s79ms 1s615ms 22 5 7s621ms 1s524ms [ User: pubeu - Total duration: 11m36s - Times executed: 465 ]
-
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 = '1244817') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1244817') 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: 2025-06-05 21:18:01 Duration: 6s675ms 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 = '1260533') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1260533') 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: 2025-06-02 01:39:58 Duration: 5s832ms 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 = '1257897') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1257897') 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: 2025-06-05 21:56:05 Duration: 4s585ms Bind query: yes
8 1h17m14s 1,438 1s 13s923ms 3s223ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where associatedterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and ptr.term_object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jun 01 09 1 1s40ms 1s40ms 13 1 3s165ms 3s165ms 15 1 2s87ms 2s87ms 21 7 21s472ms 3s67ms 22 22 57s26ms 2s592ms 23 3 10s740ms 3s580ms Jun 02 00 1 2s111ms 2s111ms 02 1 1s55ms 1s55ms 03 2 8s101ms 4s50ms 05 1 1s15ms 1s15ms 07 1 1s480ms 1s480ms 08 1 3s619ms 3s619ms 09 1 1s77ms 1s77ms 10 1 6s909ms 6s909ms 11 1 2s246ms 2s246ms 13 2 11s742ms 5s871ms 14 2 2s920ms 1s460ms 15 1 3s641ms 3s641ms 16 24 1m7s 2s794ms 17 1 2s132ms 2s132ms 18 1 1s32ms 1s32ms 19 5 11s191ms 2s238ms 20 4 6s719ms 1s679ms 21 1 1s205ms 1s205ms 22 5 17s776ms 3s555ms 23 5 17s948ms 3s589ms Jun 03 00 2 9s330ms 4s665ms 01 1 3s608ms 3s608ms 02 3 9s274ms 3s91ms 03 6 21s823ms 3s637ms 04 9 32s817ms 3s646ms 05 1 1s543ms 1s543ms 06 15 46s721ms 3s114ms 07 6 25s955ms 4s325ms 08 4 7s897ms 1s974ms 09 3 5s959ms 1s986ms 10 1 6s912ms 6s912ms 11 6 14s801ms 2s466ms 12 1 2s9ms 2s9ms 13 10 34s484ms 3s448ms 14 12 46s485ms 3s873ms 15 4 15s279ms 3s819ms 16 10 34s703ms 3s470ms 17 6 22s478ms 3s746ms 18 5 8s645ms 1s729ms 19 10 38s89ms 3s808ms 20 12 33s784ms 2s815ms 21 7 21s547ms 3s78ms 22 7 25s648ms 3s664ms 23 7 37s113ms 5s301ms Jun 04 00 9 32s114ms 3s568ms 01 11 43s493ms 3s953ms 02 9 42s978ms 4s775ms 03 9 36s527ms 4s58ms 04 6 23s785ms 3s964ms 05 9 30s789ms 3s421ms 06 6 18s685ms 3s114ms 07 8 22s814ms 2s851ms 08 7 34s803ms 4s971ms 09 5 24s157ms 4s831ms 10 5 15s917ms 3s183ms 11 10 35s972ms 3s597ms 12 7 27s521ms 3s931ms 13 7 29s899ms 4s271ms 14 9 47s229ms 5s247ms 15 4 15s469ms 3s867ms 16 6 19s813ms 3s302ms 17 6 15s968ms 2s661ms 18 14 39s480ms 2s820ms 19 17 53s901ms 3s170ms 20 5 12s959ms 2s591ms 21 6 25s135ms 4s189ms 22 21 1m5s 3s124ms 23 29 1m28s 3s53ms Jun 05 00 22 1m9s 3s153ms 01 13 38s752ms 2s980ms 02 5 20s552ms 4s110ms 03 5 10s435ms 2s87ms 04 11 36s278ms 3s298ms 05 5 14s440ms 2s888ms 06 3 6s665ms 2s221ms 07 12 46s680ms 3s890ms 08 20 53s943ms 2s697ms 09 30 1m27s 2s924ms 10 15 46s889ms 3s125ms 11 9 35s305ms 3s922ms 12 11 49s422ms 4s492ms 13 9 21s240ms 2s360ms 14 7 28s138ms 4s19ms 15 17 1m9s 4s111ms 16 4 16s43ms 4s10ms 17 13 46s772ms 3s597ms 18 17 1m3s 3s732ms 19 16 47s546ms 2s971ms 20 16 1m6s 4s162ms 21 25 1m8s 2s742ms 22 33 1m38s 2s986ms 23 10 28s881ms 2s888ms Jun 06 00 16 49s556ms 3s97ms 01 11 31s68ms 2s824ms 02 14 48s49ms 3s432ms 03 5 19s568ms 3s913ms 07 7 17s329ms 2s475ms 08 11 45s726ms 4s156ms 09 13 46s580ms 3s583ms 10 5 22s420ms 4s484ms 11 6 18s736ms 3s122ms 12 7 26s573ms 3s796ms 13 9 32s912ms 3s656ms 14 4 11s893ms 2s973ms 15 9 23s690ms 2s632ms 16 2 4s337ms 2s168ms 19 2 5s144ms 2s572ms 20 5 21s929ms 4s385ms 21 7 19s299ms 2s757ms 22 4 16s898ms 4s224ms 23 11 29s775ms 2s706ms Jun 07 00 6 20s745ms 3s457ms 01 11 37s301ms 3s391ms 02 8 18s372ms 2s296ms 03 20 56s473ms 2s823ms 04 44 2m12s 3s12ms 05 10 33s243ms 3s324ms 06 16 51s254ms 3s203ms 07 11 32s846ms 2s986ms 08 13 55s617ms 4s278ms 09 16 51s27ms 3s189ms 10 11 38s86ms 3s462ms 11 15 45s442ms 3s29ms 12 22 1m7s 3s78ms 13 30 1m19s 2s656ms 14 40 1m56s 2s910ms 15 12 40s602ms 3s383ms 16 21 1m 2s890ms 17 10 29s415ms 2s941ms 18 45 2m14s 2s997ms 19 23 1m17s 3s353ms 20 20 1m4s 3s239ms 21 22 1m8s 3s101ms 22 30 1m17s 2s590ms 23 37 1m43s 2s807ms [ User: pubeu - Total duration: 9m54s - Times executed: 178 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1411566'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-06-03 04:22:37 Duration: 13s923ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1451245'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-06-05 18:06:50 Duration: 12s291ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1411566'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-06-06 02:27:54 Duration: 9s624ms Bind query: yes
9 1h14m32s 1,033 1s2ms 30s56ms 4s329ms 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 Jun 01 01 1 4s890ms 4s890ms 16 3 16s130ms 5s376ms 20 15 57s66ms 3s804ms 21 23 1m48s 4s696ms 22 6 10s565ms 1s760ms 23 1 2s784ms 2s784ms Jun 02 00 3 13s12ms 4s337ms 01 2 10s148ms 5s74ms 02 2 6s118ms 3s59ms 03 1 1s389ms 1s389ms 06 2 8s144ms 4s72ms 07 1 12s711ms 12s711ms 08 1 4s857ms 4s857ms 09 4 14s391ms 3s597ms 10 2 14s572ms 7s286ms 11 2 3s720ms 1s860ms 12 10 34s975ms 3s497ms 13 5 16s405ms 3s281ms 14 4 21s560ms 5s390ms 15 3 8s398ms 2s799ms 16 5 17s428ms 3s485ms 17 10 40s258ms 4s25ms 18 9 34s924ms 3s880ms 19 11 39s762ms 3s614ms 20 11 42s94ms 3s826ms 21 18 1m31s 5s59ms 22 23 1m59s 5s203ms 23 22 2m2s 5s590ms Jun 03 00 17 1m27s 5s149ms 01 25 1m50s 4s401ms 02 17 1m38s 5s821ms 03 14 49s149ms 3s510ms 04 24 1m58s 4s942ms 05 8 28s300ms 3s537ms 06 17 1m14s 4s366ms 07 19 1m36s 5s92ms 08 9 44s735ms 4s970ms 09 1 2s235ms 2s235ms 11 1 6s247ms 6s247ms 12 1 1s755ms 1s755ms 13 4 25s81ms 6s270ms 14 3 7s163ms 2s387ms 15 4 10s573ms 2s643ms 16 2 8s178ms 4s89ms 18 3 28s967ms 9s655ms 19 2 10s999ms 5s499ms 21 5 23s920ms 4s784ms 22 2 17s118ms 8s559ms Jun 04 00 4 25s837ms 6s459ms 02 1 5s147ms 5s147ms 03 1 5s67ms 5s67ms 04 2 3s108ms 1s554ms 05 3 10s435ms 3s478ms 07 1 2s206ms 2s206ms 08 2 9s751ms 4s875ms 09 3 8s353ms 2s784ms 10 6 17s808ms 2s968ms 11 2 3s780ms 1s890ms 12 3 3s651ms 1s217ms 13 1 5s346ms 5s346ms 14 3 8s767ms 2s922ms 15 3 16s117ms 5s372ms 16 2 2s747ms 1s373ms 17 3 16s876ms 5s625ms 18 3 6s824ms 2s274ms 19 2 9s414ms 4s707ms 20 1 2s252ms 2s252ms 21 2 22s992ms 11s496ms 22 1 2s976ms 2s976ms 23 1 6s491ms 6s491ms Jun 05 00 1 2s264ms 2s264ms 01 2 10s948ms 5s474ms 02 5 14s882ms 2s976ms 04 4 10s306ms 2s576ms 05 6 18s105ms 3s17ms 07 4 8s795ms 2s198ms 08 7 33s513ms 4s787ms 09 8 29s439ms 3s679ms 10 3 15s376ms 5s125ms 11 6 33s23ms 5s503ms 12 11 35s327ms 3s211ms 13 9 37s509ms 4s167ms 14 16 50s844ms 3s177ms 15 5 13s253ms 2s650ms 16 11 49s186ms 4s471ms 17 26 1m53s 4s375ms 18 10 41s238ms 4s123ms 19 19 1m11s 3s778ms 20 23 2m7s 5s561ms 21 23 2m36s 6s797ms 22 17 1m32s 5s414ms 23 18 1m25s 4s727ms Jun 06 00 22 1m59s 5s424ms 01 28 1m54s 4s91ms 02 28 1m32s 3s289ms 03 8 36s478ms 4s559ms 05 2 9s595ms 4s797ms 07 2 2s868ms 1s434ms 08 3 15s474ms 5s158ms 09 1 4s250ms 4s250ms 10 2 2s598ms 1s299ms 12 3 5s31ms 1s677ms 14 1 1s812ms 1s812ms 16 2 8s343ms 4s171ms 19 2 2s392ms 1s196ms 22 3 16s566ms 5s522ms Jun 07 00 1 1s247ms 1s247ms 01 1 12s266ms 12s266ms 02 7 25s637ms 3s662ms 03 7 33s806ms 4s829ms 04 3 12s450ms 4s150ms 05 1 6s808ms 6s808ms 06 3 8s526ms 2s842ms 07 3 6s858ms 2s286ms 08 3 5s603ms 1s867ms 09 6 17s279ms 2s879ms 10 9 48s910ms 5s434ms 11 8 32s709ms 4s88ms 12 16 1m3s 3s999ms 13 8 28s421ms 3s552ms 14 13 39s154ms 3s11ms 15 11 56s779ms 5s161ms 16 17 1m15s 4s463ms 17 18 1m4s 3s593ms 18 23 1m31s 3s982ms 19 17 1m17s 4s573ms 20 23 1m18s 3s410ms 21 23 1m39s 4s304ms 22 23 1m42s 4s475ms 23 20 1m14s 3s743ms [ User: pubeu - Total duration: 11m44s - Times executed: 159 ]
-
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 = '2094859') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-06-05 21:18:16 Duration: 30s56ms 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 = '2106936') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-06-05 21:56:31 Duration: 21s466ms 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 = '2094859') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-06-02 23:37:32 Duration: 19s743ms Bind query: yes
10 1h9m2s 423 1s6ms 51s247ms 9s793ms select sq.*, count(*) over () fullrowcount from ( select distinct gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid from dag_node gt inner join gene_go_annot gga on gt.object_id = gga.go_term_id inner join term g on gga.gene_id = g.id where gt.id in ( select p.descendant_dag_node_id from dag_path p where p.ancestor_object_id = ?) and gga.is_not = false) sq order by sq.gonmsort, sq.genesymbolsort limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jun 01 14 1 8s321ms 8s321ms 16 1 1s584ms 1s584ms 22 5 1m15s 15s140ms 23 3 39s791ms 13s263ms Jun 02 05 1 1s390ms 1s390ms 10 1 8s738ms 8s738ms 11 2 35s905ms 17s952ms 12 1 11s883ms 11s883ms 13 1 9s212ms 9s212ms 14 3 29s148ms 9s716ms 16 2 36s468ms 18s234ms 17 2 12s675ms 6s337ms 19 6 1m 10s156ms 20 5 45s523ms 9s104ms 21 2 26s947ms 13s473ms 22 1 12s251ms 12s251ms 23 2 18s966ms 9s483ms Jun 03 00 5 51s807ms 10s361ms 01 6 1m 10s17ms 02 3 1m 20s55ms 03 6 1m16s 12s670ms 04 4 1m32s 23s107ms 05 3 24s204ms 8s68ms 06 5 58s965ms 11s793ms 07 4 33s427ms 8s356ms 08 6 48s594ms 8s99ms 09 2 3s471ms 1s735ms 10 1 3s602ms 3s602ms 11 2 2s942ms 1s471ms 12 3 27s973ms 9s324ms 13 2 23s268ms 11s634ms 14 5 20s606ms 4s121ms 15 4 9s84ms 2s271ms 16 1 18s977ms 18s977ms 17 4 9s572ms 2s393ms 18 1 24s374ms 24s374ms 19 2 25s559ms 12s779ms 20 2 21s477ms 10s738ms 21 2 20s358ms 10s179ms 22 3 21s887ms 7s295ms 23 2 6s74ms 3s37ms Jun 04 00 3 3s941ms 1s313ms 01 3 30s424ms 10s141ms 02 6 1m20s 13s343ms 04 2 5s691ms 2s845ms 05 3 6s146ms 2s48ms 09 3 13s775ms 4s591ms 10 2 4s45ms 2s22ms 12 1 19s446ms 19s446ms 13 1 1s131ms 1s131ms 14 2 2s482ms 1s241ms 15 5 31s784ms 6s356ms 16 2 2s194ms 1s97ms 18 4 58s668ms 14s667ms 19 2 7s389ms 3s694ms 20 1 1s526ms 1s526ms 21 2 53s283ms 26s641ms 22 3 13s408ms 4s469ms 23 1 2s474ms 2s474ms Jun 05 00 2 7s182ms 3s591ms 01 2 5s442ms 2s721ms 02 4 36s154ms 9s38ms 03 2 6s97ms 3s48ms 05 3 48s423ms 16s141ms 06 3 24s414ms 8s138ms 07 4 36s168ms 9s42ms 08 3 34s606ms 11s535ms 09 2 12s232ms 6s116ms 10 1 1s414ms 1s414ms 11 7 53s882ms 7s697ms 12 3 34s436ms 11s478ms 13 1 24s727ms 24s727ms 14 10 2m13s 13s304ms 15 9 1m32s 10s317ms 16 4 1m2s 15s675ms 17 8 1m34s 11s781ms 18 4 30s864ms 7s716ms 19 7 1m25s 12s238ms 20 4 1m47s 26s800ms 21 7 46s425ms 6s632ms 22 8 1m34s 11s786ms 23 6 58s217ms 9s702ms Jun 06 00 6 1m34s 15s731ms 01 7 1m20s 11s474ms 02 5 40s546ms 8s109ms 03 3 49s294ms 16s431ms 07 1 1s726ms 1s726ms 08 1 1s156ms 1s156ms 09 4 45s960ms 11s490ms 10 1 23s795ms 23s795ms 11 3 17s291ms 5s763ms 13 1 12s719ms 12s719ms 14 2 50s410ms 25s205ms 15 1 1s217ms 1s217ms 16 1 9s361ms 9s361ms 18 1 4s74ms 4s74ms 19 2 29s293ms 14s646ms 20 1 4s61ms 4s61ms 21 1 1s464ms 1s464ms 22 2 30s978ms 15s489ms 23 1 4s227ms 4s227ms Jun 07 00 2 46s468ms 23s234ms 01 3 12s406ms 4s135ms 02 5 51s877ms 10s375ms 03 1 23s196ms 23s196ms 04 14 1m31s 6s558ms 05 2 2s804ms 1s402ms 06 4 32s457ms 8s114ms 07 4 35s306ms 8s826ms 08 4 23s802ms 5s950ms 09 5 46s694ms 9s338ms 11 3 20s524ms 6s841ms 12 3 41s38ms 13s679ms 13 3 13s185ms 4s395ms 14 7 28s97ms 4s13ms 15 7 1m1s 8s804ms 16 6 50s718ms 8s453ms 17 9 1m13s 8s130ms 18 4 18s46ms 4s511ms 19 7 1m5s 9s321ms 20 4 44s639ms 11s159ms 21 6 1m21s 13s593ms 22 4 1m6s 16s707ms 23 5 59s785ms 11s957ms [ User: pubeu - Total duration: 10m9s - Times executed: 60 ]
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1244581') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-06-04 21:54:06 Duration: 51s247ms Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1234207') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-06-05 20:54:54 Duration: 40s102ms Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1234207') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-06-03 02:19:47 Duration: 30s744ms Database: ctdprd51 User: pubeu Bind query: yes
11 52m52s 7 6m9s 8m40s 7m33s select maint_query_logs_archive ();Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jun 01 00 1 6m9s 6m9s Jun 02 00 1 6m34s 6m34s Jun 03 00 1 7m8s 7m8s Jun 04 00 1 7m32s 7m32s Jun 05 00 1 8m15s 8m15s Jun 06 00 1 8m31s 8m31s Jun 07 00 1 8m40s 8m40s -
/* * 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: 2025-06-07 00:08:42 Duration: 8m40s
-
/* * 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: 2025-06-06 00:08:33 Duration: 8m31s
-
/* * 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: 2025-06-05 00:08:16 Duration: 8m15s
12 52m2s 1,237 1s 14s412ms 2s524ms select e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, ( select string_agg(distinct stressorterm.nm || ? || ( select cd from object_type where id = stressorterm.object_type_id) || ? || stressorterm.nm_html || ? || stressorterm.acc_txt || ? || stressorterm.acc_db_cd, ?)) as stressoragents, ( select string_agg(distinct coalesce(receptorterm.nm, ?) || ? || coalesce(( select cd from object_type where id = receptorterm.object_type_id), ?) || ? || coalesce(receptorterm.nm_html, ?) || ? || coalesce(receptorterm.acc_txt, ?) || ? || coalesce(receptorterm.acc_db_cd, ?) || ? || receptor.description, ?)) as receptors, ( select string_agg(distinct country.nm, ?)) as studycountries, ( select string_agg(distinct location.locality_txt, ?)) as localities, ( select string_agg(distinct event.medium_nm || ? || coalesce(event.medium_term_acc_txt, ?), ?)) as assaymediums, ( select string_agg(distinct exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd, ?)) as assayedmarkers, ( select string_agg(distinct diseaseterm.nm || ? || ( select cd from object_type where id = diseaseterm.object_type_id) || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd, ?)) as diseases, ( select string_agg(distinct phenotypeterm.nm || ? || ( select cd from object_type where id = phenotypeterm.object_type_id) || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd, ?)) as phenotypes, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, re.author_summary summary, count(*) over () fullrowcount from exposure e inner join reference r on e.reference_id = r.id inner join exp_stressor stressor on e.exp_stressor_id = stressor.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join term receptorterm on receptor.term_id = receptorterm.id left outer join exp_event event on e.exp_event_id = event.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join exp_event_location location on e.exp_event_id = location.exp_event_id left outer join country on location.country_id = country.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id inner join reference_exp re on e.reference_id = re.reference_id left outer join exp_study_factor expstudyfactor on re.id = expstudyfactor.reference_exp_id where e.reference_id = any (array ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like ?) and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressoragents limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jun 01 15 1 3s361ms 3s361ms 16 1 1s323ms 1s323ms 21 8 19s157ms 2s394ms 22 25 1m 2s400ms 23 1 1s470ms 1s470ms Jun 02 00 7 9s942ms 1s420ms 03 1 1s141ms 1s141ms 04 1 1s183ms 1s183ms 06 2 8s466ms 4s233ms 08 1 1s148ms 1s148ms 09 1 3s83ms 3s83ms 12 2 5s219ms 2s609ms 13 2 8s805ms 4s402ms 14 1 1s69ms 1s69ms 16 24 58s485ms 2s436ms 17 1 3s84ms 3s84ms 18 5 8s450ms 1s690ms 19 2 5s493ms 2s746ms 20 6 6s687ms 1s114ms 21 2 5s377ms 2s688ms 22 4 7s918ms 1s979ms 23 5 23s285ms 4s657ms Jun 03 00 6 19s710ms 3s285ms 01 10 19s531ms 1s953ms 02 2 2s421ms 1s210ms 03 8 18s152ms 2s269ms 04 6 17s401ms 2s900ms 05 1 4s759ms 4s759ms 06 14 42s38ms 3s2ms 07 12 26s806ms 2s233ms 08 5 12s482ms 2s496ms 09 4 5s411ms 1s352ms 10 3 8s546ms 2s848ms 11 5 14s935ms 2s987ms 12 5 13s954ms 2s790ms 13 6 20s385ms 3s397ms 14 9 22s735ms 2s526ms 15 6 16s601ms 2s766ms 16 8 15s908ms 1s988ms 17 5 12s864ms 2s572ms 18 4 9s536ms 2s384ms 19 4 12s542ms 3s135ms 20 8 25s158ms 3s144ms 21 11 35s188ms 3s198ms 22 8 23s371ms 2s921ms 23 7 20s714ms 2s959ms Jun 04 00 11 28s499ms 2s590ms 01 7 16s101ms 2s300ms 02 4 10s766ms 2s691ms 03 6 15s459ms 2s576ms 04 10 29s554ms 2s955ms 05 3 8s644ms 2s881ms 06 8 21s612ms 2s701ms 07 3 6s690ms 2s230ms 08 7 25s66ms 3s580ms 09 8 20s706ms 2s588ms 10 4 15s450ms 3s862ms 11 2 2s170ms 1s85ms 12 8 26s861ms 3s357ms 13 4 13s847ms 3s461ms 14 4 6s489ms 1s622ms 15 7 17s22ms 2s431ms 16 6 17s883ms 2s980ms 17 13 35s823ms 2s755ms 18 11 23s996ms 2s181ms 19 18 43s419ms 2s412ms 20 5 11s803ms 2s360ms 21 1 2s107ms 2s107ms 22 18 44s740ms 2s485ms 23 24 52s392ms 2s183ms Jun 05 00 24 59s111ms 2s462ms 01 12 26s215ms 2s184ms 02 4 13s56ms 3s264ms 03 1 4s393ms 4s393ms 04 5 12s36ms 2s407ms 05 3 5s773ms 1s924ms 06 3 9s818ms 3s272ms 07 4 10s249ms 2s562ms 08 13 29s782ms 2s290ms 09 28 1m9s 2s466ms 10 9 22s902ms 2s544ms 11 7 21s92ms 3s13ms 12 5 17s484ms 3s496ms 13 9 22s599ms 2s511ms 14 10 29s892ms 2s989ms 15 10 27s172ms 2s717ms 16 12 28s261ms 2s355ms 17 7 16s273ms 2s324ms 18 10 25s54ms 2s505ms 19 14 34s444ms 2s460ms 20 14 29s552ms 2s110ms 21 25 1m8s 2s729ms 22 26 57s121ms 2s196ms 23 10 24s 2s400ms Jun 06 00 13 29s874ms 2s298ms 01 20 1m3s 3s199ms 02 15 37s206ms 2s480ms 03 4 8s450ms 2s112ms 06 2 6s328ms 3s164ms 07 2 7s566ms 3s783ms 08 6 12s315ms 2s52ms 09 2 5s325ms 2s662ms 10 6 15s827ms 2s637ms 11 5 15s174ms 3s34ms 12 3 9s556ms 3s185ms 13 7 19s182ms 2s740ms 14 5 18s322ms 3s664ms 15 6 17s82ms 2s847ms 16 2 4s342ms 2s171ms 19 1 1s77ms 1s77ms 20 5 8s661ms 1s732ms 21 6 11s989ms 1s998ms 22 5 15s716ms 3s143ms 23 7 26s735ms 3s819ms Jun 07 00 5 11s789ms 2s357ms 01 9 19s418ms 2s157ms 02 7 14s587ms 2s83ms 03 16 38s891ms 2s430ms 04 33 1m8s 2s64ms 05 12 26s382ms 2s198ms 06 9 23s712ms 2s634ms 07 9 27s356ms 3s39ms 08 8 23s228ms 2s903ms 09 9 19s896ms 2s210ms 10 7 17s39ms 2s434ms 11 17 40s633ms 2s390ms 12 16 45s524ms 2s845ms 13 29 1m10s 2s438ms 14 48 1m53s 2s365ms 15 4 9s780ms 2s445ms 16 18 46s967ms 2s609ms 17 11 22s649ms 2s59ms 18 40 1m29s 2s231ms 19 13 35s886ms 2s760ms 20 17 50s189ms 2s952ms 21 11 26s44ms 2s367ms 22 20 46s976ms 2s348ms 23 30 1m13s 2s435ms [ User: pubeu - Total duration: 6m22s - Times executed: 145 ]
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1449732') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1449732') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-06-06 01:38:12 Duration: 14s412ms Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1411566') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1411566') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-06-02 23:32:24 Duration: 7s782ms Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1440822') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1440822') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-06-02 13:06:37 Duration: 7s704ms Bind query: yes
13 40m52s 1,223 1s 18s188ms 2s5ms 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 Jun 01 00 8 8s271ms 1s33ms 01 13 13s456ms 1s35ms 02 16 18s118ms 1s132ms 03 37 37s995ms 1s26ms 04 16 16s623ms 1s38ms 05 6 6s227ms 1s37ms 06 10 10s324ms 1s32ms 07 8 8s567ms 1s70ms 08 6 6s211ms 1s35ms 09 15 15s871ms 1s58ms 10 6 6s991ms 1s165ms 11 6 6s868ms 1s144ms 12 9 9s114ms 1s12ms 14 1 6s329ms 6s329ms 15 15 15s488ms 1s32ms 16 5 5s335ms 1s67ms 17 2 3s595ms 1s797ms 18 2 2s67ms 1s33ms 20 7 7s55ms 1s7ms 21 2 7s378ms 3s689ms 22 5 14s475ms 2s895ms 23 2 7s234ms 3s617ms Jun 02 01 12 15s882ms 1s323ms 02 4 4s80ms 1s20ms 03 18 29s170ms 1s620ms 04 2 2s426ms 1s213ms 05 7 15s216ms 2s173ms 06 4 4s73ms 1s18ms 07 5 5s180ms 1s36ms 08 1 1s6ms 1s6ms 09 2 2s68ms 1s34ms 10 4 9s16ms 2s254ms 11 2 2s141ms 1s70ms 12 3 3s26ms 1s8ms 13 10 19s589ms 1s958ms 14 2 6s703ms 3s351ms 16 2 8s299ms 4s149ms 17 4 5s1ms 1s250ms 18 2 3s397ms 1s698ms 20 6 11s325ms 1s887ms 21 3 8s694ms 2s898ms 22 3 10s425ms 3s475ms 23 56 2m23s 2s558ms Jun 03 00 4 5s161ms 1s290ms 01 3 4s624ms 1s541ms 02 9 15s708ms 1s745ms 03 16 32s568ms 2s35ms 04 18 34s759ms 1s931ms 05 3 5s141ms 1s713ms 06 95 4m23s 2s771ms 07 3 5s949ms 1s983ms 08 1 2s233ms 2s233ms 09 1 2s851ms 2s851ms 11 1 2s775ms 2s775ms 12 7 13s177ms 1s882ms 13 4 4s472ms 1s118ms 14 7 19s530ms 2s790ms 15 8 19s568ms 2s446ms 16 3 3s212ms 1s70ms 17 1 2s877ms 2s877ms 18 3 3s46ms 1s15ms 19 2 5s767ms 2s883ms 20 4 5s44ms 1s261ms 21 4 6s863ms 1s715ms 22 11 13s793ms 1s253ms 23 9 12s319ms 1s368ms Jun 04 00 4 14s54ms 3s513ms 01 9 9s197ms 1s21ms 02 10 10s555ms 1s55ms 03 11 13s709ms 1s246ms 04 8 13s681ms 1s710ms 05 5 11s587ms 2s317ms 06 10 15s273ms 1s527ms 07 7 12s464ms 1s780ms 09 6 11s478ms 1s913ms 10 9 13s630ms 1s514ms 11 14 17s989ms 1s284ms 12 9 14s571ms 1s619ms 13 3 8s465ms 2s821ms 14 8 11s452ms 1s431ms 15 3 3s41ms 1s13ms 16 6 11s19ms 1s836ms 17 2 4s212ms 2s106ms 18 6 6s876ms 1s146ms 19 6 7s924ms 1s320ms 20 8 18s59ms 2s257ms 21 8 11s925ms 1s490ms 22 8 9s352ms 1s169ms 23 5 9s393ms 1s878ms Jun 05 00 5 8s956ms 1s791ms 01 4 7s70ms 1s767ms 02 17 28s430ms 1s672ms 03 10 17s432ms 1s743ms 04 7 9s60ms 1s294ms 05 2 2s290ms 1s145ms 06 10 16s625ms 1s662ms 07 2 2s53ms 1s26ms 08 8 18s220ms 2s277ms 09 6 17s546ms 2s924ms 10 4 8s534ms 2s133ms 11 4 6s955ms 1s738ms 12 6 7s409ms 1s234ms 13 7 25s835ms 3s690ms 14 6 11s330ms 1s888ms 15 4 6s100ms 1s525ms 16 4 11s410ms 2s852ms 17 8 18s259ms 2s282ms 18 24 1m9s 2s910ms 19 12 32s755ms 2s729ms 20 28 1m 2s171ms 21 20 1m24s 4s204ms 22 6 9s761ms 1s626ms 23 5 22s426ms 4s485ms Jun 06 00 9 21s845ms 2s427ms 01 12 30s810ms 2s567ms 02 25 1m6s 2s642ms 03 2 2s438ms 1s219ms 06 1 1s70ms 1s70ms 07 3 3s784ms 1s261ms 08 9 18s368ms 2s40ms 09 8 18s769ms 2s346ms 10 6 9s992ms 1s665ms 11 10 18s985ms 1s898ms 12 5 9s414ms 1s882ms 13 6 14s623ms 2s437ms 14 3 3s804ms 1s268ms 15 3 3s393ms 1s131ms 16 4 4s259ms 1s64ms 19 5 7s40ms 1s408ms 20 19 23s345ms 1s228ms 21 29 31s179ms 1s75ms 22 6 11s529ms 1s921ms 23 12 16s103ms 1s341ms Jun 07 00 2 7s958ms 3s979ms 01 4 19s77ms 4s769ms 02 5 18s494ms 3s698ms 03 2 5s274ms 2s637ms 04 3 14s314ms 4s771ms 05 4 13s769ms 3s442ms 06 5 11s900ms 2s380ms 07 6 16s898ms 2s816ms 08 4 8s313ms 2s78ms 09 2 3s817ms 1s908ms 10 2 5s817ms 2s908ms 11 2 6s959ms 3s479ms 12 1 6s79ms 6s79ms 13 17 52s656ms 3s97ms 14 3 7s614ms 2s538ms 15 5 13s998ms 2s799ms 16 5 17s756ms 3s551ms 17 7 22s275ms 3s182ms 18 6 21s764ms 3s627ms 19 2 4s106ms 2s53ms 20 5 16s412ms 3s282ms 21 5 20s377ms 4s75ms 22 7 19s194ms 2s742ms 23 2 9s212ms 4s606ms [ User: pubeu - Total duration: 9m51s - Times executed: 250 ]
-
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 = '660706' 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 = '660706') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-06-05 21:17:50 Duration: 18s188ms 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 = '660368' 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 = '660368') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-06-01 22:01:05 Duration: 9s983ms 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 = '869175' 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 = '869175') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-06-05 18:06:58 Duration: 9s763ms Bind query: yes
14 38m28s 500 4s226ms 10s173ms 4s616ms 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 #14
Day Hour Count Duration Avg duration Jun 01 00 1 4s417ms 4s417ms 01 19 1m26s 4s538ms 02 2 9s247ms 4s623ms 03 11 48s613ms 4s419ms 04 1 4s318ms 4s318ms 05 1 4s393ms 4s393ms 06 1 4s468ms 4s468ms 07 2 8s639ms 4s319ms 08 7 31s440ms 4s491ms 09 1 4s678ms 4s678ms 10 9 46s1ms 5s111ms 11 14 1m2s 4s453ms 12 2 8s992ms 4s496ms 13 1 4s344ms 4s344ms 14 1 4s516ms 4s516ms 16 1 4s503ms 4s503ms 18 1 4s405ms 4s405ms 21 1 4s380ms 4s380ms 22 1 4s537ms 4s537ms Jun 02 00 1 4s625ms 4s625ms 01 2 9s32ms 4s516ms 02 2 9s33ms 4s516ms 03 2 8s851ms 4s425ms 04 1 4s656ms 4s656ms 06 4 18s38ms 4s509ms 07 3 13s334ms 4s444ms 08 3 14s439ms 4s813ms 09 1 4s768ms 4s768ms 12 1 4s512ms 4s512ms 13 1 4s696ms 4s696ms 15 1 4s634ms 4s634ms 16 1 4s938ms 4s938ms 17 1 4s589ms 4s589ms 18 1 4s521ms 4s521ms 19 3 13s868ms 4s622ms 22 1 4s964ms 4s964ms 23 1 5s61ms 5s61ms Jun 03 01 1 4s721ms 4s721ms 03 1 4s835ms 4s835ms 04 1 4s880ms 4s880ms 05 1 4s348ms 4s348ms 06 3 18s370ms 6s123ms 07 4 19s177ms 4s794ms 08 37 2m47s 4s536ms 09 9 40s687ms 4s520ms 11 1 4s649ms 4s649ms 12 4 18s137ms 4s534ms 15 3 13s599ms 4s533ms 16 1 4s268ms 4s268ms 17 2 8s803ms 4s401ms 18 1 4s395ms 4s395ms 19 3 13s634ms 4s544ms 21 12 53s498ms 4s458ms 22 5 22s423ms 4s484ms Jun 04 02 2 9s40ms 4s520ms 03 12 55s164ms 4s597ms 04 16 1m16s 4s754ms 05 1 4s556ms 4s556ms 06 1 4s491ms 4s491ms 07 5 23s316ms 4s663ms 09 4 18s347ms 4s586ms 10 4 17s997ms 4s499ms 11 14 1m5s 4s658ms 13 12 53s847ms 4s487ms 14 10 44s860ms 4s486ms 15 1 4s448ms 4s448ms 16 2 9s159ms 4s579ms 17 1 4s523ms 4s523ms 18 1 4s606ms 4s606ms 19 1 4s365ms 4s365ms 20 2 8s948ms 4s474ms 22 2 9s162ms 4s581ms 23 12 54s593ms 4s549ms Jun 05 00 26 1m56s 4s493ms 01 14 1m3s 4s558ms 02 5 22s217ms 4s443ms 03 24 1m48s 4s527ms 04 9 41s848ms 4s649ms 05 4 18s458ms 4s614ms 06 2 9s227ms 4s613ms 07 9 41s118ms 4s568ms 08 1 4s428ms 4s428ms 09 7 31s736ms 4s533ms 10 9 43s864ms 4s873ms 11 4 19s390ms 4s847ms 12 4 18s713ms 4s678ms 13 3 14s9ms 4s669ms 14 3 15s93ms 5s31ms 15 2 9s37ms 4s518ms 17 2 12s28ms 6s14ms 21 2 9s591ms 4s795ms 22 2 11s470ms 5s735ms Jun 06 00 1 5s70ms 5s70ms 01 1 4s934ms 4s934ms 02 5 25s335ms 5s67ms 03 9 50s135ms 5s570ms 05 1 4s332ms 4s332ms 07 13 1m1s 4s761ms 08 3 13s182ms 4s394ms 10 2 9s133ms 4s566ms 11 1 4s417ms 4s417ms 12 1 4s390ms 4s390ms 13 2 9s69ms 4s534ms 14 1 5s171ms 5s171ms 16 3 13s463ms 4s487ms 19 3 13s249ms 4s416ms Jun 07 00 1 4s466ms 4s466ms 01 7 31s60ms 4s437ms 02 3 13s246ms 4s415ms 03 1 4s767ms 4s767ms 06 1 4s409ms 4s409ms 07 1 4s500ms 4s500ms 08 1 4s409ms 4s409ms 11 4 17s996ms 4s499ms 13 1 4s307ms 4s307ms 16 2 9s227ms 4s613ms 18 1 4s595ms 4s595ms [ User: pubeu - Total duration: 5m1s - Times executed: 64 ]
[ User: qaeu - Total duration: 4s375ms - Times executed: 1 ]
-
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 = '1286133') 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 = '1286133') 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: 2025-06-01 10:58:47 Duration: 10s173ms 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 = '1352010') 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 = '1352010') 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: 2025-06-06 03:18:43 Duration: 10s88ms 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 = '1343751') 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 = '1343751') 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: 2025-06-03 06:16:44 Duration: 8s442ms Database: ctdprd51 User: pubeu Bind query: yes
15 36m39s 1,511 1s280ms 6s843ms 1s455ms 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 #15
Day Hour Count Duration Avg duration Jun 01 00 7 10s25ms 1s432ms 01 15 21s911ms 1s460ms 02 9 12s871ms 1s430ms 03 5 7s214ms 1s442ms 04 5 7s700ms 1s540ms 05 16 24s380ms 1s523ms 06 10 14s341ms 1s434ms 07 4 5s827ms 1s456ms 08 8 11s823ms 1s477ms 09 7 9s902ms 1s414ms 10 9 13s143ms 1s460ms 11 6 8s805ms 1s467ms 12 17 24s725ms 1s454ms 13 13 18s797ms 1s445ms 14 6 8s484ms 1s414ms 15 7 9s977ms 1s425ms 16 7 9s927ms 1s418ms 17 13 18s915ms 1s455ms 18 4 5s726ms 1s431ms 19 5 6s991ms 1s398ms 20 7 10s93ms 1s441ms 21 18 25s750ms 1s430ms 22 14 20s386ms 1s456ms 23 11 16s45ms 1s458ms Jun 02 00 5 7s629ms 1s525ms 01 13 18s896ms 1s453ms 02 14 20s273ms 1s448ms 03 16 23s433ms 1s464ms 04 17 24s220ms 1s424ms 05 10 15s24ms 1s502ms 06 8 11s408ms 1s426ms 07 9 12s758ms 1s417ms 08 5 7s321ms 1s464ms 09 12 17s319ms 1s443ms 10 12 17s103ms 1s425ms 11 12 17s55ms 1s421ms 12 10 14s339ms 1s433ms 13 7 10s252ms 1s464ms 14 13 18s87ms 1s391ms 15 3 4s238ms 1s412ms 16 14 19s788ms 1s413ms 17 13 19s976ms 1s536ms 18 12 17s109ms 1s425ms 19 14 20s54ms 1s432ms 20 10 14s88ms 1s408ms 21 5 6s961ms 1s392ms 22 10 15s226ms 1s522ms 23 8 13s377ms 1s672ms Jun 03 00 14 20s922ms 1s494ms 01 9 13s941ms 1s549ms 02 10 15s989ms 1s598ms 03 12 18s434ms 1s536ms 04 13 19s673ms 1s513ms 05 8 11s997ms 1s499ms 06 14 22s672ms 1s619ms 07 11 18s902ms 1s718ms 08 2 2s893ms 1s446ms 09 1 1s416ms 1s416ms 10 1 1s449ms 1s449ms 11 8 11s562ms 1s445ms 12 12 17s132ms 1s427ms 13 7 9s836ms 1s405ms 14 9 12s797ms 1s421ms 15 8 11s125ms 1s390ms 16 7 10s511ms 1s501ms 18 11 15s603ms 1s418ms 19 12 16s705ms 1s392ms 20 16 22s227ms 1s389ms 21 15 21s117ms 1s407ms 22 6 8s555ms 1s425ms 23 12 17s85ms 1s423ms Jun 04 00 11 15s620ms 1s420ms 01 13 18s589ms 1s429ms 02 15 21s678ms 1s445ms 03 16 23s223ms 1s451ms 04 6 8s630ms 1s438ms 05 16 23s396ms 1s462ms 06 14 19s723ms 1s408ms 07 10 14s314ms 1s431ms 08 4 5s681ms 1s420ms 09 21 30s256ms 1s440ms 10 13 18s567ms 1s428ms 11 25 36s386ms 1s455ms 12 13 18s508ms 1s423ms 13 6 8s518ms 1s419ms 14 11 15s326ms 1s393ms 15 9 12s595ms 1s399ms 16 13 18s318ms 1s409ms 17 4 5s518ms 1s379ms 18 3 4s266ms 1s422ms 19 19 27s102ms 1s426ms 20 10 14s34ms 1s403ms 21 15 20s625ms 1s375ms 22 8 11s400ms 1s425ms 23 13 18s478ms 1s421ms Jun 05 00 10 14s210ms 1s421ms 01 14 20s200ms 1s442ms 02 17 24s64ms 1s415ms 03 15 21s326ms 1s421ms 04 15 22s335ms 1s489ms 05 17 24s461ms 1s438ms 06 8 11s306ms 1s413ms 07 15 21s413ms 1s427ms 08 3 4s355ms 1s451ms 09 10 14s334ms 1s433ms 10 16 22s805ms 1s425ms 11 11 15s640ms 1s421ms 12 10 14s981ms 1s498ms 13 13 18s339ms 1s410ms 14 10 15s316ms 1s531ms 15 12 17s821ms 1s485ms 16 11 16s92ms 1s462ms 17 9 14s63ms 1s562ms 18 9 13s788ms 1s532ms 19 9 18s876ms 2s97ms 20 14 19s696ms 1s406ms 21 10 14s18ms 1s401ms 22 7 10s229ms 1s461ms 23 5 7s997ms 1s599ms Jun 06 00 15 22s841ms 1s522ms 01 16 24s413ms 1s525ms 02 7 11s897ms 1s699ms 03 7 10s12ms 1s430ms 05 4 5s646ms 1s411ms 06 1 1s438ms 1s438ms 07 8 11s889ms 1s486ms 08 15 21s314ms 1s420ms 09 13 18s39ms 1s387ms 10 7 9s645ms 1s377ms 11 16 22s908ms 1s431ms 12 9 12s506ms 1s389ms 13 10 16s33ms 1s603ms 14 10 13s736ms 1s373ms 15 8 10s699ms 1s337ms 16 10 14s232ms 1s423ms 18 1 1s353ms 1s353ms 19 8 10s912ms 1s364ms 20 11 15s723ms 1s429ms 21 4 5s819ms 1s454ms 22 8 11s590ms 1s448ms 23 5 7s211ms 1s442ms Jun 07 00 6 8s590ms 1s431ms 01 1 1s417ms 1s417ms 02 6 9s30ms 1s505ms 03 3 4s363ms 1s454ms 04 4 6s585ms 1s646ms 05 2 3s121ms 1s560ms 06 3 4s266ms 1s422ms 07 5 7s514ms 1s502ms 08 6 8s727ms 1s454ms 09 2 2s970ms 1s485ms 10 2 2s866ms 1s433ms 11 4 5s763ms 1s440ms 13 2 2s882ms 1s441ms 14 5 7s329ms 1s465ms 15 1 1s522ms 1s522ms 16 5 7s481ms 1s496ms 18 1 1s410ms 1s410ms 19 2 2s874ms 1s437ms 20 1 1s453ms 1s453ms 21 2 3s37ms 1s518ms 22 2 3s15ms 1s507ms 23 2 2s934ms 1s467ms [ User: pubeu - Total duration: 5m20s - Times executed: 211 ]
-
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 = '2103796') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2103796') 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: 2025-06-05 19:07:49 Duration: 6s843ms 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 = '2104673') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2104673') 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: 2025-06-06 13:13:48 Duration: 3s615ms 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 = '2100110') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2100110') 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: 2025-06-03 07:33:42 Duration: 3s90ms Database: ctdprd51 User: pubeu Bind query: yes
16 30m54s 25 1m8s 1m24s 1m14s 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 #16
Day Hour Count Duration Avg duration Jun 01 06 1 1m8s 1m8s 10 1 1m8s 1m8s 14 1 1m8s 1m8s 18 1 1m8s 1m8s Jun 02 06 1 1m10s 1m10s 10 1 1m10s 1m10s 14 1 1m12s 1m12s 18 1 1m11s 1m11s Jun 03 06 1 1m24s 1m24s 10 1 1m14s 1m14s 14 1 1m12s 1m12s 18 1 1m13s 1m13s Jun 04 06 1 1m15s 1m15s 10 1 1m14s 1m14s 14 1 1m15s 1m15s 18 1 1m14s 1m14s Jun 05 06 1 1m16s 1m16s 10 1 1m15s 1m15s 14 1 1m16s 1m16s 18 1 1m18s 1m18s Jun 06 06 1 1m17s 1m17s 10 1 1m16s 1m16s 14 1 1m17s 1m17s 18 1 1m15s 1m15s Jun 07 20 1 1m16s 1m16s [ User: postgres - Total duration: 18m51s - Times executed: 15 ]
[ Application: pg_dump - Total duration: 18m51s - Times executed: 15 ]
-
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: 2025-06-03 06:06:27 Duration: 1m24s 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: 2025-06-05 18:06:21 Duration: 1m18s 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: 2025-06-06 06:06:19 Duration: 1m17s Database: ctdprd51 User: postgres Application: pg_dump
17 28m52s 294 1s2ms 21s45ms 5s891ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where phenotypeterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and associatedterm.object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jun 01 22 5 40s298ms 8s59ms 23 1 1s113ms 1s113ms Jun 02 04 1 1s54ms 1s54ms 12 1 1s183ms 1s183ms 13 3 3s370ms 1s123ms 14 1 1s150ms 1s150ms 16 2 2s404ms 1s202ms 17 5 1m13s 14s702ms 18 2 19s910ms 9s955ms 20 1 1s137ms 1s137ms 21 3 3s387ms 1s129ms 22 4 21s537ms 5s384ms 23 2 20s361ms 10s180ms Jun 03 00 4 21s10ms 5s252ms 01 4 21s553ms 5s388ms 02 4 21s339ms 5s334ms 03 5 1m1s 12s357ms 04 5 22s826ms 4s565ms 05 2 19s91ms 9s545ms 06 5 9s64ms 1s812ms 07 3 37s656ms 12s552ms 08 1 1s162ms 1s162ms 09 3 11s189ms 3s729ms 10 1 1s698ms 1s698ms 11 4 17s659ms 4s414ms 12 1 1s618ms 1s618ms 13 2 11s2ms 5s501ms 14 5 24s917ms 4s983ms 15 1 2s653ms 2s653ms 16 2 13s406ms 6s703ms 17 3 12s394ms 4s131ms 18 2 16s539ms 8s269ms 19 1 6s431ms 6s431ms 21 3 34s346ms 11s448ms 23 2 2s444ms 1s222ms Jun 04 03 2 20s19ms 10s9ms 04 1 18s4ms 18s4ms 05 2 2s663ms 1s331ms 07 2 5s906ms 2s953ms 09 3 8s694ms 2s898ms 10 2 21s137ms 10s568ms 11 2 20s907ms 10s453ms 12 2 18s529ms 9s264ms 13 2 13s242ms 6s621ms 14 3 22s326ms 7s442ms 15 1 11s465ms 11s465ms 16 2 2s833ms 1s416ms 17 4 16s 4s 18 3 7s106ms 2s368ms 19 2 23s86ms 11s543ms 20 1 3s619ms 3s619ms 23 2 12s757ms 6s378ms Jun 05 00 5 32s259ms 6s451ms 01 2 13s646ms 6s823ms 02 1 1s124ms 1s124ms 03 1 4s437ms 4s437ms 05 2 29s157ms 14s578ms 06 2 29s506ms 14s753ms 07 1 1s107ms 1s107ms 08 1 1s165ms 1s165ms 09 3 7s168ms 2s389ms 10 3 20s639ms 6s879ms 11 1 1s84ms 1s84ms 12 1 2s659ms 2s659ms 13 4 31s265ms 7s816ms 15 8 1m22s 10s322ms 16 2 3s904ms 1s952ms 17 4 7s 1s750ms 18 1 2s26ms 2s26ms 20 7 41s141ms 5s877ms 21 5 5s874ms 1s174ms 22 6 31s655ms 5s275ms 23 4 15s529ms 3s882ms Jun 06 00 4 56s297ms 14s74ms 01 4 9s740ms 2s435ms 02 7 1m19s 11s320ms 03 1 1s539ms 1s539ms 08 5 9s557ms 1s911ms 09 1 4s275ms 4s275ms 10 1 4s268ms 4s268ms 11 4 13s575ms 3s393ms 12 1 4s742ms 4s742ms 13 1 2s122ms 2s122ms 20 2 7s928ms 3s964ms 22 1 4s704ms 4s704ms 23 1 5s860ms 5s860ms Jun 07 00 2 2s315ms 1s157ms 01 1 17s468ms 17s468ms 02 2 10s119ms 5s59ms 03 1 5s704ms 5s704ms 04 1 1s99ms 1s99ms 05 3 10s9ms 3s336ms 06 3 26s862ms 8s954ms 07 2 7s847ms 3s923ms 08 4 34s643ms 8s660ms 09 3 16s833ms 5s611ms 10 2 35s582ms 17s791ms 11 3 4s746ms 1s582ms 12 2 3s588ms 1s794ms 13 5 43s601ms 8s720ms 14 4 10s126ms 2s531ms 15 3 3s393ms 1s131ms 16 2 13s196ms 6s598ms 17 1 18s105ms 18s105ms 18 2 2s178ms 1s89ms 19 5 6s381ms 1s276ms 20 5 26s31ms 5s206ms 21 2 19s420ms 9s710ms 22 5 9s796ms 1s959ms 23 4 43s765ms 10s941ms [ User: pubeu - Total duration: 5m14s - Times executed: 55 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1234207'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-06-03 03:08:56 Duration: 21s45ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1234207'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-06-06 02:43:02 Duration: 20s698ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1234207'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-06-06 02:26:14 Duration: 19s665ms Bind query: yes
18 26m27s 426 1s2ms 7s990ms 3s725ms select ii.cd, count(ii.id) cnt from ( select ot.cd, tl.term_id id from object_type ot inner join term_label tl on ot.id = tl.object_type_id where tl.nm_fts @@ to_tsquery(?, ?) union select ?, r.id from reference r where r.title_abstract_fts @@ to_tsquery(?, ?) or r.id in ( select rpr.reference_id from reference_party_role rpr inner join reference_party rp on rpr.reference_party_id = rp.id where (substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ?)) union select ot.cd, l.object_id from db_link l inner join object_type ot on l.object_type_id = ot.id where l.type_cd = ? and (upper(l.acc_txt) like ?)) ii group by ii.cd;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jun 01 00 2 11s408ms 5s704ms 02 2 11s531ms 5s765ms 03 1 6s1ms 6s1ms 04 3 12s631ms 4s210ms 05 7 22s123ms 3s160ms 06 1 1s137ms 1s137ms 07 1 5s740ms 5s740ms 08 3 7s918ms 2s639ms 09 2 11s397ms 5s698ms 10 2 11s491ms 5s745ms 11 2 11s429ms 5s714ms 12 3 12s542ms 4s180ms 13 2 6s738ms 3s369ms 14 1 5s696ms 5s696ms 15 2 11s556ms 5s778ms 16 1 5s671ms 5s671ms 17 5 24s423ms 4s884ms 18 1 5s730ms 5s730ms 21 1 5s703ms 5s703ms 22 3 12s937ms 4s312ms 23 1 1s17ms 1s17ms Jun 02 00 1 1s125ms 1s125ms 01 6 16s354ms 2s725ms 02 5 19s494ms 3s898ms 03 2 11s464ms 5s732ms 04 4 13s477ms 3s369ms 05 1 1s22ms 1s22ms 06 5 19s834ms 3s966ms 07 3 7s902ms 2s634ms 08 1 5s838ms 5s838ms 11 1 5s753ms 5s753ms 12 7 31s190ms 4s455ms 13 5 15s239ms 3s47ms 14 5 14s903ms 2s980ms 15 4 8s909ms 2s227ms 16 3 3s878ms 1s292ms 17 1 5s747ms 5s747ms 18 3 7s826ms 2s608ms 19 3 17s645ms 5s881ms 20 6 26s280ms 4s380ms 22 2 2s156ms 1s78ms 23 6 11s775ms 1s962ms Jun 03 00 7 28s156ms 4s22ms 01 2 11s728ms 5s864ms 02 11 41s237ms 3s748ms 03 4 9s242ms 2s310ms 04 1 1s371ms 1s371ms 05 2 3s739ms 1s869ms 06 6 12s713ms 2s118ms 07 4 19s48ms 4s762ms 08 1 5s711ms 5s711ms 10 1 5s736ms 5s736ms 11 3 7s955ms 2s651ms 12 2 6s844ms 3s422ms 13 1 1s29ms 1s29ms 14 1 5s824ms 5s824ms 15 1 1s109ms 1s109ms 16 1 5s638ms 5s638ms 17 1 5s626ms 5s626ms 18 4 22s645ms 5s661ms 19 5 14s916ms 2s983ms 20 5 18s893ms 3s778ms 21 19 1m7s 3s572ms 22 3 17s67ms 5s689ms 23 5 24s311ms 4s862ms Jun 04 02 3 8s290ms 2s763ms 03 1 1s122ms 1s122ms 04 9 43s268ms 4s807ms 05 4 18s883ms 4s720ms 06 3 3s416ms 1s138ms 07 3 7s978ms 2s659ms 08 1 1s53ms 1s53ms 09 2 6s745ms 3s372ms 10 4 4s692ms 1s173ms 11 7 23s707ms 3s386ms 12 3 12s665ms 4s221ms 13 2 2s121ms 1s60ms 15 4 4s717ms 1s179ms 16 2 6s782ms 3s391ms 17 4 13s539ms 3s384ms 19 6 34s590ms 5s765ms 20 4 9s117ms 2s279ms 21 3 12s554ms 4s184ms 22 5 14s814ms 2s962ms 23 2 11s589ms 5s794ms Jun 05 00 2 7s32ms 3s516ms 01 7 30s821ms 4s403ms 02 7 35s387ms 5s55ms 03 9 28s747ms 3s194ms 04 5 14s465ms 2s893ms 05 2 6s822ms 3s411ms 06 1 5s752ms 5s752ms 07 4 18s415ms 4s603ms 08 3 17s319ms 5s773ms 09 3 12s668ms 4s222ms 10 3 3s373ms 1s124ms 11 2 11s327ms 5s663ms 12 3 8s134ms 2s711ms 13 3 12s633ms 4s211ms 14 3 17s282ms 5s760ms 15 6 29s817ms 4s969ms 16 2 7s160ms 3s580ms 17 3 12s565ms 4s188ms 18 1 1s488ms 1s488ms 19 2 2s100ms 1s50ms 20 5 16s485ms 3s297ms 21 6 17s842ms 2s973ms 22 2 2s533ms 1s266ms 23 4 19s23ms 4s755ms Jun 06 00 6 17s872ms 2s978ms 01 4 13s888ms 3s472ms 02 5 10s977ms 2s195ms 03 2 12s298ms 6s149ms 04 1 5s658ms 5s658ms 07 2 2s298ms 1s149ms 08 4 22s743ms 5s685ms 09 5 19s939ms 3s987ms 10 3 12s667ms 4s222ms 11 2 11s323ms 5s661ms 12 1 5s623ms 5s623ms 13 1 1s245ms 1s245ms 14 3 12s518ms 4s172ms 15 1 5s575ms 5s575ms 16 3 17s223ms 5s741ms 17 1 1s144ms 1s144ms 18 1 5s659ms 5s659ms 19 1 5s681ms 5s681ms 22 1 5s687ms 5s687ms Jun 07 01 4 5s388ms 1s347ms 10 1 5s792ms 5s792ms 12 2 2s61ms 1s30ms 16 1 6s176ms 6s176ms 21 1 5s685ms 5s685ms [ User: pubeu - Total duration: 5m4s - Times executed: 91 ]
-
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', 'DSIM_GLEANR_5678') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'DSIM_GLEANR_5678') 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 'DSIM_GLEANR_5678')) 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 'DSIM_GLEANR_5678')) ii GROUP BY ii.cd;
Date: 2025-06-04 11:28:44 Duration: 7s990ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'TJP2_1') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'TJP2_1') 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 'TJP2_1')) 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 'TJP2_1')) ii GROUP BY ii.cd;
Date: 2025-06-06 00:55:41 Duration: 7s34ms Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'DAG1_0') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'DAG1_0') 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 'DAG1_0')) 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 'DAG1_0')) ii GROUP BY ii.cd;
Date: 2025-06-03 00:56:42 Duration: 6s807ms Database: ctdprd51 User: pubeu Bind query: yes
19 25m41s 1 25m41s 25m41s 25m41s 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 #19
Day Hour Count Duration Avg duration Jun 07 19 1 25m41s 25m41s -
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: 2025-06-07 19:03:04 Duration: 25m41s
20 25m21s 380 1s2ms 8s764ms 4s4ms 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 #20
Day Hour Count Duration Avg duration Jun 01 01 2 7s34ms 3s517ms 02 4 13s488ms 3s372ms 05 7 7s584ms 1s83ms 06 3 3s297ms 1s99ms 07 1 1s102ms 1s102ms 08 1 1s186ms 1s186ms 11 1 5s876ms 5s876ms 13 1 1s343ms 1s343ms 14 1 6s 6s 17 1 5s940ms 5s940ms 20 2 11s856ms 5s928ms 21 1 1s58ms 1s58ms 22 16 1m16s 4s794ms 23 5 29s115ms 5s823ms Jun 02 00 3 7s629ms 2s543ms 01 1 1s121ms 1s121ms 03 2 12s504ms 6s252ms 05 9 26s617ms 2s957ms 07 1 5s642ms 5s642ms 09 2 11s535ms 5s767ms 10 1 6s129ms 6s129ms 13 1 5s551ms 5s551ms 16 12 49s151ms 4s95ms 19 3 18s982ms 6s327ms 21 1 6s583ms 6s583ms 23 1 6s280ms 6s280ms Jun 03 00 1 6s208ms 6s208ms 02 2 12s123ms 6s61ms 03 3 19s438ms 6s479ms 05 6 7s928ms 1s321ms 06 1 6s193ms 6s193ms 08 1 5s842ms 5s842ms 10 6 32s878ms 5s479ms 11 1 5s256ms 5s256ms 19 2 12s961ms 6s480ms 21 2 6s530ms 3s265ms 22 1 1s40ms 1s40ms 23 2 6s492ms 3s246ms Jun 04 02 2 7s651ms 3s825ms 03 2 6s376ms 3s188ms 04 2 13s82ms 6s541ms 05 8 15s74ms 1s884ms 06 2 12s415ms 6s207ms 11 1 5s926ms 5s926ms 12 1 1s78ms 1s78ms 15 1 6s102ms 6s102ms 18 4 13s918ms 3s479ms 19 7 26s708ms 3s815ms 20 1 5s197ms 5s197ms 21 2 10s314ms 5s157ms 22 7 30s441ms 4s348ms 23 15 1m7s 4s532ms Jun 05 00 8 34s709ms 4s338ms 01 7 32s27ms 4s575ms 03 9 56s498ms 6s277ms 04 3 17s598ms 5s866ms 05 7 8s21ms 1s145ms 06 1 1s77ms 1s77ms 08 7 28s904ms 4s129ms 09 10 44s754ms 4s475ms 10 2 8s310ms 4s155ms 11 2 6s706ms 3s353ms 12 1 1s270ms 1s270ms 13 1 5s668ms 5s668ms 20 1 1s37ms 1s37ms 21 6 28s477ms 4s746ms 22 15 1m4s 4s330ms 23 2 7s100ms 3s550ms Jun 06 00 2 6s931ms 3s465ms 02 3 3s415ms 1s138ms 05 3 3s44ms 1s14ms 07 6 11s234ms 1s872ms 08 1 1s3ms 1s3ms 10 1 6s293ms 6s293ms 16 4 9s505ms 2s376ms 19 1 1s68ms 1s68ms 21 1 1s63ms 1s63ms Jun 07 01 1 5s704ms 5s704ms 03 6 24s828ms 4s138ms 04 19 1m14s 3s944ms 05 6 6s754ms 1s125ms 07 1 6s201ms 6s201ms 12 4 22s786ms 5s696ms 13 8 30s543ms 3s817ms 14 20 1m27s 4s354ms 16 1 6s30ms 6s30ms 17 1 1s111ms 1s111ms 18 18 1m20s 4s464ms 20 3 8s263ms 2s754ms 21 4 19s270ms 4s817ms 22 7 31s719ms 4s531ms 23 11 50s828ms 4s620ms [ User: pubeu - Total duration: 2m36s - Times executed: 39 ]
[ User: qaeu - Total duration: 7s927ms - Times executed: 6 ]
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1454976' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-06-05 22:30:44 Duration: 8s764ms 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 = '1304187' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-06-05 21:56:35 Duration: 7s604ms 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 = '1287927' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-06-04 05:14:44 Duration: 7s538ms Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 241,501 4d5h4m19s 1s305ms 6s695ms 1s506ms 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 #1
Day Hour Count Duration Avg duration Jun 01 00 41 1m 1s477ms 01 67 1m39s 1s491ms 02 56 1m22s 1s474ms 03 58 1m25s 1s469ms 04 67 1m37s 1s456ms 05 56 1m23s 1s488ms 06 66 1m37s 1s479ms 07 64 1m35s 1s494ms 08 44 1m5s 1s483ms 09 64 1m35s 1s499ms 10 71 1m45s 1s485ms 11 85 2m5s 1s482ms 12 109 2m40s 1s475ms 13 123 3m4s 1s496ms 14 132 3m15s 1s478ms 15 140 3m29s 1s493ms 16 134 3m19s 1s491ms 17 148 3m40s 1s486ms 18 187 4m36s 1s476ms 19 141 3m29s 1s486ms 20 157 3m51s 1s477ms 21 186 4m36s 1s487ms 22 183 4m32s 1s490ms 23 228 5m35s 1s470ms Jun 02 00 269 6m36s 1s473ms 01 271 6m49s 1s509ms 02 317 7m51s 1s487ms 03 355 9m4s 1s532ms 04 378 9m22s 1s488ms 05 492 12m17s 1s499ms 06 498 12m20s 1s486ms 07 588 14m32s 1s483ms 08 619 15m24s 1s494ms 09 682 16m56s 1s490ms 10 852 21m20s 1s503ms 11 992 24m31s 1s483ms 12 1,045 25m56s 1s489ms 13 1,392 34m40s 1s494ms 14 1,436 35m28s 1s482ms 15 1,634 40m57s 1s503ms 16 1,716 43m37s 1s525ms 17 2,279 56m48s 1s495ms 18 2,637 1h6m14s 1s507ms 19 2,774 1h9m18s 1s499ms 20 3,700 1h32m50s 1s505ms 21 3,864 1h36m36s 1s500ms 22 3,859 1h36m2s 1s493ms 23 4,386 1h51m26s 1s524ms Jun 03 00 5,221 2h12m5s 1s518ms 01 5,569 2h22m24s 1s534ms 02 5,477 2h22m 1s555ms 03 5,909 2h35m10s 1s575ms 04 5,529 2h22m54s 1s550ms 05 1,306 34m35s 1s589ms 06 5,645 2h46m26s 1s769ms 07 4,412 1h52m37s 1s531ms 08 1,968 49m24s 1s506ms 09 116 2m48s 1s450ms 10 104 2m33s 1s476ms 11 80 1m57s 1s473ms 12 137 3m21s 1s469ms 13 112 2m44s 1s469ms 14 118 2m54s 1s477ms 15 121 2m58s 1s474ms 16 143 3m25s 1s435ms 17 152 3m38s 1s435ms 18 156 3m49s 1s473ms 19 183 4m26s 1s456ms 20 167 4m4s 1s462ms 21 157 3m55s 1s499ms 22 162 3m54s 1s447ms 23 196 4m50s 1s480ms Jun 04 00 176 4m26s 1s512ms 01 186 4m41s 1s513ms 02 197 4m54s 1s493ms 03 191 4m44s 1s489ms 04 220 5m34s 1s521ms 05 202 5m2s 1s496ms 06 180 4m29s 1s497ms 07 173 4m18s 1s495ms 08 205 5m2s 1s474ms 09 210 5m18s 1s515ms 10 208 5m11s 1s499ms 11 219 5m29s 1s505ms 12 259 6m32s 1s514ms 13 347 8m38s 1s493ms 14 271 6m45s 1s497ms 15 315 7m52s 1s499ms 16 339 8m27s 1s498ms 17 295 7m15s 1s475ms 18 333 8m11s 1s474ms 19 360 8m56s 1s489ms 20 374 9m12s 1s478ms 21 388 9m21s 1s447ms 22 364 9m2s 1s491ms 23 411 10m 1s461ms Jun 05 00 464 11m18s 1s461ms 01 519 13m1s 1s506ms 02 547 13m37s 1s494ms 03 611 15m7s 1s485ms 04 701 17m30s 1s499ms 05 816 20m20s 1s496ms 06 866 21m23s 1s482ms 07 1,105 27m26s 1s490ms 08 1,347 33m22s 1s486ms 09 1,374 34m31s 1s507ms 10 1,749 43m44s 1s500ms 11 2,069 51m11s 1s484ms 12 2,344 58m30s 1s497ms 13 3,204 1h19m16s 1s484ms 14 3,369 1h23m50s 1s493ms 15 3,758 1h32m27s 1s476ms 16 4,100 1h41m17s 1s482ms 17 4,828 2h1m6s 1s504ms 18 4,730 2h3m12s 1s562ms 19 5,291 2h11m2s 1s485ms 20 6,136 2h34m47s 1s513ms 21 5,773 2h30m18s 1s562ms 22 5,901 2h27m59s 1s504ms 23 5,668 2h20m25s 1s486ms Jun 06 00 6,121 2h33m29s 1s504ms 01 5,985 2h31m5s 1s514ms 02 5,594 2h23m2s 1s534ms 03 2,854 1h11m38s 1s506ms 04 6 8s751ms 1s458ms 05 382 9m12s 1s445ms 06 257 6m24s 1s497ms 07 311 7m44s 1s492ms 08 5 7s101ms 1s420ms 09 3 4s406ms 1s468ms 10 5 7s348ms 1s469ms 11 14 20s607ms 1s471ms 12 245 5m56s 1s454ms 13 206 5m1s 1s461ms 14 199 4m48s 1s449ms 15 147 3m31s 1s435ms 16 188 4m30s 1s440ms 17 10 14s22ms 1s402ms 18 88 2m7s 1s451ms 19 473 11m20s 1s438ms 20 217 5m8s 1s421ms 21 239 5m47s 1s452ms 22 328 7m53s 1s445ms 23 303 7m20s 1s452ms Jun 07 00 372 8m56s 1s443ms 01 406 9m55s 1s465ms 02 476 11m38s 1s467ms 03 294 7m6s 1s452ms 04 360 8m47s 1s463ms 05 450 10m54s 1s455ms 06 569 13m45s 1s450ms 07 723 17m35s 1s459ms 08 886 21m34s 1s460ms 09 961 23m23s 1s460ms 10 1,330 32m34s 1s469ms 11 1,689 41m2s 1s457ms 12 1,911 45m53s 1s440ms 13 2,343 57m15s 1s466ms 14 2,941 1h11m30s 1s458ms 15 3,288 1h19m47s 1s455ms 16 4,418 1h47m32s 1s460ms 17 4,494 1h50m15s 1s472ms 18 5,380 2h12m29s 1s477ms 19 5,557 2h17m33s 1s485ms 20 5,594 2h17m2s 1s469ms 21 6,041 2h28m35s 1s475ms 22 5,416 2h12m54s 1s472ms 23 4,947 2h2m12s 1s482ms [ User: pubeu - Total duration: 16h35m24s - Times executed: 37769 ]
-
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: 2025-06-03 06:23:27 Duration: 6s695ms 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: 2025-06-05 18:06:59 Duration: 6s481ms 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: 2025-06-03 06:23:27 Duration: 6s424ms Database: ctdprd51 User: pubeu Bind query: yes
2 22,249 8h6m42s 1s158ms 8s672ms 1s312ms 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 Jun 01 00 136 2m57s 1s308ms 01 123 2m41s 1s314ms 02 158 3m29s 1s325ms 03 140 3m3s 1s310ms 04 164 3m36s 1s321ms 05 156 3m27s 1s331ms 06 128 2m47s 1s306ms 07 121 2m36s 1s294ms 08 125 2m42s 1s298ms 09 132 2m52s 1s305ms 10 183 3m59s 1s309ms 11 147 3m10s 1s298ms 12 155 3m22s 1s304ms 13 143 3m6s 1s301ms 14 166 3m33s 1s287ms 15 142 3m4s 1s300ms 16 154 3m18s 1s291ms 17 133 2m51s 1s291ms 18 63 1m20s 1s284ms 19 137 2m56s 1s291ms 20 152 3m14s 1s281ms 21 173 3m43s 1s289ms 22 177 3m53s 1s320ms 23 137 2m59s 1s309ms Jun 02 00 118 2m34s 1s308ms 01 139 3m5s 1s333ms 02 145 3m10s 1s313ms 03 152 3m25s 1s350ms 04 172 3m41s 1s289ms 05 167 3m41s 1s323ms 06 155 3m20s 1s293ms 07 139 2m59s 1s294ms 08 169 3m39s 1s300ms 09 143 3m6s 1s301ms 10 135 2m56s 1s306ms 11 160 3m25s 1s284ms 12 166 3m35s 1s295ms 13 144 3m8s 1s309ms 14 129 2m44s 1s272ms 15 153 3m17s 1s291ms 16 148 3m13s 1s308ms 17 140 3m4s 1s317ms 18 154 3m19s 1s295ms 19 185 3m59s 1s296ms 20 154 3m21s 1s306ms 21 105 2m19s 1s324ms 22 153 3m24s 1s334ms 23 169 4m34s 1s623ms Jun 03 00 157 3m30s 1s343ms 01 148 3m31s 1s425ms 02 166 3m49s 1s382ms 03 167 3m56s 1s418ms 04 195 4m26s 1s364ms 05 51 1m12s 1s418ms 06 205 6m15s 1s830ms 07 118 2m39s 1s350ms 08 19 24s653ms 1s297ms 09 10 12s565ms 1s256ms 10 5 6s309ms 1s261ms 11 92 1m59s 1s295ms 12 168 3m36s 1s286ms 13 192 4m5s 1s278ms 14 160 3m24s 1s275ms 15 188 4m6s 1s311ms 16 42 53s105ms 1s264ms 17 5 6s198ms 1s239ms 18 191 4m1s 1s266ms 19 197 4m8s 1s261ms 20 185 3m53s 1s259ms 21 182 3m51s 1s270ms 22 100 2m8s 1s287ms 23 174 3m48s 1s310ms Jun 04 00 204 4m29s 1s321ms 01 176 3m48s 1s298ms 02 211 4m35s 1s304ms 03 189 4m5s 1s301ms 04 204 4m29s 1s322ms 05 199 4m18s 1s298ms 06 179 3m48s 1s279ms 07 114 2m26s 1s284ms 08 61 1m17s 1s271ms 09 194 4m10s 1s292ms 10 194 4m6s 1s273ms 11 197 4m17s 1s308ms 12 188 4m10s 1s329ms 13 173 3m40s 1s273ms 14 184 3m55s 1s279ms 15 226 4m49s 1s279ms 16 180 3m50s 1s281ms 17 111 2m20s 1s266ms 18 90 1m56s 1s296ms 19 190 4m3s 1s283ms 20 193 4m6s 1s275ms 21 198 4m10s 1s265ms 22 212 4m36s 1s302ms 23 180 3m50s 1s283ms Jun 05 00 217 4m40s 1s290ms 01 206 4m29s 1s309ms 02 181 3m55s 1s303ms 03 210 4m32s 1s297ms 04 204 4m25s 1s300ms 05 191 4m7s 1s297ms 06 155 3m18s 1s281ms 07 184 3m56s 1s283ms 08 171 3m39s 1s283ms 09 177 3m51s 1s309ms 10 185 3m58s 1s287ms 11 189 4m 1s271ms 12 173 3m41s 1s280ms 13 180 3m48s 1s267ms 14 174 3m45s 1s294ms 15 186 4m2s 1s304ms 16 176 3m47s 1s291ms 17 177 3m50s 1s302ms 18 182 4m35s 1s513ms 19 184 4m 1s307ms 20 179 4m7s 1s382ms 21 197 4m35s 1s398ms 22 118 2m43s 1s381ms 23 114 2m34s 1s357ms Jun 06 00 185 4m6s 1s334ms 01 177 3m59s 1s350ms 02 198 4m46s 1s445ms 03 87 1m57s 1s346ms 04 4 4s903ms 1s225ms 05 25 31s915ms 1s276ms 06 28 35s64ms 1s252ms 07 149 3m13s 1s297ms 08 170 3m34s 1s262ms 09 169 3m40s 1s306ms 10 164 3m25s 1s253ms 11 134 2m55s 1s312ms 12 125 2m36s 1s253ms 13 167 3m30s 1s257ms 14 175 3m35s 1s232ms 15 122 2m30s 1s229ms 16 133 2m51s 1s289ms 17 10 12s876ms 1s287ms 18 38 45s799ms 1s205ms 19 91 1m55s 1s263ms 20 134 2m53s 1s294ms 21 134 2m54s 1s303ms 22 111 2m23s 1s294ms 23 81 1m45s 1s304ms Jun 07 00 71 1m32s 1s301ms 01 39 51s187ms 1s312ms 02 22 28s974ms 1s317ms 03 49 1m3s 1s290ms 04 30 38s917ms 1s297ms 05 12 16s268ms 1s355ms 06 25 32s531ms 1s301ms 07 37 48s297ms 1s305ms 08 18 23s765ms 1s320ms 09 29 38s403ms 1s324ms 10 29 39s98ms 1s348ms 11 39 50s917ms 1s305ms 12 21 27s151ms 1s292ms 13 34 44s509ms 1s309ms 14 26 33s628ms 1s293ms 15 19 24s988ms 1s315ms 16 44 57s942ms 1s316ms 17 23 31s423ms 1s366ms 18 23 29s336ms 1s275ms 19 10 13s367ms 1s336ms 20 15 19s919ms 1s327ms 21 48 1m3s 1s321ms 22 42 58s36ms 1s381ms 23 20 26s797ms 1s339ms [ User: pubeu - Total duration: 1h6m36s - Times executed: 2932 ]
-
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 = '2084817' or receptorTerm.id = '2084817' 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: 2025-06-05 18:06:55 Duration: 8s672ms 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 = '1835062' or receptorTerm.id = '1835062' 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: 2025-06-05 18:07:00 Duration: 8s456ms 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 = '1761516' or receptorTerm.id = '1761516' 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: 2025-06-05 18:06:51 Duration: 7s956ms Bind query: yes
3 14,594 6h26m42s 1s511ms 5s134ms 1s589ms select coalesce(d.abbr_display, d.nm_display) nm # ?, d.description # ?, coalesce(d.abbr, d.nm) anchor # ?, get_homepage_url (d.id) url # ? from db d # ? where d.id in (# ? select l.db_id # ? from db_link l # ? where l.type_cd = ? # ? and l.object_type_id = ?) # ? order by ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jun 01 00 88 2m17s 1s564ms 01 97 2m32s 1s571ms 02 94 2m27s 1s565ms 03 101 2m38s 1s570ms 04 117 3m3s 1s566ms 05 142 3m43s 1s574ms 06 102 2m42s 1s589ms 07 74 1m56s 1s569ms 08 73 1m54s 1s567ms 09 110 2m52s 1s566ms 10 136 3m33s 1s572ms 11 131 3m25s 1s568ms 12 186 4m52s 1s572ms 13 186 4m54s 1s582ms 14 199 5m13s 1s577ms 15 164 4m18s 1s573ms 16 190 5m 1s580ms 17 169 4m26s 1s575ms 18 157 4m5s 1s564ms 19 175 4m35s 1s574ms 20 190 4m59s 1s575ms 21 181 4m45s 1s575ms 22 178 4m41s 1s583ms 23 159 4m10s 1s576ms Jun 02 00 155 4m4s 1s575ms 01 147 3m54s 1s597ms 02 176 4m37s 1s576ms 03 170 4m32s 1s600ms 04 188 4m56s 1s575ms 05 243 6m27s 1s595ms 06 162 4m14s 1s573ms 07 158 4m9s 1s577ms 08 174 4m35s 1s581ms 09 177 4m40s 1s584ms 10 175 4m37s 1s584ms 11 182 4m46s 1s576ms 12 148 3m52s 1s569ms 13 158 4m11s 1s591ms 14 165 4m21s 1s584ms 15 164 4m19s 1s584ms 16 187 4m59s 1s599ms 17 162 4m16s 1s586ms 18 185 4m54s 1s593ms 19 210 5m34s 1s592ms 20 207 5m35s 1s620ms 21 205 5m29s 1s608ms 22 201 5m20s 1s592ms 23 150 4m4s 1s629ms Jun 03 00 108 2m53s 1s609ms 01 110 3m1s 1s653ms 02 156 4m19s 1s660ms 03 136 3m46s 1s662ms 04 148 4m3s 1s642ms 05 41 1m8s 1s659ms 06 182 5m43s 1s885ms 07 190 5m8s 1s623ms 08 217 5m40s 1s568ms 09 177 4m36s 1s559ms 10 193 5m6s 1s585ms 11 161 4m12s 1s568ms 12 60 1m33s 1s566ms 13 46 1m11s 1s558ms 14 58 1m30s 1s564ms 15 38 59s244ms 1s559ms 16 67 1m44s 1s554ms 17 52 1m20s 1s544ms 18 65 1m42s 1s573ms 19 55 1m26s 1s567ms 20 68 1m46s 1s562ms 21 71 1m52s 1s582ms 22 74 1m55s 1s557ms 23 73 1m55s 1s580ms Jun 04 00 92 2m25s 1s584ms 01 80 2m5s 1s574ms 02 78 2m2s 1s571ms 03 89 2m20s 1s575ms 04 76 2m 1s587ms 05 83 2m11s 1s588ms 06 67 1m46s 1s589ms 07 74 1m56s 1s577ms 08 95 2m29s 1s577ms 09 92 2m26s 1s588ms 10 76 2m 1s579ms 11 90 2m22s 1s581ms 12 59 1m34s 1s600ms 13 64 1m40s 1s571ms 14 51 1m20s 1s576ms 15 50 1m18s 1s576ms 16 53 1m22s 1s565ms 17 76 1m58s 1s561ms 18 67 1m45s 1s573ms 19 66 1m43s 1s574ms 20 56 1m28s 1s574ms 21 56 1m27s 1s557ms 22 52 1m21s 1s561ms 23 68 1m47s 1s576ms Jun 05 00 70 1m49s 1s566ms 01 57 1m30s 1s584ms 02 63 1m39s 1s572ms 03 54 1m26s 1s600ms 04 65 1m44s 1s602ms 05 54 1m25s 1s577ms 06 56 1m28s 1s586ms 07 52 1m22s 1s577ms 08 53 1m24s 1s585ms 09 58 1m32s 1s590ms 10 62 1m38s 1s586ms 11 63 1m38s 1s568ms 12 65 1m42s 1s580ms 13 88 2m19s 1s580ms 14 65 1m43s 1s589ms 15 73 1m55s 1s583ms 16 74 1m57s 1s590ms 17 68 1m47s 1s586ms 18 70 1m52s 1s606ms 19 52 1m22s 1s593ms 20 72 1m56s 1s611ms 21 69 1m52s 1s624ms 22 65 1m47s 1s650ms 23 74 2m5s 1s695ms Jun 06 00 81 2m9s 1s604ms 01 62 1m39s 1s598ms 02 83 2m17s 1s659ms 03 32 52s300ms 1s634ms 05 3 4s744ms 1s581ms 06 1 1s575ms 1s575ms 07 60 1m35s 1s588ms 08 4 6s188ms 1s547ms 09 2 3s114ms 1s557ms 10 2 3s168ms 1s584ms 11 1 1s552ms 1s552ms 12 45 1m10s 1s572ms 13 30 48s309ms 1s610ms 14 33 53s194ms 1s611ms 15 29 45s537ms 1s570ms 16 31 48s752ms 1s572ms 17 1 1s586ms 1s586ms 18 2 3s106ms 1s553ms 19 28 43s730ms 1s561ms 20 40 1m2s 1s563ms 21 36 56s474ms 1s568ms 22 45 1m10s 1s566ms 23 45 1m12s 1s601ms Jun 07 00 50 1m17s 1s559ms 01 50 1m18s 1s568ms 02 54 1m24s 1s558ms 03 2 3s82ms 1s541ms 04 6 9s263ms 1s543ms 05 8 12s460ms 1s557ms 06 3 4s638ms 1s546ms 07 6 9s434ms 1s572ms 08 5 7s794ms 1s558ms 09 5 7s868ms 1s573ms 10 5 7s848ms 1s569ms 11 5 7s741ms 1s548ms 12 22 34s222ms 1s555ms 13 31 49s63ms 1s582ms 14 21 32s636ms 1s554ms 15 14 21s827ms 1s559ms 16 21 32s849ms 1s564ms 17 27 42s614ms 1s578ms 18 23 36s614ms 1s591ms 19 24 38s182ms 1s590ms 20 20 31s325ms 1s566ms 21 17 26s857ms 1s579ms 22 13 20s390ms 1s568ms 23 20 31s333ms 1s566ms [ User: pubeu - Total duration: 52m38s - Times executed: 1941 ]
[ User: qaeu - Total duration: 6s253ms - Times executed: 4 ]
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2025-06-03 06:23:26 Duration: 5s134ms Bind query: yes
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2025-06-03 06:14:28 Duration: 3s638ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2025-06-05 22:09:08 Duration: 3s468ms Bind query: yes
4 6,502 2h52m14s 1s328ms 19s659ms 1s589ms select ;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jun 01 08 1 1s583ms 1s583ms 16 1 1s827ms 1s827ms 17 1 1s623ms 1s623ms 18 1 1s659ms 1s659ms 19 1 1s780ms 1s780ms 23 1 1s610ms 1s610ms Jun 02 00 1 1s657ms 1s657ms 01 3 4s933ms 1s644ms 02 1 1s831ms 1s831ms 03 4 6s536ms 1s634ms 04 3 4s863ms 1s621ms 06 5 8s42ms 1s608ms 07 6 9s553ms 1s592ms 08 7 11s885ms 1s697ms 09 6 9s307ms 1s551ms 10 9 15s444ms 1s716ms 11 8 12s871ms 1s608ms 12 6 9s466ms 1s577ms 13 16 25s798ms 1s612ms 14 16 25s736ms 1s608ms 15 20 33s70ms 1s653ms 16 21 33s978ms 1s618ms 17 43 1m9s 1s617ms 18 36 58s775ms 1s632ms 19 57 1m31s 1s613ms 20 97 2m34s 1s588ms 21 115 3m3s 1s594ms 22 121 3m12s 1s591ms 23 116 3m6s 1s610ms Jun 03 00 197 5m14s 1s597ms 01 192 5m8s 1s608ms 02 165 4m26s 1s616ms 03 153 4m8s 1s623ms 04 164 4m26s 1s626ms 05 35 56s738ms 1s621ms 06 115 3m9s 1s651ms 07 147 4m 1s635ms 08 83 2m14s 1s622ms 17 1 1s535ms 1s535ms 18 1 1s686ms 1s686ms 21 1 1s708ms 1s708ms Jun 04 00 1 1s442ms 1s442ms 02 1 1s661ms 1s661ms 12 3 4s899ms 1s633ms 13 3 4s937ms 1s645ms 14 1 1s774ms 1s774ms 18 1 1s669ms 1s669ms 19 2 3s257ms 1s628ms 21 2 3s233ms 1s616ms 22 5 7s539ms 1s507ms Jun 05 00 1 1s519ms 1s519ms 01 3 4s843ms 1s614ms 02 3 5s55ms 1s685ms 03 3 5s190ms 1s730ms 04 4 6s437ms 1s609ms 05 10 16s482ms 1s648ms 06 4 6s815ms 1s703ms 07 11 17s641ms 1s603ms 08 17 28s58ms 1s650ms 09 28 46s227ms 1s650ms 10 28 45s291ms 1s617ms 11 45 1m12s 1s609ms 12 56 1m30s 1s621ms 13 82 2m10s 1s586ms 14 96 2m31s 1s579ms 15 101 2m39s 1s575ms 16 128 3m20s 1s567ms 17 144 4m7s 1s715ms 18 143 3m45s 1s579ms 19 170 4m23s 1s548ms 20 188 4m53s 1s558ms 21 184 4m47s 1s561ms 22 193 5m3s 1s572ms 23 197 5m4s 1s544ms Jun 06 00 180 4m41s 1s563ms 01 175 4m34s 1s566ms 02 196 5m8s 1s575ms 03 95 2m27s 1s556ms 05 7 10s954ms 1s564ms 06 8 12s406ms 1s550ms 07 1 1s660ms 1s660ms 13 1 1s643ms 1s643ms 16 1 1s538ms 1s538ms 18 2 3s262ms 1s631ms 19 3 4s734ms 1s578ms 22 1 1s644ms 1s644ms 23 2 3s279ms 1s639ms Jun 07 00 3 4s798ms 1s599ms 01 2 3s260ms 1s630ms 02 2 3s405ms 1s702ms 04 2 3s148ms 1s574ms 05 2 3s373ms 1s686ms 06 3 4s992ms 1s664ms 07 6 9s440ms 1s573ms 08 7 11s446ms 1s635ms 09 12 19s114ms 1s592ms 10 19 30s834ms 1s622ms 11 20 31s479ms 1s573ms 12 35 55s14ms 1s571ms 13 57 1m31s 1s599ms 14 91 2m23s 1s577ms 15 104 2m42s 1s566ms 16 146 3m51s 1s588ms 17 147 3m50s 1s570ms 18 241 6m17s 1s566ms 19 206 5m23s 1s569ms 20 194 5m1s 1s556ms 21 254 6m37s 1s565ms 22 250 6m33s 1s573ms 23 192 5m9s 1s610ms [ User: pubeu - Total duration: 23m39s - Times executed: 872 ]
-
SELECT /* DiseaseGeneAssnsDAO */ ;
Date: 2025-06-05 17:58:31 Duration: 19s659ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ ;
Date: 2025-06-06 00:02:00 Duration: 2s800ms Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ ;
Date: 2025-06-03 01:42:43 Duration: 2s772ms Database: ctdprd51 User: pubeu Bind query: yes
5 3,459 1h23m58s 1s263ms 6s675ms 1s456ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or receptorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jun 01 00 18 26s404ms 1s466ms 01 25 36s555ms 1s462ms 02 24 35s384ms 1s474ms 03 27 39s290ms 1s455ms 04 17 24s924ms 1s466ms 05 29 42s922ms 1s480ms 06 27 38s847ms 1s438ms 07 29 41s691ms 1s437ms 08 17 24s207ms 1s423ms 09 28 40s175ms 1s434ms 10 30 45s961ms 1s532ms 11 21 30s8ms 1s428ms 12 23 33s147ms 1s441ms 13 30 42s825ms 1s427ms 14 20 28s601ms 1s430ms 15 21 30s366ms 1s446ms 16 20 28s786ms 1s439ms 17 26 37s822ms 1s454ms 18 13 18s608ms 1s431ms 19 26 37s305ms 1s434ms 20 21 31s554ms 1s502ms 21 16 22s753ms 1s422ms 22 21 30s904ms 1s471ms 23 22 32s47ms 1s456ms Jun 02 00 19 27s535ms 1s449ms 01 29 46s540ms 1s604ms 02 16 23s211ms 1s450ms 03 34 49s73ms 1s443ms 04 27 38s582ms 1s428ms 05 16 23s159ms 1s447ms 06 26 37s618ms 1s446ms 07 24 34s660ms 1s444ms 08 29 42s56ms 1s450ms 09 25 35s755ms 1s430ms 10 25 35s813ms 1s432ms 11 25 34s842ms 1s393ms 12 21 30s193ms 1s437ms 13 21 30s710ms 1s462ms 14 19 27s154ms 1s429ms 15 17 24s101ms 1s417ms 16 25 35s700ms 1s428ms 17 20 28s645ms 1s432ms 18 19 27s352ms 1s439ms 19 28 39s984ms 1s428ms 20 18 26s250ms 1s458ms 21 13 18s701ms 1s438ms 22 21 30s550ms 1s454ms 23 22 43s516ms 1s978ms Jun 03 00 20 29s845ms 1s492ms 01 28 44s442ms 1s587ms 02 20 30s226ms 1s511ms 03 24 38s953ms 1s623ms 04 28 42s927ms 1s533ms 05 14 21s845ms 1s560ms 06 21 39s421ms 1s877ms 07 15 22s511ms 1s500ms 08 3 4s792ms 1s597ms 09 1 1s404ms 1s404ms 11 22 31s958ms 1s452ms 12 21 30s58ms 1s431ms 13 23 32s744ms 1s423ms 14 32 44s182ms 1s380ms 15 40 57s49ms 1s426ms 16 3 4s218ms 1s406ms 18 26 36s236ms 1s393ms 19 33 45s989ms 1s393ms 20 30 41s903ms 1s396ms 21 25 35s82ms 1s403ms 22 11 15s798ms 1s436ms 23 33 47s594ms 1s442ms Jun 04 00 33 48s474ms 1s468ms 01 22 31s514ms 1s432ms 02 30 43s341ms 1s444ms 03 39 56s279ms 1s443ms 04 38 57s261ms 1s506ms 05 42 1m 1s440ms 06 27 38s200ms 1s414ms 07 24 34s55ms 1s418ms 08 15 21s140ms 1s409ms 09 21 29s752ms 1s416ms 10 24 34s106ms 1s421ms 11 26 37s476ms 1s441ms 12 19 26s749ms 1s407ms 13 28 39s191ms 1s399ms 14 33 46s851ms 1s419ms 15 32 45s67ms 1s408ms 16 25 35s505ms 1s420ms 17 12 16s839ms 1s403ms 18 15 21s242ms 1s416ms 19 29 41s181ms 1s420ms 20 28 39s608ms 1s414ms 21 25 34s585ms 1s383ms 22 27 39s348ms 1s457ms 23 34 48s498ms 1s426ms Jun 05 00 27 38s396ms 1s422ms 01 27 38s587ms 1s429ms 02 37 56s70ms 1s515ms 03 39 55s478ms 1s422ms 04 43 1m2s 1s445ms 05 27 38s909ms 1s441ms 06 20 30s746ms 1s537ms 07 27 38s532ms 1s427ms 08 28 40s272ms 1s438ms 09 34 52s440ms 1s542ms 10 28 41s368ms 1s477ms 11 28 39s3ms 1s392ms 12 16 22s480ms 1s405ms 13 33 46s267ms 1s402ms 14 34 48s120ms 1s415ms 15 31 45s813ms 1s477ms 16 36 50s636ms 1s406ms 17 38 54s421ms 1s432ms 18 26 39s274ms 1s510ms 19 26 36s979ms 1s422ms 20 33 48s431ms 1s467ms 21 22 41s634ms 1s892ms 22 18 30s706ms 1s705ms 23 21 33s56ms 1s574ms Jun 06 00 26 39s827ms 1s531ms 01 26 39s468ms 1s518ms 02 26 39s769ms 1s529ms 03 13 19s350ms 1s488ms 04 2 2s647ms 1s323ms 05 2 2s826ms 1s413ms 06 7 10s527ms 1s503ms 07 26 37s568ms 1s444ms 08 29 40s731ms 1s404ms 09 23 32s119ms 1s396ms 10 25 35s145ms 1s405ms 11 24 33s362ms 1s390ms 12 39 54s981ms 1s409ms 13 32 45s438ms 1s419ms 14 22 30s273ms 1s376ms 15 18 24s263ms 1s347ms 16 20 27s997ms 1s399ms 17 1 1s396ms 1s396ms 18 1 1s341ms 1s341ms 19 28 38s847ms 1s387ms 20 13 18s454ms 1s419ms 21 12 17s227ms 1s435ms 22 11 15s569ms 1s415ms 23 16 22s817ms 1s426ms Jun 07 00 16 23s42ms 1s440ms 01 4 5s758ms 1s439ms 02 1 1s403ms 1s403ms 03 6 8s571ms 1s428ms 04 10 14s567ms 1s456ms 05 4 6s560ms 1s640ms 06 4 5s725ms 1s431ms 07 6 8s746ms 1s457ms 08 4 6s45ms 1s511ms 09 3 4s432ms 1s477ms 10 4 5s902ms 1s475ms 11 4 5s881ms 1s470ms 12 4 5s714ms 1s428ms 13 5 7s290ms 1s458ms 14 2 2s879ms 1s439ms 15 1 1s444ms 1s444ms 16 4 5s898ms 1s474ms 17 7 10s350ms 1s478ms 18 2 2s808ms 1s404ms 19 4 5s814ms 1s453ms 20 2 3s22ms 1s511ms 21 5 8s79ms 1s615ms 22 5 7s621ms 1s524ms [ User: pubeu - Total duration: 11m36s - Times executed: 465 ]
-
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 = '1244817') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1244817') 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: 2025-06-05 21:18:01 Duration: 6s675ms 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 = '1260533') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1260533') 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: 2025-06-02 01:39:58 Duration: 5s832ms 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 = '1257897') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1257897') 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: 2025-06-05 21:56:05 Duration: 4s585ms Bind query: yes
6 1,511 36m39s 1s280ms 6s843ms 1s455ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where outcome.disease_id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or receptorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jun 01 00 7 10s25ms 1s432ms 01 15 21s911ms 1s460ms 02 9 12s871ms 1s430ms 03 5 7s214ms 1s442ms 04 5 7s700ms 1s540ms 05 16 24s380ms 1s523ms 06 10 14s341ms 1s434ms 07 4 5s827ms 1s456ms 08 8 11s823ms 1s477ms 09 7 9s902ms 1s414ms 10 9 13s143ms 1s460ms 11 6 8s805ms 1s467ms 12 17 24s725ms 1s454ms 13 13 18s797ms 1s445ms 14 6 8s484ms 1s414ms 15 7 9s977ms 1s425ms 16 7 9s927ms 1s418ms 17 13 18s915ms 1s455ms 18 4 5s726ms 1s431ms 19 5 6s991ms 1s398ms 20 7 10s93ms 1s441ms 21 18 25s750ms 1s430ms 22 14 20s386ms 1s456ms 23 11 16s45ms 1s458ms Jun 02 00 5 7s629ms 1s525ms 01 13 18s896ms 1s453ms 02 14 20s273ms 1s448ms 03 16 23s433ms 1s464ms 04 17 24s220ms 1s424ms 05 10 15s24ms 1s502ms 06 8 11s408ms 1s426ms 07 9 12s758ms 1s417ms 08 5 7s321ms 1s464ms 09 12 17s319ms 1s443ms 10 12 17s103ms 1s425ms 11 12 17s55ms 1s421ms 12 10 14s339ms 1s433ms 13 7 10s252ms 1s464ms 14 13 18s87ms 1s391ms 15 3 4s238ms 1s412ms 16 14 19s788ms 1s413ms 17 13 19s976ms 1s536ms 18 12 17s109ms 1s425ms 19 14 20s54ms 1s432ms 20 10 14s88ms 1s408ms 21 5 6s961ms 1s392ms 22 10 15s226ms 1s522ms 23 8 13s377ms 1s672ms Jun 03 00 14 20s922ms 1s494ms 01 9 13s941ms 1s549ms 02 10 15s989ms 1s598ms 03 12 18s434ms 1s536ms 04 13 19s673ms 1s513ms 05 8 11s997ms 1s499ms 06 14 22s672ms 1s619ms 07 11 18s902ms 1s718ms 08 2 2s893ms 1s446ms 09 1 1s416ms 1s416ms 10 1 1s449ms 1s449ms 11 8 11s562ms 1s445ms 12 12 17s132ms 1s427ms 13 7 9s836ms 1s405ms 14 9 12s797ms 1s421ms 15 8 11s125ms 1s390ms 16 7 10s511ms 1s501ms 18 11 15s603ms 1s418ms 19 12 16s705ms 1s392ms 20 16 22s227ms 1s389ms 21 15 21s117ms 1s407ms 22 6 8s555ms 1s425ms 23 12 17s85ms 1s423ms Jun 04 00 11 15s620ms 1s420ms 01 13 18s589ms 1s429ms 02 15 21s678ms 1s445ms 03 16 23s223ms 1s451ms 04 6 8s630ms 1s438ms 05 16 23s396ms 1s462ms 06 14 19s723ms 1s408ms 07 10 14s314ms 1s431ms 08 4 5s681ms 1s420ms 09 21 30s256ms 1s440ms 10 13 18s567ms 1s428ms 11 25 36s386ms 1s455ms 12 13 18s508ms 1s423ms 13 6 8s518ms 1s419ms 14 11 15s326ms 1s393ms 15 9 12s595ms 1s399ms 16 13 18s318ms 1s409ms 17 4 5s518ms 1s379ms 18 3 4s266ms 1s422ms 19 19 27s102ms 1s426ms 20 10 14s34ms 1s403ms 21 15 20s625ms 1s375ms 22 8 11s400ms 1s425ms 23 13 18s478ms 1s421ms Jun 05 00 10 14s210ms 1s421ms 01 14 20s200ms 1s442ms 02 17 24s64ms 1s415ms 03 15 21s326ms 1s421ms 04 15 22s335ms 1s489ms 05 17 24s461ms 1s438ms 06 8 11s306ms 1s413ms 07 15 21s413ms 1s427ms 08 3 4s355ms 1s451ms 09 10 14s334ms 1s433ms 10 16 22s805ms 1s425ms 11 11 15s640ms 1s421ms 12 10 14s981ms 1s498ms 13 13 18s339ms 1s410ms 14 10 15s316ms 1s531ms 15 12 17s821ms 1s485ms 16 11 16s92ms 1s462ms 17 9 14s63ms 1s562ms 18 9 13s788ms 1s532ms 19 9 18s876ms 2s97ms 20 14 19s696ms 1s406ms 21 10 14s18ms 1s401ms 22 7 10s229ms 1s461ms 23 5 7s997ms 1s599ms Jun 06 00 15 22s841ms 1s522ms 01 16 24s413ms 1s525ms 02 7 11s897ms 1s699ms 03 7 10s12ms 1s430ms 05 4 5s646ms 1s411ms 06 1 1s438ms 1s438ms 07 8 11s889ms 1s486ms 08 15 21s314ms 1s420ms 09 13 18s39ms 1s387ms 10 7 9s645ms 1s377ms 11 16 22s908ms 1s431ms 12 9 12s506ms 1s389ms 13 10 16s33ms 1s603ms 14 10 13s736ms 1s373ms 15 8 10s699ms 1s337ms 16 10 14s232ms 1s423ms 18 1 1s353ms 1s353ms 19 8 10s912ms 1s364ms 20 11 15s723ms 1s429ms 21 4 5s819ms 1s454ms 22 8 11s590ms 1s448ms 23 5 7s211ms 1s442ms Jun 07 00 6 8s590ms 1s431ms 01 1 1s417ms 1s417ms 02 6 9s30ms 1s505ms 03 3 4s363ms 1s454ms 04 4 6s585ms 1s646ms 05 2 3s121ms 1s560ms 06 3 4s266ms 1s422ms 07 5 7s514ms 1s502ms 08 6 8s727ms 1s454ms 09 2 2s970ms 1s485ms 10 2 2s866ms 1s433ms 11 4 5s763ms 1s440ms 13 2 2s882ms 1s441ms 14 5 7s329ms 1s465ms 15 1 1s522ms 1s522ms 16 5 7s481ms 1s496ms 18 1 1s410ms 1s410ms 19 2 2s874ms 1s437ms 20 1 1s453ms 1s453ms 21 2 3s37ms 1s518ms 22 2 3s15ms 1s507ms 23 2 2s934ms 1s467ms [ User: pubeu - Total duration: 5m20s - Times executed: 211 ]
-
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 = '2103796') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2103796') 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: 2025-06-05 19:07:49 Duration: 6s843ms 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 = '2104673') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2104673') 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: 2025-06-06 13:13:48 Duration: 3s615ms 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 = '2100110') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2100110') 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: 2025-06-03 07:33:42 Duration: 3s90ms Database: ctdprd51 User: pubeu Bind query: yes
7 1,438 1h17m14s 1s 13s923ms 3s223ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where associatedterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and ptr.term_object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jun 01 09 1 1s40ms 1s40ms 13 1 3s165ms 3s165ms 15 1 2s87ms 2s87ms 21 7 21s472ms 3s67ms 22 22 57s26ms 2s592ms 23 3 10s740ms 3s580ms Jun 02 00 1 2s111ms 2s111ms 02 1 1s55ms 1s55ms 03 2 8s101ms 4s50ms 05 1 1s15ms 1s15ms 07 1 1s480ms 1s480ms 08 1 3s619ms 3s619ms 09 1 1s77ms 1s77ms 10 1 6s909ms 6s909ms 11 1 2s246ms 2s246ms 13 2 11s742ms 5s871ms 14 2 2s920ms 1s460ms 15 1 3s641ms 3s641ms 16 24 1m7s 2s794ms 17 1 2s132ms 2s132ms 18 1 1s32ms 1s32ms 19 5 11s191ms 2s238ms 20 4 6s719ms 1s679ms 21 1 1s205ms 1s205ms 22 5 17s776ms 3s555ms 23 5 17s948ms 3s589ms Jun 03 00 2 9s330ms 4s665ms 01 1 3s608ms 3s608ms 02 3 9s274ms 3s91ms 03 6 21s823ms 3s637ms 04 9 32s817ms 3s646ms 05 1 1s543ms 1s543ms 06 15 46s721ms 3s114ms 07 6 25s955ms 4s325ms 08 4 7s897ms 1s974ms 09 3 5s959ms 1s986ms 10 1 6s912ms 6s912ms 11 6 14s801ms 2s466ms 12 1 2s9ms 2s9ms 13 10 34s484ms 3s448ms 14 12 46s485ms 3s873ms 15 4 15s279ms 3s819ms 16 10 34s703ms 3s470ms 17 6 22s478ms 3s746ms 18 5 8s645ms 1s729ms 19 10 38s89ms 3s808ms 20 12 33s784ms 2s815ms 21 7 21s547ms 3s78ms 22 7 25s648ms 3s664ms 23 7 37s113ms 5s301ms Jun 04 00 9 32s114ms 3s568ms 01 11 43s493ms 3s953ms 02 9 42s978ms 4s775ms 03 9 36s527ms 4s58ms 04 6 23s785ms 3s964ms 05 9 30s789ms 3s421ms 06 6 18s685ms 3s114ms 07 8 22s814ms 2s851ms 08 7 34s803ms 4s971ms 09 5 24s157ms 4s831ms 10 5 15s917ms 3s183ms 11 10 35s972ms 3s597ms 12 7 27s521ms 3s931ms 13 7 29s899ms 4s271ms 14 9 47s229ms 5s247ms 15 4 15s469ms 3s867ms 16 6 19s813ms 3s302ms 17 6 15s968ms 2s661ms 18 14 39s480ms 2s820ms 19 17 53s901ms 3s170ms 20 5 12s959ms 2s591ms 21 6 25s135ms 4s189ms 22 21 1m5s 3s124ms 23 29 1m28s 3s53ms Jun 05 00 22 1m9s 3s153ms 01 13 38s752ms 2s980ms 02 5 20s552ms 4s110ms 03 5 10s435ms 2s87ms 04 11 36s278ms 3s298ms 05 5 14s440ms 2s888ms 06 3 6s665ms 2s221ms 07 12 46s680ms 3s890ms 08 20 53s943ms 2s697ms 09 30 1m27s 2s924ms 10 15 46s889ms 3s125ms 11 9 35s305ms 3s922ms 12 11 49s422ms 4s492ms 13 9 21s240ms 2s360ms 14 7 28s138ms 4s19ms 15 17 1m9s 4s111ms 16 4 16s43ms 4s10ms 17 13 46s772ms 3s597ms 18 17 1m3s 3s732ms 19 16 47s546ms 2s971ms 20 16 1m6s 4s162ms 21 25 1m8s 2s742ms 22 33 1m38s 2s986ms 23 10 28s881ms 2s888ms Jun 06 00 16 49s556ms 3s97ms 01 11 31s68ms 2s824ms 02 14 48s49ms 3s432ms 03 5 19s568ms 3s913ms 07 7 17s329ms 2s475ms 08 11 45s726ms 4s156ms 09 13 46s580ms 3s583ms 10 5 22s420ms 4s484ms 11 6 18s736ms 3s122ms 12 7 26s573ms 3s796ms 13 9 32s912ms 3s656ms 14 4 11s893ms 2s973ms 15 9 23s690ms 2s632ms 16 2 4s337ms 2s168ms 19 2 5s144ms 2s572ms 20 5 21s929ms 4s385ms 21 7 19s299ms 2s757ms 22 4 16s898ms 4s224ms 23 11 29s775ms 2s706ms Jun 07 00 6 20s745ms 3s457ms 01 11 37s301ms 3s391ms 02 8 18s372ms 2s296ms 03 20 56s473ms 2s823ms 04 44 2m12s 3s12ms 05 10 33s243ms 3s324ms 06 16 51s254ms 3s203ms 07 11 32s846ms 2s986ms 08 13 55s617ms 4s278ms 09 16 51s27ms 3s189ms 10 11 38s86ms 3s462ms 11 15 45s442ms 3s29ms 12 22 1m7s 3s78ms 13 30 1m19s 2s656ms 14 40 1m56s 2s910ms 15 12 40s602ms 3s383ms 16 21 1m 2s890ms 17 10 29s415ms 2s941ms 18 45 2m14s 2s997ms 19 23 1m17s 3s353ms 20 20 1m4s 3s239ms 21 22 1m8s 3s101ms 22 30 1m17s 2s590ms 23 37 1m43s 2s807ms [ User: pubeu - Total duration: 9m54s - Times executed: 178 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1411566'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-06-03 04:22:37 Duration: 13s923ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1451245'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-06-05 18:06:50 Duration: 12s291ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1411566'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-06-06 02:27:54 Duration: 9s624ms Bind query: yes
8 1,403 7h9m33s 1s66ms 1m28s 18s370ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jun 01 00 15 3m51s 15s454ms 01 6 1m35s 15s947ms 02 14 3m50s 16s444ms 03 12 3m18s 16s569ms 04 3 18s894ms 6s298ms 05 15 3m53s 15s586ms 06 11 3m20s 18s203ms 07 4 52s903ms 13s225ms 08 6 2m9s 21s515ms 09 9 2m40s 17s862ms 10 13 3m46s 17s442ms 11 3 56s742ms 18s914ms 12 3 48s207ms 16s69ms 13 24 6m41s 16s737ms 14 3 50s557ms 16s852ms 15 6 1m37s 16s236ms 16 20 5m22s 16s138ms 17 9 2m32s 16s988ms 18 3 57s232ms 19s77ms 19 10 2m29s 14s972ms 20 13 3m25s 15s812ms 21 1 12s177ms 12s177ms 22 7 1m50s 15s739ms 23 3 53s916ms 17s972ms Jun 02 00 6 1m40s 16s687ms 01 16 5m25s 20s345ms 02 11 2m56s 16s48ms 03 14 7m6s 30s478ms 04 14 3m51s 16s514ms 05 17 4m36s 16s258ms 06 8 2m14s 16s764ms 07 8 1m33s 11s645ms 08 12 3m18s 16s557ms 09 7 1m36s 13s784ms 10 13 3m42s 17s119ms 11 11 3m2s 16s578ms 12 12 2m47s 13s969ms 13 14 4m46s 20s457ms 14 15 3m55s 15s714ms 15 10 2m22s 14s203ms 16 10 3m20s 20s87ms 17 9 2m25s 16s135ms 18 11 2m54s 15s823ms 19 18 4m27s 14s842ms 20 13 4m13s 19s476ms 21 10 2m37s 15s781ms 22 5 1m21s 16s385ms 23 14 2m57s 12s684ms Jun 03 00 7 1m57s 16s830ms 01 8 2m6s 15s816ms 02 9 2m37s 17s528ms 03 16 4m3s 15s227ms 04 6 1m33s 15s578ms 05 3 48s767ms 16s255ms 06 16 8m3s 30s236ms 07 4 1m20s 20s51ms 11 3 49s946ms 16s648ms 12 3 47s834ms 15s944ms 13 2 30s712ms 15s356ms 14 8 3m1s 22s669ms 15 8 3m48s 28s516ms 16 3 53s156ms 17s718ms 18 9 2m20s 15s600ms 19 12 3m16s 16s379ms 20 4 49s971ms 12s492ms 21 18 4m54s 16s345ms 22 1 2s284ms 2s284ms 23 19 5m34s 17s609ms Jun 04 00 11 5m5s 27s765ms 01 2 4s242ms 2s121ms 02 11 3m1s 16s469ms 03 7 1m49s 15s585ms 04 21 7m20s 20s987ms 05 8 2m7s 15s890ms 06 9 2m22s 15s824ms 07 5 1m20s 16s65ms 09 17 4m45s 16s819ms 11 18 5m28s 18s252ms 12 19 8m10s 25s813ms 13 6 1m20s 13s427ms 14 13 3m13s 14s848ms 15 13 3m24s 15s734ms 16 18 5m4s 16s893ms 17 6 1m31s 15s202ms 18 4 1m7s 16s815ms 19 3 51s946ms 17s315ms 20 18 5m19s 17s739ms 21 12 3m13s 16s155ms 22 17 4m12s 14s848ms 23 3 46s850ms 15s616ms Jun 05 00 19 5m5s 16s69ms 01 15 4m2s 16s186ms 02 5 1m29s 17s865ms 03 13 3m47s 17s484ms 04 22 7m56s 21s664ms 05 4 1m9s 17s407ms 06 10 3m2s 18s273ms 07 4 57s427ms 14s356ms 08 6 1m34s 15s730ms 09 18 6m34s 21s928ms 10 11 3m8s 17s119ms 11 10 2m40s 16s4ms 12 16 6m55s 25s956ms 13 5 1m24s 16s865ms 14 16 4m36s 17s301ms 15 16 4m24s 16s518ms 16 9 2m48s 18s689ms 17 6 1m48s 18s49ms 18 17 9m47s 34s565ms 19 7 2m37s 22s474ms 20 20 6m14s 18s714ms 21 23 9m48s 25s596ms 22 11 3m18s 18s85ms 23 6 1m58s 19s816ms Jun 06 00 6 1m53s 18s974ms 01 5 2m25s 29s24ms 02 18 6m29s 21s656ms 03 3 1m3s 21s202ms 06 3 50s945ms 16s981ms 07 9 2m34s 17s143ms 08 8 2m24s 18s99ms 09 15 6m50s 27s381ms 10 12 3m36s 18s31ms 11 20 8m42s 26s100ms 12 9 2m40s 17s835ms 13 9 3m23s 22s660ms 14 16 4m28s 16s794ms 15 8 2m14s 16s816ms 16 9 2m29s 16s655ms 18 1 16s245ms 16s245ms 19 2 32s278ms 16s139ms 20 2 32s198ms 16s99ms 21 9 2m38s 17s627ms 22 11 3m12s 17s482ms 23 9 3m24s 22s673ms Jun 07 02 1 16s23ms 16s23ms 04 3 52s181ms 17s393ms 05 1 16s237ms 16s237ms 07 3 51s766ms 17s255ms 08 1 16s90ms 16s90ms 10 6 1m36s 16s38ms 12 1 15s950ms 15s950ms 13 9 2m41s 17s899ms 15 1 16s381ms 16s381ms 16 4 1m7s 16s955ms 17 3 49s614ms 16s538ms 21 3 52s162ms 17s387ms 22 3 52s227ms 17s409ms [ User: pubeu - Total duration: 1h41m16s - Times executed: 297 ]
-
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 = '2107351') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-06-04 12:45:16 Duration: 1m28s 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 = '2095019') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-06-04 12:45:15 Duration: 1m24s 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 = '2097134') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-06-05 18:08:00 Duration: 1m24s Bind query: yes
9 1,237 52m2s 1s 14s412ms 2s524ms select e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, ( select string_agg(distinct stressorterm.nm || ? || ( select cd from object_type where id = stressorterm.object_type_id) || ? || stressorterm.nm_html || ? || stressorterm.acc_txt || ? || stressorterm.acc_db_cd, ?)) as stressoragents, ( select string_agg(distinct coalesce(receptorterm.nm, ?) || ? || coalesce(( select cd from object_type where id = receptorterm.object_type_id), ?) || ? || coalesce(receptorterm.nm_html, ?) || ? || coalesce(receptorterm.acc_txt, ?) || ? || coalesce(receptorterm.acc_db_cd, ?) || ? || receptor.description, ?)) as receptors, ( select string_agg(distinct country.nm, ?)) as studycountries, ( select string_agg(distinct location.locality_txt, ?)) as localities, ( select string_agg(distinct event.medium_nm || ? || coalesce(event.medium_term_acc_txt, ?), ?)) as assaymediums, ( select string_agg(distinct exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd, ?)) as assayedmarkers, ( select string_agg(distinct diseaseterm.nm || ? || ( select cd from object_type where id = diseaseterm.object_type_id) || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd, ?)) as diseases, ( select string_agg(distinct phenotypeterm.nm || ? || ( select cd from object_type where id = phenotypeterm.object_type_id) || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd, ?)) as phenotypes, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, re.author_summary summary, count(*) over () fullrowcount from exposure e inner join reference r on e.reference_id = r.id inner join exp_stressor stressor on e.exp_stressor_id = stressor.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join term receptorterm on receptor.term_id = receptorterm.id left outer join exp_event event on e.exp_event_id = event.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join exp_event_location location on e.exp_event_id = location.exp_event_id left outer join country on location.country_id = country.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id inner join reference_exp re on e.reference_id = re.reference_id left outer join exp_study_factor expstudyfactor on re.id = expstudyfactor.reference_exp_id where e.reference_id = any (array ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like ?) and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressoragents limit ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jun 01 15 1 3s361ms 3s361ms 16 1 1s323ms 1s323ms 21 8 19s157ms 2s394ms 22 25 1m 2s400ms 23 1 1s470ms 1s470ms Jun 02 00 7 9s942ms 1s420ms 03 1 1s141ms 1s141ms 04 1 1s183ms 1s183ms 06 2 8s466ms 4s233ms 08 1 1s148ms 1s148ms 09 1 3s83ms 3s83ms 12 2 5s219ms 2s609ms 13 2 8s805ms 4s402ms 14 1 1s69ms 1s69ms 16 24 58s485ms 2s436ms 17 1 3s84ms 3s84ms 18 5 8s450ms 1s690ms 19 2 5s493ms 2s746ms 20 6 6s687ms 1s114ms 21 2 5s377ms 2s688ms 22 4 7s918ms 1s979ms 23 5 23s285ms 4s657ms Jun 03 00 6 19s710ms 3s285ms 01 10 19s531ms 1s953ms 02 2 2s421ms 1s210ms 03 8 18s152ms 2s269ms 04 6 17s401ms 2s900ms 05 1 4s759ms 4s759ms 06 14 42s38ms 3s2ms 07 12 26s806ms 2s233ms 08 5 12s482ms 2s496ms 09 4 5s411ms 1s352ms 10 3 8s546ms 2s848ms 11 5 14s935ms 2s987ms 12 5 13s954ms 2s790ms 13 6 20s385ms 3s397ms 14 9 22s735ms 2s526ms 15 6 16s601ms 2s766ms 16 8 15s908ms 1s988ms 17 5 12s864ms 2s572ms 18 4 9s536ms 2s384ms 19 4 12s542ms 3s135ms 20 8 25s158ms 3s144ms 21 11 35s188ms 3s198ms 22 8 23s371ms 2s921ms 23 7 20s714ms 2s959ms Jun 04 00 11 28s499ms 2s590ms 01 7 16s101ms 2s300ms 02 4 10s766ms 2s691ms 03 6 15s459ms 2s576ms 04 10 29s554ms 2s955ms 05 3 8s644ms 2s881ms 06 8 21s612ms 2s701ms 07 3 6s690ms 2s230ms 08 7 25s66ms 3s580ms 09 8 20s706ms 2s588ms 10 4 15s450ms 3s862ms 11 2 2s170ms 1s85ms 12 8 26s861ms 3s357ms 13 4 13s847ms 3s461ms 14 4 6s489ms 1s622ms 15 7 17s22ms 2s431ms 16 6 17s883ms 2s980ms 17 13 35s823ms 2s755ms 18 11 23s996ms 2s181ms 19 18 43s419ms 2s412ms 20 5 11s803ms 2s360ms 21 1 2s107ms 2s107ms 22 18 44s740ms 2s485ms 23 24 52s392ms 2s183ms Jun 05 00 24 59s111ms 2s462ms 01 12 26s215ms 2s184ms 02 4 13s56ms 3s264ms 03 1 4s393ms 4s393ms 04 5 12s36ms 2s407ms 05 3 5s773ms 1s924ms 06 3 9s818ms 3s272ms 07 4 10s249ms 2s562ms 08 13 29s782ms 2s290ms 09 28 1m9s 2s466ms 10 9 22s902ms 2s544ms 11 7 21s92ms 3s13ms 12 5 17s484ms 3s496ms 13 9 22s599ms 2s511ms 14 10 29s892ms 2s989ms 15 10 27s172ms 2s717ms 16 12 28s261ms 2s355ms 17 7 16s273ms 2s324ms 18 10 25s54ms 2s505ms 19 14 34s444ms 2s460ms 20 14 29s552ms 2s110ms 21 25 1m8s 2s729ms 22 26 57s121ms 2s196ms 23 10 24s 2s400ms Jun 06 00 13 29s874ms 2s298ms 01 20 1m3s 3s199ms 02 15 37s206ms 2s480ms 03 4 8s450ms 2s112ms 06 2 6s328ms 3s164ms 07 2 7s566ms 3s783ms 08 6 12s315ms 2s52ms 09 2 5s325ms 2s662ms 10 6 15s827ms 2s637ms 11 5 15s174ms 3s34ms 12 3 9s556ms 3s185ms 13 7 19s182ms 2s740ms 14 5 18s322ms 3s664ms 15 6 17s82ms 2s847ms 16 2 4s342ms 2s171ms 19 1 1s77ms 1s77ms 20 5 8s661ms 1s732ms 21 6 11s989ms 1s998ms 22 5 15s716ms 3s143ms 23 7 26s735ms 3s819ms Jun 07 00 5 11s789ms 2s357ms 01 9 19s418ms 2s157ms 02 7 14s587ms 2s83ms 03 16 38s891ms 2s430ms 04 33 1m8s 2s64ms 05 12 26s382ms 2s198ms 06 9 23s712ms 2s634ms 07 9 27s356ms 3s39ms 08 8 23s228ms 2s903ms 09 9 19s896ms 2s210ms 10 7 17s39ms 2s434ms 11 17 40s633ms 2s390ms 12 16 45s524ms 2s845ms 13 29 1m10s 2s438ms 14 48 1m53s 2s365ms 15 4 9s780ms 2s445ms 16 18 46s967ms 2s609ms 17 11 22s649ms 2s59ms 18 40 1m29s 2s231ms 19 13 35s886ms 2s760ms 20 17 50s189ms 2s952ms 21 11 26s44ms 2s367ms 22 20 46s976ms 2s348ms 23 30 1m13s 2s435ms [ User: pubeu - Total duration: 6m22s - Times executed: 145 ]
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1449732') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1449732') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-06-06 01:38:12 Duration: 14s412ms Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1411566') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1411566') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-06-02 23:32:24 Duration: 7s782ms Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1440822') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1440822') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-06-02 13:06:37 Duration: 7s704ms Bind query: yes
10 1,223 40m52s 1s 18s188ms 2s5ms 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 #10
Day Hour Count Duration Avg duration Jun 01 00 8 8s271ms 1s33ms 01 13 13s456ms 1s35ms 02 16 18s118ms 1s132ms 03 37 37s995ms 1s26ms 04 16 16s623ms 1s38ms 05 6 6s227ms 1s37ms 06 10 10s324ms 1s32ms 07 8 8s567ms 1s70ms 08 6 6s211ms 1s35ms 09 15 15s871ms 1s58ms 10 6 6s991ms 1s165ms 11 6 6s868ms 1s144ms 12 9 9s114ms 1s12ms 14 1 6s329ms 6s329ms 15 15 15s488ms 1s32ms 16 5 5s335ms 1s67ms 17 2 3s595ms 1s797ms 18 2 2s67ms 1s33ms 20 7 7s55ms 1s7ms 21 2 7s378ms 3s689ms 22 5 14s475ms 2s895ms 23 2 7s234ms 3s617ms Jun 02 01 12 15s882ms 1s323ms 02 4 4s80ms 1s20ms 03 18 29s170ms 1s620ms 04 2 2s426ms 1s213ms 05 7 15s216ms 2s173ms 06 4 4s73ms 1s18ms 07 5 5s180ms 1s36ms 08 1 1s6ms 1s6ms 09 2 2s68ms 1s34ms 10 4 9s16ms 2s254ms 11 2 2s141ms 1s70ms 12 3 3s26ms 1s8ms 13 10 19s589ms 1s958ms 14 2 6s703ms 3s351ms 16 2 8s299ms 4s149ms 17 4 5s1ms 1s250ms 18 2 3s397ms 1s698ms 20 6 11s325ms 1s887ms 21 3 8s694ms 2s898ms 22 3 10s425ms 3s475ms 23 56 2m23s 2s558ms Jun 03 00 4 5s161ms 1s290ms 01 3 4s624ms 1s541ms 02 9 15s708ms 1s745ms 03 16 32s568ms 2s35ms 04 18 34s759ms 1s931ms 05 3 5s141ms 1s713ms 06 95 4m23s 2s771ms 07 3 5s949ms 1s983ms 08 1 2s233ms 2s233ms 09 1 2s851ms 2s851ms 11 1 2s775ms 2s775ms 12 7 13s177ms 1s882ms 13 4 4s472ms 1s118ms 14 7 19s530ms 2s790ms 15 8 19s568ms 2s446ms 16 3 3s212ms 1s70ms 17 1 2s877ms 2s877ms 18 3 3s46ms 1s15ms 19 2 5s767ms 2s883ms 20 4 5s44ms 1s261ms 21 4 6s863ms 1s715ms 22 11 13s793ms 1s253ms 23 9 12s319ms 1s368ms Jun 04 00 4 14s54ms 3s513ms 01 9 9s197ms 1s21ms 02 10 10s555ms 1s55ms 03 11 13s709ms 1s246ms 04 8 13s681ms 1s710ms 05 5 11s587ms 2s317ms 06 10 15s273ms 1s527ms 07 7 12s464ms 1s780ms 09 6 11s478ms 1s913ms 10 9 13s630ms 1s514ms 11 14 17s989ms 1s284ms 12 9 14s571ms 1s619ms 13 3 8s465ms 2s821ms 14 8 11s452ms 1s431ms 15 3 3s41ms 1s13ms 16 6 11s19ms 1s836ms 17 2 4s212ms 2s106ms 18 6 6s876ms 1s146ms 19 6 7s924ms 1s320ms 20 8 18s59ms 2s257ms 21 8 11s925ms 1s490ms 22 8 9s352ms 1s169ms 23 5 9s393ms 1s878ms Jun 05 00 5 8s956ms 1s791ms 01 4 7s70ms 1s767ms 02 17 28s430ms 1s672ms 03 10 17s432ms 1s743ms 04 7 9s60ms 1s294ms 05 2 2s290ms 1s145ms 06 10 16s625ms 1s662ms 07 2 2s53ms 1s26ms 08 8 18s220ms 2s277ms 09 6 17s546ms 2s924ms 10 4 8s534ms 2s133ms 11 4 6s955ms 1s738ms 12 6 7s409ms 1s234ms 13 7 25s835ms 3s690ms 14 6 11s330ms 1s888ms 15 4 6s100ms 1s525ms 16 4 11s410ms 2s852ms 17 8 18s259ms 2s282ms 18 24 1m9s 2s910ms 19 12 32s755ms 2s729ms 20 28 1m 2s171ms 21 20 1m24s 4s204ms 22 6 9s761ms 1s626ms 23 5 22s426ms 4s485ms Jun 06 00 9 21s845ms 2s427ms 01 12 30s810ms 2s567ms 02 25 1m6s 2s642ms 03 2 2s438ms 1s219ms 06 1 1s70ms 1s70ms 07 3 3s784ms 1s261ms 08 9 18s368ms 2s40ms 09 8 18s769ms 2s346ms 10 6 9s992ms 1s665ms 11 10 18s985ms 1s898ms 12 5 9s414ms 1s882ms 13 6 14s623ms 2s437ms 14 3 3s804ms 1s268ms 15 3 3s393ms 1s131ms 16 4 4s259ms 1s64ms 19 5 7s40ms 1s408ms 20 19 23s345ms 1s228ms 21 29 31s179ms 1s75ms 22 6 11s529ms 1s921ms 23 12 16s103ms 1s341ms Jun 07 00 2 7s958ms 3s979ms 01 4 19s77ms 4s769ms 02 5 18s494ms 3s698ms 03 2 5s274ms 2s637ms 04 3 14s314ms 4s771ms 05 4 13s769ms 3s442ms 06 5 11s900ms 2s380ms 07 6 16s898ms 2s816ms 08 4 8s313ms 2s78ms 09 2 3s817ms 1s908ms 10 2 5s817ms 2s908ms 11 2 6s959ms 3s479ms 12 1 6s79ms 6s79ms 13 17 52s656ms 3s97ms 14 3 7s614ms 2s538ms 15 5 13s998ms 2s799ms 16 5 17s756ms 3s551ms 17 7 22s275ms 3s182ms 18 6 21s764ms 3s627ms 19 2 4s106ms 2s53ms 20 5 16s412ms 3s282ms 21 5 20s377ms 4s75ms 22 7 19s194ms 2s742ms 23 2 9s212ms 4s606ms [ User: pubeu - Total duration: 9m51s - Times executed: 250 ]
-
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 = '660706' 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 = '660706') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-06-05 21:17:50 Duration: 18s188ms 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 = '660368' 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 = '660368') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-06-01 22:01:05 Duration: 9s983ms 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 = '869175' 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 = '869175') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-06-05 18:06:58 Duration: 9s763ms Bind query: yes
11 1,033 1h14m32s 1s2ms 30s56ms 4s329ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jun 01 01 1 4s890ms 4s890ms 16 3 16s130ms 5s376ms 20 15 57s66ms 3s804ms 21 23 1m48s 4s696ms 22 6 10s565ms 1s760ms 23 1 2s784ms 2s784ms Jun 02 00 3 13s12ms 4s337ms 01 2 10s148ms 5s74ms 02 2 6s118ms 3s59ms 03 1 1s389ms 1s389ms 06 2 8s144ms 4s72ms 07 1 12s711ms 12s711ms 08 1 4s857ms 4s857ms 09 4 14s391ms 3s597ms 10 2 14s572ms 7s286ms 11 2 3s720ms 1s860ms 12 10 34s975ms 3s497ms 13 5 16s405ms 3s281ms 14 4 21s560ms 5s390ms 15 3 8s398ms 2s799ms 16 5 17s428ms 3s485ms 17 10 40s258ms 4s25ms 18 9 34s924ms 3s880ms 19 11 39s762ms 3s614ms 20 11 42s94ms 3s826ms 21 18 1m31s 5s59ms 22 23 1m59s 5s203ms 23 22 2m2s 5s590ms Jun 03 00 17 1m27s 5s149ms 01 25 1m50s 4s401ms 02 17 1m38s 5s821ms 03 14 49s149ms 3s510ms 04 24 1m58s 4s942ms 05 8 28s300ms 3s537ms 06 17 1m14s 4s366ms 07 19 1m36s 5s92ms 08 9 44s735ms 4s970ms 09 1 2s235ms 2s235ms 11 1 6s247ms 6s247ms 12 1 1s755ms 1s755ms 13 4 25s81ms 6s270ms 14 3 7s163ms 2s387ms 15 4 10s573ms 2s643ms 16 2 8s178ms 4s89ms 18 3 28s967ms 9s655ms 19 2 10s999ms 5s499ms 21 5 23s920ms 4s784ms 22 2 17s118ms 8s559ms Jun 04 00 4 25s837ms 6s459ms 02 1 5s147ms 5s147ms 03 1 5s67ms 5s67ms 04 2 3s108ms 1s554ms 05 3 10s435ms 3s478ms 07 1 2s206ms 2s206ms 08 2 9s751ms 4s875ms 09 3 8s353ms 2s784ms 10 6 17s808ms 2s968ms 11 2 3s780ms 1s890ms 12 3 3s651ms 1s217ms 13 1 5s346ms 5s346ms 14 3 8s767ms 2s922ms 15 3 16s117ms 5s372ms 16 2 2s747ms 1s373ms 17 3 16s876ms 5s625ms 18 3 6s824ms 2s274ms 19 2 9s414ms 4s707ms 20 1 2s252ms 2s252ms 21 2 22s992ms 11s496ms 22 1 2s976ms 2s976ms 23 1 6s491ms 6s491ms Jun 05 00 1 2s264ms 2s264ms 01 2 10s948ms 5s474ms 02 5 14s882ms 2s976ms 04 4 10s306ms 2s576ms 05 6 18s105ms 3s17ms 07 4 8s795ms 2s198ms 08 7 33s513ms 4s787ms 09 8 29s439ms 3s679ms 10 3 15s376ms 5s125ms 11 6 33s23ms 5s503ms 12 11 35s327ms 3s211ms 13 9 37s509ms 4s167ms 14 16 50s844ms 3s177ms 15 5 13s253ms 2s650ms 16 11 49s186ms 4s471ms 17 26 1m53s 4s375ms 18 10 41s238ms 4s123ms 19 19 1m11s 3s778ms 20 23 2m7s 5s561ms 21 23 2m36s 6s797ms 22 17 1m32s 5s414ms 23 18 1m25s 4s727ms Jun 06 00 22 1m59s 5s424ms 01 28 1m54s 4s91ms 02 28 1m32s 3s289ms 03 8 36s478ms 4s559ms 05 2 9s595ms 4s797ms 07 2 2s868ms 1s434ms 08 3 15s474ms 5s158ms 09 1 4s250ms 4s250ms 10 2 2s598ms 1s299ms 12 3 5s31ms 1s677ms 14 1 1s812ms 1s812ms 16 2 8s343ms 4s171ms 19 2 2s392ms 1s196ms 22 3 16s566ms 5s522ms Jun 07 00 1 1s247ms 1s247ms 01 1 12s266ms 12s266ms 02 7 25s637ms 3s662ms 03 7 33s806ms 4s829ms 04 3 12s450ms 4s150ms 05 1 6s808ms 6s808ms 06 3 8s526ms 2s842ms 07 3 6s858ms 2s286ms 08 3 5s603ms 1s867ms 09 6 17s279ms 2s879ms 10 9 48s910ms 5s434ms 11 8 32s709ms 4s88ms 12 16 1m3s 3s999ms 13 8 28s421ms 3s552ms 14 13 39s154ms 3s11ms 15 11 56s779ms 5s161ms 16 17 1m15s 4s463ms 17 18 1m4s 3s593ms 18 23 1m31s 3s982ms 19 17 1m17s 4s573ms 20 23 1m18s 3s410ms 21 23 1m39s 4s304ms 22 23 1m42s 4s475ms 23 20 1m14s 3s743ms [ User: pubeu - Total duration: 11m44s - Times executed: 159 ]
-
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 = '2094859') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-06-05 21:18:16 Duration: 30s56ms 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 = '2106936') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-06-05 21:56:31 Duration: 21s466ms 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 = '2094859') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-06-02 23:37:32 Duration: 19s743ms Bind query: yes
12 508 11m6s 1s189ms 4s906ms 1s311ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where exposuremarkerterm.id = ? or receptorterm.id = ? group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jun 01 00 4 5s293ms 1s323ms 01 3 4s8ms 1s336ms 02 3 3s932ms 1s310ms 03 4 5s187ms 1s296ms 04 8 10s677ms 1s334ms 05 1 1s304ms 1s304ms 07 4 5s174ms 1s293ms 08 3 3s842ms 1s280ms 10 4 5s218ms 1s304ms 11 9 11s657ms 1s295ms 12 4 5s197ms 1s299ms 13 2 2s777ms 1s388ms 14 3 3s881ms 1s293ms 16 1 1s285ms 1s285ms 17 4 5s194ms 1s298ms 19 6 7s750ms 1s291ms 20 6 7s619ms 1s269ms 21 3 3s821ms 1s273ms 22 4 5s266ms 1s316ms 23 1 1s312ms 1s312ms Jun 02 00 2 2s538ms 1s269ms 01 2 2s589ms 1s294ms 02 3 3s919ms 1s306ms 03 5 6s499ms 1s299ms 04 4 5s205ms 1s301ms 05 2 2s501ms 1s250ms 06 6 7s708ms 1s284ms 07 4 5s232ms 1s308ms 08 2 2s615ms 1s307ms 09 4 5s269ms 1s317ms 10 5 6s513ms 1s302ms 11 2 2s630ms 1s315ms 12 7 9s91ms 1s298ms 13 5 6s626ms 1s325ms 14 6 7s784ms 1s297ms 15 5 6s381ms 1s276ms 16 7 9s21ms 1s288ms 17 3 3s946ms 1s315ms 18 5 6s604ms 1s320ms 19 3 3s812ms 1s270ms 20 4 5s307ms 1s326ms 21 3 3s832ms 1s277ms 22 4 5s200ms 1s300ms 23 6 9s419ms 1s569ms Jun 03 00 4 5s265ms 1s316ms 01 6 8s88ms 1s348ms 02 1 1s356ms 1s356ms 03 5 7s69ms 1s413ms 04 3 4s19ms 1s339ms 05 1 1s221ms 1s221ms 06 3 6s677ms 2s225ms 07 6 7s836ms 1s306ms 11 1 1s323ms 1s323ms 12 5 6s529ms 1s305ms 13 6 7s562ms 1s260ms 14 7 8s996ms 1s285ms 18 2 2s561ms 1s280ms 19 7 8s744ms 1s249ms 20 6 7s416ms 1s236ms 21 2 2s494ms 1s247ms 22 2 2s651ms 1s325ms 23 3 3s832ms 1s277ms Jun 04 00 5 6s429ms 1s285ms 01 4 5s127ms 1s281ms 02 4 5s300ms 1s325ms 03 4 5s235ms 1s308ms 04 5 6s439ms 1s287ms 05 3 3s826ms 1s275ms 06 2 2s490ms 1s245ms 08 1 1s264ms 1s264ms 09 3 3s810ms 1s270ms 10 1 1s275ms 1s275ms 11 2 2s489ms 1s244ms 12 6 7s472ms 1s245ms 13 5 6s384ms 1s276ms 14 8 10s98ms 1s262ms 15 2 2s554ms 1s277ms 16 7 8s971ms 1s281ms 17 3 3s790ms 1s263ms 18 1 1s287ms 1s287ms 19 5 6s327ms 1s265ms 20 2 2s506ms 1s253ms 21 7 8s774ms 1s253ms 22 6 7s622ms 1s270ms 23 2 2s518ms 1s259ms Jun 05 00 4 5s186ms 1s296ms 01 7 9s245ms 1s320ms 03 6 7s891ms 1s315ms 04 4 5s171ms 1s292ms 05 5 6s529ms 1s305ms 06 2 2s523ms 1s261ms 07 5 6s379ms 1s275ms 08 4 5s87ms 1s271ms 09 4 5s196ms 1s299ms 10 5 6s371ms 1s274ms 11 6 7s440ms 1s240ms 12 1 1s278ms 1s278ms 13 2 2s554ms 1s277ms 14 2 2s485ms 1s242ms 15 1 1s272ms 1s272ms 16 4 5s73ms 1s268ms 17 7 8s966ms 1s280ms 18 4 6s404ms 1s601ms 19 4 5s34ms 1s258ms 20 6 7s684ms 1s280ms 21 1 1s249ms 1s249ms 22 3 4s50ms 1s350ms 23 5 6s686ms 1s337ms Jun 06 00 10 13s715ms 1s371ms 01 4 5s654ms 1s413ms 02 2 2s654ms 1s327ms 03 4 5s161ms 1s290ms 05 2 2s513ms 1s256ms 07 5 6s570ms 1s314ms 08 6 7s592ms 1s265ms 09 4 8s646ms 2s161ms 10 4 5s116ms 1s279ms 12 4 5s5ms 1s251ms 13 4 5s75ms 1s268ms 14 3 3s742ms 1s247ms 15 1 1s200ms 1s200ms 17 1 1s318ms 1s318ms 18 3 3s637ms 1s212ms 19 4 5s79ms 1s269ms 20 4 5s138ms 1s284ms 21 2 2s584ms 1s292ms 22 2 2s557ms 1s278ms Jun 07 01 1 1s314ms 1s314ms 03 1 1s324ms 1s324ms 04 1 1s302ms 1s302ms 05 1 1s289ms 1s289ms 06 1 1s270ms 1s270ms 08 1 1s292ms 1s292ms 11 1 1s293ms 1s293ms 12 1 1s411ms 1s411ms 16 2 2s670ms 1s335ms 17 1 1s258ms 1s258ms 22 2 2s617ms 1s308ms [ User: pubeu - Total duration: 1m26s - Times executed: 63 ]
-
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 = '1630639' or receptorTerm.id = '1630639' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort;
Date: 2025-06-06 09:57:10 Duration: 4s906ms 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 = '1458145' or receptorTerm.id = '1458145' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort;
Date: 2025-06-03 06:22:25 Duration: 3s701ms 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 = '2081266' or receptorTerm.id = '2081266' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort;
Date: 2025-06-02 23:36:18 Duration: 2s631ms Database: ctdprd51 User: pubeu Bind query: yes
13 500 38m28s 4s226ms 10s173ms 4s616ms 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 #13
Day Hour Count Duration Avg duration Jun 01 00 1 4s417ms 4s417ms 01 19 1m26s 4s538ms 02 2 9s247ms 4s623ms 03 11 48s613ms 4s419ms 04 1 4s318ms 4s318ms 05 1 4s393ms 4s393ms 06 1 4s468ms 4s468ms 07 2 8s639ms 4s319ms 08 7 31s440ms 4s491ms 09 1 4s678ms 4s678ms 10 9 46s1ms 5s111ms 11 14 1m2s 4s453ms 12 2 8s992ms 4s496ms 13 1 4s344ms 4s344ms 14 1 4s516ms 4s516ms 16 1 4s503ms 4s503ms 18 1 4s405ms 4s405ms 21 1 4s380ms 4s380ms 22 1 4s537ms 4s537ms Jun 02 00 1 4s625ms 4s625ms 01 2 9s32ms 4s516ms 02 2 9s33ms 4s516ms 03 2 8s851ms 4s425ms 04 1 4s656ms 4s656ms 06 4 18s38ms 4s509ms 07 3 13s334ms 4s444ms 08 3 14s439ms 4s813ms 09 1 4s768ms 4s768ms 12 1 4s512ms 4s512ms 13 1 4s696ms 4s696ms 15 1 4s634ms 4s634ms 16 1 4s938ms 4s938ms 17 1 4s589ms 4s589ms 18 1 4s521ms 4s521ms 19 3 13s868ms 4s622ms 22 1 4s964ms 4s964ms 23 1 5s61ms 5s61ms Jun 03 01 1 4s721ms 4s721ms 03 1 4s835ms 4s835ms 04 1 4s880ms 4s880ms 05 1 4s348ms 4s348ms 06 3 18s370ms 6s123ms 07 4 19s177ms 4s794ms 08 37 2m47s 4s536ms 09 9 40s687ms 4s520ms 11 1 4s649ms 4s649ms 12 4 18s137ms 4s534ms 15 3 13s599ms 4s533ms 16 1 4s268ms 4s268ms 17 2 8s803ms 4s401ms 18 1 4s395ms 4s395ms 19 3 13s634ms 4s544ms 21 12 53s498ms 4s458ms 22 5 22s423ms 4s484ms Jun 04 02 2 9s40ms 4s520ms 03 12 55s164ms 4s597ms 04 16 1m16s 4s754ms 05 1 4s556ms 4s556ms 06 1 4s491ms 4s491ms 07 5 23s316ms 4s663ms 09 4 18s347ms 4s586ms 10 4 17s997ms 4s499ms 11 14 1m5s 4s658ms 13 12 53s847ms 4s487ms 14 10 44s860ms 4s486ms 15 1 4s448ms 4s448ms 16 2 9s159ms 4s579ms 17 1 4s523ms 4s523ms 18 1 4s606ms 4s606ms 19 1 4s365ms 4s365ms 20 2 8s948ms 4s474ms 22 2 9s162ms 4s581ms 23 12 54s593ms 4s549ms Jun 05 00 26 1m56s 4s493ms 01 14 1m3s 4s558ms 02 5 22s217ms 4s443ms 03 24 1m48s 4s527ms 04 9 41s848ms 4s649ms 05 4 18s458ms 4s614ms 06 2 9s227ms 4s613ms 07 9 41s118ms 4s568ms 08 1 4s428ms 4s428ms 09 7 31s736ms 4s533ms 10 9 43s864ms 4s873ms 11 4 19s390ms 4s847ms 12 4 18s713ms 4s678ms 13 3 14s9ms 4s669ms 14 3 15s93ms 5s31ms 15 2 9s37ms 4s518ms 17 2 12s28ms 6s14ms 21 2 9s591ms 4s795ms 22 2 11s470ms 5s735ms Jun 06 00 1 5s70ms 5s70ms 01 1 4s934ms 4s934ms 02 5 25s335ms 5s67ms 03 9 50s135ms 5s570ms 05 1 4s332ms 4s332ms 07 13 1m1s 4s761ms 08 3 13s182ms 4s394ms 10 2 9s133ms 4s566ms 11 1 4s417ms 4s417ms 12 1 4s390ms 4s390ms 13 2 9s69ms 4s534ms 14 1 5s171ms 5s171ms 16 3 13s463ms 4s487ms 19 3 13s249ms 4s416ms Jun 07 00 1 4s466ms 4s466ms 01 7 31s60ms 4s437ms 02 3 13s246ms 4s415ms 03 1 4s767ms 4s767ms 06 1 4s409ms 4s409ms 07 1 4s500ms 4s500ms 08 1 4s409ms 4s409ms 11 4 17s996ms 4s499ms 13 1 4s307ms 4s307ms 16 2 9s227ms 4s613ms 18 1 4s595ms 4s595ms [ User: pubeu - Total duration: 5m1s - Times executed: 64 ]
[ User: qaeu - Total duration: 4s375ms - Times executed: 1 ]
-
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 = '1286133') 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 = '1286133') 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: 2025-06-01 10:58:47 Duration: 10s173ms 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 = '1352010') 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 = '1352010') 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: 2025-06-06 03:18:43 Duration: 10s88ms 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 = '1343751') 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 = '1343751') 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: 2025-06-03 06:16:44 Duration: 8s442ms Database: ctdprd51 User: pubeu Bind query: yes
14 465 13m11s 1s254ms 4s198ms 1s702ms select c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposurereferencecount, case when cd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from chem_disease_axn a where a.chem_id = cd.chem_id and a.disease_id = cd.disease_id) else null end actiontypes from chem_disease cd inner join term c on cd.chem_id = c.id inner join term d on cd.disease_id = d.id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, cd.network_score desc nulls last, d.nm_sort, c.nm_sort limit ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jun 01 21 2 3s288ms 1s644ms 22 4 6s429ms 1s607ms 23 1 1s309ms 1s309ms Jun 02 03 1 1s294ms 1s294ms 13 1 1s946ms 1s946ms 15 2 2s752ms 1s376ms 16 5 8s460ms 1s692ms 17 2 3s292ms 1s646ms 18 1 1s521ms 1s521ms 20 2 4s241ms 2s120ms 21 2 3s176ms 1s588ms 22 1 1s321ms 1s321ms 23 2 3s469ms 1s734ms Jun 03 00 1 1s889ms 1s889ms 02 6 9s394ms 1s565ms 03 2 4s424ms 2s212ms 04 4 7s553ms 1s888ms 06 5 9s974ms 1s994ms 07 6 10s328ms 1s721ms 08 1 1s903ms 1s903ms 10 1 1s957ms 1s957ms 12 2 3s201ms 1s600ms 13 3 5s126ms 1s708ms 14 1 1s902ms 1s902ms 15 2 3s213ms 1s606ms 16 1 1s859ms 1s859ms 17 3 4s378ms 1s459ms 18 2 3s850ms 1s925ms 21 1 1s344ms 1s344ms 22 4 7s467ms 1s866ms 23 1 1s338ms 1s338ms Jun 04 00 2 3s282ms 1s641ms 01 3 5s140ms 1s713ms 02 2 3s179ms 1s589ms 03 3 5s110ms 1s703ms 04 1 1s967ms 1s967ms 05 3 5s738ms 1s912ms 06 3 5s803ms 1s934ms 07 1 1s929ms 1s929ms 08 3 4s984ms 1s661ms 09 4 7s56ms 1s764ms 11 3 5s33ms 1s677ms 12 2 2s654ms 1s327ms 13 2 3s226ms 1s613ms 14 3 5s115ms 1s705ms 15 5 8s151ms 1s630ms 16 6 10s780ms 1s796ms 17 2 3s200ms 1s600ms 18 5 7s609ms 1s521ms 19 6 9s598ms 1s599ms 20 7 12s588ms 1s798ms 21 7 11s445ms 1s635ms 22 7 12s58ms 1s722ms 23 5 8s424ms 1s684ms Jun 05 00 8 13s614ms 1s701ms 01 4 6s975ms 1s743ms 02 2 3s731ms 1s865ms 03 4 6s481ms 1s620ms 04 1 1s926ms 1s926ms 05 2 3s761ms 1s880ms 06 1 1s864ms 1s864ms 07 3 5s176ms 1s725ms 08 3 4s569ms 1s523ms 09 7 11s720ms 1s674ms 10 7 10s560ms 1s508ms 11 3 5s130ms 1s710ms 12 7 12s945ms 1s849ms 13 5 8s575ms 1s715ms 14 6 11s79ms 1s846ms 15 6 9s892ms 1s648ms 16 6 10s511ms 1s751ms 17 4 6s548ms 1s637ms 18 4 7s252ms 1s813ms 19 2 2s689ms 1s344ms 20 2 3s357ms 1s678ms 21 8 13s651ms 1s706ms 22 7 11s776ms 1s682ms 23 3 5s394ms 1s798ms Jun 06 00 5 8s70ms 1s614ms 01 2 3s514ms 1s757ms 02 3 5s958ms 1s986ms 03 4 7s554ms 1s888ms 07 3 4s621ms 1s540ms 08 5 9s404ms 1s880ms 09 2 2s597ms 1s298ms 10 3 5s996ms 1s998ms 11 1 1s854ms 1s854ms 12 1 1s315ms 1s315ms 13 1 1s368ms 1s368ms 14 4 7s496ms 1s874ms 15 2 3s103ms 1s551ms 16 1 1s920ms 1s920ms 19 2 3s764ms 1s882ms 20 2 3s121ms 1s560ms 21 4 6s973ms 1s743ms 22 6 10s132ms 1s688ms 23 4 7s43ms 1s760ms Jun 07 00 2 3s893ms 1s946ms 01 1 1s901ms 1s901ms 02 5 8s788ms 1s757ms 03 8 12s219ms 1s527ms 04 11 17s152ms 1s559ms 05 3 4s952ms 1s650ms 06 4 6s408ms 1s602ms 07 5 7s6ms 1s401ms 08 3 4s789ms 1s596ms 09 8 13s458ms 1s682ms 10 3 4s503ms 1s501ms 11 2 3s730ms 1s865ms 12 5 8s916ms 1s783ms 13 7 11s426ms 1s632ms 14 15 24s943ms 1s662ms 15 9 15s994ms 1s777ms 16 4 7s634ms 1s908ms 17 7 11s631ms 1s661ms 18 10 17s674ms 1s767ms 19 7 13s714ms 1s959ms 20 4 7s272ms 1s818ms 21 4 6s506ms 1s626ms 22 8 12s747ms 1s593ms 23 13 21s499ms 1s653ms [ User: pubeu - Total duration: 2m3s - Times executed: 73 ]
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1411566') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-06-03 06:56:57 Duration: 4s198ms Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1411566') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-06-03 03:18:22 Duration: 2s372ms Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1411566') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-06-02 20:58:23 Duration: 2s298ms Database: ctdprd51 User: pubeu Bind query: yes
15 431 10m43s 1s347ms 3s129ms 1s491ms 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;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jun 01 00 4 5s902ms 1s475ms 02 5 7s430ms 1s486ms 03 3 4s589ms 1s529ms 04 2 3s129ms 1s564ms 05 5 9s43ms 1s808ms 06 1 1s501ms 1s501ms 07 1 1s491ms 1s491ms 08 2 2s947ms 1s473ms 09 3 4s472ms 1s490ms 10 2 2s907ms 1s453ms 11 4 5s859ms 1s464ms 12 3 4s295ms 1s431ms 13 1 1s504ms 1s504ms 14 2 2s829ms 1s414ms 15 1 1s506ms 1s506ms 16 8 13s385ms 1s673ms 17 5 7s417ms 1s483ms 18 1 1s376ms 1s376ms 19 1 1s406ms 1s406ms 20 1 1s383ms 1s383ms 21 5 7s448ms 1s489ms 22 1 1s414ms 1s414ms 23 3 4s419ms 1s473ms Jun 02 00 1 1s544ms 1s544ms 01 4 6s67ms 1s516ms 02 3 4s347ms 1s449ms 03 1 1s476ms 1s476ms 04 2 3s90ms 1s545ms 05 2 3s9ms 1s504ms 06 5 7s351ms 1s470ms 07 6 8s685ms 1s447ms 08 5 7s372ms 1s474ms 09 2 2s917ms 1s458ms 10 3 4s447ms 1s482ms 11 6 8s838ms 1s473ms 12 3 4s404ms 1s468ms 13 4 5s826ms 1s456ms 14 3 4s344ms 1s448ms 15 2 2s816ms 1s408ms 16 3 4s351ms 1s450ms 17 5 7s498ms 1s499ms 19 2 3s54ms 1s527ms 20 3 4s367ms 1s455ms 21 1 1s420ms 1s420ms 22 4 5s999ms 1s499ms 23 3 4s574ms 1s524ms Jun 03 00 3 4s645ms 1s548ms 01 5 9s98ms 1s819ms 02 4 7s9ms 1s752ms 03 2 2s985ms 1s492ms 04 4 6s318ms 1s579ms 06 2 4s816ms 2s408ms 07 1 1s466ms 1s466ms 11 3 4s415ms 1s471ms 12 5 7s356ms 1s471ms 13 2 2s888ms 1s444ms 14 3 4s397ms 1s465ms 15 2 2s844ms 1s422ms 18 6 8s660ms 1s443ms 19 2 2s883ms 1s441ms 20 4 5s587ms 1s396ms 21 3 4s361ms 1s453ms 22 1 1s444ms 1s444ms 23 8 12s19ms 1s502ms Jun 04 00 4 5s843ms 1s460ms 01 4 5s776ms 1s444ms 02 4 5s964ms 1s491ms 03 3 4s354ms 1s451ms 04 3 4s532ms 1s510ms 05 3 4s416ms 1s472ms 06 3 4s293ms 1s431ms 07 5 7s253ms 1s450ms 08 1 1s506ms 1s506ms 09 2 2s910ms 1s455ms 10 6 8s720ms 1s453ms 11 2 2s866ms 1s433ms 12 8 12s828ms 1s603ms 13 2 2s907ms 1s453ms 14 4 5s734ms 1s433ms 15 2 2s826ms 1s413ms 16 3 4s373ms 1s457ms 17 2 2s785ms 1s392ms 18 3 4s344ms 1s448ms 19 2 2s943ms 1s471ms 20 3 4s343ms 1s447ms 21 5 7s325ms 1s465ms 23 5 7s290ms 1s458ms Jun 05 00 4 5s709ms 1s427ms 01 2 2s892ms 1s446ms 02 1 1s530ms 1s530ms 03 4 5s767ms 1s441ms 04 7 10s440ms 1s491ms 05 4 5s840ms 1s460ms 06 1 1s410ms 1s410ms 07 2 2s899ms 1s449ms 08 3 4s323ms 1s441ms 09 2 3s37ms 1s518ms 10 2 2s992ms 1s496ms 11 5 7s163ms 1s432ms 12 6 8s758ms 1s459ms 13 5 7s242ms 1s448ms 14 7 10s70ms 1s438ms 15 4 5s730ms 1s432ms 16 2 2s822ms 1s411ms 17 6 9s17ms 1s502ms 18 3 4s379ms 1s459ms 19 4 5s702ms 1s425ms 20 4 6s638ms 1s659ms 21 5 7s225ms 1s445ms 22 1 1s554ms 1s554ms 23 2 4s20ms 2s10ms Jun 06 00 6 9s245ms 1s540ms 01 3 4s800ms 1s600ms 02 4 6s183ms 1s545ms 03 1 1s525ms 1s525ms 05 1 1s380ms 1s380ms 06 1 1s347ms 1s347ms 07 1 1s567ms 1s567ms 08 4 5s705ms 1s426ms 09 7 10s161ms 1s451ms 10 3 4s194ms 1s398ms 11 4 5s602ms 1s400ms 12 3 4s309ms 1s436ms 13 4 5s777ms 1s444ms 14 3 4s244ms 1s414ms 15 5 6s888ms 1s377ms 16 3 4s376ms 1s458ms 18 2 2s765ms 1s382ms 19 3 4s446ms 1s482ms 21 3 4s453ms 1s484ms 22 2 2s931ms 1s465ms 23 3 4s604ms 1s534ms Jun 07 07 2 3s87ms 1s543ms 21 1 1s457ms 1s457ms [ User: pubeu - Total duration: 1m45s - Times executed: 67 ]
-
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 = '1245135') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1245135') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort;
Date: 2025-06-01 16:59:21 Duration: 3s129ms 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 = '1261539') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1261539') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort;
Date: 2025-06-03 01:33:49 Duration: 2s991ms 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 = '1249151') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1249151') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort;
Date: 2025-06-01 05:04:40 Duration: 2s922ms Database: ctdprd51 User: pubeu Bind query: yes
16 426 26m27s 1s2ms 7s990ms 3s725ms select ii.cd, count(ii.id) cnt from ( select ot.cd, tl.term_id id from object_type ot inner join term_label tl on ot.id = tl.object_type_id where tl.nm_fts @@ to_tsquery(?, ?) union select ?, r.id from reference r where r.title_abstract_fts @@ to_tsquery(?, ?) or r.id in ( select rpr.reference_id from reference_party_role rpr inner join reference_party rp on rpr.reference_party_id = rp.id where (substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ?)) union select ot.cd, l.object_id from db_link l inner join object_type ot on l.object_type_id = ot.id where l.type_cd = ? and (upper(l.acc_txt) like ?)) ii group by ii.cd;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jun 01 00 2 11s408ms 5s704ms 02 2 11s531ms 5s765ms 03 1 6s1ms 6s1ms 04 3 12s631ms 4s210ms 05 7 22s123ms 3s160ms 06 1 1s137ms 1s137ms 07 1 5s740ms 5s740ms 08 3 7s918ms 2s639ms 09 2 11s397ms 5s698ms 10 2 11s491ms 5s745ms 11 2 11s429ms 5s714ms 12 3 12s542ms 4s180ms 13 2 6s738ms 3s369ms 14 1 5s696ms 5s696ms 15 2 11s556ms 5s778ms 16 1 5s671ms 5s671ms 17 5 24s423ms 4s884ms 18 1 5s730ms 5s730ms 21 1 5s703ms 5s703ms 22 3 12s937ms 4s312ms 23 1 1s17ms 1s17ms Jun 02 00 1 1s125ms 1s125ms 01 6 16s354ms 2s725ms 02 5 19s494ms 3s898ms 03 2 11s464ms 5s732ms 04 4 13s477ms 3s369ms 05 1 1s22ms 1s22ms 06 5 19s834ms 3s966ms 07 3 7s902ms 2s634ms 08 1 5s838ms 5s838ms 11 1 5s753ms 5s753ms 12 7 31s190ms 4s455ms 13 5 15s239ms 3s47ms 14 5 14s903ms 2s980ms 15 4 8s909ms 2s227ms 16 3 3s878ms 1s292ms 17 1 5s747ms 5s747ms 18 3 7s826ms 2s608ms 19 3 17s645ms 5s881ms 20 6 26s280ms 4s380ms 22 2 2s156ms 1s78ms 23 6 11s775ms 1s962ms Jun 03 00 7 28s156ms 4s22ms 01 2 11s728ms 5s864ms 02 11 41s237ms 3s748ms 03 4 9s242ms 2s310ms 04 1 1s371ms 1s371ms 05 2 3s739ms 1s869ms 06 6 12s713ms 2s118ms 07 4 19s48ms 4s762ms 08 1 5s711ms 5s711ms 10 1 5s736ms 5s736ms 11 3 7s955ms 2s651ms 12 2 6s844ms 3s422ms 13 1 1s29ms 1s29ms 14 1 5s824ms 5s824ms 15 1 1s109ms 1s109ms 16 1 5s638ms 5s638ms 17 1 5s626ms 5s626ms 18 4 22s645ms 5s661ms 19 5 14s916ms 2s983ms 20 5 18s893ms 3s778ms 21 19 1m7s 3s572ms 22 3 17s67ms 5s689ms 23 5 24s311ms 4s862ms Jun 04 02 3 8s290ms 2s763ms 03 1 1s122ms 1s122ms 04 9 43s268ms 4s807ms 05 4 18s883ms 4s720ms 06 3 3s416ms 1s138ms 07 3 7s978ms 2s659ms 08 1 1s53ms 1s53ms 09 2 6s745ms 3s372ms 10 4 4s692ms 1s173ms 11 7 23s707ms 3s386ms 12 3 12s665ms 4s221ms 13 2 2s121ms 1s60ms 15 4 4s717ms 1s179ms 16 2 6s782ms 3s391ms 17 4 13s539ms 3s384ms 19 6 34s590ms 5s765ms 20 4 9s117ms 2s279ms 21 3 12s554ms 4s184ms 22 5 14s814ms 2s962ms 23 2 11s589ms 5s794ms Jun 05 00 2 7s32ms 3s516ms 01 7 30s821ms 4s403ms 02 7 35s387ms 5s55ms 03 9 28s747ms 3s194ms 04 5 14s465ms 2s893ms 05 2 6s822ms 3s411ms 06 1 5s752ms 5s752ms 07 4 18s415ms 4s603ms 08 3 17s319ms 5s773ms 09 3 12s668ms 4s222ms 10 3 3s373ms 1s124ms 11 2 11s327ms 5s663ms 12 3 8s134ms 2s711ms 13 3 12s633ms 4s211ms 14 3 17s282ms 5s760ms 15 6 29s817ms 4s969ms 16 2 7s160ms 3s580ms 17 3 12s565ms 4s188ms 18 1 1s488ms 1s488ms 19 2 2s100ms 1s50ms 20 5 16s485ms 3s297ms 21 6 17s842ms 2s973ms 22 2 2s533ms 1s266ms 23 4 19s23ms 4s755ms Jun 06 00 6 17s872ms 2s978ms 01 4 13s888ms 3s472ms 02 5 10s977ms 2s195ms 03 2 12s298ms 6s149ms 04 1 5s658ms 5s658ms 07 2 2s298ms 1s149ms 08 4 22s743ms 5s685ms 09 5 19s939ms 3s987ms 10 3 12s667ms 4s222ms 11 2 11s323ms 5s661ms 12 1 5s623ms 5s623ms 13 1 1s245ms 1s245ms 14 3 12s518ms 4s172ms 15 1 5s575ms 5s575ms 16 3 17s223ms 5s741ms 17 1 1s144ms 1s144ms 18 1 5s659ms 5s659ms 19 1 5s681ms 5s681ms 22 1 5s687ms 5s687ms Jun 07 01 4 5s388ms 1s347ms 10 1 5s792ms 5s792ms 12 2 2s61ms 1s30ms 16 1 6s176ms 6s176ms 21 1 5s685ms 5s685ms [ User: pubeu - Total duration: 5m4s - Times executed: 91 ]
-
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', 'DSIM_GLEANR_5678') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'DSIM_GLEANR_5678') 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 'DSIM_GLEANR_5678')) 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 'DSIM_GLEANR_5678')) ii GROUP BY ii.cd;
Date: 2025-06-04 11:28:44 Duration: 7s990ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'TJP2_1') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'TJP2_1') 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 'TJP2_1')) 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 'TJP2_1')) ii GROUP BY ii.cd;
Date: 2025-06-06 00:55:41 Duration: 7s34ms Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'DAG1_0') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'DAG1_0') 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 'DAG1_0')) 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 'DAG1_0')) ii GROUP BY ii.cd;
Date: 2025-06-03 00:56:42 Duration: 6s807ms Database: ctdprd51 User: pubeu Bind query: yes
17 423 1h9m2s 1s6ms 51s247ms 9s793ms select sq.*, count(*) over () fullrowcount from ( select distinct gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid from dag_node gt inner join gene_go_annot gga on gt.object_id = gga.go_term_id inner join term g on gga.gene_id = g.id where gt.id in ( select p.descendant_dag_node_id from dag_path p where p.ancestor_object_id = ?) and gga.is_not = false) sq order by sq.gonmsort, sq.genesymbolsort limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jun 01 14 1 8s321ms 8s321ms 16 1 1s584ms 1s584ms 22 5 1m15s 15s140ms 23 3 39s791ms 13s263ms Jun 02 05 1 1s390ms 1s390ms 10 1 8s738ms 8s738ms 11 2 35s905ms 17s952ms 12 1 11s883ms 11s883ms 13 1 9s212ms 9s212ms 14 3 29s148ms 9s716ms 16 2 36s468ms 18s234ms 17 2 12s675ms 6s337ms 19 6 1m 10s156ms 20 5 45s523ms 9s104ms 21 2 26s947ms 13s473ms 22 1 12s251ms 12s251ms 23 2 18s966ms 9s483ms Jun 03 00 5 51s807ms 10s361ms 01 6 1m 10s17ms 02 3 1m 20s55ms 03 6 1m16s 12s670ms 04 4 1m32s 23s107ms 05 3 24s204ms 8s68ms 06 5 58s965ms 11s793ms 07 4 33s427ms 8s356ms 08 6 48s594ms 8s99ms 09 2 3s471ms 1s735ms 10 1 3s602ms 3s602ms 11 2 2s942ms 1s471ms 12 3 27s973ms 9s324ms 13 2 23s268ms 11s634ms 14 5 20s606ms 4s121ms 15 4 9s84ms 2s271ms 16 1 18s977ms 18s977ms 17 4 9s572ms 2s393ms 18 1 24s374ms 24s374ms 19 2 25s559ms 12s779ms 20 2 21s477ms 10s738ms 21 2 20s358ms 10s179ms 22 3 21s887ms 7s295ms 23 2 6s74ms 3s37ms Jun 04 00 3 3s941ms 1s313ms 01 3 30s424ms 10s141ms 02 6 1m20s 13s343ms 04 2 5s691ms 2s845ms 05 3 6s146ms 2s48ms 09 3 13s775ms 4s591ms 10 2 4s45ms 2s22ms 12 1 19s446ms 19s446ms 13 1 1s131ms 1s131ms 14 2 2s482ms 1s241ms 15 5 31s784ms 6s356ms 16 2 2s194ms 1s97ms 18 4 58s668ms 14s667ms 19 2 7s389ms 3s694ms 20 1 1s526ms 1s526ms 21 2 53s283ms 26s641ms 22 3 13s408ms 4s469ms 23 1 2s474ms 2s474ms Jun 05 00 2 7s182ms 3s591ms 01 2 5s442ms 2s721ms 02 4 36s154ms 9s38ms 03 2 6s97ms 3s48ms 05 3 48s423ms 16s141ms 06 3 24s414ms 8s138ms 07 4 36s168ms 9s42ms 08 3 34s606ms 11s535ms 09 2 12s232ms 6s116ms 10 1 1s414ms 1s414ms 11 7 53s882ms 7s697ms 12 3 34s436ms 11s478ms 13 1 24s727ms 24s727ms 14 10 2m13s 13s304ms 15 9 1m32s 10s317ms 16 4 1m2s 15s675ms 17 8 1m34s 11s781ms 18 4 30s864ms 7s716ms 19 7 1m25s 12s238ms 20 4 1m47s 26s800ms 21 7 46s425ms 6s632ms 22 8 1m34s 11s786ms 23 6 58s217ms 9s702ms Jun 06 00 6 1m34s 15s731ms 01 7 1m20s 11s474ms 02 5 40s546ms 8s109ms 03 3 49s294ms 16s431ms 07 1 1s726ms 1s726ms 08 1 1s156ms 1s156ms 09 4 45s960ms 11s490ms 10 1 23s795ms 23s795ms 11 3 17s291ms 5s763ms 13 1 12s719ms 12s719ms 14 2 50s410ms 25s205ms 15 1 1s217ms 1s217ms 16 1 9s361ms 9s361ms 18 1 4s74ms 4s74ms 19 2 29s293ms 14s646ms 20 1 4s61ms 4s61ms 21 1 1s464ms 1s464ms 22 2 30s978ms 15s489ms 23 1 4s227ms 4s227ms Jun 07 00 2 46s468ms 23s234ms 01 3 12s406ms 4s135ms 02 5 51s877ms 10s375ms 03 1 23s196ms 23s196ms 04 14 1m31s 6s558ms 05 2 2s804ms 1s402ms 06 4 32s457ms 8s114ms 07 4 35s306ms 8s826ms 08 4 23s802ms 5s950ms 09 5 46s694ms 9s338ms 11 3 20s524ms 6s841ms 12 3 41s38ms 13s679ms 13 3 13s185ms 4s395ms 14 7 28s97ms 4s13ms 15 7 1m1s 8s804ms 16 6 50s718ms 8s453ms 17 9 1m13s 8s130ms 18 4 18s46ms 4s511ms 19 7 1m5s 9s321ms 20 4 44s639ms 11s159ms 21 6 1m21s 13s593ms 22 4 1m6s 16s707ms 23 5 59s785ms 11s957ms [ User: pubeu - Total duration: 10m9s - Times executed: 60 ]
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1244581') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-06-04 21:54:06 Duration: 51s247ms Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1234207') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-06-05 20:54:54 Duration: 40s102ms Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1234207') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-06-03 02:19:47 Duration: 30s744ms Database: ctdprd51 User: pubeu Bind query: yes
18 380 25m21s 1s2ms 8s764ms 4s4ms 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 Jun 01 01 2 7s34ms 3s517ms 02 4 13s488ms 3s372ms 05 7 7s584ms 1s83ms 06 3 3s297ms 1s99ms 07 1 1s102ms 1s102ms 08 1 1s186ms 1s186ms 11 1 5s876ms 5s876ms 13 1 1s343ms 1s343ms 14 1 6s 6s 17 1 5s940ms 5s940ms 20 2 11s856ms 5s928ms 21 1 1s58ms 1s58ms 22 16 1m16s 4s794ms 23 5 29s115ms 5s823ms Jun 02 00 3 7s629ms 2s543ms 01 1 1s121ms 1s121ms 03 2 12s504ms 6s252ms 05 9 26s617ms 2s957ms 07 1 5s642ms 5s642ms 09 2 11s535ms 5s767ms 10 1 6s129ms 6s129ms 13 1 5s551ms 5s551ms 16 12 49s151ms 4s95ms 19 3 18s982ms 6s327ms 21 1 6s583ms 6s583ms 23 1 6s280ms 6s280ms Jun 03 00 1 6s208ms 6s208ms 02 2 12s123ms 6s61ms 03 3 19s438ms 6s479ms 05 6 7s928ms 1s321ms 06 1 6s193ms 6s193ms 08 1 5s842ms 5s842ms 10 6 32s878ms 5s479ms 11 1 5s256ms 5s256ms 19 2 12s961ms 6s480ms 21 2 6s530ms 3s265ms 22 1 1s40ms 1s40ms 23 2 6s492ms 3s246ms Jun 04 02 2 7s651ms 3s825ms 03 2 6s376ms 3s188ms 04 2 13s82ms 6s541ms 05 8 15s74ms 1s884ms 06 2 12s415ms 6s207ms 11 1 5s926ms 5s926ms 12 1 1s78ms 1s78ms 15 1 6s102ms 6s102ms 18 4 13s918ms 3s479ms 19 7 26s708ms 3s815ms 20 1 5s197ms 5s197ms 21 2 10s314ms 5s157ms 22 7 30s441ms 4s348ms 23 15 1m7s 4s532ms Jun 05 00 8 34s709ms 4s338ms 01 7 32s27ms 4s575ms 03 9 56s498ms 6s277ms 04 3 17s598ms 5s866ms 05 7 8s21ms 1s145ms 06 1 1s77ms 1s77ms 08 7 28s904ms 4s129ms 09 10 44s754ms 4s475ms 10 2 8s310ms 4s155ms 11 2 6s706ms 3s353ms 12 1 1s270ms 1s270ms 13 1 5s668ms 5s668ms 20 1 1s37ms 1s37ms 21 6 28s477ms 4s746ms 22 15 1m4s 4s330ms 23 2 7s100ms 3s550ms Jun 06 00 2 6s931ms 3s465ms 02 3 3s415ms 1s138ms 05 3 3s44ms 1s14ms 07 6 11s234ms 1s872ms 08 1 1s3ms 1s3ms 10 1 6s293ms 6s293ms 16 4 9s505ms 2s376ms 19 1 1s68ms 1s68ms 21 1 1s63ms 1s63ms Jun 07 01 1 5s704ms 5s704ms 03 6 24s828ms 4s138ms 04 19 1m14s 3s944ms 05 6 6s754ms 1s125ms 07 1 6s201ms 6s201ms 12 4 22s786ms 5s696ms 13 8 30s543ms 3s817ms 14 20 1m27s 4s354ms 16 1 6s30ms 6s30ms 17 1 1s111ms 1s111ms 18 18 1m20s 4s464ms 20 3 8s263ms 2s754ms 21 4 19s270ms 4s817ms 22 7 31s719ms 4s531ms 23 11 50s828ms 4s620ms [ User: pubeu - Total duration: 2m36s - Times executed: 39 ]
[ User: qaeu - Total duration: 7s927ms - Times executed: 6 ]
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1454976' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-06-05 22:30:44 Duration: 8s764ms 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 = '1304187' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-06-05 21:56:35 Duration: 7s604ms 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 = '1287927' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-06-04 05:14:44 Duration: 7s538ms Bind query: yes
19 342 12m16s 1s19ms 4s446ms 2s152ms select sq.*, count(*) over () fullrowcount from ( select t.acc_txt acc, ? || t.nm accquerystr, t.nm, t.nm_html nmhtml, t.secondary_nm secondarynm, l.nm matchednm, lt.nm_display matchedtype, case when lt.nm_display = ? then true else false end isnamematch, case when lt.nm_display = ? then true else false end issecondarynamematch, t.has_chems haschems, t.has_diseases hasdiseases, t.has_exposures hasexposures, case when upper(l.nm) = ? then ? else ? end relevance, t.nm_sort, t.id, t.has_phenotypes hasphenotypes from term t inner join term_label l on l.term_id = t.id inner join term_label_type lt on l.term_label_type_id = lt.id where l.object_type_id = ? and t.object_type_id = ? and l.id in ( select first_value(i.id) over (partition by i.term_id order by it.priority_seq, i.nm) from term_label i inner join term_label_type it on i.term_label_type_id = it.id where i.object_type_id = ? and i.nm_fts @@ to_tsquery(?, ?)) union all select t.acc_txt acc, ? || t.nm accquerystr, t.nm, t.nm_html nmhtml, t.secondary_nm secondarynm, l.acc_txt matchednm, ? matchedtype, false isnamematch, false issecondarynamematch, t.has_chems haschems, t.has_diseases hasdiseases, t.has_exposures hasexposures, ? relevance, t.nm_sort, t.id, t.has_phenotypes hasphenotypes from db_link l inner join term t on l.object_id = t.id where l.type_cd = ? and l.object_type_id = ? and (upper(l.acc_txt) = ? or upper(l.acc_txt) = ? or upper(l.acc_txt) = ?) order by ?, ?) sq limit ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jun 01 00 2 4s93ms 2s46ms 01 6 12s447ms 2s74ms 02 1 2s154ms 2s154ms 03 2 4s318ms 2s159ms 04 4 8s623ms 2s155ms 05 3 6s299ms 2s99ms 06 3 6s236ms 2s78ms 07 3 6s293ms 2s97ms 08 3 6s185ms 2s61ms 09 2 4s322ms 2s161ms 10 4 8s715ms 2s178ms 11 5 10s381ms 2s76ms 12 10 21s29ms 2s102ms 13 4 8s370ms 2s92ms 14 4 8s395ms 2s98ms 15 4 8s239ms 2s59ms 16 8 16s986ms 2s123ms 17 3 6s452ms 2s150ms 18 2 4s136ms 2s68ms 19 8 16s929ms 2s116ms 20 9 18s732ms 2s81ms 21 7 14s721ms 2s103ms 22 3 6s376ms 2s125ms 23 7 14s946ms 2s135ms Jun 02 00 10 21s443ms 2s144ms 01 4 8s375ms 2s93ms 02 4 8s471ms 2s117ms 03 2 4s144ms 2s72ms 04 12 25s94ms 2s91ms 05 2 4s210ms 2s105ms 06 4 8s683ms 2s170ms 07 6 12s671ms 2s111ms 08 8 17s350ms 2s168ms 09 8 16s755ms 2s94ms 10 7 15s115ms 2s159ms 11 9 19s155ms 2s128ms 12 8 16s861ms 2s107ms 13 3 6s355ms 2s118ms 14 5 10s403ms 2s80ms 15 1 2s250ms 2s250ms 16 8 18s846ms 2s355ms 17 6 12s925ms 2s154ms 18 2 4s513ms 2s256ms 19 3 6s529ms 2s176ms 20 3 6s677ms 2s225ms 21 6 12s949ms 2s158ms 22 7 15s240ms 2s177ms 23 6 13s449ms 2s241ms Jun 03 00 7 14s367ms 2s52ms 01 9 20s318ms 2s257ms 02 6 14s50ms 2s341ms 03 3 6s374ms 2s124ms 04 10 23s221ms 2s322ms 06 6 16s471ms 2s745ms 07 10 23s738ms 2s373ms 08 5 10s812ms 2s162ms 09 1 2s116ms 2s116ms 10 9 18s454ms 2s50ms 11 4 8s272ms 2s68ms 12 1 2s24ms 2s24ms 13 1 1s998ms 1s998ms 14 2 3s991ms 1s995ms 15 3 6s360ms 2s120ms 17 1 2s31ms 2s31ms 19 2 4s162ms 2s81ms 20 1 2s46ms 2s46ms 21 1 2s150ms 2s150ms 22 1 2s27ms 2s27ms Jun 04 01 4 8s321ms 2s80ms 03 2 4s93ms 2s46ms 04 2 3s973ms 1s986ms 05 1 2s304ms 2s304ms 07 1 2s220ms 2s220ms 08 1 2s146ms 2s146ms 09 2 4s124ms 2s62ms 11 3 6s44ms 2s14ms 12 1 2s135ms 2s135ms Jun 07 14 1 2s76ms 2s76ms [ User: pubeu - Total duration: 1m39s - Times executed: 45 ]
-
SELECT /* GeneBasicQueryDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT /* label */ t.acc_txt acc, 'name:' || t.nm accQueryStr, t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, l.nm matchedNm, lt.nm_display matchedType, CASE WHEN lt.nm_display = 'Symbol' THEN true ELSE false END isNameMatch, CASE WHEN lt.nm_display = 'Name' THEN true ELSE false END isSecondaryNameMatch, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, CASE WHEN UPPER(l.nm) = 'HYPOTHETICAL PROTEIN' THEN 1 ELSE 2 END relevance, t.nm_sort, t.id, t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN ( SELECT FIRST_VALUE(i.id) OVER (PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', 'HYPOTHETICAL & PROTEIN')) UNION ALL SELECT /* acc */ t.acc_txt acc, 'name:' || t.nm accQueryStr, t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, l.acc_txt matchednm, 'Accession' matchedtype, false isNameMatch, false isSecondaryNameMatch, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, 1 relevance, t.nm_sort, t.id, t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper(l.acc_txt) = 'HYPOTHETICAL' OR upper(l.acc_txt) = 'PROTEIN' OR upper(l.acc_txt) = 'HYPOTHETICAL PROTEIN') ORDER BY 13, 14) sq LIMIT 50;
Date: 2025-06-03 06:17:53 Duration: 4s446ms Bind query: yes
-
SELECT /* GeneBasicQueryDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT /* label */ t.acc_txt acc, 'name:' || t.nm accQueryStr, t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, l.nm matchedNm, lt.nm_display matchedType, CASE WHEN lt.nm_display = 'Symbol' THEN true ELSE false END isNameMatch, CASE WHEN lt.nm_display = 'Name' THEN true ELSE false END isSecondaryNameMatch, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, CASE WHEN UPPER(l.nm) = 'HYPOTHETICAL PROTEIN' THEN 1 ELSE 2 END relevance, t.nm_sort, t.id, t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN ( SELECT FIRST_VALUE(i.id) OVER (PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', 'HYPOTHETICAL & PROTEIN')) UNION ALL SELECT /* acc */ t.acc_txt acc, 'name:' || t.nm accQueryStr, t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, l.acc_txt matchednm, 'Accession' matchedtype, false isNameMatch, false isSecondaryNameMatch, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, 1 relevance, t.nm_sort, t.id, t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper(l.acc_txt) = 'HYPOTHETICAL' OR upper(l.acc_txt) = 'PROTEIN' OR upper(l.acc_txt) = 'HYPOTHETICAL PROTEIN') ORDER BY 13, 14) sq LIMIT 50;
Date: 2025-06-02 16:46:13 Duration: 3s501ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GeneBasicQueryDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT /* label */ t.acc_txt acc, 'name:' || t.nm accQueryStr, t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, l.nm matchedNm, lt.nm_display matchedType, CASE WHEN lt.nm_display = 'Symbol' THEN true ELSE false END isNameMatch, CASE WHEN lt.nm_display = 'Name' THEN true ELSE false END isSecondaryNameMatch, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, CASE WHEN UPPER(l.nm) = 'HYPOTHETICAL PROTEIN' THEN 1 ELSE 2 END relevance, t.nm_sort, t.id, t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN ( SELECT FIRST_VALUE(i.id) OVER (PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', 'HYPOTHETICAL & PROTEIN')) UNION ALL SELECT /* acc */ t.acc_txt acc, 'name:' || t.nm accQueryStr, t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, l.acc_txt matchednm, 'Accession' matchedtype, false isNameMatch, false isSecondaryNameMatch, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, 1 relevance, t.nm_sort, t.id, t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper(l.acc_txt) = 'HYPOTHETICAL' OR upper(l.acc_txt) = 'PROTEIN' OR upper(l.acc_txt) = 'HYPOTHETICAL PROTEIN') ORDER BY 13, 14) sq LIMIT 50;
Date: 2025-06-03 07:33:51 Duration: 3s119ms Bind query: yes
20 335 18h24m26s 1s342ms 21m44s 3m17s 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 #20
Day Hour Count Duration Avg duration Jun 01 22 2 5s25ms 2s512ms 23 2 18m30s 9m15s Jun 02 08 1 3s509ms 3s509ms 13 1 18m24s 18m24s 15 1 1s552ms 1s552ms 16 2 3s220ms 1s610ms 19 1 1s566ms 1s566ms 20 2 20m26s 10m13s 21 1 3s399ms 3s399ms 22 5 18m42s 3m44s 23 5 1h15m46s 15m9s Jun 03 00 3 21m8s 7m2s 01 3 8s595ms 2s865ms 02 1 2s522ms 2s522ms 03 3 38m48s 12m56s 04 2 37m38s 18m49s 05 2 3s382ms 1s691ms 06 6 1h25m32s 14m15s 07 5 19m18s 3m51s 08 2 18m48s 9m24s 09 1 2m9s 2m9s 10 3 6s612ms 2s204ms 11 1 3s387ms 3s387ms 12 4 11m31s 2m52s 13 1 1s779ms 1s779ms 14 1 3m3s 3m3s 16 1 1s692ms 1s692ms 17 3 5m33s 1m51s 18 1 4m36s 4m36s 19 2 3s622ms 1s811ms 20 1 1s772ms 1s772ms 22 2 3m12s 1m36s 23 2 4s187ms 2s93ms Jun 04 01 1 4m14s 4m14s 02 3 10m42s 3m34s 03 1 2s36ms 2s36ms 05 1 3s490ms 3s490ms 08 1 2s614ms 2s614ms 09 2 3m41s 1m50s 10 3 6s412ms 2s137ms 12 2 4s119ms 2s59ms 13 1 2s186ms 2s186ms 14 1 4m29s 4m29s 15 1 1s978ms 1s978ms 16 4 3m30s 52s504ms 17 1 18m32s 18m32s 18 3 7s460ms 2s486ms 19 4 8m57s 2m14s 20 3 5s927ms 1s975ms 21 2 1m25s 42s715ms 23 5 8m50s 1m46s Jun 05 00 1 1s680ms 1s680ms 01 2 5s778ms 2s889ms 02 1 1s921ms 1s921ms 03 2 2m53s 1m26s 04 3 3m11s 1m3s 05 5 10s996ms 2s199ms 06 2 5s876ms 2s938ms 07 2 3s337ms 1s668ms 08 4 10s582ms 2s645ms 09 5 16s959ms 3s391ms 10 3 3m10s 1m3s 11 1 2s505ms 2s505ms 12 3 7m42s 2m34s 13 2 3s452ms 1s726ms 14 3 18m38s 6m12s 15 3 23m59s 7m59s 16 2 18m31s 9m15s 17 2 6s959ms 3s479ms 18 9 51m55s 5m46s 19 3 18m50s 6m16s 20 4 10s260ms 2s565ms 21 3 6s978ms 2s326ms 22 5 18m59s 3m47s 23 5 23m18s 4m39s Jun 06 00 6 15m30s 2m35s 01 10 19m25s 1m56s 02 4 10s670ms 2s667ms 03 4 59m30s 14m52s 08 1 6m27s 6m27s 09 2 4s48ms 2s24ms 10 1 5m27s 5m27s 11 1 2s64ms 2s64ms 12 3 5m22s 1m47s 13 2 9s728ms 4s864ms 15 3 3m5s 1m1s 16 1 3s380ms 3s380ms 19 3 18m37s 6m12s 20 1 1s651ms 1s651ms 21 2 9m50s 4m55s 23 1 1s837ms 1s837ms Jun 07 00 3 5m29s 1m49s 01 1 2s144ms 2s144ms 02 2 5s640ms 2s820ms 03 3 9m48s 3m16s 04 6 3m47s 37s861ms 05 5 3m49s 45s809ms 06 3 4m32s 1m30s 07 2 4s78ms 2s39ms 08 2 5s144ms 2s572ms 09 2 3m25s 1m42s 10 3 6s459ms 2s153ms 11 6 23m52s 3m58s 12 8 29m15s 3m39s 14 4 3m26s 51s624ms 15 3 2m32s 50s950ms 16 3 7s610ms 2s536ms 17 8 56m19s 7m2s 18 8 40m18s 5m2s 19 5 18m49s 3m45s 20 8 37m6s 4m38s 21 9 37m5s 4m7s 22 2 3s337ms 1s668ms 23 7 18m38s 2m39s [ User: pubeu - Total duration: 3h10m54s - Times executed: 46 ]
-
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 = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-06-06 03:02:41 Duration: 21m44s 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 = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-06-03 06:45:29 Duration: 21m36s 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 = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-06-03 06:25:29 Duration: 21m33s Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 25m41s 25m41s 25m41s 1 25m41s 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 Jun 07 19 1 25m41s 25m41s -
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: 2025-06-07 19:03:04 Duration: 25m41s
2 6m9s 8m40s 7m33s 7 52m52s select maint_query_logs_archive ();Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jun 01 00 1 6m9s 6m9s Jun 02 00 1 6m34s 6m34s Jun 03 00 1 7m8s 7m8s Jun 04 00 1 7m32s 7m32s Jun 05 00 1 8m15s 8m15s Jun 06 00 1 8m31s 8m31s Jun 07 00 1 8m40s 8m40s -
/* * 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: 2025-06-07 00:08:42 Duration: 8m40s
-
/* * 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: 2025-06-06 00:08:33 Duration: 8m31s
-
/* * 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: 2025-06-05 00:08:16 Duration: 8m15s
3 1s342ms 21m44s 3m17s 335 18h24m26s 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 #3
Day Hour Count Duration Avg duration Jun 01 22 2 5s25ms 2s512ms 23 2 18m30s 9m15s Jun 02 08 1 3s509ms 3s509ms 13 1 18m24s 18m24s 15 1 1s552ms 1s552ms 16 2 3s220ms 1s610ms 19 1 1s566ms 1s566ms 20 2 20m26s 10m13s 21 1 3s399ms 3s399ms 22 5 18m42s 3m44s 23 5 1h15m46s 15m9s Jun 03 00 3 21m8s 7m2s 01 3 8s595ms 2s865ms 02 1 2s522ms 2s522ms 03 3 38m48s 12m56s 04 2 37m38s 18m49s 05 2 3s382ms 1s691ms 06 6 1h25m32s 14m15s 07 5 19m18s 3m51s 08 2 18m48s 9m24s 09 1 2m9s 2m9s 10 3 6s612ms 2s204ms 11 1 3s387ms 3s387ms 12 4 11m31s 2m52s 13 1 1s779ms 1s779ms 14 1 3m3s 3m3s 16 1 1s692ms 1s692ms 17 3 5m33s 1m51s 18 1 4m36s 4m36s 19 2 3s622ms 1s811ms 20 1 1s772ms 1s772ms 22 2 3m12s 1m36s 23 2 4s187ms 2s93ms Jun 04 01 1 4m14s 4m14s 02 3 10m42s 3m34s 03 1 2s36ms 2s36ms 05 1 3s490ms 3s490ms 08 1 2s614ms 2s614ms 09 2 3m41s 1m50s 10 3 6s412ms 2s137ms 12 2 4s119ms 2s59ms 13 1 2s186ms 2s186ms 14 1 4m29s 4m29s 15 1 1s978ms 1s978ms 16 4 3m30s 52s504ms 17 1 18m32s 18m32s 18 3 7s460ms 2s486ms 19 4 8m57s 2m14s 20 3 5s927ms 1s975ms 21 2 1m25s 42s715ms 23 5 8m50s 1m46s Jun 05 00 1 1s680ms 1s680ms 01 2 5s778ms 2s889ms 02 1 1s921ms 1s921ms 03 2 2m53s 1m26s 04 3 3m11s 1m3s 05 5 10s996ms 2s199ms 06 2 5s876ms 2s938ms 07 2 3s337ms 1s668ms 08 4 10s582ms 2s645ms 09 5 16s959ms 3s391ms 10 3 3m10s 1m3s 11 1 2s505ms 2s505ms 12 3 7m42s 2m34s 13 2 3s452ms 1s726ms 14 3 18m38s 6m12s 15 3 23m59s 7m59s 16 2 18m31s 9m15s 17 2 6s959ms 3s479ms 18 9 51m55s 5m46s 19 3 18m50s 6m16s 20 4 10s260ms 2s565ms 21 3 6s978ms 2s326ms 22 5 18m59s 3m47s 23 5 23m18s 4m39s Jun 06 00 6 15m30s 2m35s 01 10 19m25s 1m56s 02 4 10s670ms 2s667ms 03 4 59m30s 14m52s 08 1 6m27s 6m27s 09 2 4s48ms 2s24ms 10 1 5m27s 5m27s 11 1 2s64ms 2s64ms 12 3 5m22s 1m47s 13 2 9s728ms 4s864ms 15 3 3m5s 1m1s 16 1 3s380ms 3s380ms 19 3 18m37s 6m12s 20 1 1s651ms 1s651ms 21 2 9m50s 4m55s 23 1 1s837ms 1s837ms Jun 07 00 3 5m29s 1m49s 01 1 2s144ms 2s144ms 02 2 5s640ms 2s820ms 03 3 9m48s 3m16s 04 6 3m47s 37s861ms 05 5 3m49s 45s809ms 06 3 4m32s 1m30s 07 2 4s78ms 2s39ms 08 2 5s144ms 2s572ms 09 2 3m25s 1m42s 10 3 6s459ms 2s153ms 11 6 23m52s 3m58s 12 8 29m15s 3m39s 14 4 3m26s 51s624ms 15 3 2m32s 50s950ms 16 3 7s610ms 2s536ms 17 8 56m19s 7m2s 18 8 40m18s 5m2s 19 5 18m49s 3m45s 20 8 37m6s 4m38s 21 9 37m5s 4m7s 22 2 3s337ms 1s668ms 23 7 18m38s 2m39s [ User: pubeu - Total duration: 3h10m54s - Times executed: 46 ]
-
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 = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-06-06 03:02:41 Duration: 21m44s 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 = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-06-03 06:45:29 Duration: 21m36s 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 = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-06-03 06:25:29 Duration: 21m33s Bind query: yes
4 1m8s 1m24s 1m14s 25 30m54s 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 #4
Day Hour Count Duration Avg duration Jun 01 06 1 1m8s 1m8s 10 1 1m8s 1m8s 14 1 1m8s 1m8s 18 1 1m8s 1m8s Jun 02 06 1 1m10s 1m10s 10 1 1m10s 1m10s 14 1 1m12s 1m12s 18 1 1m11s 1m11s Jun 03 06 1 1m24s 1m24s 10 1 1m14s 1m14s 14 1 1m12s 1m12s 18 1 1m13s 1m13s Jun 04 06 1 1m15s 1m15s 10 1 1m14s 1m14s 14 1 1m15s 1m15s 18 1 1m14s 1m14s Jun 05 06 1 1m16s 1m16s 10 1 1m15s 1m15s 14 1 1m16s 1m16s 18 1 1m18s 1m18s Jun 06 06 1 1m17s 1m17s 10 1 1m16s 1m16s 14 1 1m17s 1m17s 18 1 1m15s 1m15s Jun 07 20 1 1m16s 1m16s [ User: postgres - Total duration: 18m51s - Times executed: 15 ]
[ Application: pg_dump - Total duration: 18m51s - Times executed: 15 ]
-
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: 2025-06-03 06:06:27 Duration: 1m24s 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: 2025-06-05 18:06:21 Duration: 1m18s 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: 2025-06-06 06:06:19 Duration: 1m17s Database: ctdprd51 User: postgres Application: pg_dump
5 1s66ms 1m28s 18s370ms 1,403 7h9m33s select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jun 01 00 15 3m51s 15s454ms 01 6 1m35s 15s947ms 02 14 3m50s 16s444ms 03 12 3m18s 16s569ms 04 3 18s894ms 6s298ms 05 15 3m53s 15s586ms 06 11 3m20s 18s203ms 07 4 52s903ms 13s225ms 08 6 2m9s 21s515ms 09 9 2m40s 17s862ms 10 13 3m46s 17s442ms 11 3 56s742ms 18s914ms 12 3 48s207ms 16s69ms 13 24 6m41s 16s737ms 14 3 50s557ms 16s852ms 15 6 1m37s 16s236ms 16 20 5m22s 16s138ms 17 9 2m32s 16s988ms 18 3 57s232ms 19s77ms 19 10 2m29s 14s972ms 20 13 3m25s 15s812ms 21 1 12s177ms 12s177ms 22 7 1m50s 15s739ms 23 3 53s916ms 17s972ms Jun 02 00 6 1m40s 16s687ms 01 16 5m25s 20s345ms 02 11 2m56s 16s48ms 03 14 7m6s 30s478ms 04 14 3m51s 16s514ms 05 17 4m36s 16s258ms 06 8 2m14s 16s764ms 07 8 1m33s 11s645ms 08 12 3m18s 16s557ms 09 7 1m36s 13s784ms 10 13 3m42s 17s119ms 11 11 3m2s 16s578ms 12 12 2m47s 13s969ms 13 14 4m46s 20s457ms 14 15 3m55s 15s714ms 15 10 2m22s 14s203ms 16 10 3m20s 20s87ms 17 9 2m25s 16s135ms 18 11 2m54s 15s823ms 19 18 4m27s 14s842ms 20 13 4m13s 19s476ms 21 10 2m37s 15s781ms 22 5 1m21s 16s385ms 23 14 2m57s 12s684ms Jun 03 00 7 1m57s 16s830ms 01 8 2m6s 15s816ms 02 9 2m37s 17s528ms 03 16 4m3s 15s227ms 04 6 1m33s 15s578ms 05 3 48s767ms 16s255ms 06 16 8m3s 30s236ms 07 4 1m20s 20s51ms 11 3 49s946ms 16s648ms 12 3 47s834ms 15s944ms 13 2 30s712ms 15s356ms 14 8 3m1s 22s669ms 15 8 3m48s 28s516ms 16 3 53s156ms 17s718ms 18 9 2m20s 15s600ms 19 12 3m16s 16s379ms 20 4 49s971ms 12s492ms 21 18 4m54s 16s345ms 22 1 2s284ms 2s284ms 23 19 5m34s 17s609ms Jun 04 00 11 5m5s 27s765ms 01 2 4s242ms 2s121ms 02 11 3m1s 16s469ms 03 7 1m49s 15s585ms 04 21 7m20s 20s987ms 05 8 2m7s 15s890ms 06 9 2m22s 15s824ms 07 5 1m20s 16s65ms 09 17 4m45s 16s819ms 11 18 5m28s 18s252ms 12 19 8m10s 25s813ms 13 6 1m20s 13s427ms 14 13 3m13s 14s848ms 15 13 3m24s 15s734ms 16 18 5m4s 16s893ms 17 6 1m31s 15s202ms 18 4 1m7s 16s815ms 19 3 51s946ms 17s315ms 20 18 5m19s 17s739ms 21 12 3m13s 16s155ms 22 17 4m12s 14s848ms 23 3 46s850ms 15s616ms Jun 05 00 19 5m5s 16s69ms 01 15 4m2s 16s186ms 02 5 1m29s 17s865ms 03 13 3m47s 17s484ms 04 22 7m56s 21s664ms 05 4 1m9s 17s407ms 06 10 3m2s 18s273ms 07 4 57s427ms 14s356ms 08 6 1m34s 15s730ms 09 18 6m34s 21s928ms 10 11 3m8s 17s119ms 11 10 2m40s 16s4ms 12 16 6m55s 25s956ms 13 5 1m24s 16s865ms 14 16 4m36s 17s301ms 15 16 4m24s 16s518ms 16 9 2m48s 18s689ms 17 6 1m48s 18s49ms 18 17 9m47s 34s565ms 19 7 2m37s 22s474ms 20 20 6m14s 18s714ms 21 23 9m48s 25s596ms 22 11 3m18s 18s85ms 23 6 1m58s 19s816ms Jun 06 00 6 1m53s 18s974ms 01 5 2m25s 29s24ms 02 18 6m29s 21s656ms 03 3 1m3s 21s202ms 06 3 50s945ms 16s981ms 07 9 2m34s 17s143ms 08 8 2m24s 18s99ms 09 15 6m50s 27s381ms 10 12 3m36s 18s31ms 11 20 8m42s 26s100ms 12 9 2m40s 17s835ms 13 9 3m23s 22s660ms 14 16 4m28s 16s794ms 15 8 2m14s 16s816ms 16 9 2m29s 16s655ms 18 1 16s245ms 16s245ms 19 2 32s278ms 16s139ms 20 2 32s198ms 16s99ms 21 9 2m38s 17s627ms 22 11 3m12s 17s482ms 23 9 3m24s 22s673ms Jun 07 02 1 16s23ms 16s23ms 04 3 52s181ms 17s393ms 05 1 16s237ms 16s237ms 07 3 51s766ms 17s255ms 08 1 16s90ms 16s90ms 10 6 1m36s 16s38ms 12 1 15s950ms 15s950ms 13 9 2m41s 17s899ms 15 1 16s381ms 16s381ms 16 4 1m7s 16s955ms 17 3 49s614ms 16s538ms 21 3 52s162ms 17s387ms 22 3 52s227ms 17s409ms [ User: pubeu - Total duration: 1h41m16s - Times executed: 297 ]
-
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 = '2107351') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-06-04 12:45:16 Duration: 1m28s 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 = '2095019') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-06-04 12:45:15 Duration: 1m24s 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 = '2097134') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-06-05 18:08:00 Duration: 1m24s Bind query: yes
6 1s6ms 51s247ms 9s793ms 423 1h9m2s select sq.*, count(*) over () fullrowcount from ( select distinct gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid from dag_node gt inner join gene_go_annot gga on gt.object_id = gga.go_term_id inner join term g on gga.gene_id = g.id where gt.id in ( select p.descendant_dag_node_id from dag_path p where p.ancestor_object_id = ?) and gga.is_not = false) sq order by sq.gonmsort, sq.genesymbolsort limit ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jun 01 14 1 8s321ms 8s321ms 16 1 1s584ms 1s584ms 22 5 1m15s 15s140ms 23 3 39s791ms 13s263ms Jun 02 05 1 1s390ms 1s390ms 10 1 8s738ms 8s738ms 11 2 35s905ms 17s952ms 12 1 11s883ms 11s883ms 13 1 9s212ms 9s212ms 14 3 29s148ms 9s716ms 16 2 36s468ms 18s234ms 17 2 12s675ms 6s337ms 19 6 1m 10s156ms 20 5 45s523ms 9s104ms 21 2 26s947ms 13s473ms 22 1 12s251ms 12s251ms 23 2 18s966ms 9s483ms Jun 03 00 5 51s807ms 10s361ms 01 6 1m 10s17ms 02 3 1m 20s55ms 03 6 1m16s 12s670ms 04 4 1m32s 23s107ms 05 3 24s204ms 8s68ms 06 5 58s965ms 11s793ms 07 4 33s427ms 8s356ms 08 6 48s594ms 8s99ms 09 2 3s471ms 1s735ms 10 1 3s602ms 3s602ms 11 2 2s942ms 1s471ms 12 3 27s973ms 9s324ms 13 2 23s268ms 11s634ms 14 5 20s606ms 4s121ms 15 4 9s84ms 2s271ms 16 1 18s977ms 18s977ms 17 4 9s572ms 2s393ms 18 1 24s374ms 24s374ms 19 2 25s559ms 12s779ms 20 2 21s477ms 10s738ms 21 2 20s358ms 10s179ms 22 3 21s887ms 7s295ms 23 2 6s74ms 3s37ms Jun 04 00 3 3s941ms 1s313ms 01 3 30s424ms 10s141ms 02 6 1m20s 13s343ms 04 2 5s691ms 2s845ms 05 3 6s146ms 2s48ms 09 3 13s775ms 4s591ms 10 2 4s45ms 2s22ms 12 1 19s446ms 19s446ms 13 1 1s131ms 1s131ms 14 2 2s482ms 1s241ms 15 5 31s784ms 6s356ms 16 2 2s194ms 1s97ms 18 4 58s668ms 14s667ms 19 2 7s389ms 3s694ms 20 1 1s526ms 1s526ms 21 2 53s283ms 26s641ms 22 3 13s408ms 4s469ms 23 1 2s474ms 2s474ms Jun 05 00 2 7s182ms 3s591ms 01 2 5s442ms 2s721ms 02 4 36s154ms 9s38ms 03 2 6s97ms 3s48ms 05 3 48s423ms 16s141ms 06 3 24s414ms 8s138ms 07 4 36s168ms 9s42ms 08 3 34s606ms 11s535ms 09 2 12s232ms 6s116ms 10 1 1s414ms 1s414ms 11 7 53s882ms 7s697ms 12 3 34s436ms 11s478ms 13 1 24s727ms 24s727ms 14 10 2m13s 13s304ms 15 9 1m32s 10s317ms 16 4 1m2s 15s675ms 17 8 1m34s 11s781ms 18 4 30s864ms 7s716ms 19 7 1m25s 12s238ms 20 4 1m47s 26s800ms 21 7 46s425ms 6s632ms 22 8 1m34s 11s786ms 23 6 58s217ms 9s702ms Jun 06 00 6 1m34s 15s731ms 01 7 1m20s 11s474ms 02 5 40s546ms 8s109ms 03 3 49s294ms 16s431ms 07 1 1s726ms 1s726ms 08 1 1s156ms 1s156ms 09 4 45s960ms 11s490ms 10 1 23s795ms 23s795ms 11 3 17s291ms 5s763ms 13 1 12s719ms 12s719ms 14 2 50s410ms 25s205ms 15 1 1s217ms 1s217ms 16 1 9s361ms 9s361ms 18 1 4s74ms 4s74ms 19 2 29s293ms 14s646ms 20 1 4s61ms 4s61ms 21 1 1s464ms 1s464ms 22 2 30s978ms 15s489ms 23 1 4s227ms 4s227ms Jun 07 00 2 46s468ms 23s234ms 01 3 12s406ms 4s135ms 02 5 51s877ms 10s375ms 03 1 23s196ms 23s196ms 04 14 1m31s 6s558ms 05 2 2s804ms 1s402ms 06 4 32s457ms 8s114ms 07 4 35s306ms 8s826ms 08 4 23s802ms 5s950ms 09 5 46s694ms 9s338ms 11 3 20s524ms 6s841ms 12 3 41s38ms 13s679ms 13 3 13s185ms 4s395ms 14 7 28s97ms 4s13ms 15 7 1m1s 8s804ms 16 6 50s718ms 8s453ms 17 9 1m13s 8s130ms 18 4 18s46ms 4s511ms 19 7 1m5s 9s321ms 20 4 44s639ms 11s159ms 21 6 1m21s 13s593ms 22 4 1m6s 16s707ms 23 5 59s785ms 11s957ms [ User: pubeu - Total duration: 10m9s - Times executed: 60 ]
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1244581') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-06-04 21:54:06 Duration: 51s247ms Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1234207') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-06-05 20:54:54 Duration: 40s102ms Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1234207') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-06-03 02:19:47 Duration: 30s744ms Database: ctdprd51 User: pubeu Bind query: yes
7 1s2ms 21s45ms 5s891ms 294 28m52s select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where phenotypeterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and associatedterm.object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jun 01 22 5 40s298ms 8s59ms 23 1 1s113ms 1s113ms Jun 02 04 1 1s54ms 1s54ms 12 1 1s183ms 1s183ms 13 3 3s370ms 1s123ms 14 1 1s150ms 1s150ms 16 2 2s404ms 1s202ms 17 5 1m13s 14s702ms 18 2 19s910ms 9s955ms 20 1 1s137ms 1s137ms 21 3 3s387ms 1s129ms 22 4 21s537ms 5s384ms 23 2 20s361ms 10s180ms Jun 03 00 4 21s10ms 5s252ms 01 4 21s553ms 5s388ms 02 4 21s339ms 5s334ms 03 5 1m1s 12s357ms 04 5 22s826ms 4s565ms 05 2 19s91ms 9s545ms 06 5 9s64ms 1s812ms 07 3 37s656ms 12s552ms 08 1 1s162ms 1s162ms 09 3 11s189ms 3s729ms 10 1 1s698ms 1s698ms 11 4 17s659ms 4s414ms 12 1 1s618ms 1s618ms 13 2 11s2ms 5s501ms 14 5 24s917ms 4s983ms 15 1 2s653ms 2s653ms 16 2 13s406ms 6s703ms 17 3 12s394ms 4s131ms 18 2 16s539ms 8s269ms 19 1 6s431ms 6s431ms 21 3 34s346ms 11s448ms 23 2 2s444ms 1s222ms Jun 04 03 2 20s19ms 10s9ms 04 1 18s4ms 18s4ms 05 2 2s663ms 1s331ms 07 2 5s906ms 2s953ms 09 3 8s694ms 2s898ms 10 2 21s137ms 10s568ms 11 2 20s907ms 10s453ms 12 2 18s529ms 9s264ms 13 2 13s242ms 6s621ms 14 3 22s326ms 7s442ms 15 1 11s465ms 11s465ms 16 2 2s833ms 1s416ms 17 4 16s 4s 18 3 7s106ms 2s368ms 19 2 23s86ms 11s543ms 20 1 3s619ms 3s619ms 23 2 12s757ms 6s378ms Jun 05 00 5 32s259ms 6s451ms 01 2 13s646ms 6s823ms 02 1 1s124ms 1s124ms 03 1 4s437ms 4s437ms 05 2 29s157ms 14s578ms 06 2 29s506ms 14s753ms 07 1 1s107ms 1s107ms 08 1 1s165ms 1s165ms 09 3 7s168ms 2s389ms 10 3 20s639ms 6s879ms 11 1 1s84ms 1s84ms 12 1 2s659ms 2s659ms 13 4 31s265ms 7s816ms 15 8 1m22s 10s322ms 16 2 3s904ms 1s952ms 17 4 7s 1s750ms 18 1 2s26ms 2s26ms 20 7 41s141ms 5s877ms 21 5 5s874ms 1s174ms 22 6 31s655ms 5s275ms 23 4 15s529ms 3s882ms Jun 06 00 4 56s297ms 14s74ms 01 4 9s740ms 2s435ms 02 7 1m19s 11s320ms 03 1 1s539ms 1s539ms 08 5 9s557ms 1s911ms 09 1 4s275ms 4s275ms 10 1 4s268ms 4s268ms 11 4 13s575ms 3s393ms 12 1 4s742ms 4s742ms 13 1 2s122ms 2s122ms 20 2 7s928ms 3s964ms 22 1 4s704ms 4s704ms 23 1 5s860ms 5s860ms Jun 07 00 2 2s315ms 1s157ms 01 1 17s468ms 17s468ms 02 2 10s119ms 5s59ms 03 1 5s704ms 5s704ms 04 1 1s99ms 1s99ms 05 3 10s9ms 3s336ms 06 3 26s862ms 8s954ms 07 2 7s847ms 3s923ms 08 4 34s643ms 8s660ms 09 3 16s833ms 5s611ms 10 2 35s582ms 17s791ms 11 3 4s746ms 1s582ms 12 2 3s588ms 1s794ms 13 5 43s601ms 8s720ms 14 4 10s126ms 2s531ms 15 3 3s393ms 1s131ms 16 2 13s196ms 6s598ms 17 1 18s105ms 18s105ms 18 2 2s178ms 1s89ms 19 5 6s381ms 1s276ms 20 5 26s31ms 5s206ms 21 2 19s420ms 9s710ms 22 5 9s796ms 1s959ms 23 4 43s765ms 10s941ms [ User: pubeu - Total duration: 5m14s - Times executed: 55 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1234207'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-06-03 03:08:56 Duration: 21s45ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1234207'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-06-06 02:43:02 Duration: 20s698ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1234207'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-06-06 02:26:14 Duration: 19s665ms Bind query: yes
8 4s226ms 10s173ms 4s616ms 500 38m28s select coalesce(st.alt_nm, t.nm) slimtermnm, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.curated_reference_qty > ?) curatedcount, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.indirect_gene_qty > ?) inferredcount from slim_term st inner join term t on st.slim_term_id = t.id where st.slim_id = ? order by ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jun 01 00 1 4s417ms 4s417ms 01 19 1m26s 4s538ms 02 2 9s247ms 4s623ms 03 11 48s613ms 4s419ms 04 1 4s318ms 4s318ms 05 1 4s393ms 4s393ms 06 1 4s468ms 4s468ms 07 2 8s639ms 4s319ms 08 7 31s440ms 4s491ms 09 1 4s678ms 4s678ms 10 9 46s1ms 5s111ms 11 14 1m2s 4s453ms 12 2 8s992ms 4s496ms 13 1 4s344ms 4s344ms 14 1 4s516ms 4s516ms 16 1 4s503ms 4s503ms 18 1 4s405ms 4s405ms 21 1 4s380ms 4s380ms 22 1 4s537ms 4s537ms Jun 02 00 1 4s625ms 4s625ms 01 2 9s32ms 4s516ms 02 2 9s33ms 4s516ms 03 2 8s851ms 4s425ms 04 1 4s656ms 4s656ms 06 4 18s38ms 4s509ms 07 3 13s334ms 4s444ms 08 3 14s439ms 4s813ms 09 1 4s768ms 4s768ms 12 1 4s512ms 4s512ms 13 1 4s696ms 4s696ms 15 1 4s634ms 4s634ms 16 1 4s938ms 4s938ms 17 1 4s589ms 4s589ms 18 1 4s521ms 4s521ms 19 3 13s868ms 4s622ms 22 1 4s964ms 4s964ms 23 1 5s61ms 5s61ms Jun 03 01 1 4s721ms 4s721ms 03 1 4s835ms 4s835ms 04 1 4s880ms 4s880ms 05 1 4s348ms 4s348ms 06 3 18s370ms 6s123ms 07 4 19s177ms 4s794ms 08 37 2m47s 4s536ms 09 9 40s687ms 4s520ms 11 1 4s649ms 4s649ms 12 4 18s137ms 4s534ms 15 3 13s599ms 4s533ms 16 1 4s268ms 4s268ms 17 2 8s803ms 4s401ms 18 1 4s395ms 4s395ms 19 3 13s634ms 4s544ms 21 12 53s498ms 4s458ms 22 5 22s423ms 4s484ms Jun 04 02 2 9s40ms 4s520ms 03 12 55s164ms 4s597ms 04 16 1m16s 4s754ms 05 1 4s556ms 4s556ms 06 1 4s491ms 4s491ms 07 5 23s316ms 4s663ms 09 4 18s347ms 4s586ms 10 4 17s997ms 4s499ms 11 14 1m5s 4s658ms 13 12 53s847ms 4s487ms 14 10 44s860ms 4s486ms 15 1 4s448ms 4s448ms 16 2 9s159ms 4s579ms 17 1 4s523ms 4s523ms 18 1 4s606ms 4s606ms 19 1 4s365ms 4s365ms 20 2 8s948ms 4s474ms 22 2 9s162ms 4s581ms 23 12 54s593ms 4s549ms Jun 05 00 26 1m56s 4s493ms 01 14 1m3s 4s558ms 02 5 22s217ms 4s443ms 03 24 1m48s 4s527ms 04 9 41s848ms 4s649ms 05 4 18s458ms 4s614ms 06 2 9s227ms 4s613ms 07 9 41s118ms 4s568ms 08 1 4s428ms 4s428ms 09 7 31s736ms 4s533ms 10 9 43s864ms 4s873ms 11 4 19s390ms 4s847ms 12 4 18s713ms 4s678ms 13 3 14s9ms 4s669ms 14 3 15s93ms 5s31ms 15 2 9s37ms 4s518ms 17 2 12s28ms 6s14ms 21 2 9s591ms 4s795ms 22 2 11s470ms 5s735ms Jun 06 00 1 5s70ms 5s70ms 01 1 4s934ms 4s934ms 02 5 25s335ms 5s67ms 03 9 50s135ms 5s570ms 05 1 4s332ms 4s332ms 07 13 1m1s 4s761ms 08 3 13s182ms 4s394ms 10 2 9s133ms 4s566ms 11 1 4s417ms 4s417ms 12 1 4s390ms 4s390ms 13 2 9s69ms 4s534ms 14 1 5s171ms 5s171ms 16 3 13s463ms 4s487ms 19 3 13s249ms 4s416ms Jun 07 00 1 4s466ms 4s466ms 01 7 31s60ms 4s437ms 02 3 13s246ms 4s415ms 03 1 4s767ms 4s767ms 06 1 4s409ms 4s409ms 07 1 4s500ms 4s500ms 08 1 4s409ms 4s409ms 11 4 17s996ms 4s499ms 13 1 4s307ms 4s307ms 16 2 9s227ms 4s613ms 18 1 4s595ms 4s595ms [ User: pubeu - Total duration: 5m1s - Times executed: 64 ]
[ User: qaeu - Total duration: 4s375ms - Times executed: 1 ]
-
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 = '1286133') 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 = '1286133') 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: 2025-06-01 10:58:47 Duration: 10s173ms 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 = '1352010') 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 = '1352010') 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: 2025-06-06 03:18:43 Duration: 10s88ms 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 = '1343751') 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 = '1343751') 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: 2025-06-03 06:16:44 Duration: 8s442ms Database: ctdprd51 User: pubeu Bind query: yes
9 1s2ms 30s56ms 4s329ms 1,033 1h14m32s 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 Jun 01 01 1 4s890ms 4s890ms 16 3 16s130ms 5s376ms 20 15 57s66ms 3s804ms 21 23 1m48s 4s696ms 22 6 10s565ms 1s760ms 23 1 2s784ms 2s784ms Jun 02 00 3 13s12ms 4s337ms 01 2 10s148ms 5s74ms 02 2 6s118ms 3s59ms 03 1 1s389ms 1s389ms 06 2 8s144ms 4s72ms 07 1 12s711ms 12s711ms 08 1 4s857ms 4s857ms 09 4 14s391ms 3s597ms 10 2 14s572ms 7s286ms 11 2 3s720ms 1s860ms 12 10 34s975ms 3s497ms 13 5 16s405ms 3s281ms 14 4 21s560ms 5s390ms 15 3 8s398ms 2s799ms 16 5 17s428ms 3s485ms 17 10 40s258ms 4s25ms 18 9 34s924ms 3s880ms 19 11 39s762ms 3s614ms 20 11 42s94ms 3s826ms 21 18 1m31s 5s59ms 22 23 1m59s 5s203ms 23 22 2m2s 5s590ms Jun 03 00 17 1m27s 5s149ms 01 25 1m50s 4s401ms 02 17 1m38s 5s821ms 03 14 49s149ms 3s510ms 04 24 1m58s 4s942ms 05 8 28s300ms 3s537ms 06 17 1m14s 4s366ms 07 19 1m36s 5s92ms 08 9 44s735ms 4s970ms 09 1 2s235ms 2s235ms 11 1 6s247ms 6s247ms 12 1 1s755ms 1s755ms 13 4 25s81ms 6s270ms 14 3 7s163ms 2s387ms 15 4 10s573ms 2s643ms 16 2 8s178ms 4s89ms 18 3 28s967ms 9s655ms 19 2 10s999ms 5s499ms 21 5 23s920ms 4s784ms 22 2 17s118ms 8s559ms Jun 04 00 4 25s837ms 6s459ms 02 1 5s147ms 5s147ms 03 1 5s67ms 5s67ms 04 2 3s108ms 1s554ms 05 3 10s435ms 3s478ms 07 1 2s206ms 2s206ms 08 2 9s751ms 4s875ms 09 3 8s353ms 2s784ms 10 6 17s808ms 2s968ms 11 2 3s780ms 1s890ms 12 3 3s651ms 1s217ms 13 1 5s346ms 5s346ms 14 3 8s767ms 2s922ms 15 3 16s117ms 5s372ms 16 2 2s747ms 1s373ms 17 3 16s876ms 5s625ms 18 3 6s824ms 2s274ms 19 2 9s414ms 4s707ms 20 1 2s252ms 2s252ms 21 2 22s992ms 11s496ms 22 1 2s976ms 2s976ms 23 1 6s491ms 6s491ms Jun 05 00 1 2s264ms 2s264ms 01 2 10s948ms 5s474ms 02 5 14s882ms 2s976ms 04 4 10s306ms 2s576ms 05 6 18s105ms 3s17ms 07 4 8s795ms 2s198ms 08 7 33s513ms 4s787ms 09 8 29s439ms 3s679ms 10 3 15s376ms 5s125ms 11 6 33s23ms 5s503ms 12 11 35s327ms 3s211ms 13 9 37s509ms 4s167ms 14 16 50s844ms 3s177ms 15 5 13s253ms 2s650ms 16 11 49s186ms 4s471ms 17 26 1m53s 4s375ms 18 10 41s238ms 4s123ms 19 19 1m11s 3s778ms 20 23 2m7s 5s561ms 21 23 2m36s 6s797ms 22 17 1m32s 5s414ms 23 18 1m25s 4s727ms Jun 06 00 22 1m59s 5s424ms 01 28 1m54s 4s91ms 02 28 1m32s 3s289ms 03 8 36s478ms 4s559ms 05 2 9s595ms 4s797ms 07 2 2s868ms 1s434ms 08 3 15s474ms 5s158ms 09 1 4s250ms 4s250ms 10 2 2s598ms 1s299ms 12 3 5s31ms 1s677ms 14 1 1s812ms 1s812ms 16 2 8s343ms 4s171ms 19 2 2s392ms 1s196ms 22 3 16s566ms 5s522ms Jun 07 00 1 1s247ms 1s247ms 01 1 12s266ms 12s266ms 02 7 25s637ms 3s662ms 03 7 33s806ms 4s829ms 04 3 12s450ms 4s150ms 05 1 6s808ms 6s808ms 06 3 8s526ms 2s842ms 07 3 6s858ms 2s286ms 08 3 5s603ms 1s867ms 09 6 17s279ms 2s879ms 10 9 48s910ms 5s434ms 11 8 32s709ms 4s88ms 12 16 1m3s 3s999ms 13 8 28s421ms 3s552ms 14 13 39s154ms 3s11ms 15 11 56s779ms 5s161ms 16 17 1m15s 4s463ms 17 18 1m4s 3s593ms 18 23 1m31s 3s982ms 19 17 1m17s 4s573ms 20 23 1m18s 3s410ms 21 23 1m39s 4s304ms 22 23 1m42s 4s475ms 23 20 1m14s 3s743ms [ User: pubeu - Total duration: 11m44s - Times executed: 159 ]
-
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 = '2094859') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-06-05 21:18:16 Duration: 30s56ms 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 = '2106936') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-06-05 21:56:31 Duration: 21s466ms 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 = '2094859') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-06-02 23:37:32 Duration: 19s743ms Bind query: yes
10 1s2ms 8s764ms 4s4ms 380 25m21s select d.abbr dagabbr, d.nm dagnm, gt.level_min_no daglevelmin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pvalcorrected, te.raw_p_val pvalraw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, count(*) over () fullrowcount from term_enrichment te inner join dag_node gt on te.enriched_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, d.abbr, gt.nm_sort limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jun 01 01 2 7s34ms 3s517ms 02 4 13s488ms 3s372ms 05 7 7s584ms 1s83ms 06 3 3s297ms 1s99ms 07 1 1s102ms 1s102ms 08 1 1s186ms 1s186ms 11 1 5s876ms 5s876ms 13 1 1s343ms 1s343ms 14 1 6s 6s 17 1 5s940ms 5s940ms 20 2 11s856ms 5s928ms 21 1 1s58ms 1s58ms 22 16 1m16s 4s794ms 23 5 29s115ms 5s823ms Jun 02 00 3 7s629ms 2s543ms 01 1 1s121ms 1s121ms 03 2 12s504ms 6s252ms 05 9 26s617ms 2s957ms 07 1 5s642ms 5s642ms 09 2 11s535ms 5s767ms 10 1 6s129ms 6s129ms 13 1 5s551ms 5s551ms 16 12 49s151ms 4s95ms 19 3 18s982ms 6s327ms 21 1 6s583ms 6s583ms 23 1 6s280ms 6s280ms Jun 03 00 1 6s208ms 6s208ms 02 2 12s123ms 6s61ms 03 3 19s438ms 6s479ms 05 6 7s928ms 1s321ms 06 1 6s193ms 6s193ms 08 1 5s842ms 5s842ms 10 6 32s878ms 5s479ms 11 1 5s256ms 5s256ms 19 2 12s961ms 6s480ms 21 2 6s530ms 3s265ms 22 1 1s40ms 1s40ms 23 2 6s492ms 3s246ms Jun 04 02 2 7s651ms 3s825ms 03 2 6s376ms 3s188ms 04 2 13s82ms 6s541ms 05 8 15s74ms 1s884ms 06 2 12s415ms 6s207ms 11 1 5s926ms 5s926ms 12 1 1s78ms 1s78ms 15 1 6s102ms 6s102ms 18 4 13s918ms 3s479ms 19 7 26s708ms 3s815ms 20 1 5s197ms 5s197ms 21 2 10s314ms 5s157ms 22 7 30s441ms 4s348ms 23 15 1m7s 4s532ms Jun 05 00 8 34s709ms 4s338ms 01 7 32s27ms 4s575ms 03 9 56s498ms 6s277ms 04 3 17s598ms 5s866ms 05 7 8s21ms 1s145ms 06 1 1s77ms 1s77ms 08 7 28s904ms 4s129ms 09 10 44s754ms 4s475ms 10 2 8s310ms 4s155ms 11 2 6s706ms 3s353ms 12 1 1s270ms 1s270ms 13 1 5s668ms 5s668ms 20 1 1s37ms 1s37ms 21 6 28s477ms 4s746ms 22 15 1m4s 4s330ms 23 2 7s100ms 3s550ms Jun 06 00 2 6s931ms 3s465ms 02 3 3s415ms 1s138ms 05 3 3s44ms 1s14ms 07 6 11s234ms 1s872ms 08 1 1s3ms 1s3ms 10 1 6s293ms 6s293ms 16 4 9s505ms 2s376ms 19 1 1s68ms 1s68ms 21 1 1s63ms 1s63ms Jun 07 01 1 5s704ms 5s704ms 03 6 24s828ms 4s138ms 04 19 1m14s 3s944ms 05 6 6s754ms 1s125ms 07 1 6s201ms 6s201ms 12 4 22s786ms 5s696ms 13 8 30s543ms 3s817ms 14 20 1m27s 4s354ms 16 1 6s30ms 6s30ms 17 1 1s111ms 1s111ms 18 18 1m20s 4s464ms 20 3 8s263ms 2s754ms 21 4 19s270ms 4s817ms 22 7 31s719ms 4s531ms 23 11 50s828ms 4s620ms [ User: pubeu - Total duration: 2m36s - Times executed: 39 ]
[ User: qaeu - Total duration: 7s927ms - Times executed: 6 ]
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1454976' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-06-05 22:30:44 Duration: 8s764ms 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 = '1304187' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-06-05 21:56:35 Duration: 7s604ms 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 = '1287927' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-06-04 05:14:44 Duration: 7s538ms Bind query: yes
11 1s2ms 7s990ms 3s725ms 426 26m27s select ii.cd, count(ii.id) cnt from ( select ot.cd, tl.term_id id from object_type ot inner join term_label tl on ot.id = tl.object_type_id where tl.nm_fts @@ to_tsquery(?, ?) union select ?, r.id from reference r where r.title_abstract_fts @@ to_tsquery(?, ?) or r.id in ( select rpr.reference_id from reference_party_role rpr inner join reference_party rp on rpr.reference_party_id = rp.id where (substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ?)) union select ot.cd, l.object_id from db_link l inner join object_type ot on l.object_type_id = ot.id where l.type_cd = ? and (upper(l.acc_txt) like ?)) ii group by ii.cd;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jun 01 00 2 11s408ms 5s704ms 02 2 11s531ms 5s765ms 03 1 6s1ms 6s1ms 04 3 12s631ms 4s210ms 05 7 22s123ms 3s160ms 06 1 1s137ms 1s137ms 07 1 5s740ms 5s740ms 08 3 7s918ms 2s639ms 09 2 11s397ms 5s698ms 10 2 11s491ms 5s745ms 11 2 11s429ms 5s714ms 12 3 12s542ms 4s180ms 13 2 6s738ms 3s369ms 14 1 5s696ms 5s696ms 15 2 11s556ms 5s778ms 16 1 5s671ms 5s671ms 17 5 24s423ms 4s884ms 18 1 5s730ms 5s730ms 21 1 5s703ms 5s703ms 22 3 12s937ms 4s312ms 23 1 1s17ms 1s17ms Jun 02 00 1 1s125ms 1s125ms 01 6 16s354ms 2s725ms 02 5 19s494ms 3s898ms 03 2 11s464ms 5s732ms 04 4 13s477ms 3s369ms 05 1 1s22ms 1s22ms 06 5 19s834ms 3s966ms 07 3 7s902ms 2s634ms 08 1 5s838ms 5s838ms 11 1 5s753ms 5s753ms 12 7 31s190ms 4s455ms 13 5 15s239ms 3s47ms 14 5 14s903ms 2s980ms 15 4 8s909ms 2s227ms 16 3 3s878ms 1s292ms 17 1 5s747ms 5s747ms 18 3 7s826ms 2s608ms 19 3 17s645ms 5s881ms 20 6 26s280ms 4s380ms 22 2 2s156ms 1s78ms 23 6 11s775ms 1s962ms Jun 03 00 7 28s156ms 4s22ms 01 2 11s728ms 5s864ms 02 11 41s237ms 3s748ms 03 4 9s242ms 2s310ms 04 1 1s371ms 1s371ms 05 2 3s739ms 1s869ms 06 6 12s713ms 2s118ms 07 4 19s48ms 4s762ms 08 1 5s711ms 5s711ms 10 1 5s736ms 5s736ms 11 3 7s955ms 2s651ms 12 2 6s844ms 3s422ms 13 1 1s29ms 1s29ms 14 1 5s824ms 5s824ms 15 1 1s109ms 1s109ms 16 1 5s638ms 5s638ms 17 1 5s626ms 5s626ms 18 4 22s645ms 5s661ms 19 5 14s916ms 2s983ms 20 5 18s893ms 3s778ms 21 19 1m7s 3s572ms 22 3 17s67ms 5s689ms 23 5 24s311ms 4s862ms Jun 04 02 3 8s290ms 2s763ms 03 1 1s122ms 1s122ms 04 9 43s268ms 4s807ms 05 4 18s883ms 4s720ms 06 3 3s416ms 1s138ms 07 3 7s978ms 2s659ms 08 1 1s53ms 1s53ms 09 2 6s745ms 3s372ms 10 4 4s692ms 1s173ms 11 7 23s707ms 3s386ms 12 3 12s665ms 4s221ms 13 2 2s121ms 1s60ms 15 4 4s717ms 1s179ms 16 2 6s782ms 3s391ms 17 4 13s539ms 3s384ms 19 6 34s590ms 5s765ms 20 4 9s117ms 2s279ms 21 3 12s554ms 4s184ms 22 5 14s814ms 2s962ms 23 2 11s589ms 5s794ms Jun 05 00 2 7s32ms 3s516ms 01 7 30s821ms 4s403ms 02 7 35s387ms 5s55ms 03 9 28s747ms 3s194ms 04 5 14s465ms 2s893ms 05 2 6s822ms 3s411ms 06 1 5s752ms 5s752ms 07 4 18s415ms 4s603ms 08 3 17s319ms 5s773ms 09 3 12s668ms 4s222ms 10 3 3s373ms 1s124ms 11 2 11s327ms 5s663ms 12 3 8s134ms 2s711ms 13 3 12s633ms 4s211ms 14 3 17s282ms 5s760ms 15 6 29s817ms 4s969ms 16 2 7s160ms 3s580ms 17 3 12s565ms 4s188ms 18 1 1s488ms 1s488ms 19 2 2s100ms 1s50ms 20 5 16s485ms 3s297ms 21 6 17s842ms 2s973ms 22 2 2s533ms 1s266ms 23 4 19s23ms 4s755ms Jun 06 00 6 17s872ms 2s978ms 01 4 13s888ms 3s472ms 02 5 10s977ms 2s195ms 03 2 12s298ms 6s149ms 04 1 5s658ms 5s658ms 07 2 2s298ms 1s149ms 08 4 22s743ms 5s685ms 09 5 19s939ms 3s987ms 10 3 12s667ms 4s222ms 11 2 11s323ms 5s661ms 12 1 5s623ms 5s623ms 13 1 1s245ms 1s245ms 14 3 12s518ms 4s172ms 15 1 5s575ms 5s575ms 16 3 17s223ms 5s741ms 17 1 1s144ms 1s144ms 18 1 5s659ms 5s659ms 19 1 5s681ms 5s681ms 22 1 5s687ms 5s687ms Jun 07 01 4 5s388ms 1s347ms 10 1 5s792ms 5s792ms 12 2 2s61ms 1s30ms 16 1 6s176ms 6s176ms 21 1 5s685ms 5s685ms [ User: pubeu - Total duration: 5m4s - Times executed: 91 ]
-
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', 'DSIM_GLEANR_5678') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'DSIM_GLEANR_5678') 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 'DSIM_GLEANR_5678')) 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 'DSIM_GLEANR_5678')) ii GROUP BY ii.cd;
Date: 2025-06-04 11:28:44 Duration: 7s990ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'TJP2_1') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'TJP2_1') 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 'TJP2_1')) 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 'TJP2_1')) ii GROUP BY ii.cd;
Date: 2025-06-06 00:55:41 Duration: 7s34ms Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'DAG1_0') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'DAG1_0') 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 'DAG1_0')) 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 'DAG1_0')) ii GROUP BY ii.cd;
Date: 2025-06-03 00:56:42 Duration: 6s807ms Database: ctdprd51 User: pubeu Bind query: yes
12 1s 13s923ms 3s223ms 1,438 1h17m14s select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where associatedterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and ptr.term_object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jun 01 09 1 1s40ms 1s40ms 13 1 3s165ms 3s165ms 15 1 2s87ms 2s87ms 21 7 21s472ms 3s67ms 22 22 57s26ms 2s592ms 23 3 10s740ms 3s580ms Jun 02 00 1 2s111ms 2s111ms 02 1 1s55ms 1s55ms 03 2 8s101ms 4s50ms 05 1 1s15ms 1s15ms 07 1 1s480ms 1s480ms 08 1 3s619ms 3s619ms 09 1 1s77ms 1s77ms 10 1 6s909ms 6s909ms 11 1 2s246ms 2s246ms 13 2 11s742ms 5s871ms 14 2 2s920ms 1s460ms 15 1 3s641ms 3s641ms 16 24 1m7s 2s794ms 17 1 2s132ms 2s132ms 18 1 1s32ms 1s32ms 19 5 11s191ms 2s238ms 20 4 6s719ms 1s679ms 21 1 1s205ms 1s205ms 22 5 17s776ms 3s555ms 23 5 17s948ms 3s589ms Jun 03 00 2 9s330ms 4s665ms 01 1 3s608ms 3s608ms 02 3 9s274ms 3s91ms 03 6 21s823ms 3s637ms 04 9 32s817ms 3s646ms 05 1 1s543ms 1s543ms 06 15 46s721ms 3s114ms 07 6 25s955ms 4s325ms 08 4 7s897ms 1s974ms 09 3 5s959ms 1s986ms 10 1 6s912ms 6s912ms 11 6 14s801ms 2s466ms 12 1 2s9ms 2s9ms 13 10 34s484ms 3s448ms 14 12 46s485ms 3s873ms 15 4 15s279ms 3s819ms 16 10 34s703ms 3s470ms 17 6 22s478ms 3s746ms 18 5 8s645ms 1s729ms 19 10 38s89ms 3s808ms 20 12 33s784ms 2s815ms 21 7 21s547ms 3s78ms 22 7 25s648ms 3s664ms 23 7 37s113ms 5s301ms Jun 04 00 9 32s114ms 3s568ms 01 11 43s493ms 3s953ms 02 9 42s978ms 4s775ms 03 9 36s527ms 4s58ms 04 6 23s785ms 3s964ms 05 9 30s789ms 3s421ms 06 6 18s685ms 3s114ms 07 8 22s814ms 2s851ms 08 7 34s803ms 4s971ms 09 5 24s157ms 4s831ms 10 5 15s917ms 3s183ms 11 10 35s972ms 3s597ms 12 7 27s521ms 3s931ms 13 7 29s899ms 4s271ms 14 9 47s229ms 5s247ms 15 4 15s469ms 3s867ms 16 6 19s813ms 3s302ms 17 6 15s968ms 2s661ms 18 14 39s480ms 2s820ms 19 17 53s901ms 3s170ms 20 5 12s959ms 2s591ms 21 6 25s135ms 4s189ms 22 21 1m5s 3s124ms 23 29 1m28s 3s53ms Jun 05 00 22 1m9s 3s153ms 01 13 38s752ms 2s980ms 02 5 20s552ms 4s110ms 03 5 10s435ms 2s87ms 04 11 36s278ms 3s298ms 05 5 14s440ms 2s888ms 06 3 6s665ms 2s221ms 07 12 46s680ms 3s890ms 08 20 53s943ms 2s697ms 09 30 1m27s 2s924ms 10 15 46s889ms 3s125ms 11 9 35s305ms 3s922ms 12 11 49s422ms 4s492ms 13 9 21s240ms 2s360ms 14 7 28s138ms 4s19ms 15 17 1m9s 4s111ms 16 4 16s43ms 4s10ms 17 13 46s772ms 3s597ms 18 17 1m3s 3s732ms 19 16 47s546ms 2s971ms 20 16 1m6s 4s162ms 21 25 1m8s 2s742ms 22 33 1m38s 2s986ms 23 10 28s881ms 2s888ms Jun 06 00 16 49s556ms 3s97ms 01 11 31s68ms 2s824ms 02 14 48s49ms 3s432ms 03 5 19s568ms 3s913ms 07 7 17s329ms 2s475ms 08 11 45s726ms 4s156ms 09 13 46s580ms 3s583ms 10 5 22s420ms 4s484ms 11 6 18s736ms 3s122ms 12 7 26s573ms 3s796ms 13 9 32s912ms 3s656ms 14 4 11s893ms 2s973ms 15 9 23s690ms 2s632ms 16 2 4s337ms 2s168ms 19 2 5s144ms 2s572ms 20 5 21s929ms 4s385ms 21 7 19s299ms 2s757ms 22 4 16s898ms 4s224ms 23 11 29s775ms 2s706ms Jun 07 00 6 20s745ms 3s457ms 01 11 37s301ms 3s391ms 02 8 18s372ms 2s296ms 03 20 56s473ms 2s823ms 04 44 2m12s 3s12ms 05 10 33s243ms 3s324ms 06 16 51s254ms 3s203ms 07 11 32s846ms 2s986ms 08 13 55s617ms 4s278ms 09 16 51s27ms 3s189ms 10 11 38s86ms 3s462ms 11 15 45s442ms 3s29ms 12 22 1m7s 3s78ms 13 30 1m19s 2s656ms 14 40 1m56s 2s910ms 15 12 40s602ms 3s383ms 16 21 1m 2s890ms 17 10 29s415ms 2s941ms 18 45 2m14s 2s997ms 19 23 1m17s 3s353ms 20 20 1m4s 3s239ms 21 22 1m8s 3s101ms 22 30 1m17s 2s590ms 23 37 1m43s 2s807ms [ User: pubeu - Total duration: 9m54s - Times executed: 178 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1411566'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-06-03 04:22:37 Duration: 13s923ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1451245'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-06-05 18:06:50 Duration: 12s291ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1411566'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-06-06 02:27:54 Duration: 9s624ms Bind query: yes
13 1s 14s412ms 2s524ms 1,237 52m2s select e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, ( select string_agg(distinct stressorterm.nm || ? || ( select cd from object_type where id = stressorterm.object_type_id) || ? || stressorterm.nm_html || ? || stressorterm.acc_txt || ? || stressorterm.acc_db_cd, ?)) as stressoragents, ( select string_agg(distinct coalesce(receptorterm.nm, ?) || ? || coalesce(( select cd from object_type where id = receptorterm.object_type_id), ?) || ? || coalesce(receptorterm.nm_html, ?) || ? || coalesce(receptorterm.acc_txt, ?) || ? || coalesce(receptorterm.acc_db_cd, ?) || ? || receptor.description, ?)) as receptors, ( select string_agg(distinct country.nm, ?)) as studycountries, ( select string_agg(distinct location.locality_txt, ?)) as localities, ( select string_agg(distinct event.medium_nm || ? || coalesce(event.medium_term_acc_txt, ?), ?)) as assaymediums, ( select string_agg(distinct exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd, ?)) as assayedmarkers, ( select string_agg(distinct diseaseterm.nm || ? || ( select cd from object_type where id = diseaseterm.object_type_id) || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd, ?)) as diseases, ( select string_agg(distinct phenotypeterm.nm || ? || ( select cd from object_type where id = phenotypeterm.object_type_id) || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd, ?)) as phenotypes, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, re.author_summary summary, count(*) over () fullrowcount from exposure e inner join reference r on e.reference_id = r.id inner join exp_stressor stressor on e.exp_stressor_id = stressor.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join term receptorterm on receptor.term_id = receptorterm.id left outer join exp_event event on e.exp_event_id = event.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join exp_event_location location on e.exp_event_id = location.exp_event_id left outer join country on location.country_id = country.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id inner join reference_exp re on e.reference_id = re.reference_id left outer join exp_study_factor expstudyfactor on re.id = expstudyfactor.reference_exp_id where e.reference_id = any (array ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like ?) and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressoragents limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jun 01 15 1 3s361ms 3s361ms 16 1 1s323ms 1s323ms 21 8 19s157ms 2s394ms 22 25 1m 2s400ms 23 1 1s470ms 1s470ms Jun 02 00 7 9s942ms 1s420ms 03 1 1s141ms 1s141ms 04 1 1s183ms 1s183ms 06 2 8s466ms 4s233ms 08 1 1s148ms 1s148ms 09 1 3s83ms 3s83ms 12 2 5s219ms 2s609ms 13 2 8s805ms 4s402ms 14 1 1s69ms 1s69ms 16 24 58s485ms 2s436ms 17 1 3s84ms 3s84ms 18 5 8s450ms 1s690ms 19 2 5s493ms 2s746ms 20 6 6s687ms 1s114ms 21 2 5s377ms 2s688ms 22 4 7s918ms 1s979ms 23 5 23s285ms 4s657ms Jun 03 00 6 19s710ms 3s285ms 01 10 19s531ms 1s953ms 02 2 2s421ms 1s210ms 03 8 18s152ms 2s269ms 04 6 17s401ms 2s900ms 05 1 4s759ms 4s759ms 06 14 42s38ms 3s2ms 07 12 26s806ms 2s233ms 08 5 12s482ms 2s496ms 09 4 5s411ms 1s352ms 10 3 8s546ms 2s848ms 11 5 14s935ms 2s987ms 12 5 13s954ms 2s790ms 13 6 20s385ms 3s397ms 14 9 22s735ms 2s526ms 15 6 16s601ms 2s766ms 16 8 15s908ms 1s988ms 17 5 12s864ms 2s572ms 18 4 9s536ms 2s384ms 19 4 12s542ms 3s135ms 20 8 25s158ms 3s144ms 21 11 35s188ms 3s198ms 22 8 23s371ms 2s921ms 23 7 20s714ms 2s959ms Jun 04 00 11 28s499ms 2s590ms 01 7 16s101ms 2s300ms 02 4 10s766ms 2s691ms 03 6 15s459ms 2s576ms 04 10 29s554ms 2s955ms 05 3 8s644ms 2s881ms 06 8 21s612ms 2s701ms 07 3 6s690ms 2s230ms 08 7 25s66ms 3s580ms 09 8 20s706ms 2s588ms 10 4 15s450ms 3s862ms 11 2 2s170ms 1s85ms 12 8 26s861ms 3s357ms 13 4 13s847ms 3s461ms 14 4 6s489ms 1s622ms 15 7 17s22ms 2s431ms 16 6 17s883ms 2s980ms 17 13 35s823ms 2s755ms 18 11 23s996ms 2s181ms 19 18 43s419ms 2s412ms 20 5 11s803ms 2s360ms 21 1 2s107ms 2s107ms 22 18 44s740ms 2s485ms 23 24 52s392ms 2s183ms Jun 05 00 24 59s111ms 2s462ms 01 12 26s215ms 2s184ms 02 4 13s56ms 3s264ms 03 1 4s393ms 4s393ms 04 5 12s36ms 2s407ms 05 3 5s773ms 1s924ms 06 3 9s818ms 3s272ms 07 4 10s249ms 2s562ms 08 13 29s782ms 2s290ms 09 28 1m9s 2s466ms 10 9 22s902ms 2s544ms 11 7 21s92ms 3s13ms 12 5 17s484ms 3s496ms 13 9 22s599ms 2s511ms 14 10 29s892ms 2s989ms 15 10 27s172ms 2s717ms 16 12 28s261ms 2s355ms 17 7 16s273ms 2s324ms 18 10 25s54ms 2s505ms 19 14 34s444ms 2s460ms 20 14 29s552ms 2s110ms 21 25 1m8s 2s729ms 22 26 57s121ms 2s196ms 23 10 24s 2s400ms Jun 06 00 13 29s874ms 2s298ms 01 20 1m3s 3s199ms 02 15 37s206ms 2s480ms 03 4 8s450ms 2s112ms 06 2 6s328ms 3s164ms 07 2 7s566ms 3s783ms 08 6 12s315ms 2s52ms 09 2 5s325ms 2s662ms 10 6 15s827ms 2s637ms 11 5 15s174ms 3s34ms 12 3 9s556ms 3s185ms 13 7 19s182ms 2s740ms 14 5 18s322ms 3s664ms 15 6 17s82ms 2s847ms 16 2 4s342ms 2s171ms 19 1 1s77ms 1s77ms 20 5 8s661ms 1s732ms 21 6 11s989ms 1s998ms 22 5 15s716ms 3s143ms 23 7 26s735ms 3s819ms Jun 07 00 5 11s789ms 2s357ms 01 9 19s418ms 2s157ms 02 7 14s587ms 2s83ms 03 16 38s891ms 2s430ms 04 33 1m8s 2s64ms 05 12 26s382ms 2s198ms 06 9 23s712ms 2s634ms 07 9 27s356ms 3s39ms 08 8 23s228ms 2s903ms 09 9 19s896ms 2s210ms 10 7 17s39ms 2s434ms 11 17 40s633ms 2s390ms 12 16 45s524ms 2s845ms 13 29 1m10s 2s438ms 14 48 1m53s 2s365ms 15 4 9s780ms 2s445ms 16 18 46s967ms 2s609ms 17 11 22s649ms 2s59ms 18 40 1m29s 2s231ms 19 13 35s886ms 2s760ms 20 17 50s189ms 2s952ms 21 11 26s44ms 2s367ms 22 20 46s976ms 2s348ms 23 30 1m13s 2s435ms [ User: pubeu - Total duration: 6m22s - Times executed: 145 ]
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1449732') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1449732') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-06-06 01:38:12 Duration: 14s412ms Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1411566') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1411566') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-06-02 23:32:24 Duration: 7s782ms Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1440822') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1440822') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-06-02 13:06:37 Duration: 7s704ms Bind query: yes
14 1s19ms 4s446ms 2s152ms 342 12m16s select sq.*, count(*) over () fullrowcount from ( select t.acc_txt acc, ? || t.nm accquerystr, t.nm, t.nm_html nmhtml, t.secondary_nm secondarynm, l.nm matchednm, lt.nm_display matchedtype, case when lt.nm_display = ? then true else false end isnamematch, case when lt.nm_display = ? then true else false end issecondarynamematch, t.has_chems haschems, t.has_diseases hasdiseases, t.has_exposures hasexposures, case when upper(l.nm) = ? then ? else ? end relevance, t.nm_sort, t.id, t.has_phenotypes hasphenotypes from term t inner join term_label l on l.term_id = t.id inner join term_label_type lt on l.term_label_type_id = lt.id where l.object_type_id = ? and t.object_type_id = ? and l.id in ( select first_value(i.id) over (partition by i.term_id order by it.priority_seq, i.nm) from term_label i inner join term_label_type it on i.term_label_type_id = it.id where i.object_type_id = ? and i.nm_fts @@ to_tsquery(?, ?)) union all select t.acc_txt acc, ? || t.nm accquerystr, t.nm, t.nm_html nmhtml, t.secondary_nm secondarynm, l.acc_txt matchednm, ? matchedtype, false isnamematch, false issecondarynamematch, t.has_chems haschems, t.has_diseases hasdiseases, t.has_exposures hasexposures, ? relevance, t.nm_sort, t.id, t.has_phenotypes hasphenotypes from db_link l inner join term t on l.object_id = t.id where l.type_cd = ? and l.object_type_id = ? and (upper(l.acc_txt) = ? or upper(l.acc_txt) = ? or upper(l.acc_txt) = ?) order by ?, ?) sq limit ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jun 01 00 2 4s93ms 2s46ms 01 6 12s447ms 2s74ms 02 1 2s154ms 2s154ms 03 2 4s318ms 2s159ms 04 4 8s623ms 2s155ms 05 3 6s299ms 2s99ms 06 3 6s236ms 2s78ms 07 3 6s293ms 2s97ms 08 3 6s185ms 2s61ms 09 2 4s322ms 2s161ms 10 4 8s715ms 2s178ms 11 5 10s381ms 2s76ms 12 10 21s29ms 2s102ms 13 4 8s370ms 2s92ms 14 4 8s395ms 2s98ms 15 4 8s239ms 2s59ms 16 8 16s986ms 2s123ms 17 3 6s452ms 2s150ms 18 2 4s136ms 2s68ms 19 8 16s929ms 2s116ms 20 9 18s732ms 2s81ms 21 7 14s721ms 2s103ms 22 3 6s376ms 2s125ms 23 7 14s946ms 2s135ms Jun 02 00 10 21s443ms 2s144ms 01 4 8s375ms 2s93ms 02 4 8s471ms 2s117ms 03 2 4s144ms 2s72ms 04 12 25s94ms 2s91ms 05 2 4s210ms 2s105ms 06 4 8s683ms 2s170ms 07 6 12s671ms 2s111ms 08 8 17s350ms 2s168ms 09 8 16s755ms 2s94ms 10 7 15s115ms 2s159ms 11 9 19s155ms 2s128ms 12 8 16s861ms 2s107ms 13 3 6s355ms 2s118ms 14 5 10s403ms 2s80ms 15 1 2s250ms 2s250ms 16 8 18s846ms 2s355ms 17 6 12s925ms 2s154ms 18 2 4s513ms 2s256ms 19 3 6s529ms 2s176ms 20 3 6s677ms 2s225ms 21 6 12s949ms 2s158ms 22 7 15s240ms 2s177ms 23 6 13s449ms 2s241ms Jun 03 00 7 14s367ms 2s52ms 01 9 20s318ms 2s257ms 02 6 14s50ms 2s341ms 03 3 6s374ms 2s124ms 04 10 23s221ms 2s322ms 06 6 16s471ms 2s745ms 07 10 23s738ms 2s373ms 08 5 10s812ms 2s162ms 09 1 2s116ms 2s116ms 10 9 18s454ms 2s50ms 11 4 8s272ms 2s68ms 12 1 2s24ms 2s24ms 13 1 1s998ms 1s998ms 14 2 3s991ms 1s995ms 15 3 6s360ms 2s120ms 17 1 2s31ms 2s31ms 19 2 4s162ms 2s81ms 20 1 2s46ms 2s46ms 21 1 2s150ms 2s150ms 22 1 2s27ms 2s27ms Jun 04 01 4 8s321ms 2s80ms 03 2 4s93ms 2s46ms 04 2 3s973ms 1s986ms 05 1 2s304ms 2s304ms 07 1 2s220ms 2s220ms 08 1 2s146ms 2s146ms 09 2 4s124ms 2s62ms 11 3 6s44ms 2s14ms 12 1 2s135ms 2s135ms Jun 07 14 1 2s76ms 2s76ms [ User: pubeu - Total duration: 1m39s - Times executed: 45 ]
-
SELECT /* GeneBasicQueryDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT /* label */ t.acc_txt acc, 'name:' || t.nm accQueryStr, t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, l.nm matchedNm, lt.nm_display matchedType, CASE WHEN lt.nm_display = 'Symbol' THEN true ELSE false END isNameMatch, CASE WHEN lt.nm_display = 'Name' THEN true ELSE false END isSecondaryNameMatch, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, CASE WHEN UPPER(l.nm) = 'HYPOTHETICAL PROTEIN' THEN 1 ELSE 2 END relevance, t.nm_sort, t.id, t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN ( SELECT FIRST_VALUE(i.id) OVER (PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', 'HYPOTHETICAL & PROTEIN')) UNION ALL SELECT /* acc */ t.acc_txt acc, 'name:' || t.nm accQueryStr, t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, l.acc_txt matchednm, 'Accession' matchedtype, false isNameMatch, false isSecondaryNameMatch, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, 1 relevance, t.nm_sort, t.id, t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper(l.acc_txt) = 'HYPOTHETICAL' OR upper(l.acc_txt) = 'PROTEIN' OR upper(l.acc_txt) = 'HYPOTHETICAL PROTEIN') ORDER BY 13, 14) sq LIMIT 50;
Date: 2025-06-03 06:17:53 Duration: 4s446ms Bind query: yes
-
SELECT /* GeneBasicQueryDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT /* label */ t.acc_txt acc, 'name:' || t.nm accQueryStr, t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, l.nm matchedNm, lt.nm_display matchedType, CASE WHEN lt.nm_display = 'Symbol' THEN true ELSE false END isNameMatch, CASE WHEN lt.nm_display = 'Name' THEN true ELSE false END isSecondaryNameMatch, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, CASE WHEN UPPER(l.nm) = 'HYPOTHETICAL PROTEIN' THEN 1 ELSE 2 END relevance, t.nm_sort, t.id, t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN ( SELECT FIRST_VALUE(i.id) OVER (PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', 'HYPOTHETICAL & PROTEIN')) UNION ALL SELECT /* acc */ t.acc_txt acc, 'name:' || t.nm accQueryStr, t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, l.acc_txt matchednm, 'Accession' matchedtype, false isNameMatch, false isSecondaryNameMatch, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, 1 relevance, t.nm_sort, t.id, t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper(l.acc_txt) = 'HYPOTHETICAL' OR upper(l.acc_txt) = 'PROTEIN' OR upper(l.acc_txt) = 'HYPOTHETICAL PROTEIN') ORDER BY 13, 14) sq LIMIT 50;
Date: 2025-06-02 16:46:13 Duration: 3s501ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GeneBasicQueryDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT /* label */ t.acc_txt acc, 'name:' || t.nm accQueryStr, t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, l.nm matchedNm, lt.nm_display matchedType, CASE WHEN lt.nm_display = 'Symbol' THEN true ELSE false END isNameMatch, CASE WHEN lt.nm_display = 'Name' THEN true ELSE false END isSecondaryNameMatch, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, CASE WHEN UPPER(l.nm) = 'HYPOTHETICAL PROTEIN' THEN 1 ELSE 2 END relevance, t.nm_sort, t.id, t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN ( SELECT FIRST_VALUE(i.id) OVER (PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', 'HYPOTHETICAL & PROTEIN')) UNION ALL SELECT /* acc */ t.acc_txt acc, 'name:' || t.nm accQueryStr, t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, l.acc_txt matchednm, 'Accession' matchedtype, false isNameMatch, false isSecondaryNameMatch, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, 1 relevance, t.nm_sort, t.id, t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper(l.acc_txt) = 'HYPOTHETICAL' OR upper(l.acc_txt) = 'PROTEIN' OR upper(l.acc_txt) = 'HYPOTHETICAL PROTEIN') ORDER BY 13, 14) sq LIMIT 50;
Date: 2025-06-03 07:33:51 Duration: 3s119ms Bind query: yes
15 1s 18s188ms 2s5ms 1,223 40m52s 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 #15
Day Hour Count Duration Avg duration Jun 01 00 8 8s271ms 1s33ms 01 13 13s456ms 1s35ms 02 16 18s118ms 1s132ms 03 37 37s995ms 1s26ms 04 16 16s623ms 1s38ms 05 6 6s227ms 1s37ms 06 10 10s324ms 1s32ms 07 8 8s567ms 1s70ms 08 6 6s211ms 1s35ms 09 15 15s871ms 1s58ms 10 6 6s991ms 1s165ms 11 6 6s868ms 1s144ms 12 9 9s114ms 1s12ms 14 1 6s329ms 6s329ms 15 15 15s488ms 1s32ms 16 5 5s335ms 1s67ms 17 2 3s595ms 1s797ms 18 2 2s67ms 1s33ms 20 7 7s55ms 1s7ms 21 2 7s378ms 3s689ms 22 5 14s475ms 2s895ms 23 2 7s234ms 3s617ms Jun 02 01 12 15s882ms 1s323ms 02 4 4s80ms 1s20ms 03 18 29s170ms 1s620ms 04 2 2s426ms 1s213ms 05 7 15s216ms 2s173ms 06 4 4s73ms 1s18ms 07 5 5s180ms 1s36ms 08 1 1s6ms 1s6ms 09 2 2s68ms 1s34ms 10 4 9s16ms 2s254ms 11 2 2s141ms 1s70ms 12 3 3s26ms 1s8ms 13 10 19s589ms 1s958ms 14 2 6s703ms 3s351ms 16 2 8s299ms 4s149ms 17 4 5s1ms 1s250ms 18 2 3s397ms 1s698ms 20 6 11s325ms 1s887ms 21 3 8s694ms 2s898ms 22 3 10s425ms 3s475ms 23 56 2m23s 2s558ms Jun 03 00 4 5s161ms 1s290ms 01 3 4s624ms 1s541ms 02 9 15s708ms 1s745ms 03 16 32s568ms 2s35ms 04 18 34s759ms 1s931ms 05 3 5s141ms 1s713ms 06 95 4m23s 2s771ms 07 3 5s949ms 1s983ms 08 1 2s233ms 2s233ms 09 1 2s851ms 2s851ms 11 1 2s775ms 2s775ms 12 7 13s177ms 1s882ms 13 4 4s472ms 1s118ms 14 7 19s530ms 2s790ms 15 8 19s568ms 2s446ms 16 3 3s212ms 1s70ms 17 1 2s877ms 2s877ms 18 3 3s46ms 1s15ms 19 2 5s767ms 2s883ms 20 4 5s44ms 1s261ms 21 4 6s863ms 1s715ms 22 11 13s793ms 1s253ms 23 9 12s319ms 1s368ms Jun 04 00 4 14s54ms 3s513ms 01 9 9s197ms 1s21ms 02 10 10s555ms 1s55ms 03 11 13s709ms 1s246ms 04 8 13s681ms 1s710ms 05 5 11s587ms 2s317ms 06 10 15s273ms 1s527ms 07 7 12s464ms 1s780ms 09 6 11s478ms 1s913ms 10 9 13s630ms 1s514ms 11 14 17s989ms 1s284ms 12 9 14s571ms 1s619ms 13 3 8s465ms 2s821ms 14 8 11s452ms 1s431ms 15 3 3s41ms 1s13ms 16 6 11s19ms 1s836ms 17 2 4s212ms 2s106ms 18 6 6s876ms 1s146ms 19 6 7s924ms 1s320ms 20 8 18s59ms 2s257ms 21 8 11s925ms 1s490ms 22 8 9s352ms 1s169ms 23 5 9s393ms 1s878ms Jun 05 00 5 8s956ms 1s791ms 01 4 7s70ms 1s767ms 02 17 28s430ms 1s672ms 03 10 17s432ms 1s743ms 04 7 9s60ms 1s294ms 05 2 2s290ms 1s145ms 06 10 16s625ms 1s662ms 07 2 2s53ms 1s26ms 08 8 18s220ms 2s277ms 09 6 17s546ms 2s924ms 10 4 8s534ms 2s133ms 11 4 6s955ms 1s738ms 12 6 7s409ms 1s234ms 13 7 25s835ms 3s690ms 14 6 11s330ms 1s888ms 15 4 6s100ms 1s525ms 16 4 11s410ms 2s852ms 17 8 18s259ms 2s282ms 18 24 1m9s 2s910ms 19 12 32s755ms 2s729ms 20 28 1m 2s171ms 21 20 1m24s 4s204ms 22 6 9s761ms 1s626ms 23 5 22s426ms 4s485ms Jun 06 00 9 21s845ms 2s427ms 01 12 30s810ms 2s567ms 02 25 1m6s 2s642ms 03 2 2s438ms 1s219ms 06 1 1s70ms 1s70ms 07 3 3s784ms 1s261ms 08 9 18s368ms 2s40ms 09 8 18s769ms 2s346ms 10 6 9s992ms 1s665ms 11 10 18s985ms 1s898ms 12 5 9s414ms 1s882ms 13 6 14s623ms 2s437ms 14 3 3s804ms 1s268ms 15 3 3s393ms 1s131ms 16 4 4s259ms 1s64ms 19 5 7s40ms 1s408ms 20 19 23s345ms 1s228ms 21 29 31s179ms 1s75ms 22 6 11s529ms 1s921ms 23 12 16s103ms 1s341ms Jun 07 00 2 7s958ms 3s979ms 01 4 19s77ms 4s769ms 02 5 18s494ms 3s698ms 03 2 5s274ms 2s637ms 04 3 14s314ms 4s771ms 05 4 13s769ms 3s442ms 06 5 11s900ms 2s380ms 07 6 16s898ms 2s816ms 08 4 8s313ms 2s78ms 09 2 3s817ms 1s908ms 10 2 5s817ms 2s908ms 11 2 6s959ms 3s479ms 12 1 6s79ms 6s79ms 13 17 52s656ms 3s97ms 14 3 7s614ms 2s538ms 15 5 13s998ms 2s799ms 16 5 17s756ms 3s551ms 17 7 22s275ms 3s182ms 18 6 21s764ms 3s627ms 19 2 4s106ms 2s53ms 20 5 16s412ms 3s282ms 21 5 20s377ms 4s75ms 22 7 19s194ms 2s742ms 23 2 9s212ms 4s606ms [ User: pubeu - Total duration: 9m51s - Times executed: 250 ]
-
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 = '660706' 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 = '660706') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-06-05 21:17:50 Duration: 18s188ms 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 = '660368' 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 = '660368') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-06-01 22:01:05 Duration: 9s983ms 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 = '869175' 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 = '869175') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-06-05 18:06:58 Duration: 9s763ms Bind query: yes
16 1s254ms 4s198ms 1s702ms 465 13m11s select c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposurereferencecount, case when cd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from chem_disease_axn a where a.chem_id = cd.chem_id and a.disease_id = cd.disease_id) else null end actiontypes from chem_disease cd inner join term c on cd.chem_id = c.id inner join term d on cd.disease_id = d.id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, cd.network_score desc nulls last, d.nm_sort, c.nm_sort limit ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jun 01 21 2 3s288ms 1s644ms 22 4 6s429ms 1s607ms 23 1 1s309ms 1s309ms Jun 02 03 1 1s294ms 1s294ms 13 1 1s946ms 1s946ms 15 2 2s752ms 1s376ms 16 5 8s460ms 1s692ms 17 2 3s292ms 1s646ms 18 1 1s521ms 1s521ms 20 2 4s241ms 2s120ms 21 2 3s176ms 1s588ms 22 1 1s321ms 1s321ms 23 2 3s469ms 1s734ms Jun 03 00 1 1s889ms 1s889ms 02 6 9s394ms 1s565ms 03 2 4s424ms 2s212ms 04 4 7s553ms 1s888ms 06 5 9s974ms 1s994ms 07 6 10s328ms 1s721ms 08 1 1s903ms 1s903ms 10 1 1s957ms 1s957ms 12 2 3s201ms 1s600ms 13 3 5s126ms 1s708ms 14 1 1s902ms 1s902ms 15 2 3s213ms 1s606ms 16 1 1s859ms 1s859ms 17 3 4s378ms 1s459ms 18 2 3s850ms 1s925ms 21 1 1s344ms 1s344ms 22 4 7s467ms 1s866ms 23 1 1s338ms 1s338ms Jun 04 00 2 3s282ms 1s641ms 01 3 5s140ms 1s713ms 02 2 3s179ms 1s589ms 03 3 5s110ms 1s703ms 04 1 1s967ms 1s967ms 05 3 5s738ms 1s912ms 06 3 5s803ms 1s934ms 07 1 1s929ms 1s929ms 08 3 4s984ms 1s661ms 09 4 7s56ms 1s764ms 11 3 5s33ms 1s677ms 12 2 2s654ms 1s327ms 13 2 3s226ms 1s613ms 14 3 5s115ms 1s705ms 15 5 8s151ms 1s630ms 16 6 10s780ms 1s796ms 17 2 3s200ms 1s600ms 18 5 7s609ms 1s521ms 19 6 9s598ms 1s599ms 20 7 12s588ms 1s798ms 21 7 11s445ms 1s635ms 22 7 12s58ms 1s722ms 23 5 8s424ms 1s684ms Jun 05 00 8 13s614ms 1s701ms 01 4 6s975ms 1s743ms 02 2 3s731ms 1s865ms 03 4 6s481ms 1s620ms 04 1 1s926ms 1s926ms 05 2 3s761ms 1s880ms 06 1 1s864ms 1s864ms 07 3 5s176ms 1s725ms 08 3 4s569ms 1s523ms 09 7 11s720ms 1s674ms 10 7 10s560ms 1s508ms 11 3 5s130ms 1s710ms 12 7 12s945ms 1s849ms 13 5 8s575ms 1s715ms 14 6 11s79ms 1s846ms 15 6 9s892ms 1s648ms 16 6 10s511ms 1s751ms 17 4 6s548ms 1s637ms 18 4 7s252ms 1s813ms 19 2 2s689ms 1s344ms 20 2 3s357ms 1s678ms 21 8 13s651ms 1s706ms 22 7 11s776ms 1s682ms 23 3 5s394ms 1s798ms Jun 06 00 5 8s70ms 1s614ms 01 2 3s514ms 1s757ms 02 3 5s958ms 1s986ms 03 4 7s554ms 1s888ms 07 3 4s621ms 1s540ms 08 5 9s404ms 1s880ms 09 2 2s597ms 1s298ms 10 3 5s996ms 1s998ms 11 1 1s854ms 1s854ms 12 1 1s315ms 1s315ms 13 1 1s368ms 1s368ms 14 4 7s496ms 1s874ms 15 2 3s103ms 1s551ms 16 1 1s920ms 1s920ms 19 2 3s764ms 1s882ms 20 2 3s121ms 1s560ms 21 4 6s973ms 1s743ms 22 6 10s132ms 1s688ms 23 4 7s43ms 1s760ms Jun 07 00 2 3s893ms 1s946ms 01 1 1s901ms 1s901ms 02 5 8s788ms 1s757ms 03 8 12s219ms 1s527ms 04 11 17s152ms 1s559ms 05 3 4s952ms 1s650ms 06 4 6s408ms 1s602ms 07 5 7s6ms 1s401ms 08 3 4s789ms 1s596ms 09 8 13s458ms 1s682ms 10 3 4s503ms 1s501ms 11 2 3s730ms 1s865ms 12 5 8s916ms 1s783ms 13 7 11s426ms 1s632ms 14 15 24s943ms 1s662ms 15 9 15s994ms 1s777ms 16 4 7s634ms 1s908ms 17 7 11s631ms 1s661ms 18 10 17s674ms 1s767ms 19 7 13s714ms 1s959ms 20 4 7s272ms 1s818ms 21 4 6s506ms 1s626ms 22 8 12s747ms 1s593ms 23 13 21s499ms 1s653ms [ User: pubeu - Total duration: 2m3s - Times executed: 73 ]
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1411566') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-06-03 06:56:57 Duration: 4s198ms Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1411566') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-06-03 03:18:22 Duration: 2s372ms Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1411566') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-06-02 20:58:23 Duration: 2s298ms Database: ctdprd51 User: pubeu Bind query: yes
17 1s511ms 5s134ms 1s589ms 14,594 6h26m42s select coalesce(d.abbr_display, d.nm_display) nm # ?, d.description # ?, coalesce(d.abbr, d.nm) anchor # ?, get_homepage_url (d.id) url # ? from db d # ? where d.id in (# ? select l.db_id # ? from db_link l # ? where l.type_cd = ? # ? and l.object_type_id = ?) # ? order by ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jun 01 00 88 2m17s 1s564ms 01 97 2m32s 1s571ms 02 94 2m27s 1s565ms 03 101 2m38s 1s570ms 04 117 3m3s 1s566ms 05 142 3m43s 1s574ms 06 102 2m42s 1s589ms 07 74 1m56s 1s569ms 08 73 1m54s 1s567ms 09 110 2m52s 1s566ms 10 136 3m33s 1s572ms 11 131 3m25s 1s568ms 12 186 4m52s 1s572ms 13 186 4m54s 1s582ms 14 199 5m13s 1s577ms 15 164 4m18s 1s573ms 16 190 5m 1s580ms 17 169 4m26s 1s575ms 18 157 4m5s 1s564ms 19 175 4m35s 1s574ms 20 190 4m59s 1s575ms 21 181 4m45s 1s575ms 22 178 4m41s 1s583ms 23 159 4m10s 1s576ms Jun 02 00 155 4m4s 1s575ms 01 147 3m54s 1s597ms 02 176 4m37s 1s576ms 03 170 4m32s 1s600ms 04 188 4m56s 1s575ms 05 243 6m27s 1s595ms 06 162 4m14s 1s573ms 07 158 4m9s 1s577ms 08 174 4m35s 1s581ms 09 177 4m40s 1s584ms 10 175 4m37s 1s584ms 11 182 4m46s 1s576ms 12 148 3m52s 1s569ms 13 158 4m11s 1s591ms 14 165 4m21s 1s584ms 15 164 4m19s 1s584ms 16 187 4m59s 1s599ms 17 162 4m16s 1s586ms 18 185 4m54s 1s593ms 19 210 5m34s 1s592ms 20 207 5m35s 1s620ms 21 205 5m29s 1s608ms 22 201 5m20s 1s592ms 23 150 4m4s 1s629ms Jun 03 00 108 2m53s 1s609ms 01 110 3m1s 1s653ms 02 156 4m19s 1s660ms 03 136 3m46s 1s662ms 04 148 4m3s 1s642ms 05 41 1m8s 1s659ms 06 182 5m43s 1s885ms 07 190 5m8s 1s623ms 08 217 5m40s 1s568ms 09 177 4m36s 1s559ms 10 193 5m6s 1s585ms 11 161 4m12s 1s568ms 12 60 1m33s 1s566ms 13 46 1m11s 1s558ms 14 58 1m30s 1s564ms 15 38 59s244ms 1s559ms 16 67 1m44s 1s554ms 17 52 1m20s 1s544ms 18 65 1m42s 1s573ms 19 55 1m26s 1s567ms 20 68 1m46s 1s562ms 21 71 1m52s 1s582ms 22 74 1m55s 1s557ms 23 73 1m55s 1s580ms Jun 04 00 92 2m25s 1s584ms 01 80 2m5s 1s574ms 02 78 2m2s 1s571ms 03 89 2m20s 1s575ms 04 76 2m 1s587ms 05 83 2m11s 1s588ms 06 67 1m46s 1s589ms 07 74 1m56s 1s577ms 08 95 2m29s 1s577ms 09 92 2m26s 1s588ms 10 76 2m 1s579ms 11 90 2m22s 1s581ms 12 59 1m34s 1s600ms 13 64 1m40s 1s571ms 14 51 1m20s 1s576ms 15 50 1m18s 1s576ms 16 53 1m22s 1s565ms 17 76 1m58s 1s561ms 18 67 1m45s 1s573ms 19 66 1m43s 1s574ms 20 56 1m28s 1s574ms 21 56 1m27s 1s557ms 22 52 1m21s 1s561ms 23 68 1m47s 1s576ms Jun 05 00 70 1m49s 1s566ms 01 57 1m30s 1s584ms 02 63 1m39s 1s572ms 03 54 1m26s 1s600ms 04 65 1m44s 1s602ms 05 54 1m25s 1s577ms 06 56 1m28s 1s586ms 07 52 1m22s 1s577ms 08 53 1m24s 1s585ms 09 58 1m32s 1s590ms 10 62 1m38s 1s586ms 11 63 1m38s 1s568ms 12 65 1m42s 1s580ms 13 88 2m19s 1s580ms 14 65 1m43s 1s589ms 15 73 1m55s 1s583ms 16 74 1m57s 1s590ms 17 68 1m47s 1s586ms 18 70 1m52s 1s606ms 19 52 1m22s 1s593ms 20 72 1m56s 1s611ms 21 69 1m52s 1s624ms 22 65 1m47s 1s650ms 23 74 2m5s 1s695ms Jun 06 00 81 2m9s 1s604ms 01 62 1m39s 1s598ms 02 83 2m17s 1s659ms 03 32 52s300ms 1s634ms 05 3 4s744ms 1s581ms 06 1 1s575ms 1s575ms 07 60 1m35s 1s588ms 08 4 6s188ms 1s547ms 09 2 3s114ms 1s557ms 10 2 3s168ms 1s584ms 11 1 1s552ms 1s552ms 12 45 1m10s 1s572ms 13 30 48s309ms 1s610ms 14 33 53s194ms 1s611ms 15 29 45s537ms 1s570ms 16 31 48s752ms 1s572ms 17 1 1s586ms 1s586ms 18 2 3s106ms 1s553ms 19 28 43s730ms 1s561ms 20 40 1m2s 1s563ms 21 36 56s474ms 1s568ms 22 45 1m10s 1s566ms 23 45 1m12s 1s601ms Jun 07 00 50 1m17s 1s559ms 01 50 1m18s 1s568ms 02 54 1m24s 1s558ms 03 2 3s82ms 1s541ms 04 6 9s263ms 1s543ms 05 8 12s460ms 1s557ms 06 3 4s638ms 1s546ms 07 6 9s434ms 1s572ms 08 5 7s794ms 1s558ms 09 5 7s868ms 1s573ms 10 5 7s848ms 1s569ms 11 5 7s741ms 1s548ms 12 22 34s222ms 1s555ms 13 31 49s63ms 1s582ms 14 21 32s636ms 1s554ms 15 14 21s827ms 1s559ms 16 21 32s849ms 1s564ms 17 27 42s614ms 1s578ms 18 23 36s614ms 1s591ms 19 24 38s182ms 1s590ms 20 20 31s325ms 1s566ms 21 17 26s857ms 1s579ms 22 13 20s390ms 1s568ms 23 20 31s333ms 1s566ms [ User: pubeu - Total duration: 52m38s - Times executed: 1941 ]
[ User: qaeu - Total duration: 6s253ms - Times executed: 4 ]
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2025-06-03 06:23:26 Duration: 5s134ms Bind query: yes
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2025-06-03 06:14:28 Duration: 3s638ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2025-06-05 22:09:08 Duration: 3s468ms Bind query: yes
18 1s328ms 19s659ms 1s589ms 6,502 2h52m14s select ;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jun 01 08 1 1s583ms 1s583ms 16 1 1s827ms 1s827ms 17 1 1s623ms 1s623ms 18 1 1s659ms 1s659ms 19 1 1s780ms 1s780ms 23 1 1s610ms 1s610ms Jun 02 00 1 1s657ms 1s657ms 01 3 4s933ms 1s644ms 02 1 1s831ms 1s831ms 03 4 6s536ms 1s634ms 04 3 4s863ms 1s621ms 06 5 8s42ms 1s608ms 07 6 9s553ms 1s592ms 08 7 11s885ms 1s697ms 09 6 9s307ms 1s551ms 10 9 15s444ms 1s716ms 11 8 12s871ms 1s608ms 12 6 9s466ms 1s577ms 13 16 25s798ms 1s612ms 14 16 25s736ms 1s608ms 15 20 33s70ms 1s653ms 16 21 33s978ms 1s618ms 17 43 1m9s 1s617ms 18 36 58s775ms 1s632ms 19 57 1m31s 1s613ms 20 97 2m34s 1s588ms 21 115 3m3s 1s594ms 22 121 3m12s 1s591ms 23 116 3m6s 1s610ms Jun 03 00 197 5m14s 1s597ms 01 192 5m8s 1s608ms 02 165 4m26s 1s616ms 03 153 4m8s 1s623ms 04 164 4m26s 1s626ms 05 35 56s738ms 1s621ms 06 115 3m9s 1s651ms 07 147 4m 1s635ms 08 83 2m14s 1s622ms 17 1 1s535ms 1s535ms 18 1 1s686ms 1s686ms 21 1 1s708ms 1s708ms Jun 04 00 1 1s442ms 1s442ms 02 1 1s661ms 1s661ms 12 3 4s899ms 1s633ms 13 3 4s937ms 1s645ms 14 1 1s774ms 1s774ms 18 1 1s669ms 1s669ms 19 2 3s257ms 1s628ms 21 2 3s233ms 1s616ms 22 5 7s539ms 1s507ms Jun 05 00 1 1s519ms 1s519ms 01 3 4s843ms 1s614ms 02 3 5s55ms 1s685ms 03 3 5s190ms 1s730ms 04 4 6s437ms 1s609ms 05 10 16s482ms 1s648ms 06 4 6s815ms 1s703ms 07 11 17s641ms 1s603ms 08 17 28s58ms 1s650ms 09 28 46s227ms 1s650ms 10 28 45s291ms 1s617ms 11 45 1m12s 1s609ms 12 56 1m30s 1s621ms 13 82 2m10s 1s586ms 14 96 2m31s 1s579ms 15 101 2m39s 1s575ms 16 128 3m20s 1s567ms 17 144 4m7s 1s715ms 18 143 3m45s 1s579ms 19 170 4m23s 1s548ms 20 188 4m53s 1s558ms 21 184 4m47s 1s561ms 22 193 5m3s 1s572ms 23 197 5m4s 1s544ms Jun 06 00 180 4m41s 1s563ms 01 175 4m34s 1s566ms 02 196 5m8s 1s575ms 03 95 2m27s 1s556ms 05 7 10s954ms 1s564ms 06 8 12s406ms 1s550ms 07 1 1s660ms 1s660ms 13 1 1s643ms 1s643ms 16 1 1s538ms 1s538ms 18 2 3s262ms 1s631ms 19 3 4s734ms 1s578ms 22 1 1s644ms 1s644ms 23 2 3s279ms 1s639ms Jun 07 00 3 4s798ms 1s599ms 01 2 3s260ms 1s630ms 02 2 3s405ms 1s702ms 04 2 3s148ms 1s574ms 05 2 3s373ms 1s686ms 06 3 4s992ms 1s664ms 07 6 9s440ms 1s573ms 08 7 11s446ms 1s635ms 09 12 19s114ms 1s592ms 10 19 30s834ms 1s622ms 11 20 31s479ms 1s573ms 12 35 55s14ms 1s571ms 13 57 1m31s 1s599ms 14 91 2m23s 1s577ms 15 104 2m42s 1s566ms 16 146 3m51s 1s588ms 17 147 3m50s 1s570ms 18 241 6m17s 1s566ms 19 206 5m23s 1s569ms 20 194 5m1s 1s556ms 21 254 6m37s 1s565ms 22 250 6m33s 1s573ms 23 192 5m9s 1s610ms [ User: pubeu - Total duration: 23m39s - Times executed: 872 ]
-
SELECT /* DiseaseGeneAssnsDAO */ ;
Date: 2025-06-05 17:58:31 Duration: 19s659ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ ;
Date: 2025-06-06 00:02:00 Duration: 2s800ms Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ ;
Date: 2025-06-03 01:42:43 Duration: 2s772ms Database: ctdprd51 User: pubeu Bind query: yes
19 1s305ms 6s695ms 1s506ms 241,501 4d5h4m19s 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 #19
Day Hour Count Duration Avg duration Jun 01 00 41 1m 1s477ms 01 67 1m39s 1s491ms 02 56 1m22s 1s474ms 03 58 1m25s 1s469ms 04 67 1m37s 1s456ms 05 56 1m23s 1s488ms 06 66 1m37s 1s479ms 07 64 1m35s 1s494ms 08 44 1m5s 1s483ms 09 64 1m35s 1s499ms 10 71 1m45s 1s485ms 11 85 2m5s 1s482ms 12 109 2m40s 1s475ms 13 123 3m4s 1s496ms 14 132 3m15s 1s478ms 15 140 3m29s 1s493ms 16 134 3m19s 1s491ms 17 148 3m40s 1s486ms 18 187 4m36s 1s476ms 19 141 3m29s 1s486ms 20 157 3m51s 1s477ms 21 186 4m36s 1s487ms 22 183 4m32s 1s490ms 23 228 5m35s 1s470ms Jun 02 00 269 6m36s 1s473ms 01 271 6m49s 1s509ms 02 317 7m51s 1s487ms 03 355 9m4s 1s532ms 04 378 9m22s 1s488ms 05 492 12m17s 1s499ms 06 498 12m20s 1s486ms 07 588 14m32s 1s483ms 08 619 15m24s 1s494ms 09 682 16m56s 1s490ms 10 852 21m20s 1s503ms 11 992 24m31s 1s483ms 12 1,045 25m56s 1s489ms 13 1,392 34m40s 1s494ms 14 1,436 35m28s 1s482ms 15 1,634 40m57s 1s503ms 16 1,716 43m37s 1s525ms 17 2,279 56m48s 1s495ms 18 2,637 1h6m14s 1s507ms 19 2,774 1h9m18s 1s499ms 20 3,700 1h32m50s 1s505ms 21 3,864 1h36m36s 1s500ms 22 3,859 1h36m2s 1s493ms 23 4,386 1h51m26s 1s524ms Jun 03 00 5,221 2h12m5s 1s518ms 01 5,569 2h22m24s 1s534ms 02 5,477 2h22m 1s555ms 03 5,909 2h35m10s 1s575ms 04 5,529 2h22m54s 1s550ms 05 1,306 34m35s 1s589ms 06 5,645 2h46m26s 1s769ms 07 4,412 1h52m37s 1s531ms 08 1,968 49m24s 1s506ms 09 116 2m48s 1s450ms 10 104 2m33s 1s476ms 11 80 1m57s 1s473ms 12 137 3m21s 1s469ms 13 112 2m44s 1s469ms 14 118 2m54s 1s477ms 15 121 2m58s 1s474ms 16 143 3m25s 1s435ms 17 152 3m38s 1s435ms 18 156 3m49s 1s473ms 19 183 4m26s 1s456ms 20 167 4m4s 1s462ms 21 157 3m55s 1s499ms 22 162 3m54s 1s447ms 23 196 4m50s 1s480ms Jun 04 00 176 4m26s 1s512ms 01 186 4m41s 1s513ms 02 197 4m54s 1s493ms 03 191 4m44s 1s489ms 04 220 5m34s 1s521ms 05 202 5m2s 1s496ms 06 180 4m29s 1s497ms 07 173 4m18s 1s495ms 08 205 5m2s 1s474ms 09 210 5m18s 1s515ms 10 208 5m11s 1s499ms 11 219 5m29s 1s505ms 12 259 6m32s 1s514ms 13 347 8m38s 1s493ms 14 271 6m45s 1s497ms 15 315 7m52s 1s499ms 16 339 8m27s 1s498ms 17 295 7m15s 1s475ms 18 333 8m11s 1s474ms 19 360 8m56s 1s489ms 20 374 9m12s 1s478ms 21 388 9m21s 1s447ms 22 364 9m2s 1s491ms 23 411 10m 1s461ms Jun 05 00 464 11m18s 1s461ms 01 519 13m1s 1s506ms 02 547 13m37s 1s494ms 03 611 15m7s 1s485ms 04 701 17m30s 1s499ms 05 816 20m20s 1s496ms 06 866 21m23s 1s482ms 07 1,105 27m26s 1s490ms 08 1,347 33m22s 1s486ms 09 1,374 34m31s 1s507ms 10 1,749 43m44s 1s500ms 11 2,069 51m11s 1s484ms 12 2,344 58m30s 1s497ms 13 3,204 1h19m16s 1s484ms 14 3,369 1h23m50s 1s493ms 15 3,758 1h32m27s 1s476ms 16 4,100 1h41m17s 1s482ms 17 4,828 2h1m6s 1s504ms 18 4,730 2h3m12s 1s562ms 19 5,291 2h11m2s 1s485ms 20 6,136 2h34m47s 1s513ms 21 5,773 2h30m18s 1s562ms 22 5,901 2h27m59s 1s504ms 23 5,668 2h20m25s 1s486ms Jun 06 00 6,121 2h33m29s 1s504ms 01 5,985 2h31m5s 1s514ms 02 5,594 2h23m2s 1s534ms 03 2,854 1h11m38s 1s506ms 04 6 8s751ms 1s458ms 05 382 9m12s 1s445ms 06 257 6m24s 1s497ms 07 311 7m44s 1s492ms 08 5 7s101ms 1s420ms 09 3 4s406ms 1s468ms 10 5 7s348ms 1s469ms 11 14 20s607ms 1s471ms 12 245 5m56s 1s454ms 13 206 5m1s 1s461ms 14 199 4m48s 1s449ms 15 147 3m31s 1s435ms 16 188 4m30s 1s440ms 17 10 14s22ms 1s402ms 18 88 2m7s 1s451ms 19 473 11m20s 1s438ms 20 217 5m8s 1s421ms 21 239 5m47s 1s452ms 22 328 7m53s 1s445ms 23 303 7m20s 1s452ms Jun 07 00 372 8m56s 1s443ms 01 406 9m55s 1s465ms 02 476 11m38s 1s467ms 03 294 7m6s 1s452ms 04 360 8m47s 1s463ms 05 450 10m54s 1s455ms 06 569 13m45s 1s450ms 07 723 17m35s 1s459ms 08 886 21m34s 1s460ms 09 961 23m23s 1s460ms 10 1,330 32m34s 1s469ms 11 1,689 41m2s 1s457ms 12 1,911 45m53s 1s440ms 13 2,343 57m15s 1s466ms 14 2,941 1h11m30s 1s458ms 15 3,288 1h19m47s 1s455ms 16 4,418 1h47m32s 1s460ms 17 4,494 1h50m15s 1s472ms 18 5,380 2h12m29s 1s477ms 19 5,557 2h17m33s 1s485ms 20 5,594 2h17m2s 1s469ms 21 6,041 2h28m35s 1s475ms 22 5,416 2h12m54s 1s472ms 23 4,947 2h2m12s 1s482ms [ User: pubeu - Total duration: 16h35m24s - Times executed: 37769 ]
-
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: 2025-06-03 06:23:27 Duration: 6s695ms 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: 2025-06-05 18:06:59 Duration: 6s481ms 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: 2025-06-03 06:23:27 Duration: 6s424ms Database: ctdprd51 User: pubeu Bind query: yes
20 1s347ms 3s129ms 1s491ms 431 10m43s 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;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jun 01 00 4 5s902ms 1s475ms 02 5 7s430ms 1s486ms 03 3 4s589ms 1s529ms 04 2 3s129ms 1s564ms 05 5 9s43ms 1s808ms 06 1 1s501ms 1s501ms 07 1 1s491ms 1s491ms 08 2 2s947ms 1s473ms 09 3 4s472ms 1s490ms 10 2 2s907ms 1s453ms 11 4 5s859ms 1s464ms 12 3 4s295ms 1s431ms 13 1 1s504ms 1s504ms 14 2 2s829ms 1s414ms 15 1 1s506ms 1s506ms 16 8 13s385ms 1s673ms 17 5 7s417ms 1s483ms 18 1 1s376ms 1s376ms 19 1 1s406ms 1s406ms 20 1 1s383ms 1s383ms 21 5 7s448ms 1s489ms 22 1 1s414ms 1s414ms 23 3 4s419ms 1s473ms Jun 02 00 1 1s544ms 1s544ms 01 4 6s67ms 1s516ms 02 3 4s347ms 1s449ms 03 1 1s476ms 1s476ms 04 2 3s90ms 1s545ms 05 2 3s9ms 1s504ms 06 5 7s351ms 1s470ms 07 6 8s685ms 1s447ms 08 5 7s372ms 1s474ms 09 2 2s917ms 1s458ms 10 3 4s447ms 1s482ms 11 6 8s838ms 1s473ms 12 3 4s404ms 1s468ms 13 4 5s826ms 1s456ms 14 3 4s344ms 1s448ms 15 2 2s816ms 1s408ms 16 3 4s351ms 1s450ms 17 5 7s498ms 1s499ms 19 2 3s54ms 1s527ms 20 3 4s367ms 1s455ms 21 1 1s420ms 1s420ms 22 4 5s999ms 1s499ms 23 3 4s574ms 1s524ms Jun 03 00 3 4s645ms 1s548ms 01 5 9s98ms 1s819ms 02 4 7s9ms 1s752ms 03 2 2s985ms 1s492ms 04 4 6s318ms 1s579ms 06 2 4s816ms 2s408ms 07 1 1s466ms 1s466ms 11 3 4s415ms 1s471ms 12 5 7s356ms 1s471ms 13 2 2s888ms 1s444ms 14 3 4s397ms 1s465ms 15 2 2s844ms 1s422ms 18 6 8s660ms 1s443ms 19 2 2s883ms 1s441ms 20 4 5s587ms 1s396ms 21 3 4s361ms 1s453ms 22 1 1s444ms 1s444ms 23 8 12s19ms 1s502ms Jun 04 00 4 5s843ms 1s460ms 01 4 5s776ms 1s444ms 02 4 5s964ms 1s491ms 03 3 4s354ms 1s451ms 04 3 4s532ms 1s510ms 05 3 4s416ms 1s472ms 06 3 4s293ms 1s431ms 07 5 7s253ms 1s450ms 08 1 1s506ms 1s506ms 09 2 2s910ms 1s455ms 10 6 8s720ms 1s453ms 11 2 2s866ms 1s433ms 12 8 12s828ms 1s603ms 13 2 2s907ms 1s453ms 14 4 5s734ms 1s433ms 15 2 2s826ms 1s413ms 16 3 4s373ms 1s457ms 17 2 2s785ms 1s392ms 18 3 4s344ms 1s448ms 19 2 2s943ms 1s471ms 20 3 4s343ms 1s447ms 21 5 7s325ms 1s465ms 23 5 7s290ms 1s458ms Jun 05 00 4 5s709ms 1s427ms 01 2 2s892ms 1s446ms 02 1 1s530ms 1s530ms 03 4 5s767ms 1s441ms 04 7 10s440ms 1s491ms 05 4 5s840ms 1s460ms 06 1 1s410ms 1s410ms 07 2 2s899ms 1s449ms 08 3 4s323ms 1s441ms 09 2 3s37ms 1s518ms 10 2 2s992ms 1s496ms 11 5 7s163ms 1s432ms 12 6 8s758ms 1s459ms 13 5 7s242ms 1s448ms 14 7 10s70ms 1s438ms 15 4 5s730ms 1s432ms 16 2 2s822ms 1s411ms 17 6 9s17ms 1s502ms 18 3 4s379ms 1s459ms 19 4 5s702ms 1s425ms 20 4 6s638ms 1s659ms 21 5 7s225ms 1s445ms 22 1 1s554ms 1s554ms 23 2 4s20ms 2s10ms Jun 06 00 6 9s245ms 1s540ms 01 3 4s800ms 1s600ms 02 4 6s183ms 1s545ms 03 1 1s525ms 1s525ms 05 1 1s380ms 1s380ms 06 1 1s347ms 1s347ms 07 1 1s567ms 1s567ms 08 4 5s705ms 1s426ms 09 7 10s161ms 1s451ms 10 3 4s194ms 1s398ms 11 4 5s602ms 1s400ms 12 3 4s309ms 1s436ms 13 4 5s777ms 1s444ms 14 3 4s244ms 1s414ms 15 5 6s888ms 1s377ms 16 3 4s376ms 1s458ms 18 2 2s765ms 1s382ms 19 3 4s446ms 1s482ms 21 3 4s453ms 1s484ms 22 2 2s931ms 1s465ms 23 3 4s604ms 1s534ms Jun 07 07 2 3s87ms 1s543ms 21 1 1s457ms 1s457ms [ User: pubeu - Total duration: 1m45s - Times executed: 67 ]
-
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 = '1245135') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1245135') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort;
Date: 2025-06-01 16:59:21 Duration: 3s129ms 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 = '1261539') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1261539') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort;
Date: 2025-06-03 01:33:49 Duration: 2s991ms 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 = '1249151') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1249151') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort;
Date: 2025-06-01 05:04:40 Duration: 2s922ms Database: ctdprd51 User: pubeu Bind query: yes
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 1m24s 4 20s587ms 21s530ms 21s58ms WITH gene_sq AS ( SELECT UNNEST(ARRAY[1455749, 1456376, 1458088, 1468302, 1469954, 1472127, 1472702, 1482225, 1482357, 1483489, 1484486, 1484594, 1487277, 1487926, 1523635, 1620856, 1620858, 1631674, 1819405, 1849813, 2016467, 2029765, 2042330, 2051112, 2052686, 2052743, 2059597, 2059695, 2059821, 2068851, 2069864, 2071059, 2071789, 2071837, 2072511, 2073036, 2074199, 2075215, 2075282, 2075631, 2075948, 2076100, 2081688, 2081995, 2082395, 2093297, 2093322, 2093802]) id);Times Reported Time consuming prepare #1
Day Hour Count Duration Avg duration Jun 07 06 4 1m24s 21s58ms -
WITH gene_sq AS ( SELECT UNNEST(ARRAY[1455749, 1456376, 1458088, 1468302, 1469954, 1472127, 1472702, 1482225, 1482357, 1483489, 1484486, 1484594, 1487277, 1487926, 1523635, 1620856, 1620858, 1631674, 1819405, 1849813, 2016467, 2029765, 2042330, 2051112, 2052686, 2052743, 2059597, 2059695, 2059821, 2068851, 2069864, 2071059, 2071789, 2071837, 2072511, 2073036, 2074199, 2075215, 2075282, 2075631, 2075948, 2076100, 2081688, 2081995, 2082395, 2093297, 2093322, 2093802]) id);
Date: 2025-06-03 06:27:55 Duration: 21s530ms Database: postgres
-
WITH gene_sq AS ( SELECT UNNEST(ARRAY[1455749, 1456376, 1458088, 1468302, 1469954, 1472127, 1472702, 1482225, 1482357, 1483489, 1484486, 1484594, 1487277, 1487926, 1523635, 1620856, 1620858, 1631674, 1819405, 1849813, 2016467, 2029765, 2042330, 2051112, 2052686, 2052743, 2059597, 2059695, 2059821, 2068851, 2069864, 2071059, 2071789, 2071837, 2072511, 2073036, 2074199, 2075215, 2075282, 2075631, 2075948, 2076100, 2081688, 2081995, 2082395, 2093297, 2093322, 2093802]) id);
Date: 2025-06-03 06:27:55 Duration: 20s587ms Database: postgres
2 24s879ms 2 12s439ms 12s439ms 12s439ms SELECT /* ChemGenesDAO */ ;Times Reported Time consuming prepare #2
Day Hour Count Duration Avg duration 05 2 24s879ms 12s439ms -
SELECT /* ChemGenesDAO */ ;
Date: 2025-06-03 06:27:55 Duration: 12s439ms Database: postgres
3 5s981ms 2 2s990ms 2s990ms 2s990ms SELECT /* ChemDiseaseAssnsDAO */ ;Times Reported Time consuming prepare #3
Day Hour Count Duration Avg duration 03 2 5s981ms 2s990ms -
SELECT /* ChemDiseaseAssnsDAO */ ;
Date: 2025-06-05 04:19:06 Duration: 2s990ms Database: postgres
4 1s157ms 1 1s157ms 1s157ms 1s157ms SELECT /* AdvancedQueryDAO.getQueryId */ id;Times Reported Time consuming prepare #4
Day Hour Count Duration Avg duration 23 1 1s157ms 1s157ms -
SELECT /* AdvancedQueryDAO.getQueryId */ id;
Date: 2025-06-06 00:08:34 Duration: 1s157ms Database: postgres
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 33s117ms 32 1s5ms 1s70ms 1s34ms SELECT /* GeneDiseaseRefsDAO */ i.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT COALESCE(gdr.source_acc_txt, 'ZZZ' || r.sort_txt) refcolsort, CASE WHEN gdr.source_acc_db_id IS NOT NULL THEN get_disease_ixn_source_link_html (gdr.source_acc_db_id, gdr.source_acc_txt) ELSE NULL END AS sourceacclink, r.acc_txt refAcc, gdr.source_acc_txt sourceAcc, gdr.source_acc_db_id sourceAccDbId, r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, gdr.gene_id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, gdr.disease_id diseaseid, r.has_exposures hasExposures FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id WHERE gdr.gene_id = $1 AND gdr.disease_id = $2) i ORDER BY 1 LIMIT 50;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration Jun 07 13 1 1s31ms 1s31ms Jun 07 03 1 1s12ms 1s12ms 08 2 2s25ms 1s12ms Jun 07 03 2 2s118ms 1s59ms 13 4 4s110ms 1s27ms 22 2 2s81ms 1s40ms Jun 07 12 2 2s60ms 1s30ms 20 2 2s73ms 1s36ms 21 2 2s49ms 1s24ms Jun 07 00 1 1s28ms 1s28ms 05 4 4s110ms 1s27ms 14 2 2s133ms 1s66ms Jun 07 00 1 1s52ms 1s52ms 09 3 3s16ms 1s5ms 12 3 3s211ms 1s70ms -
SELECT /* GeneDiseaseRefsDAO */ i.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT COALESCE(gdr.source_acc_txt, 'ZZZ' || r.sort_txt) refcolsort, CASE WHEN gdr.source_acc_db_id IS NOT NULL THEN get_disease_ixn_source_link_html (gdr.source_acc_db_id, gdr.source_acc_txt) ELSE NULL END AS sourceacclink, r.acc_txt refAcc, gdr.source_acc_txt sourceAcc, gdr.source_acc_db_id sourceAccDbId, r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, gdr.gene_id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, gdr.disease_id diseaseid, r.has_exposures hasExposures FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id WHERE gdr.gene_id = $1 AND gdr.disease_id = $2) i ORDER BY 1 LIMIT 50;
Date: 2025-06-06 12:43:36 Duration: 1s70ms Database: postgres parameters: $1 = '4', $2 = 'A'
-
SELECT /* GeneDiseaseRefsDAO */ i.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT COALESCE(gdr.source_acc_txt, 'ZZZ' || r.sort_txt) refcolsort, CASE WHEN gdr.source_acc_db_id IS NOT NULL THEN get_disease_ixn_source_link_html (gdr.source_acc_db_id, gdr.source_acc_txt) ELSE NULL END AS sourceacclink, r.acc_txt refAcc, gdr.source_acc_txt sourceAcc, gdr.source_acc_db_id sourceAccDbId, r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, gdr.gene_id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, gdr.disease_id diseaseid, r.has_exposures hasExposures FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id WHERE gdr.gene_id = $1 AND gdr.disease_id = $2) i ORDER BY 1 LIMIT 50;
Date: 2025-06-05 14:01:17 Duration: 1s66ms Database: postgres parameters: $1 = '4', $2 = 'A'
-
SELECT /* GeneDiseaseRefsDAO */ i.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT COALESCE(gdr.source_acc_txt, 'ZZZ' || r.sort_txt) refcolsort, CASE WHEN gdr.source_acc_db_id IS NOT NULL THEN get_disease_ixn_source_link_html (gdr.source_acc_db_id, gdr.source_acc_txt) ELSE NULL END AS sourceacclink, r.acc_txt refAcc, gdr.source_acc_txt sourceAcc, gdr.source_acc_db_id sourceAccDbId, r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, gdr.gene_id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, gdr.disease_id diseaseid, r.has_exposures hasExposures FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id WHERE gdr.gene_id = $1 AND gdr.disease_id = $2) i ORDER BY 1 LIMIT 50;
Date: 2025-06-02 03:40:49 Duration: 1s59ms Database: postgres parameters: $1 = '4', $2 = 'A'
2 19s573ms 18 1s11ms 1s197ms 1s87ms SELECT /* GeneDiseaseChemsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.id chemid FROM term c WHERE c.id IN ( SELECT gdr.via_chem_id FROM gene_disease_reference gdr WHERE gdr.gene_id = $1 AND gdr.disease_id = $2) ORDER BY c.nm_sort;Times Reported Time consuming bind #2
Day Hour Count Duration Avg duration 09 1 1s197ms 1s197ms 05 8 8s683ms 1s85ms 11 2 2s50ms 1s25ms 19 2 2s152ms 1s76ms 16 2 2s278ms 1s139ms 18 2 2s194ms 1s97ms 01 1 1s15ms 1s15ms -
SELECT /* GeneDiseaseChemsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.id chemid FROM term c WHERE c.id IN ( SELECT gdr.via_chem_id FROM gene_disease_reference gdr WHERE gdr.gene_id = $1 AND gdr.disease_id = $2) ORDER BY c.nm_sort;
Date: 2025-05-31 10:41:47 Duration: 1s197ms Database: postgres parameters: $1 = 'XBMP2', $2 = 'XBMP2', $3 = 'XBMP2', $4 = 'XBMP2'
-
SELECT /* GeneDiseaseChemsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.id chemid FROM term c WHERE c.id IN ( SELECT gdr.via_chem_id FROM gene_disease_reference gdr WHERE gdr.gene_id = $1 AND gdr.disease_id = $2) ORDER BY c.nm_sort;
Date: 2025-06-03 06:26:29 Duration: 1s142ms Database: postgres parameters: $1 = '4', $2 = 'A'
-
SELECT /* GeneDiseaseChemsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.id chemid FROM term c WHERE c.id IN ( SELECT gdr.via_chem_id FROM gene_disease_reference gdr WHERE gdr.gene_id = $1 AND gdr.disease_id = $2) ORDER BY c.nm_sort;
Date: 2025-06-05 17:59:42 Duration: 1s139ms Database: postgres parameters: $1 = '4', $2 = 'A'
3 17s222ms 15 1s18ms 1s488ms 1s148ms SELECT /* ReferenceCitedGenesDAO */ g.nm symbol, g.nm_html symbolHtml, g.secondary_nm nm, g.acc_txt acc, g.acc_db_cd accDbCd, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, g.id FROM term g WHERE g.id IN ( SELECT gdr.gene_id FROM gene_disease_reference gdr WHERE gdr.reference_id = $1 AND gdr.source_cd IN ('C', 'O') UNION ALL SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE gcr.reference_id = $2 UNION ALL SELECT ggr.from_gene_id FROM gene_gene_reference ggr WHERE ggr.reference_id = $3 UNION ALL SELECT ggr.to_gene_id FROM gene_gene_reference ggr WHERE ggr.reference_id = $4 UNION ALL select event.exp_marker_term_id from exposure e, exp_event event where e.reference_id = $5 and e.exp_event_id = event.id and event.exp_marker_type_id in ( select id from exp_marker_type where nm like 'gene%') UNION ALL SELECT term_id FROM phenotype_term_reference ptr WHERE ptr.reference_id = $6 and ptr.term_object_type_id = 4) ORDER BY g.nm_sort;Times Reported Time consuming bind #3
Day Hour Count Duration Avg duration 10 1 1s18ms 1s18ms 05 2 2s227ms 1s113ms 13 4 4s308ms 1s77ms 14 2 2s106ms 1s53ms 04 2 2s182ms 1s91ms 18 2 2s976ms 1s488ms 19 2 2s402ms 1s201ms -
SELECT /* ReferenceCitedGenesDAO */ g.nm symbol, g.nm_html symbolHtml, g.secondary_nm nm, g.acc_txt acc, g.acc_db_cd accDbCd, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, g.id FROM term g WHERE g.id IN ( SELECT gdr.gene_id FROM gene_disease_reference gdr WHERE gdr.reference_id = $1 AND gdr.source_cd IN ('C', 'O') UNION ALL SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE gcr.reference_id = $2 UNION ALL SELECT ggr.from_gene_id FROM gene_gene_reference ggr WHERE ggr.reference_id = $3 UNION ALL SELECT ggr.to_gene_id FROM gene_gene_reference ggr WHERE ggr.reference_id = $4 UNION ALL select event.exp_marker_term_id from exposure e, exp_event event where e.reference_id = $5 and e.exp_event_id = event.id and event.exp_marker_type_id in ( select id from exp_marker_type where nm like 'gene%') UNION ALL SELECT term_id FROM phenotype_term_reference ptr WHERE ptr.reference_id = $6 and ptr.term_object_type_id = 4) ORDER BY g.nm_sort;
Date: 2025-06-05 19:07:26 Duration: 1s488ms Database: postgres parameters: $1 = '4', $2 = 'A'
-
SELECT /* ReferenceCitedGenesDAO */ g.nm symbol, g.nm_html symbolHtml, g.secondary_nm nm, g.acc_txt acc, g.acc_db_cd accDbCd, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, g.id FROM term g WHERE g.id IN ( SELECT gdr.gene_id FROM gene_disease_reference gdr WHERE gdr.reference_id = $1 AND gdr.source_cd IN ('C', 'O') UNION ALL SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE gcr.reference_id = $2 UNION ALL SELECT ggr.from_gene_id FROM gene_gene_reference ggr WHERE ggr.reference_id = $3 UNION ALL SELECT ggr.to_gene_id FROM gene_gene_reference ggr WHERE ggr.reference_id = $4 UNION ALL select event.exp_marker_term_id from exposure e, exp_event event where e.reference_id = $5 and e.exp_event_id = event.id and event.exp_marker_type_id in ( select id from exp_marker_type where nm like 'gene%') UNION ALL SELECT term_id FROM phenotype_term_reference ptr WHERE ptr.reference_id = $6 and ptr.term_object_type_id = 4) ORDER BY g.nm_sort;
Date: 2025-06-05 20:54:50 Duration: 1s201ms Database: postgres parameters: $1 = '4', $2 = 'A'
-
SELECT /* ReferenceCitedGenesDAO */ g.nm symbol, g.nm_html symbolHtml, g.secondary_nm nm, g.acc_txt acc, g.acc_db_cd accDbCd, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, g.id FROM term g WHERE g.id IN ( SELECT gdr.gene_id FROM gene_disease_reference gdr WHERE gdr.reference_id = $1 AND gdr.source_cd IN ('C', 'O') UNION ALL SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE gcr.reference_id = $2 UNION ALL SELECT ggr.from_gene_id FROM gene_gene_reference ggr WHERE ggr.reference_id = $3 UNION ALL SELECT ggr.to_gene_id FROM gene_gene_reference ggr WHERE ggr.reference_id = $4 UNION ALL select event.exp_marker_term_id from exposure e, exp_event event where e.reference_id = $5 and e.exp_event_id = event.id and event.exp_marker_type_id in ( select id from exp_marker_type where nm like 'gene%') UNION ALL SELECT term_id FROM phenotype_term_reference ptr WHERE ptr.reference_id = $6 and ptr.term_object_type_id = 4) ORDER BY g.nm_sort;
Date: 2025-06-03 06:11:17 Duration: 1s113ms Database: postgres parameters: $1 = '4', $2 = 'A'
4 13s517ms 12 1s5ms 1s247ms 1s126ms 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 = $1 or receptorTerm.id = $2 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;Times Reported Time consuming bind #4
Day Hour Count Duration Avg duration 19 2 2s65ms 1s32ms 14 2 2s10ms 1s5ms 03 2 2s275ms 1s137ms 10 2 2s272ms 1s136ms 09 2 2s399ms 1s199ms 11 2 2s494ms 1s247ms -
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 = $1 or receptorTerm.id = $2 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: 2025-06-05 12:20:34 Duration: 1s247ms Database: postgres parameters: $1 = '1843743', $2 = '1843743'
-
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 = $1 or receptorTerm.id = $2 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: 2025-06-05 10:22:53 Duration: 1s199ms Database: postgres parameters: $1 = '1986672', $2 = '1986672'
-
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 = $1 or receptorTerm.id = $2 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: 2025-06-04 04:19:40 Duration: 1s137ms Database: postgres parameters: $1 = '1927509', $2 = '1927509'
5 11s104ms 10 1s23ms 1s213ms 1s110ms 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 e.reference_id = $1 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;Times Reported Time consuming bind #5
Day Hour Count Duration Avg duration 00 1 1s139ms 1s139ms 02 2 2s232ms 1s116ms 05 4 4s474ms 1s118ms 23 1 1s71ms 1s71ms 04 2 2s187ms 1s93ms -
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 e.reference_id = $1 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: 2025-06-03 06:56:17 Duration: 1s213ms Database: postgres parameters: $1 = '4', $2 = 'A'
-
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 e.reference_id = $1 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: 2025-06-02 01:39:06 Duration: 1s139ms Database: postgres parameters: $1 = '244745', $2 = '244745'
-
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 e.reference_id = $1 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: 2025-06-02 03:41:03 Duration: 1s116ms Database: postgres
6 6s531ms 6 1s37ms 1s147ms 1s88ms SELECT /* GeneDiseaseRefChemsDAO */ DISTINCT c.nm chemnm, c.nm_html chemnmhtml, c.nm_sort chemnmsort, c.acc_txt chemacc, c.id chemid FROM gene_disease_reference gdr INNER JOIN term c ON gdr.via_chem_id = c.id WHERE gdr.gene_id = $1 AND gdr.disease_id = $2 AND gdr.reference_id = $3 ORDER BY c.nm_sort;Times Reported Time consuming bind #6
Day Hour Count Duration Avg duration 10 2 2s162ms 1s81ms 20 2 2s294ms 1s147ms 19 2 2s74ms 1s37ms -
SELECT /* GeneDiseaseRefChemsDAO */ DISTINCT c.nm chemnm, c.nm_html chemnmhtml, c.nm_sort chemnmsort, c.acc_txt chemacc, c.id chemid FROM gene_disease_reference gdr INNER JOIN term c ON gdr.via_chem_id = c.id WHERE gdr.gene_id = $1 AND gdr.disease_id = $2 AND gdr.reference_id = $3 ORDER BY c.nm_sort;
Date: 2025-06-03 21:47:13 Duration: 1s147ms Database: postgres parameters: $1 = 'GLUCOSIDASE, & BETA, & ACID & PSEUDOGENE & 1', $2 = 'GLUCOSIDASE, & BETA, & ACID & PSEUDOGENE & 1', $3 = 'GLUCOSIDASE,', $4 = 'BETA,', $5 = 'ACID', $6 = 'PSEUDOGENE', $7 = '1', $8 = 'GLUCOSIDASE,', $9 = 'BETA,', $10 = 'ACID', $11 = 'PSEUDOGENE', $12 = '1'
-
SELECT /* GeneDiseaseRefChemsDAO */ DISTINCT c.nm chemnm, c.nm_html chemnmhtml, c.nm_sort chemnmsort, c.acc_txt chemacc, c.id chemid FROM gene_disease_reference gdr INNER JOIN term c ON gdr.via_chem_id = c.id WHERE gdr.gene_id = $1 AND gdr.disease_id = $2 AND gdr.reference_id = $3 ORDER BY c.nm_sort;
Date: 2025-06-02 11:48:59 Duration: 1s81ms Database: postgres parameters: $1 = '4', $2 = 'A'
-
SELECT /* GeneDiseaseRefChemsDAO */ DISTINCT c.nm chemnm, c.nm_html chemnmhtml, c.nm_sort chemnmsort, c.acc_txt chemacc, c.id chemid FROM gene_disease_reference gdr INNER JOIN term c ON gdr.via_chem_id = c.id WHERE gdr.gene_id = $1 AND gdr.disease_id = $2 AND gdr.reference_id = $3 ORDER BY c.nm_sort;
Date: 2025-06-05 20:51:58 Duration: 1s37ms Database: postgres parameters: $1 = '4', $2 = 'A'
7 5s959ms 5 1s92ms 1s276ms 1s191ms SELECT /* ReferenceDiseasesDAO */ i.*, COUNT(*) OVER () fullRowCount FROM ( SELECT d.nm diseasenm, d.nm_sort diseasenmsort, d.acc_txt diseaseacc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_reference_axn a WHERE a.chem_disease_reference_id = cdr.id) actionTypes, c.nm chemnm, c.nm_sort chemnmsort, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemId, NULL geneSymbol, NULL geneSymbolSort, NULL geneAcc, NULL geneAccDbCd, NULL geneId FROM chem_disease_reference cdr INNER JOIN term c ON cdr.chem_id = c.id INNER JOIN term d ON cdr.disease_id = d.id WHERE cdr.reference_id = $1 AND cdr.source_cd = 'C' UNION ALL SELECT d.nm diseasenm, d.nm_sort diseasenmsort, d.acc_txt diseaseacc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_reference_axn a WHERE a.gene_disease_reference_id = gdr.id) actionTypes, NULL chemnm, NULL chemnmsort, NULL chemnmhtml, NULL chemacc, NULL chemId, NULL casRN, g.nm geneSymbol, g.nm_sort geneSymbolSort, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId 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 WHERE gdr.reference_id = $2 AND gdr.source_cd IN ('C', 'O')) i ORDER BY 2, 8, 14 LIMIT 50;Times Reported Time consuming bind #7
Day Hour Count Duration Avg duration 11 2 2s553ms 1s276ms 16 2 2s313ms 1s156ms 02 1 1s92ms 1s92ms -
SELECT /* ReferenceDiseasesDAO */ i.*, COUNT(*) OVER () fullRowCount FROM ( SELECT d.nm diseasenm, d.nm_sort diseasenmsort, d.acc_txt diseaseacc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_reference_axn a WHERE a.chem_disease_reference_id = cdr.id) actionTypes, c.nm chemnm, c.nm_sort chemnmsort, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemId, NULL geneSymbol, NULL geneSymbolSort, NULL geneAcc, NULL geneAccDbCd, NULL geneId FROM chem_disease_reference cdr INNER JOIN term c ON cdr.chem_id = c.id INNER JOIN term d ON cdr.disease_id = d.id WHERE cdr.reference_id = $1 AND cdr.source_cd = 'C' UNION ALL SELECT d.nm diseasenm, d.nm_sort diseasenmsort, d.acc_txt diseaseacc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_reference_axn a WHERE a.gene_disease_reference_id = gdr.id) actionTypes, NULL chemnm, NULL chemnmsort, NULL chemnmhtml, NULL chemacc, NULL chemId, NULL casRN, g.nm geneSymbol, g.nm_sort geneSymbolSort, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId 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 WHERE gdr.reference_id = $2 AND gdr.source_cd IN ('C', 'O')) i ORDER BY 2, 8, 14 LIMIT 50;
Date: 2025-06-05 12:20:47 Duration: 1s276ms Database: postgres parameters: $1 = '4', $2 = 'A'
-
SELECT /* ReferenceDiseasesDAO */ i.*, COUNT(*) OVER () fullRowCount FROM ( SELECT d.nm diseasenm, d.nm_sort diseasenmsort, d.acc_txt diseaseacc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_reference_axn a WHERE a.chem_disease_reference_id = cdr.id) actionTypes, c.nm chemnm, c.nm_sort chemnmsort, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemId, NULL geneSymbol, NULL geneSymbolSort, NULL geneAcc, NULL geneAccDbCd, NULL geneId FROM chem_disease_reference cdr INNER JOIN term c ON cdr.chem_id = c.id INNER JOIN term d ON cdr.disease_id = d.id WHERE cdr.reference_id = $1 AND cdr.source_cd = 'C' UNION ALL SELECT d.nm diseasenm, d.nm_sort diseasenmsort, d.acc_txt diseaseacc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_reference_axn a WHERE a.gene_disease_reference_id = gdr.id) actionTypes, NULL chemnm, NULL chemnmsort, NULL chemnmhtml, NULL chemacc, NULL chemId, NULL casRN, g.nm geneSymbol, g.nm_sort geneSymbolSort, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId 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 WHERE gdr.reference_id = $2 AND gdr.source_cd IN ('C', 'O')) i ORDER BY 2, 8, 14 LIMIT 50;
Date: 2025-06-05 17:03:07 Duration: 1s156ms Database: postgres parameters: $1 = '4', $2 = 'A'
-
SELECT /* ReferenceDiseasesDAO */ i.*, COUNT(*) OVER () fullRowCount FROM ( SELECT d.nm diseasenm, d.nm_sort diseasenmsort, d.acc_txt diseaseacc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_reference_axn a WHERE a.chem_disease_reference_id = cdr.id) actionTypes, c.nm chemnm, c.nm_sort chemnmsort, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemId, NULL geneSymbol, NULL geneSymbolSort, NULL geneAcc, NULL geneAccDbCd, NULL geneId FROM chem_disease_reference cdr INNER JOIN term c ON cdr.chem_id = c.id INNER JOIN term d ON cdr.disease_id = d.id WHERE cdr.reference_id = $1 AND cdr.source_cd = 'C' UNION ALL SELECT d.nm diseasenm, d.nm_sort diseasenmsort, d.acc_txt diseaseacc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_reference_axn a WHERE a.gene_disease_reference_id = gdr.id) actionTypes, NULL chemnm, NULL chemnmsort, NULL chemnmhtml, NULL chemacc, NULL chemId, NULL casRN, g.nm geneSymbol, g.nm_sort geneSymbolSort, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId 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 WHERE gdr.reference_id = $2 AND gdr.source_cd IN ('C', 'O')) i ORDER BY 2, 8, 14 LIMIT 50;
Date: 2025-06-06 03:18:42 Duration: 1s92ms Database: postgres parameters: $1 = '4', $2 = 'A'
8 3s715ms 3 1s98ms 1s308ms 1s238ms SELECT /* ReferenceCitedDiseasesDAO */ d.id, d.nm, d.nm_html nmHtml, d.acc_txt acc, d.acc_db_cd accdbcd, d.has_chems hasChems, d.has_genes hasGenes FROM term d WHERE d.id IN ( SELECT gdr.disease_id FROM gene_disease_reference gdr WHERE gdr.reference_id = $1 AND gdr.source_cd IN ('C', 'O') UNION ALL SELECT cdr.disease_id FROM chem_disease_reference cdr WHERE cdr.reference_id = $2 AND cdr.source_cd = 'C' UNION ALL select outcome.disease_id from exposure e, exp_outcome outcome where e.reference_id = $3 and e.exp_outcome_id = outcome.id) ORDER BY d.nm_sort;Times Reported Time consuming bind #8
Day Hour Count Duration Avg duration 13 2 2s616ms 1s308ms 02 1 1s98ms 1s98ms -
SELECT /* ReferenceCitedDiseasesDAO */ d.id, d.nm, d.nm_html nmHtml, d.acc_txt acc, d.acc_db_cd accdbcd, d.has_chems hasChems, d.has_genes hasGenes FROM term d WHERE d.id IN ( SELECT gdr.disease_id FROM gene_disease_reference gdr WHERE gdr.reference_id = $1 AND gdr.source_cd IN ('C', 'O') UNION ALL SELECT cdr.disease_id FROM chem_disease_reference cdr WHERE cdr.reference_id = $2 AND cdr.source_cd = 'C' UNION ALL select outcome.disease_id from exposure e, exp_outcome outcome where e.reference_id = $3 and e.exp_outcome_id = outcome.id) ORDER BY d.nm_sort;
Date: 2025-06-03 14:18:15 Duration: 1s308ms Database: postgres parameters: $1 = '1511448', $2 = '1511448'
-
SELECT /* ReferenceCitedDiseasesDAO */ d.id, d.nm, d.nm_html nmHtml, d.acc_txt acc, d.acc_db_cd accdbcd, d.has_chems hasChems, d.has_genes hasGenes FROM term d WHERE d.id IN ( SELECT gdr.disease_id FROM gene_disease_reference gdr WHERE gdr.reference_id = $1 AND gdr.source_cd IN ('C', 'O') UNION ALL SELECT cdr.disease_id FROM chem_disease_reference cdr WHERE cdr.reference_id = $2 AND cdr.source_cd = 'C' UNION ALL select outcome.disease_id from exposure e, exp_outcome outcome where e.reference_id = $3 and e.exp_outcome_id = outcome.id) ORDER BY d.nm_sort;
Date: 2025-06-08 03:06:46 Duration: 1s98ms Database: postgres parameters: $1 = '4', $2 = 'A'
9 3s572ms 3 1s105ms 1s305ms 1s190ms SELECT /* BasicQueryLoggingDAO.getQueryId */ id FROM pubc.log_query WHERE session_id = $1 AND type_cd = $2 AND basic_query_txt = SUBSTR($3, 1, 1000) AND basic_query_type = $4;Times Reported Time consuming bind #9
Day Hour Count Duration Avg duration 23 1 1s105ms 1s105ms 23 2 2s466ms 1s233ms -
SELECT /* BasicQueryLoggingDAO.getQueryId */ id FROM pubc.log_query WHERE session_id = $1 AND type_cd = $2 AND basic_query_txt = SUBSTR($3, 1, 1000) AND basic_query_type = $4;
Date: 2025-06-04 00:07:35 Duration: 1s305ms Database: postgres parameters: $1 = '1929779', $2 = '1929779'
-
SELECT /* BasicQueryLoggingDAO.getQueryId */ id FROM pubc.log_query WHERE session_id = $1 AND type_cd = $2 AND basic_query_txt = SUBSTR($3, 1, 1000) AND basic_query_type = $4;
Date: 2025-06-04 00:07:35 Duration: 1s161ms Database: postgres parameters: $1 = '1975343', $2 = '1975343'
-
SELECT /* BasicQueryLoggingDAO.getQueryId */ id FROM pubc.log_query WHERE session_id = $1 AND type_cd = $2 AND basic_query_txt = SUBSTR($3, 1, 1000) AND basic_query_type = $4;
Date: 2025-06-03 00:07:12 Duration: 1s105ms Database: postgres parameters: $1 = '4', $2 = 'A'
10 3s385ms 3 1s128ms 1s128ms 1s128ms SELECT /* GeneDiseaseRefsDAO */ ;Times Reported Time consuming bind #10
Day Hour Count Duration Avg duration 07 3 3s385ms 1s128ms -
SELECT /* GeneDiseaseRefsDAO */ ;
Date: 2025-06-06 08:10:57 Duration: 1s128ms Database: postgres parameters: $1 = '2083542', $2 = '2100158'
11 3s244ms 3 1s81ms 1s81ms 1s81ms 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 = $1) or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = $2) 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;Times Reported Time consuming bind #11
Day Hour Count Duration Avg duration 03 3 3s244ms 1s81ms -
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 = $1) or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = $2) 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: 2025-06-07 04:32:17 Duration: 1s81ms Database: postgres parameters: $1 = '2106284', $2 = '2106284'
12 2s33ms 2 1s16ms 1s16ms 1s16ms SELECT /* ReferenceDiseasesDAO */ i.*, COUNT(*) OVER () fullRowCount FROM ( SELECT d.nm diseasenm, d.nm_sort diseasenmsort, d.acc_txt diseaseacc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_reference_axn a WHERE a.chem_disease_reference_id = cdr.id) actionTypes, c.nm chemnm, c.nm_sort chemnmsort, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemId, NULL geneSymbol, NULL geneSymbolSort, NULL geneAcc, NULL geneAccDbCd, NULL geneId FROM chem_disease_reference cdr INNER JOIN term c ON cdr.chem_id = c.id INNER JOIN term d ON cdr.disease_id = d.id WHERE cdr.reference_id = $1 AND cdr.source_cd = 'C' UNION ALL SELECT d.nm diseasenm, d.nm_sort diseasenmsort, d.acc_txt diseaseacc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_reference_axn a WHERE a.gene_disease_reference_id = gdr.id) actionTypes, NULL chemnm, NULL chemnmsort, NULL chemnmhtml, NULL chemacc, NULL chemId, NULL casRN, g.nm geneSymbol, g.nm_sort geneSymbolSort, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId 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 WHERE gdr.reference_id = $2 AND gdr.source_cd IN ('C', 'O')) i ORDER BY 2, 8, 14;Times Reported Time consuming bind #12
Day Hour Count Duration Avg duration 13 2 2s33ms 1s16ms -
SELECT /* ReferenceDiseasesDAO */ i.*, COUNT(*) OVER () fullRowCount FROM ( SELECT d.nm diseasenm, d.nm_sort diseasenmsort, d.acc_txt diseaseacc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_reference_axn a WHERE a.chem_disease_reference_id = cdr.id) actionTypes, c.nm chemnm, c.nm_sort chemnmsort, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemId, NULL geneSymbol, NULL geneSymbolSort, NULL geneAcc, NULL geneAccDbCd, NULL geneId FROM chem_disease_reference cdr INNER JOIN term c ON cdr.chem_id = c.id INNER JOIN term d ON cdr.disease_id = d.id WHERE cdr.reference_id = $1 AND cdr.source_cd = 'C' UNION ALL SELECT d.nm diseasenm, d.nm_sort diseasenmsort, d.acc_txt diseaseacc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_reference_axn a WHERE a.gene_disease_reference_id = gdr.id) actionTypes, NULL chemnm, NULL chemnmsort, NULL chemnmhtml, NULL chemacc, NULL chemId, NULL casRN, g.nm geneSymbol, g.nm_sort geneSymbolSort, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId 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 WHERE gdr.reference_id = $2 AND gdr.source_cd IN ('C', 'O')) i ORDER BY 2, 8, 14;
Date: 2025-06-05 14:01:16 Duration: 1s16ms Database: postgres parameters: $1 = '4', $2 = 'U'
13 1s195ms 1 1s195ms 1s195ms 1s195ms 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 stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = $1) or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = $2) 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 phenotypeField LIMIT 50;Times Reported Time consuming bind #13
Day Hour Count Duration Avg duration 13 1 1s195ms 1s195ms -
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 stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = $1) or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = $2) 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 phenotypeField LIMIT 50;
Date: 2025-05-31 14:46:28 Duration: 1s195ms Database: postgres parameters: $1 = '1325786', $2 = '1325786'
14 1s53ms 1 1s53ms 1s53ms 1s53ms SELECT /* ReferenceDiseasesDAO */ i.*, COUNT(*) OVER () fullRowCount FROM ( SELECT d.nm diseasenm, d.nm_sort diseasenmsort, d.acc_txt diseaseacc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_reference_axn a WHERE a.chem_disease_reference_id = cdr.id) actionTypes, c.nm chemnm, c.nm_sort chemnmsort, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemId, NULL geneSymbol, NULL geneSymbolSort, NULL geneAcc, NULL geneAccDbCd, NULL geneId FROM chem_disease_reference cdr INNER JOIN term c ON cdr.chem_id = c.id INNER JOIN term d ON cdr.disease_id = d.id WHERE cdr.reference_id = $1 AND cdr.source_cd = 'C' UNION ALL SELECT d.nm diseasenm, d.nm_sort diseasenmsort, d.acc_txt diseaseacc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_reference_axn a WHERE a.gene_disease_reference_id = gdr.id) actionTypes, NULL chemnm, NULL chemnmsort, NULL chemnmhtml, NULL chemacc, NULL chemId, NULL casRN, g.nm geneSymbol, g.nm_sort geneSymbolSort, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId 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 WHERE gdr.reference_id = $2 AND gdr.source_cd IN ('C', 'O')) i ORDER BY 14, 2, 8 LIMIT 50;Times Reported Time consuming bind #14
Day Hour Count Duration Avg duration 00 1 1s53ms 1s53ms -
SELECT /* ReferenceDiseasesDAO */ i.*, COUNT(*) OVER () fullRowCount FROM ( SELECT d.nm diseasenm, d.nm_sort diseasenmsort, d.acc_txt diseaseacc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_reference_axn a WHERE a.chem_disease_reference_id = cdr.id) actionTypes, c.nm chemnm, c.nm_sort chemnmsort, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemId, NULL geneSymbol, NULL geneSymbolSort, NULL geneAcc, NULL geneAccDbCd, NULL geneId FROM chem_disease_reference cdr INNER JOIN term c ON cdr.chem_id = c.id INNER JOIN term d ON cdr.disease_id = d.id WHERE cdr.reference_id = $1 AND cdr.source_cd = 'C' UNION ALL SELECT d.nm diseasenm, d.nm_sort diseasenmsort, d.acc_txt diseaseacc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_reference_axn a WHERE a.gene_disease_reference_id = gdr.id) actionTypes, NULL chemnm, NULL chemnmsort, NULL chemnmhtml, NULL chemacc, NULL chemId, NULL casRN, g.nm geneSymbol, g.nm_sort geneSymbolSort, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId 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 WHERE gdr.reference_id = $2 AND gdr.source_cd IN ('C', 'O')) i ORDER BY 14, 2, 8 LIMIT 50;
Date: 2025-06-02 01:39:06 Duration: 1s53ms Database: postgres
15 1s29ms 1 1s29ms 1s29ms 1s29ms 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 stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = $1) or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = $2) 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;Times Reported Time consuming bind #15
Day Hour Count Duration Avg duration 10 1 1s29ms 1s29ms -
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 stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = $1) or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = $2) 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: 2025-05-31 11:05:45 Duration: 1s29ms Database: postgres parameters: $1 = '1304187', $2 = '1304187'
16 0ms 19,518 0ms 0ms 0ms ;Times Reported Time consuming bind #16
Day Hour Count Duration Avg duration May 31 21 2 0ms 0ms 23 2 0ms 0ms Jun 01 00 3 0ms 0ms 06 36 0ms 0ms 07 92 0ms 0ms 08 86 0ms 0ms 09 40 0ms 0ms 17 2 0ms 0ms 18 2 0ms 0ms 19 4 0ms 0ms 20 2 0ms 0ms 23 2 0ms 0ms Jun 02 00 4 0ms 0ms 01 4 0ms 0ms 02 1 0ms 0ms 03 9 0ms 0ms 04 6 0ms 0ms 05 2 0ms 0ms 06 28 0ms 0ms 07 12 0ms 0ms 08 20 0ms 0ms 09 36 0ms 0ms 10 82 0ms 0ms 11 18 0ms 0ms 12 20 0ms 0ms 13 52 0ms 0ms 14 36 0ms 0ms 15 86 0ms 0ms 16 120 0ms 0ms 17 124 0ms 0ms 18 86 0ms 0ms 19 116 0ms 0ms 20 194 0ms 0ms 21 288 0ms 0ms 22 288 0ms 0ms 23 270 0ms 0ms Jun 03 00 210 0ms 0ms 01 170 0ms 0ms 02 119 0ms 0ms 03 155 0ms 0ms 04 302 0ms 0ms 05 62 0ms 0ms 06 258 0ms 0ms 07 442 0ms 0ms 08 210 0ms 0ms 12 64 0ms 0ms 13 48 0ms 0ms 14 44 0ms 0ms 17 30 0ms 0ms 18 26 0ms 0ms 20 6 0ms 0ms 21 4 0ms 0ms 22 4 0ms 0ms Jun 04 00 3 0ms 0ms 02 2 0ms 0ms 05 2 0ms 0ms 06 92 0ms 0ms 07 112 0ms 0ms 09 32 0ms 0ms 10 38 0ms 0ms 11 22 0ms 0ms 12 26 0ms 0ms 13 68 0ms 0ms 14 4 0ms 0ms 16 8 0ms 0ms 17 4 0ms 0ms 18 10 0ms 0ms 19 10 0ms 0ms 20 2 0ms 0ms 21 8 0ms 0ms 22 12 0ms 0ms Jun 05 00 6 0ms 0ms 01 4 0ms 0ms 02 4 0ms 0ms 03 5 0ms 0ms 04 12 0ms 0ms 05 24 0ms 0ms 06 110 0ms 0ms 07 146 0ms 0ms 08 96 0ms 0ms 09 90 0ms 0ms 10 112 0ms 0ms 11 190 0ms 0ms 12 150 0ms 0ms 13 210 0ms 0ms 14 244 0ms 0ms 15 270 0ms 0ms 16 314 0ms 0ms 17 328 0ms 0ms 18 338 0ms 0ms 19 362 0ms 0ms 20 448 0ms 0ms 21 356 0ms 0ms 22 440 0ms 0ms 23 456 0ms 0ms Jun 06 00 198 0ms 0ms 01 190 0ms 0ms 02 204 0ms 0ms 03 111 0ms 0ms 05 24 0ms 0ms 06 63 0ms 0ms 07 141 0ms 0ms 08 48 0ms 0ms 09 9 0ms 0ms 10 39 0ms 0ms 11 120 0ms 0ms 12 120 0ms 0ms 13 69 0ms 0ms 16 6 0ms 0ms 18 6 0ms 0ms 19 21 0ms 0ms 22 6 0ms 0ms 23 15 0ms 0ms Jun 07 00 20 0ms 0ms 01 6 0ms 0ms 02 4 0ms 0ms 03 6 0ms 0ms 04 6 0ms 0ms 05 6 0ms 0ms 06 15 0ms 0ms 07 21 0ms 0ms 08 30 0ms 0ms 09 51 0ms 0ms 10 78 0ms 0ms 11 102 0ms 0ms 12 165 0ms 0ms 13 222 0ms 0ms 14 396 0ms 0ms 15 417 0ms 0ms 16 546 0ms 0ms 17 585 0ms 0ms 18 846 0ms 0ms 19 849 0ms 0ms 20 783 0ms 0ms 21 873 0ms 0ms 22 936 0ms 0ms 23 780 0ms 0ms Jun 08 00 265 0ms 0ms 01 255 0ms 0ms 02 294 0ms 0ms 03 72 0ms 0ms [ User: pubeu - Total duration: 25m51s - Times executed: 891 ]
-
;
Date: Duration: 0ms Database: postgres parameters: $1 = '4', $2 = 'A'
-
Events
Log levels
Key values
- 1,110,087 Event entries
- (EVENTLOG entries are formaly LOG level entries that are not queries)
Events distribution (except queries)
Key values
- 0 PANIC entries
- 85 FATAL entries
- 313 ERROR entries
- 0 WARNING entries
- 99 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 228 Max number of times the same event was reported
- 497 Total events found
Rank Times reported Error 1 228 ERROR: syntax error in ts"..."
Times Reported Most Frequent Error / Event #1
Day Hour Count Jun 01 00 3 01 3 03 5 04 1 05 4 06 1 07 1 08 2 09 3 11 1 12 1 13 3 17 4 18 3 19 4 20 1 21 7 22 2 23 1 Jun 02 00 3 02 1 03 2 04 3 05 1 07 1 08 2 09 2 10 2 11 2 12 1 13 4 16 1 19 1 20 1 21 1 23 2 Jun 03 01 1 02 4 03 2 04 1 08 1 09 1 10 2 11 1 12 1 15 2 19 1 20 5 21 2 22 5 23 5 Jun 04 01 1 02 3 03 6 06 2 07 3 08 2 11 1 12 1 16 4 17 1 19 2 21 3 22 3 Jun 05 00 3 01 2 02 3 03 1 04 2 05 1 06 7 07 3 13 1 15 1 16 1 18 1 19 2 20 4 21 2 22 1 23 1 Jun 06 00 1 01 3 03 3 06 1 09 4 10 1 12 9 20 1 21 1 22 1 23 1 Jun 07 00 4 03 2 06 1 08 2 10 1 11 1 12 2 15 1 16 1 19 1 20 2 22 2 - ERROR: syntax error in ts"ブックオフ 同人誌 知恵袋"
- ERROR: syntax error in ts"AI & 自動化 例"
- ERROR: syntax error in ts"(-- | ) & (-BETA-HEXACHLOROCYCLOHEXANE | BETAHEXACHLOROCYCLOHEXANE)"
Statement: SELECT /* GeneBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Symbol' THEN true ELSE false END isNameMatch ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper( l.acc_txt ) = $3 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2025-06-01 03:50:13
Statement: SELECT /* GeneBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Symbol' THEN true ELSE false END isNameMatch ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper( l.acc_txt ) = $3 OR upper( l.acc_txt ) = $4 OR upper( l.acc_txt ) = $5 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2025-06-01 03:51:43
Statement: SELECT /* MeshBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm casRN ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isNameMatch ,t.has_genes hasGenes ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_phenotypes hasPhenotypes ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.acc_db_cd accdbcd ,t.has_exposures hasExposures FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE t.object_type_id = 2 AND l.object_type_id = 2 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 2 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* term acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm casRN ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,t.has_genes hasgenes ,t.has_chems haschems ,t.has_diseases hasdiseases ,t.has_phenotypes hasPhenotypes ,1 relevance ,t.nm_sort ,t.id ,t.acc_db_cd accdbcd ,t.has_exposures hasexposures FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 2 AND (upper( l.acc_txt ) = $3 OR upper( l.acc_txt ) = $4 OR upper( l.acc_txt ) = $5 OR upper( l.acc_txt ) = $6 OR upper( l.acc_txt ) = $7 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2025-06-01 04:11:56
2 85 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #2
Day Hour Count Jun 01 23 1 Jun 02 13 1 20 1 22 1 23 4 Jun 03 00 1 03 2 04 2 06 4 07 2 08 1 Jun 04 12 5 17 1 Jun 05 04 3 14 3 15 1 16 1 18 2 19 3 22 1 23 1 Jun 06 01 1 02 4 03 3 09 6 10 5 13 1 19 1 Jun 07 11 1 12 1 17 7 18 2 19 1 20 2 21 2 22 6 23 1 3 82 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #3
Day Hour Count Jun 01 23 1 Jun 02 13 1 20 1 22 1 23 4 Jun 03 00 1 03 2 04 2 06 4 07 2 08 1 Jun 04 12 5 17 1 Jun 05 04 3 14 2 15 1 16 1 18 2 19 3 22 1 23 1 Jun 06 01 1 02 4 03 3 09 6 10 3 13 1 19 1 Jun 07 11 1 12 1 17 7 18 2 19 1 20 2 21 2 22 6 23 1 4 39 ERROR: canceling statement due to user request
Times Reported Most Frequent Error / Event #4
Day Hour Count Jun 04 12 5 Jun 05 04 3 14 2 19 2 22 1 Jun 06 02 4 09 6 10 5 13 1 Jun 07 17 4 22 6 - ERROR: canceling statement due to user request
- ERROR: canceling statement due to user request
- ERROR: canceling statement due to user request
Statement: SELECT pg_database_size(datname::text) FROM pg_catalog.pg_database WHERE datistemplate = false AND datname = $1;
Date: 2025-06-04 12:44:06 Database: postgres Application: User: zbx_monitor Remote:
Statement: SELECT row_to_json (T) FROM ( SELECT sum(numbackends) as numbackends , sum(xact_commit) as xact_commit , sum(xact_rollback) as xact_rollback , sum(blks_read) as blks_read , sum(blks_hit) as blks_hit , sum(tup_returned) as tup_returned , sum(tup_fetched) as tup_fetched , sum(tup_inserted) as tup_inserted , sum(tup_updated) as tup_updated , sum(tup_deleted) as tup_deleted , sum(conflicts) as conflicts , sum(temp_files) as temp_files , sum(temp_bytes) as temp_bytes , sum(deadlocks) as deadlocks , sum(COALESCE(checksum_failures, 0)) as checksum_failures , sum(blk_read_time) as blk_read_time , sum(blk_write_time) as blk_write_time FROM pg_catalog.pg_stat_database ) T ;
Date: 2025-06-04 12:44:12 Database: postgres Application: User: zbx_monitor Remote:
Statement: SELECT json_object_agg(coalesce (datname,'null'), row_to_json(T)) FROM ( SELECT datname , numbackends as numbackends , xact_commit as xact_commit , xact_rollback as xact_rollback , blks_read as blks_read , blks_hit as blks_hit , tup_returned as tup_returned , tup_fetched as tup_fetched , tup_inserted as tup_inserted , tup_updated as tup_updated , tup_deleted as tup_deleted , conflicts as conflicts , temp_files as temp_files , temp_bytes as temp_bytes , deadlocks as deadlocks , COALESCE(checksum_failures, 0) as checksum_failures , blk_read_time as blk_read_time , blk_write_time as blk_write_time FROM pg_catalog.pg_stat_database ) T ;
Date: 2025-06-04 12:44:12 Database: postgres Application: User: zbx_monitor Remote:
5 36 ERROR: value too long for type character varying(...)
Times Reported Most Frequent Error / Event #5
Day Hour Count Jun 02 02 1 08 1 16 1 Jun 03 09 1 19 2 23 2 Jun 04 02 1 06 1 11 9 12 2 14 1 15 5 16 2 21 1 Jun 05 16 1 Jun 07 06 1 16 4 - ERROR: value too long for type character varying(256)
Statement: INSERT /* AdvancedQueryDAO.logQuery */ INTO pubc.log_query (type_cd ,query_tm ,submission_qty ,session_id ,server_nm ,node_nm ,remote_addr ,http_user_agent ,results_qty ,execution_ms ,gene_txt ,taxon_txt ,chem_txt ,acc_txt ,party_nm_txt ,gene_query_type ,taxon_query_type ,chem_query_type ,party_query_type ,action_type_txt ,pathway_txt ,pathway_query_type ,gene_form_type_txt ,action_degree_type_txt,go_txt ,go_query_type ,disease_txt ,disease_query_type ,gd_assn_type ,from_yr ,through_yr ,title_abstract_txt ,review_status ) VALUES ($1 ,CURRENT_TIMESTAMP ,1 ,$2 ,$3 ,NULLIF($4,'') ,SUBSTR($5,1,128) ,NULLIF(SUBSTR($6,1,256),'') ,$7 ,NULLIF($8,-1) ,NULLIF($9,'') ,NULLIF($10,'') ,NULLIF($11,'') ,NULLIF(SUBSTR($12,1,4000),'') ,NULLIF($13,'') ,NULLIF($14,'') ,NULLIF($15,'') ,NULLIF($16,'') ,NULLIF($17,'') ,NULLIF(SUBSTR($18,1,4000),'') ,NULLIF(SUBSTR($19,1,4000),'') ,NULLIF(SUBSTR($20,1,4000),'') ,NULLIF(SUBSTR($21,1,4000),'') ,NULLIF(SUBSTR($22,1,4000),'') ,NULLIF($23,'') ,NULLIF($24,'') ,NULLIF(SUBSTR($25,1,4000),'') ,NULLIF($26,'') ,NULLIF($27,'') ,NULLIF($28,0) ,NULLIF($29,0) ,NULLIF($30,'') ,NULLIF($31,'') ) RETURNING id
Date: 2025-06-02 08:41:11
6 8 LOG: could not receive data from client: Connection timed out
Times Reported Most Frequent Error / Event #6
Day Hour Count Jun 02 18 5 19 1 Jun 03 18 2 7 6 ERROR: invalid byte sequence for encoding
Times Reported Most Frequent Error / Event #7
Day Hour Count Jun 01 09 2 Jun 03 07 4 - ERROR: invalid byte sequence for encoding "UTF8": 0x00
Context: unnamed portal parameter $1
Statement: SELECT /* ObjectIdDAOImpl.LabelsAndAccs */ t.id ,t.nm ,t.nm_sort nmSort ,t.acc_txt acc ,t.acc_db_cd accDbCd FROM term t ,(SELECT li.term_id FROM term_label li WHERE UPPER(li.nm) = $1 AND li.object_type_id = 2 UNION SELECT l.object_id FROM db_link l WHERE upper( l.acc_txt ) = $2 AND l.object_type_id = 2 AND l.type_cd = 'A') ids WHERE t.id = ids.term_id ORDER BY CASE WHEN UPPER(t.nm) = $3 THEN 1 ELSE 2 END ,t.nm_sortDate: 2025-06-01 09:27:49
8 4 LOG: process ... still waiting for AccessShareLock on relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #8
Day Hour Count Jun 03 00 1 Jun 04 00 3 - LOG: process 3749522 still waiting for AccessShareLock on relation 486223 of database 484829 after 1000.465 ms
Detail: Process holding the lock: 3745810. Wait queue: 3749522, 3749495, 3749400.
Statement: SELECT /* BasicQueryLoggingDAO.getQueryId */ id FROM pubc.log_query WHERE session_id = $1 AND type_cd = $2 AND basic_query_txt = SUBSTR($3,1,1000) AND basic_query_type = $4Date: 2025-06-03 00:07:12
9 3 ERROR: relation "..." does not exist
Times Reported Most Frequent Error / Event #9
Day Hour Count Jun 03 13 3 - ERROR: relation "cached_value" does not exist at character 315
- ERROR: relation "cached_value" does not exist at character 40
- ERROR: relation "chem_disease" does not exist at character 371
Statement: SELECT count(*) AS "action_type" FROM action_type; SELECT count(*) AS "actor_form_type" FROM actor_form_type; SELECT count(*) AS "actor_form_type_use" FROM actor_form_type_use; SELECT count(*) AS "age_qualifier" FROM age_qualifier; SELECT count(*) AS "age_uom" FROM age_uom; SELECT count(*) AS "cached_value" FROM cached_value; SELECT count(*) AS "chem_disease" FROM chem_disease; SELECT count(*) AS "chem_disease_axn" FROM chem_disease_axn; SELECT count(*) AS "chem_disease_reference" FROM chem_disease_reference; SELECT count(*) AS "chem_disease_reference_axn" FROM chem_disease_reference_axn; SELECT count(*) AS "country" FROM country; SELECT count(*) AS "dag" FROM dag; SELECT count(*) AS "dag_edge" FROM dag_edge; SELECT count(*) AS "dag_edge_type" FROM dag_edge_type; SELECT count(*) AS "dag_node" FROM dag_node; SELECT count(*) AS "dag_path" FROM dag_path; SELECT count(*) AS "dag_path_step" FROM dag_path_step; SELECT count(*) AS "data_load" FROM data_load; SELECT count(*) AS "db" FROM db; SELECT count(*) AS "db_link" FROM db_link; SELECT count(*) AS "db_report" FROM db_report; SELECT count(*) AS "db_report_site" FROM db_report_site; SELECT count(*) AS "evidence" FROM evidence; SELECT count(*) AS "exp_anatomy" FROM exp_anatomy; SELECT count(*) AS "exp_event" FROM exp_event; SELECT count(*) AS "exp_event_assay_method" FROM exp_event_assay_method; SELECT count(*) AS "exp_event_location" FROM exp_event_location; SELECT count(*) AS "exp_event_project" FROM exp_event_project; SELECT count(*) AS "exp_marker_type" FROM exp_marker_type; SELECT count(*) AS "exp_outcome" FROM exp_outcome; SELECT count(*) AS "exp_outcome_ixn_type" FROM exp_outcome_ixn_type; SELECT count(*) AS "exp_receptor" FROM exp_receptor; SELECT count(*) AS "exp_receptor_gender" FROM exp_receptor_gender; SELECT count(*) AS "exp_receptor_race" FROM exp_receptor_race; SELECT count(*) AS "exp_receptor_tobacco_use" FROM exp_receptor_tobacco_use; SELECT count(*) AS "exp_stressor" FROM exp_stressor; SELECT count(*) AS "exp_stressor_src_type" FROM exp_stressor_src_type; SELECT count(*) AS "exp_stressor_stressor_src" FROM exp_stressor_stressor_src; SELECT count(*) AS "exp_study_factor" FROM exp_study_factor; SELECT count(*) AS "exposure" FROM exposure; SELECT count(*) AS "gender" FROM gender; SELECT count(*) AS "gene_chem_ref_gene_form" FROM gene_chem_ref_gene_form; SELECT count(*) AS "gene_chem_reference" FROM gene_chem_reference; SELECT count(*) AS "gene_chem_reference_axn" FROM gene_chem_reference_axn; SELECT count(*) AS "gene_disease" FROM gene_disease; SELECT count(*) AS "gene_disease_axn" FROM gene_disease_axn; SELECT count(*) AS "gene_disease_reference" FROM gene_disease_reference; SELECT count(*) AS "gene_disease_reference_axn" FROM gene_disease_reference_axn; SELECT count(*) AS "gene_gene" FROM gene_gene; SELECT count(*) AS "gene_gene_ref_throughput" FROM gene_gene_ref_throughput; SELECT count(*) AS "gene_gene_reference" FROM gene_gene_reference; SELECT count(*) AS "gene_go_annot" FROM gene_go_annot; SELECT count(*) AS "gene_taxon" FROM gene_taxon; SELECT count(*) AS "geographic_region" FROM geographic_region; SELECT count(*) AS "img" FROM img; SELECT count(*) AS "img_site" FROM img_site; SELECT count(*) AS "ixn" FROM ixn; SELECT count(*) AS "ixn_anatomy" FROM ixn_anatomy; SELECT count(*) AS "ixn_axn" FROM ixn_axn; SELECT count(*) AS "ixn_type" FROM ixn_type; SELECT count(*) AS "list_db_report" FROM list_db_report; SELECT count(*) AS "medium" FROM medium; SELECT count(*) AS "object_note" FROM object_note; SELECT count(*) AS "object_type" FROM object_type; SELECT count(*) AS "phenotype_term" FROM phenotype_term; SELECT count(*) AS "phenotype_term_axn" FROM phenotype_term_axn; SELECT count(*) AS "phenotype_term_reference" FROM phenotype_term_reference; SELECT count(*) AS "race" FROM race; SELECT count(*) AS "reference" FROM reference; SELECT count(*) AS "reference_exp" FROM reference_exp; SELECT count(*) AS "reference_party" FROM reference_party; SELECT count(*) AS "reference_party_role" FROM reference_party_role; SELECT count(*) AS "slim" FROM slim; SELECT count(*) AS "slim_term" FROM slim_term; SELECT count(*) AS "slim_term_mapping" FROM slim_term_mapping; SELECT count(*) AS "study_factor" FROM study_factor; SELECT count(*) AS "term" FROM term; SELECT count(*) AS "term_comp" FROM term_comp; SELECT count(*) AS "term_comp_agent" FROM term_comp_agent; SELECT count(*) AS "term_enrichment" FROM term_enrichment; SELECT count(*) AS "term_enrichment_agent" FROM term_enrichment_agent; SELECT count(*) AS "term_label" FROM term_label; SELECT count(*) AS "term_label_type" FROM term_label_type; SELECT count(*) AS "term_pathway" FROM term_pathway; SELECT count(*) AS "term_reference" FROM term_reference; SELECT count(*) AS "term_set_enrichment" FROM term_set_enrichment; SELECT count(*) AS "term_set_enrichment_agent" FROM term_set_enrichment_agent; SELECT count(*) AS "term_similarity" FROM term_similarity; SELECT count(*) AS "term_similarity_agent" FROM term_similarity_agent; SELECT count(*) AS "tetramer" FROM tetramer; SELECT count(*) AS "tobacco_use" FROM tobacco_use;
Date: 2025-06-03 13:47:07
Statement: SELECT count(*) AS "cached_value" FROM cached_value;
Date: 2025-06-03 13:47:17
Statement: SELECT count(*) AS "action_type" FROM action_type; SELECT count(*) AS "actor_form_type" FROM actor_form_type; SELECT count(*) AS "actor_form_type_use" FROM actor_form_type_use; SELECT count(*) AS "age_qualifier" FROM age_qualifier; SELECT count(*) AS "age_uom" FROM age_uom; -- SELECT count(*) AS "cached_value" FROM cached_value; SELECT count(*) AS "chem_disease" FROM chem_disease; SELECT count(*) AS "chem_disease_axn" FROM chem_disease_axn; SELECT count(*) AS "chem_disease_reference" FROM chem_disease_reference; SELECT count(*) AS "chem_disease_reference_axn" FROM chem_disease_reference_axn; SELECT count(*) AS "country" FROM country; SELECT count(*) AS "dag" FROM dag; SELECT count(*) AS "dag_edge" FROM dag_edge; SELECT count(*) AS "dag_edge_type" FROM dag_edge_type; SELECT count(*) AS "dag_node" FROM dag_node; SELECT count(*) AS "dag_path" FROM dag_path; SELECT count(*) AS "dag_path_step" FROM dag_path_step; SELECT count(*) AS "data_load" FROM data_load; SELECT count(*) AS "db" FROM db; SELECT count(*) AS "db_link" FROM db_link; SELECT count(*) AS "db_report" FROM db_report; SELECT count(*) AS "db_report_site" FROM db_report_site; SELECT count(*) AS "evidence" FROM evidence; SELECT count(*) AS "exp_anatomy" FROM exp_anatomy; SELECT count(*) AS "exp_event" FROM exp_event; SELECT count(*) AS "exp_event_assay_method" FROM exp_event_assay_method; SELECT count(*) AS "exp_event_location" FROM exp_event_location; SELECT count(*) AS "exp_event_project" FROM exp_event_project; SELECT count(*) AS "exp_marker_type" FROM exp_marker_type; SELECT count(*) AS "exp_outcome" FROM exp_outcome; SELECT count(*) AS "exp_outcome_ixn_type" FROM exp_outcome_ixn_type; SELECT count(*) AS "exp_receptor" FROM exp_receptor; SELECT count(*) AS "exp_receptor_gender" FROM exp_receptor_gender; SELECT count(*) AS "exp_receptor_race" FROM exp_receptor_race; SELECT count(*) AS "exp_receptor_tobacco_use" FROM exp_receptor_tobacco_use; SELECT count(*) AS "exp_stressor" FROM exp_stressor; SELECT count(*) AS "exp_stressor_src_type" FROM exp_stressor_src_type; SELECT count(*) AS "exp_stressor_stressor_src" FROM exp_stressor_stressor_src; SELECT count(*) AS "exp_study_factor" FROM exp_study_factor; SELECT count(*) AS "exposure" FROM exposure; SELECT count(*) AS "gender" FROM gender; SELECT count(*) AS "gene_chem_ref_gene_form" FROM gene_chem_ref_gene_form; SELECT count(*) AS "gene_chem_reference" FROM gene_chem_reference; SELECT count(*) AS "gene_chem_reference_axn" FROM gene_chem_reference_axn; SELECT count(*) AS "gene_disease" FROM gene_disease; SELECT count(*) AS "gene_disease_axn" FROM gene_disease_axn; SELECT count(*) AS "gene_disease_reference" FROM gene_disease_reference; SELECT count(*) AS "gene_disease_reference_axn" FROM gene_disease_reference_axn; SELECT count(*) AS "gene_gene" FROM gene_gene; SELECT count(*) AS "gene_gene_ref_throughput" FROM gene_gene_ref_throughput; SELECT count(*) AS "gene_gene_reference" FROM gene_gene_reference; SELECT count(*) AS "gene_go_annot" FROM gene_go_annot; SELECT count(*) AS "gene_taxon" FROM gene_taxon; SELECT count(*) AS "geographic_region" FROM geographic_region; SELECT count(*) AS "img" FROM img; SELECT count(*) AS "img_site" FROM img_site; SELECT count(*) AS "ixn" FROM ixn; SELECT count(*) AS "ixn_anatomy" FROM ixn_anatomy; SELECT count(*) AS "ixn_axn" FROM ixn_axn; SELECT count(*) AS "ixn_type" FROM ixn_type; SELECT count(*) AS "list_db_report" FROM list_db_report; SELECT count(*) AS "medium" FROM medium; SELECT count(*) AS "object_note" FROM object_note; SELECT count(*) AS "object_type" FROM object_type; SELECT count(*) AS "phenotype_term" FROM phenotype_term; SELECT count(*) AS "phenotype_term_axn" FROM phenotype_term_axn; SELECT count(*) AS "phenotype_term_reference" FROM phenotype_term_reference; SELECT count(*) AS "race" FROM race; SELECT count(*) AS "reference" FROM reference; SELECT count(*) AS "reference_exp" FROM reference_exp; SELECT count(*) AS "reference_party" FROM reference_party; SELECT count(*) AS "reference_party_role" FROM reference_party_role; SELECT count(*) AS "slim" FROM slim; SELECT count(*) AS "slim_term" FROM slim_term; SELECT count(*) AS "slim_term_mapping" FROM slim_term_mapping; SELECT count(*) AS "study_factor" FROM study_factor; SELECT count(*) AS "term" FROM term; SELECT count(*) AS "term_comp" FROM term_comp; SELECT count(*) AS "term_comp_agent" FROM term_comp_agent; SELECT count(*) AS "term_enrichment" FROM term_enrichment; SELECT count(*) AS "term_enrichment_agent" FROM term_enrichment_agent; SELECT count(*) AS "term_label" FROM term_label; SELECT count(*) AS "term_label_type" FROM term_label_type; SELECT count(*) AS "term_pathway" FROM term_pathway; SELECT count(*) AS "term_reference" FROM term_reference; SELECT count(*) AS "term_set_enrichment" FROM term_set_enrichment; SELECT count(*) AS "term_set_enrichment_agent" FROM term_set_enrichment_agent; SELECT count(*) AS "term_similarity" FROM term_similarity; SELECT count(*) AS "term_similarity_agent" FROM term_similarity_agent; SELECT count(*) AS "tetramer" FROM tetramer; SELECT count(*) AS "tobacco_use" FROM tobacco_use;
Date: 2025-06-03 13:47:24
10 1 ERROR: syntax error in ts"..." sq.* ,COUNT(...) OVER() fullRowCount FROM (...) = THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN(...) OVER(...) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery(...) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (...) = OR upper(...) = OR upper(...) = OR upper(...) = OR upper(...) = OR upper(...) = OR upper(...) = OR upper(...) = OR upper(...) = OR upper(...) = OR upper(...) = OR upper(...) = OR upper(...) = OR upper(...) = OR upper(...) = OR upper(...) = OR upper(...) = OR upper(...) = OR upper(...) = OR upper(...) = OR upper(...) = OR upper(...) = OR upper(...) = OR upper(...) = OR upper(...) = OR upper(...) = OR upper(...) = OR upper(...) = OR upper(...) = OR upper(...) = OR upper(...) = OR upper(...) = OR upper(...) = OR upper(...) = OR upper(...) = OR upper(...) = AND l.db_id = (...) ) ORDER BY 13,14 ) sq LIMIT 50
Times Reported Most Frequent Error / Event #10
Day Hour Count Jun 07 15 1 - ERROR: syntax error in ts"WARNOCK, & A. & D., & WESTBROOKE, & M. & E., & FLORENTINE, & S. & K., & HURST, & C. & P. & 2007 & . & DOES & <I>GEIJERA & PARVIFLORA</I> & LINDL & RUTACEAE & FACILITATE & UNDERSTOREY & SPECIES & IN & (SEMI-ARID | SEMIARID) & AUSTRALIA & RANGELAND & JOURNAL, & 29 & 2 & , & (207-216. | 207216.) & DOI & 10.1071/RJ07032" sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Symbol' THEN true ELSE false END isNameMatch ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,CASE WHEN UPPER(l.nm) = THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', ) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper( l.acc_txt ) = OR upper( l.acc_txt ) = OR upper( l.acc_txt ) = OR upper( l.acc_txt ) = OR upper( l.acc_txt ) = OR upper( l.acc_txt ) = OR upper( l.acc_txt ) = OR upper( l.acc_txt ) = OR upper( l.acc_txt ) = OR upper( l.acc_txt ) = OR upper( l.acc_txt ) = OR upper( l.acc_txt ) = OR upper( l.acc_txt ) = OR upper( l.acc_txt ) = OR upper( l.acc_txt ) = OR upper( l.acc_txt ) = OR upper( l.acc_txt ) = OR upper( l.acc_txt ) = OR upper( l.acc_txt ) = OR upper( l.acc_txt ) = OR upper( l.acc_txt ) = OR upper( l.acc_txt ) = OR upper( l.acc_txt ) = OR upper( l.acc_txt ) = OR upper( l.acc_txt ) = OR upper( l.acc_txt ) = OR upper( l.acc_txt ) = OR upper( l.acc_txt ) = OR upper( l.acc_txt ) = OR upper( l.acc_txt ) = OR upper( l.acc_txt ) = OR upper( l.acc_txt ) = OR upper( l.acc_txt ) = OR upper( l.acc_txt ) = OR upper( l.acc_txt ) = OR upper( l.acc_txt ) = AND l.db_id = (SELECT id FROM db WHERE cd = ) ) ORDER BY 13,14 ) sq LIMIT 50
Statement: SELECT /* GeneBasicQueryDAO */
Date: 2025-06-07 15:40:45
11 1 ERROR: value too long for type character varying(...) (...) VALUES (...) ,SUBSTR(...) ,NULLIF(...),'') , ,NULLIF(...) ,NULLIF(...) ,NULLIF(...) ,NULLIF(...) ,NULLIF(...),'') ,NULLIF(...) ,NULLIF(...) ,NULLIF(...) ,NULLIF(...) ,NULLIF(...) ,NULLIF(...),'') ,NULLIF(...),'') ,NULLIF(...),'') ,NULLIF(...),'') ,NULLIF(...),'') ,NULLIF(...) ,NULLIF(...) ,NULLIF(...),'') ,NULLIF(...) ,NULLIF(...) ,NULLIF(...) ,NULLIF(...) ,NULLIF(...) ,NULLIF(...) ) RETURNING id
Times Reported Most Frequent Error / Event #11
Day Hour Count Jun 07 16 1 - ERROR: value too long for type character varying(256) (type_cd ,query_tm ,submission_qty ,session_id ,server_nm ,node_nm ,remote_addr ,http_user_agent ,results_qty ,execution_ms ,gene_txt ,taxon_txt ,chem_txt ,acc_txt ,party_nm_txt ,gene_query_type ,taxon_query_type ,chem_query_type ,party_query_type ,action_type_txt ,pathway_txt ,pathway_query_type ,gene_form_type_txt ,action_degree_type_txt,go_txt ,go_query_type ,disease_txt ,disease_query_type ,gd_assn_type ,from_yr ,through_yr ,title_abstract_txt ,review_status ) VALUES ( ,CURRENT_TIMESTAMP ,1 , , ,NULLIF(,'') ,SUBSTR(,1,128) ,NULLIF(SUBSTR(,1,256),'') , ,NULLIF(,-1) ,NULLIF(,'') ,NULLIF(,'') ,NULLIF(,'') ,NULLIF(SUBSTR(,1,4000),'') ,NULLIF(,'') ,NULLIF(,'') ,NULLIF(,'') ,NULLIF(,'') ,NULLIF(,'') ,NULLIF(SUBSTR(,1,4000),'') ,NULLIF(SUBSTR(,1,4000),'') ,NULLIF(SUBSTR(,1,4000),'') ,NULLIF(SUBSTR(,1,4000),'') ,NULLIF(SUBSTR(,1,4000),'') ,NULLIF(,'') ,NULLIF(,'') ,NULLIF(SUBSTR(,1,4000),'') ,NULLIF(,'') ,NULLIF(,'') ,NULLIF(,0) ,NULLIF(,0) ,NULLIF(,'') ,NULLIF(,'') ) RETURNING id
Statement: INSERT /* AdvancedQueryDAO.logQuery */ INTO pubc.log_query
Date: 2025-06-07 16:10:23
12 1 LOG: process ... still waiting for RowExclusiveLock on relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #12
Day Hour Count Jun 04 00 1 - LOG: process 541906 still waiting for RowExclusiveLock on relation 486223 of database 484829 after 1000.059 ms
Detail: Process holding the lock: 542480. Wait queue: 547041, 544222, 541906, 539419, 543861, 543792, 547928, 536374, 547940.
Statement: UPDATE pubc.log_query SET query_tm = CURRENT_TIMESTAMP ,submission_qty = submission_qty + 1 WHERE type_cd = $1 AND session_id = $2 AND server_nm = $3 AND remote_addr = SUBSTR($4,1,128) AND results_qty = $5 AND basic_query_txt = SUBSTR($6,1,4000) AND batch_input_type_txt = $7 AND results_format_txt = NULLIF($8,'') AND dag_txt IS NULL AND action_type_txt IS NULL AND action_degree_type_txt IS NULLDate: 2025-06-04 00:07:35
13 1 ERROR: , blk_read_time as blk_read_time , blk_write_time as blk_write_time FROM pg_catalog.pg_stat_database ) T
Times Reported Most Frequent Error / Event #13
Day Hour Count Jun 06 10 1 14 1 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #14
Day Hour Count Jun 02 16 1 15 1 ERROR: syntax error in ts"..." ,COUNT(...) cnt FROM (...) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery(...) OR r.id IN (...),1,128) LIKE ) ) UNION SELECT ot.cd ,l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (...) LIKE ) ) ii GROUP BY ii.cd
Times Reported Most Frequent Error / Event #15
Day Hour Count Jun 06 01 1 - ERROR: syntax error in ts"LY49O<129>" ,COUNT(ii.id) cnt FROM (SELECT ot.cd ,tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops',) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',) OR r.id IN (SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE ) ) UNION SELECT ot.cd ,l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper( l.acc_txt ) LIKE ) ) ii GROUP BY ii.cd
Statement: SELECT /* BasicCountsDAO gen */ ii.cd
Date: 2025-06-06 01:49:25