-
Global information
- Generated on Sun Aug 25 04:15:13 2024
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20240824
- Parsed 163,749 log entries in 12s
- Log start from 2024-08-18 00:00:02 to 2024-08-24 23:59:53
-
Overview
Global Stats
- 328 Number of unique normalized queries
- 5,496 Number of queries
- 2d2h53m31s Total query duration
- 2024-08-18 00:02:22 First query
- 2024-08-24 23:57:46 Last query
- 3 queries/s at 2024-08-18 02:25:09 Query peak
- 2d2h53m31s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 2d2h53m31s Execute total duration
- 192 Number of events
- 12 Number of unique normalized events
- 142 Max number of times the same event was reported
- 0 Number of cancellation
- 28 Total number of automatic vacuums
- 127 Total number of automatic analyzes
- 48 Number temporary file
- 5.86 GiB Max size of temporary file
- 1000.21 MiB Average size of temporary file
- 17,265 Total number of sessions
- 54 sessions at 2024-08-19 18:30:48 Session peak
- 358d1h17m34s Total duration of sessions
- 29m51s Average duration of sessions
- 0 Average queries per session
- 10s611ms Average queries duration per session
- 29m41s Average idle time per session
- 17,265 Total number of connections
- 52 connections/s at 2024-08-20 02:49:25 Connection peak
- 2 Total number of databases
SQL Traffic
Key values
- 3 queries/s Query Peak
- 2024-08-18 02:25:09 Date
SELECT Traffic
Key values
- 3 queries/s Query Peak
- 2024-08-18 02:25:09 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1 queries/s Query Peak
- 2024-08-23 06:00:26 Date
Queries duration
Key values
- 2d2h53m31s Total query duration
Prepared queries ratio
Key values
- 0.00 Ratio of bind vs prepare
- 0.00 % Ratio between prepared and "usual" statements
General Activity
↑ Back to the top of the General Activity tableDay Hour Count Min duration Max duration Avg duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Aug 18 00 8 0ms 16m34s 2m6s 1s269ms 2s221ms 16m39s 01 5 0ms 2s44ms 1s469ms 0ms 1s1ms 5s159ms 02 7 0ms 1s210ms 1s128ms 0ms 0ms 5s592ms 03 9 0ms 4s5ms 1s793ms 1s165ms 2s450ms 5s187ms 04 4 0ms 2s465ms 1s543ms 1s152ms 1s288ms 2s465ms 05 46 0ms 6s678ms 2s420ms 14s947ms 16s380ms 24s370ms 06 20 0ms 33s604ms 6s153ms 3s377ms 9s539ms 54s135ms 07 10 0ms 4s87ms 1s803ms 1s339ms 1s388ms 4s87ms 08 4 0ms 3s899ms 1s853ms 0ms 1s190ms 3s899ms 09 9 0ms 3s964ms 2s704ms 3s235ms 3s877ms 3s964ms 10 14 0ms 33s677ms 8s119ms 3s994ms 41s726ms 54s181ms 11 7 0ms 26s32ms 5s134ms 2s250ms 3s887ms 26s32ms 12 7 0ms 5s40ms 2s55ms 1s586ms 1s916ms 5s40ms 13 9 0ms 1s808ms 1s456ms 1s185ms 1s534ms 3s611ms 14 23 0ms 33s622ms 6s477ms 7s56ms 9s456ms 53s766ms 15 138 0ms 2m5s 34s172ms 2m51s 3m8s 4m10s 16 13 0ms 24s399ms 10s992ms 1s272ms 13s923ms 1m12s 17 2 0ms 3s956ms 3s508ms 0ms 0ms 3s956ms 18 15 0ms 33s557ms 7s513ms 2s538ms 41s539ms 55s179ms 19 7 0ms 5s439ms 1s852ms 1s190ms 1s330ms 5s439ms 20 41 0ms 12m37s 2m49s 11m4s 12m31s 37m19s 21 84 1s113ms 12m41s 1m34s 12m43s 13m25s 14m7s 22 78 1s54ms 48s247ms 44s840ms 1m33s 1m34s 1m35s 23 78 1s174ms 48s638ms 44s105ms 1m34s 1m35s 1m36s Aug 19 00 84 1s21ms 16m28s 52s960ms 1m34s 1m34s 17m21s 01 82 1s119ms 48s484ms 42s250ms 1m34s 1m34s 1m35s 02 82 1s113ms 48s348ms 42s318ms 1m35s 1m35s 1m36s 03 81 1s67ms 48s654ms 42s893ms 1m34s 1m34s 1m35s 04 111 1s68ms 48s951ms 32s251ms 1m35s 1m35s 1m38s 05 120 0ms 5m11s 43s782ms 1m34s 5m6s 30m29s 06 101 1s19ms 50s836ms 35s420ms 1m35s 1m36s 1m46s 07 82 1s147ms 48s808ms 42s600ms 1m35s 1m36s 1m38s 08 86 1s203ms 10m50s 48s333ms 1m35s 1m37s 11m38s 09 77 1s125ms 48s647ms 44s532ms 1m34s 1m35s 1m36s 10 96 1s19ms 49s454ms 37s244ms 1m35s 1m38s 1m45s 11 93 1s9ms 48s832ms 37s960ms 1m35s 1m37s 1m41s 12 80 1s82ms 48s687ms 43s167ms 1m35s 1m35s 1m39s 13 84 1s64ms 49s423ms 41s979ms 1m35s 1m35s 1m35s 14 88 1s12ms 49s352ms 40s510ms 1m36s 1m36s 1m42s 15 87 1s390ms 49s395ms 40s350ms 1m35s 1m36s 1m39s 16 81 1s290ms 49s652ms 43s430ms 1m36s 1m36s 1m36s 17 80 1s24ms 49s407ms 43s483ms 1m36s 1m36s 1m37s 18 87 1s18ms 49s365ms 41s130ms 1m36s 1m37s 1m42s 19 78 1s125ms 48s997ms 43s951ms 1m35s 1m36s 1m37s 20 78 1s126ms 52s449ms 44s612ms 1m35s 1m36s 1m38s 21 93 1s228ms 50s214ms 38s12ms 1m35s 1m36s 1m37s 22 85 1s2ms 49s619ms 41s157ms 1m36s 1m37s 1m39s 23 83 1s31ms 49s886ms 41s534ms 1m36s 1m36s 1m38s Aug 20 00 81 1s15ms 16m25s 55s234ms 1m36s 1m38s 18m4s 01 89 1s 51s94ms 39s226ms 1m36s 1m37s 1m37s 02 122 1s45ms 1m27s 31s782ms 1m45s 1m50s 2m26s 03 81 1s69ms 51s117ms 43s433ms 1m37s 1m38s 1m41s 04 125 1s31ms 4m39s 31s846ms 1m46s 1m52s 6m14s 05 101 0ms 55s745ms 21s511ms 1m36s 1m37s 1m43s 06 15 0ms 33s767ms 7s614ms 4s4ms 41s815ms 53s937ms 07 4 0ms 5s776ms 3s50ms 1s209ms 3s881ms 5s776ms 08 3 0ms 3s932ms 2s989ms 0ms 3s815ms 3s932ms 09 10 0ms 7s213ms 1s921ms 1s361ms 1s615ms 7s213ms 10 21 0ms 33s687ms 7s207ms 4s367ms 9s547ms 1m12s 11 2 0ms 2s413ms 1s811ms 0ms 0ms 2s413ms 12 8 0ms 3s856ms 1s962ms 1s249ms 2s786ms 3s856ms 13 13 0ms 3s996ms 2s410ms 3s660ms 3s971ms 7s918ms 14 18 0ms 33s932ms 6s602ms 1s525ms 9s573ms 54s154ms 15 8 0ms 7s32ms 2s890ms 1s337ms 3s920ms 9s831ms 16 12 0ms 5s51ms 1s625ms 1s207ms 1s309ms 5s51ms 17 11 0ms 4s9ms 1s870ms 1s237ms 4s9ms 5s117ms 18 18 0ms 33s709ms 6s628ms 4s974ms 43s105ms 55s253ms 19 8 0ms 2s366ms 1s407ms 1s300ms 2s366ms 2s573ms 20 7 0ms 2s950ms 1s707ms 1s209ms 2s411ms 2s950ms 21 64 0ms 49s264ms 39s524ms 1m36s 1m37s 1m38s 22 74 1s172ms 50s95ms 46s424ms 1m36s 1m37s 1m41s 23 81 1s206ms 49s731ms 43s67ms 1m36s 1m37s 1m38s Aug 21 00 89 1s123ms 16m31s 50s304ms 1m36s 1m37s 17m26s 01 86 1s50ms 51s90ms 40s490ms 1m37s 1m39s 1m43s 02 82 1s129ms 50s721ms 42s302ms 1m37s 1m37s 1m38s 03 86 1s172ms 50s22ms 40s661ms 1m37s 1m37s 1m41s 04 91 1s74ms 49s941ms 38s399ms 1m37s 1m38s 1m39s 05 97 0ms 50s616ms 22s804ms 1m36s 1m37s 1m38s 06 29 0ms 33s657ms 5s333ms 6s435ms 29s359ms 54s174ms 07 14 0ms 5s289ms 2s661ms 3s877ms 4s284ms 10s569ms 08 9 0ms 4s35ms 1s480ms 1s215ms 2s447ms 4s35ms 09 9 0ms 14s936ms 3s628ms 1s212ms 3s916ms 14s936ms 10 18 0ms 33s727ms 6s490ms 4s94ms 14s517ms 41s739ms 11 79 0ms 1m9s 9s276ms 34s461ms 2m18s 2m26s 12 14 0ms 8s303ms 2s990ms 3s894ms 3s975ms 15s931ms 13 8 0ms 3s915ms 1s585ms 1s350ms 2s666ms 3s915ms 14 18 0ms 33s782ms 10s236ms 10s234ms 33s307ms 54s247ms 15 8 0ms 3s954ms 2s209ms 1s213ms 3s954ms 5s55ms 16 5 0ms 2s627ms 1s728ms 1s227ms 2s37ms 2s627ms 17 8 0ms 5s602ms 2s204ms 1s367ms 3s959ms 8s5ms 18 17 0ms 33s671ms 6s982ms 5s694ms 41s670ms 54s65ms 19 5 0ms 10s408ms 3s72ms 1s217ms 1s292ms 10s408ms 20 7 0ms 4s256ms 2s248ms 1s506ms 4s200ms 5s970ms 21 5 0ms 4s314ms 2s368ms 1s190ms 3s965ms 4s314ms 22 10 0ms 35s356ms 13s18ms 3s842ms 31s285ms 1m11s 23 7 0ms 3s936ms 2s87ms 2s689ms 3s867ms 3s936ms Aug 22 00 8 0ms 16m29s 2m7s 1s347ms 7s496ms 16m34s 01 23 0ms 7s765ms 2s663ms 3s855ms 4s190ms 19s274ms 02 6 0ms 31s134ms 9s189ms 5s103ms 7s299ms 31s134ms 03 10 0ms 1m40s 21s586ms 2s114ms 1m39s 1m40s 04 6 0ms 4s59ms 2s308ms 1s195ms 3s917ms 4s59ms 05 55 0ms 4s256ms 2s202ms 5s709ms 15s920ms 25s527ms 06 20 0ms 33s955ms 6s380ms 5s2ms 42s12ms 54s166ms 07 7 0ms 5s131ms 2s211ms 1s282ms 4s9ms 5s131ms 08 10 0ms 1s574ms 1s317ms 1s463ms 2s353ms 2s410ms 09 6 0ms 6s724ms 3s685ms 1s364ms 6s724ms 8s991ms 10 20 0ms 4m36s 20s371ms 4s108ms 45s669ms 4m36s 11 12 0ms 7s706ms 3s939ms 4s579ms 5s476ms 15s344ms 12 8 0ms 7s363ms 2s853ms 1s291ms 3s986ms 9s280ms 13 26 0ms 12s106ms 2s603ms 1s324ms 9s737ms 22s319ms 14 17 0ms 34s83ms 7s52ms 3s949ms 9s560ms 55s459ms 15 6 0ms 9s58ms 4s589ms 1s240ms 5s560ms 17s872ms 16 9 0ms 4s79ms 3s38ms 3s909ms 3s950ms 4s79ms 17 5 0ms 6s127ms 2s571ms 1s355ms 2s516ms 6s127ms 18 16 0ms 33s823ms 7s631ms 4s52ms 9s588ms 53s973ms 19 8 0ms 5s305ms 2s297ms 1s357ms 5s305ms 6s648ms 20 11 0ms 3s111ms 1s447ms 1s416ms 2s283ms 3s111ms 21 11 0ms 19s292ms 7s663ms 2s153ms 19s94ms 38s271ms 22 11 0ms 2m 12s810ms 2s360ms 3s888ms 2m 23 9 0ms 1m18s 11s257ms 1s306ms 3s902ms 1m24s Aug 23 00 9 0ms 16m31s 1m52s 3s859ms 3s965ms 16m36s 01 3 0ms 1s208ms 1s205ms 0ms 1s206ms 1s208ms 02 5 0ms 7s606ms 2s460ms 1s59ms 1s341ms 7s606ms 03 12 0ms 5s741ms 2s416ms 3s875ms 5s373ms 5s741ms 04 8 0ms 8s292ms 3s684ms 3s926ms 4s162ms 8s292ms 05 50 0ms 14s417ms 2s590ms 14s891ms 23s157ms 23s182ms 06 15 0ms 33s587ms 7s672ms 1s297ms 23s566ms 41s605ms 07 1 0ms 1s234ms 1s234ms 0ms 0ms 1s234ms 08 11 0ms 10s242ms 3s249ms 3s846ms 3s978ms 10s242ms 09 10 0ms 5s235ms 1s666ms 1s504ms 2s618ms 5s235ms 10 16 0ms 33s629ms 7s356ms 5s270ms 41s647ms 54s3ms 11 4 0ms 5s431ms 3s677ms 0ms 3s847ms 5s431ms 12 10 0ms 7s512ms 4s7ms 1s939ms 7s170ms 14s764ms 13 3 0ms 4s123ms 2s201ms 0ms 1s296ms 4s123ms 14 27 0ms 33s677ms 5s315ms 6s652ms 18s362ms 41s709ms 15 4 0ms 1s204ms 1s186ms 0ms 1s183ms 1s204ms 16 5 0ms 15s803ms 4s149ms 1s191ms 1s321ms 15s803ms 17 8 0ms 3s928ms 1s992ms 1s381ms 3s851ms 5s645ms 18 16 0ms 33s809ms 7s231ms 3s965ms 41s868ms 53s996ms 19 10 0ms 1s902ms 1s422ms 1s624ms 1s799ms 1s902ms 20 9 0ms 1s333ms 1s246ms 1s273ms 1s318ms 1s333ms 21 10 0ms 5s947ms 2s52ms 1s308ms 4s614ms 5s947ms 22 6 0ms 4s13ms 2s179ms 1s257ms 1s418ms 7s915ms 23 5 0ms 1s485ms 1s293ms 1s205ms 1s356ms 1s485ms Aug 24 00 11 0ms 16m31s 1m31s 2s366ms 2s685ms 16m36s 01 4 0ms 3s298ms 1s746ms 1s215ms 1s251ms 3s298ms 02 6 0ms 3s821ms 1s873ms 1s289ms 2s517ms 3s821ms 03 8 0ms 3s427ms 1s940ms 1s279ms 3s427ms 3s744ms 04 2 0ms 4s17ms 2s653ms 0ms 1s290ms 4s17ms 05 46 0ms 4s926ms 2s192ms 12s557ms 23s978ms 26s349ms 06 19 0ms 10m40s 1m11s 7s225ms 10m30s 10m40s 07 12 0ms 3s908ms 1s779ms 1s809ms 4s696ms 5s264ms 08 9 0ms 10s762ms 2s717ms 1s211ms 5s322ms 10s762ms 09 34 0ms 4s29ms 2s717ms 5s355ms 5s519ms 7s917ms 10 27 0ms 4s52ms 2s729ms 4s52ms 4s726ms 5s378ms 11 18 0ms 20s285ms 6s377ms 5s275ms 40s164ms 45s909ms 12 5 0ms 1s318ms 1s269ms 1s205ms 1s299ms 1s318ms 13 11 0ms 11s709ms 3s148ms 3s845ms 5s267ms 11s709ms 14 17 0ms 4s43ms 2s850ms 4s43ms 7s257ms 7s660ms 15 11 0ms 4s56ms 2s941ms 3s981ms 4s56ms 5s50ms 16 10 0ms 4s855ms 3s41ms 3s849ms 8s39ms 9s653ms 17 14 0ms 14s46ms 5s75ms 6s398ms 13s352ms 28s38ms 18 36 0ms 1m10s 12s110ms 58s702ms 1m15s 1m18s 19 59 0ms 23m39s 1m22s 2m13s 7m15s 23m41s 20 6 0ms 1s911ms 1s340ms 1s182ms 1s403ms 1s911ms 21 24 0ms 4s406ms 2s634ms 3s999ms 8s224ms 16s738ms 22 11 0ms 3s802ms 1s476ms 1s320ms 2s503ms 3s802ms 23 5 0ms 1m32s 20s41ms 1s216ms 4s39ms 1m32s Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Aug 18 00 7 0 2m23s 0ms 1s269ms 16m34s 01 5 0 1s469ms 0ms 0ms 5s159ms 02 7 0 1s128ms 0ms 0ms 5s592ms 03 9 0 1s793ms 0ms 1s165ms 5s187ms 04 4 0 1s543ms 0ms 1s152ms 2s465ms 05 42 0 2s443ms 1s186ms 14s947ms 24s370ms 06 10 10 6s153ms 1s279ms 3s377ms 54s135ms 07 10 0 1s803ms 1s150ms 1s339ms 4s87ms 08 4 0 1s853ms 0ms 0ms 3s899ms 09 8 0 2s637ms 0ms 1s969ms 3s964ms 10 4 10 8s119ms 0ms 3s994ms 54s181ms 11 7 0 5s134ms 0ms 2s250ms 26s32ms 12 5 0 2s116ms 0ms 1s189ms 5s40ms 13 9 0 1s456ms 0ms 1s185ms 3s611ms 14 13 10 6s477ms 3s873ms 7s56ms 53s766ms 15 138 0 34s172ms 2m29s 2m51s 4m8s 16 13 0 10s992ms 0ms 1s272ms 1m12s 17 2 0 3s508ms 0ms 0ms 3s956ms 18 5 10 7s513ms 1s33ms 2s538ms 53s987ms 19 7 0 1s852ms 0ms 1s190ms 5s439ms 20 41 0 2m49s 54s106ms 11m4s 37m19s 21 84 0 1m34s 1m34s 12m43s 13m32s 22 78 0 44s840ms 1m33s 1m33s 1m35s 23 78 0 44s105ms 1m33s 1m34s 1m35s Aug 19 00 83 0 53s536ms 1m33s 1m34s 1m37s 01 82 0 42s250ms 1m33s 1m34s 1m35s 02 82 0 42s318ms 1m33s 1m35s 1m35s 03 81 0 42s893ms 1m32s 1m34s 1m35s 04 111 0 32s251ms 1m33s 1m35s 1m36s 05 116 0 45s211ms 1m33s 1m34s 5m53s 06 91 10 35s420ms 1m33s 1m35s 1m36s 07 82 0 42s600ms 1m34s 1m35s 1m38s 08 86 0 48s333ms 1m33s 1m35s 1m38s 09 77 0 44s532ms 1m33s 1m34s 1m36s 10 86 10 37s244ms 1m33s 1m35s 1m37s 11 93 0 37s960ms 1m34s 1m35s 1m39s 12 80 0 43s167ms 1m34s 1m35s 1m35s 13 84 0 41s979ms 1m34s 1m35s 1m35s 14 78 10 40s510ms 1m32s 1m35s 1m36s 15 87 0 40s350ms 1m34s 1m35s 1m36s 16 81 0 43s430ms 1m34s 1m36s 1m36s 17 80 0 43s483ms 1m34s 1m36s 1m36s 18 77 10 41s130ms 1m35s 1m36s 1m37s 19 77 0 44s498ms 54s579ms 1m35s 1m36s 20 78 0 44s612ms 1m35s 1m35s 1m37s 21 93 0 38s12ms 1m34s 1m35s 1m36s 22 85 0 41s157ms 1m35s 1m36s 1m37s 23 83 0 41s534ms 51s797ms 1m36s 1m36s Aug 20 00 80 0 55s861ms 1m34s 1m36s 1m42s 01 89 0 39s226ms 59s393ms 1m36s 1m37s 02 122 0 31s782ms 1m17s 1m45s 2m22s 03 81 0 43s433ms 1m34s 1m37s 1m39s 04 125 0 31s846ms 1m36s 1m46s 2m26s 05 97 0 22s308ms 55s475ms 1m36s 1m43s 06 5 10 7s614ms 0ms 4s4ms 53s937ms 07 4 0 3s50ms 0ms 1s209ms 5s776ms 08 3 0 2s989ms 0ms 0ms 3s932ms 09 10 0 1s921ms 1s15ms 1s361ms 7s213ms 10 11 10 7s207ms 3s866ms 5s51ms 54s490ms 11 1 0 1s209ms 0ms 0ms 1s209ms 12 8 0 1s962ms 0ms 1s249ms 3s856ms 13 12 0 2s336ms 1s846ms 3s660ms 7s918ms 14 8 10 6s602ms 1s220ms 1s525ms 54s154ms 15 8 0 2s890ms 0ms 1s337ms 9s831ms 16 12 0 1s625ms 1s169ms 1s207ms 5s51ms 17 11 0 1s870ms 1s90ms 1s237ms 5s117ms 18 8 10 6s628ms 1s195ms 4s974ms 54s70ms 19 8 0 1s407ms 0ms 1s300ms 2s573ms 20 7 0 1s707ms 0ms 1s209ms 2s950ms 21 64 0 39s524ms 51s258ms 1m36s 1m37s 22 74 0 46s424ms 51s268ms 1m36s 1m37s 23 81 0 43s67ms 1m34s 1m36s 1m37s Aug 21 00 88 0 50s819ms 1m34s 1m36s 1m37s 01 86 0 40s490ms 1m5s 1m37s 1m39s 02 82 0 42s302ms 56s442ms 1m37s 1m38s 03 86 0 40s661ms 1m3s 1m37s 1m39s 04 91 0 38s399ms 1m1s 1m37s 1m38s 05 93 0 23s691ms 54s249ms 1m36s 1m37s 06 19 10 5s333ms 2s18ms 6s435ms 54s174ms 07 14 0 2s661ms 1s193ms 3s877ms 10s569ms 08 9 0 1s480ms 0ms 1s215ms 4s35ms 09 9 0 3s628ms 0ms 1s212ms 14s936ms 10 9 9 6s490ms 1s111ms 4s94ms 41s739ms 11 75 0 9s650ms 10s508ms 34s461ms 2m24s 12 14 0 2s990ms 1s362ms 3s894ms 15s931ms 13 8 0 1s585ms 0ms 1s350ms 3s915ms 14 8 10 10s236ms 1s226ms 10s234ms 54s247ms 15 8 0 2s209ms 0ms 1s213ms 5s55ms 16 5 0 1s728ms 0ms 1s227ms 2s627ms 17 8 0 2s204ms 0ms 1s367ms 8s5ms 18 7 10 6s982ms 1s289ms 5s694ms 54s65ms 19 5 0 3s72ms 0ms 1s217ms 10s408ms 20 7 0 2s248ms 0ms 1s506ms 5s970ms 21 5 0 2s368ms 0ms 1s190ms 4s314ms 22 10 0 13s18ms 1s290ms 3s842ms 1m11s 23 7 0 2s87ms 0ms 2s689ms 3s936ms Aug 22 00 7 0 2m24s 0ms 1s347ms 16m29s 01 23 0 2s663ms 1s366ms 3s855ms 19s274ms 02 6 0 9s189ms 0ms 5s103ms 31s134ms 03 10 0 21s586ms 1s380ms 2s114ms 1m40s 04 6 0 2s308ms 0ms 1s195ms 4s59ms 05 51 0 2s200ms 2s892ms 4s95ms 25s527ms 06 10 10 6s380ms 1s214ms 5s517ms 54s166ms 07 7 0 2s211ms 0ms 1s282ms 5s131ms 08 10 0 1s317ms 1s325ms 1s463ms 2s410ms 09 6 0 3s685ms 0ms 1s364ms 8s991ms 10 10 10 20s371ms 2s11ms 4s108ms 4m36s 11 12 0 3s939ms 1s316ms 4s579ms 15s344ms 12 6 0 3s168ms 0ms 1s158ms 7s363ms 13 26 0 2s603ms 1s209ms 1s324ms 22s319ms 14 7 10 7s52ms 0ms 3s949ms 54s212ms 15 6 0 4s589ms 0ms 1s240ms 17s872ms 16 9 0 3s38ms 1s212ms 3s909ms 4s79ms 17 4 0 2s767ms 0ms 1s72ms 6s127ms 18 6 10 7s631ms 1s201ms 4s52ms 53s973ms 19 8 0 2s297ms 0ms 1s357ms 6s648ms 20 11 0 1s447ms 1s190ms 1s416ms 3s111ms 21 11 0 7s663ms 1s232ms 2s153ms 38s271ms 22 11 0 12s810ms 1s204ms 2s360ms 2m 23 9 0 11s257ms 0ms 1s306ms 1m24s Aug 23 00 8 0 2m6s 1s217ms 3s859ms 16m31s 01 3 0 1s205ms 0ms 0ms 1s208ms 02 5 0 2s460ms 0ms 1s59ms 7s606ms 03 12 0 2s416ms 1s340ms 3s875ms 5s741ms 04 8 0 3s684ms 0ms 3s926ms 8s292ms 05 46 0 2s625ms 5s43ms 14s891ms 23s182ms 06 5 10 7s672ms 0ms 1s297ms 41s605ms 07 1 0 1s234ms 0ms 0ms 1s234ms 08 11 0 3s249ms 2s426ms 3s846ms 10s242ms 09 10 0 1s666ms 1s172ms 1s504ms 5s235ms 10 5 10 7s629ms 0ms 5s270ms 54s3ms 11 4 0 3s677ms 0ms 0ms 5s431ms 12 9 0 4s237ms 0ms 1s233ms 14s764ms 13 3 0 2s201ms 0ms 0ms 4s123ms 14 18 9 5s315ms 2s831ms 6s652ms 41s709ms 15 4 0 1s186ms 0ms 0ms 1s204ms 16 5 0 4s149ms 0ms 1s191ms 15s803ms 17 8 0 1s992ms 0ms 1s381ms 5s645ms 18 6 10 7s231ms 1s258ms 3s965ms 53s996ms 19 10 0 1s422ms 1s211ms 1s624ms 1s902ms 20 9 0 1s246ms 1s161ms 1s273ms 1s333ms 21 10 0 2s52ms 1s194ms 1s308ms 5s947ms 22 6 0 2s179ms 0ms 1s257ms 7s915ms 23 5 0 1s293ms 0ms 1s205ms 1s485ms Aug 24 00 10 0 1m40s 0ms 2s366ms 16m31s 01 4 0 1s746ms 0ms 1s215ms 3s298ms 02 6 0 1s873ms 0ms 1s289ms 3s821ms 03 8 0 1s940ms 0ms 1s279ms 3s744ms 04 2 0 2s653ms 0ms 0ms 4s17ms 05 41 0 2s198ms 1s208ms 12s557ms 26s349ms 06 17 0 1m18s 1s215ms 5s572ms 10m40s 07 12 0 1s779ms 1s131ms 1s809ms 5s264ms 08 9 0 2s717ms 1s196ms 1s211ms 10s762ms 09 34 0 2s717ms 3s921ms 5s355ms 7s917ms 10 27 0 2s729ms 4s17ms 4s52ms 5s378ms 11 18 0 6s377ms 1s380ms 5s275ms 45s909ms 12 5 0 1s269ms 0ms 1s205ms 1s318ms 13 11 0 3s148ms 1s210ms 3s845ms 11s709ms 14 17 0 2s850ms 3s830ms 4s43ms 7s660ms 15 11 0 2s941ms 1s375ms 3s981ms 5s50ms 16 10 0 3s41ms 1s158ms 3s849ms 9s653ms 17 14 0 5s75ms 1s247ms 6s398ms 28s38ms 18 11 25 12s110ms 13s362ms 58s702ms 1m10s 19 9 50 1m22s 1m16s 2m12s 23m41s 20 6 0 1s340ms 0ms 1s182ms 1s911ms 21 24 0 2s634ms 1s319ms 3s999ms 16s738ms 22 11 0 1s476ms 1s162ms 1s320ms 3s802ms 23 5 0 20s41ms 0ms 1s216ms 1m32s Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Aug 18 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Aug 19 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Aug 20 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Aug 21 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Aug 22 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Aug 23 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Aug 24 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Aug 18 00 0 6 6.00 0.00% 01 0 5 5.00 0.00% 02 0 7 7.00 0.00% 03 0 9 9.00 0.00% 04 0 4 4.00 0.00% 05 0 46 46.00 0.00% 06 0 10 10.00 0.00% 07 0 10 10.00 0.00% 08 0 4 4.00 0.00% 09 0 9 9.00 0.00% 10 0 4 4.00 0.00% 11 0 7 7.00 0.00% 12 0 7 7.00 0.00% 13 0 9 9.00 0.00% 14 0 13 13.00 0.00% 15 0 138 138.00 0.00% 16 0 13 13.00 0.00% 17 0 2 2.00 0.00% 18 0 5 5.00 0.00% 19 0 7 7.00 0.00% 20 0 41 41.00 0.00% 21 0 84 84.00 0.00% 22 0 78 78.00 0.00% 23 0 78 78.00 0.00% Aug 19 00 0 82 82.00 0.00% 01 0 82 82.00 0.00% 02 0 82 82.00 0.00% 03 0 81 81.00 0.00% 04 0 111 111.00 0.00% 05 0 120 120.00 0.00% 06 0 91 91.00 0.00% 07 0 82 82.00 0.00% 08 0 86 86.00 0.00% 09 0 77 77.00 0.00% 10 0 86 86.00 0.00% 11 0 93 93.00 0.00% 12 0 80 80.00 0.00% 13 0 84 84.00 0.00% 14 0 78 78.00 0.00% 15 0 88 88.00 0.00% 16 0 81 81.00 0.00% 17 0 80 80.00 0.00% 18 0 77 77.00 0.00% 19 0 78 78.00 0.00% 20 0 78 78.00 0.00% 21 0 93 93.00 0.00% 22 0 85 85.00 0.00% 23 0 83 83.00 0.00% Aug 20 00 0 79 79.00 0.00% 01 0 89 89.00 0.00% 02 0 122 122.00 0.00% 03 0 81 81.00 0.00% 04 0 125 125.00 0.00% 05 0 101 101.00 0.00% 06 0 5 5.00 0.00% 07 0 4 4.00 0.00% 08 0 3 3.00 0.00% 09 0 10 10.00 0.00% 10 0 11 11.00 0.00% 11 0 3 3.00 0.00% 12 0 8 8.00 0.00% 13 0 13 13.00 0.00% 14 0 8 8.00 0.00% 15 0 8 8.00 0.00% 16 0 13 13.00 0.00% 17 0 11 11.00 0.00% 18 0 8 8.00 0.00% 19 0 8 8.00 0.00% 20 0 7 7.00 0.00% 21 0 64 64.00 0.00% 22 0 74 74.00 0.00% 23 0 81 81.00 0.00% Aug 21 00 0 87 87.00 0.00% 01 0 86 86.00 0.00% 02 0 82 82.00 0.00% 03 0 86 86.00 0.00% 04 0 91 91.00 0.00% 05 0 97 97.00 0.00% 06 0 19 19.00 0.00% 07 0 14 14.00 0.00% 08 0 9 9.00 0.00% 09 0 9 9.00 0.00% 10 0 10 10.00 0.00% 11 0 79 79.00 0.00% 12 0 15 15.00 0.00% 13 0 8 8.00 0.00% 14 0 9 9.00 0.00% 15 0 9 9.00 0.00% 16 0 5 5.00 0.00% 17 0 8 8.00 0.00% 18 0 7 7.00 0.00% 19 0 5 5.00 0.00% 20 0 7 7.00 0.00% 21 0 5 5.00 0.00% 22 0 10 10.00 0.00% 23 0 7 7.00 0.00% Aug 22 00 0 6 6.00 0.00% 01 0 23 23.00 0.00% 02 0 6 6.00 0.00% 03 0 10 10.00 0.00% 04 0 6 6.00 0.00% 05 0 55 55.00 0.00% 06 0 10 10.00 0.00% 07 0 7 7.00 0.00% 08 0 10 10.00 0.00% 09 0 6 6.00 0.00% 10 0 10 10.00 0.00% 11 0 13 13.00 0.00% 12 0 8 8.00 0.00% 13 0 27 27.00 0.00% 14 0 7 7.00 0.00% 15 0 6 6.00 0.00% 16 0 9 9.00 0.00% 17 0 5 5.00 0.00% 18 0 6 6.00 0.00% 19 0 8 8.00 0.00% 20 0 11 11.00 0.00% 21 0 11 11.00 0.00% 22 0 11 11.00 0.00% 23 0 9 9.00 0.00% Aug 23 00 0 7 7.00 0.00% 01 0 3 3.00 0.00% 02 0 5 5.00 0.00% 03 0 12 12.00 0.00% 04 0 8 8.00 0.00% 05 0 50 50.00 0.00% 06 0 6 6.00 0.00% 07 0 1 1.00 0.00% 08 0 11 11.00 0.00% 09 0 10 10.00 0.00% 10 0 6 6.00 0.00% 11 0 5 5.00 0.00% 12 0 10 10.00 0.00% 13 0 3 3.00 0.00% 14 0 18 18.00 0.00% 15 0 4 4.00 0.00% 16 0 5 5.00 0.00% 17 0 8 8.00 0.00% 18 0 6 6.00 0.00% 19 0 10 10.00 0.00% 20 0 9 9.00 0.00% 21 0 10 10.00 0.00% 22 0 6 6.00 0.00% 23 0 5 5.00 0.00% Aug 24 00 0 9 9.00 0.00% 01 0 4 4.00 0.00% 02 0 6 6.00 0.00% 03 0 8 8.00 0.00% 04 0 2 2.00 0.00% 05 0 46 46.00 0.00% 06 0 19 19.00 0.00% 07 0 12 12.00 0.00% 08 0 9 9.00 0.00% 09 0 34 34.00 0.00% 10 0 27 27.00 0.00% 11 0 19 19.00 0.00% 12 0 6 6.00 0.00% 13 0 11 11.00 0.00% 14 0 17 17.00 0.00% 15 0 11 11.00 0.00% 16 0 10 10.00 0.00% 17 0 14 14.00 0.00% 18 0 11 11.00 0.00% 19 0 9 9.00 0.00% 20 0 6 6.00 0.00% 21 0 24 24.00 0.00% 22 0 11 11.00 0.00% 23 0 5 5.00 0.00% Day Hour Count Average / Second Aug 18 00 79 0.02/s 01 79 0.02/s 02 77 0.02/s 03 74 0.02/s 04 78 0.02/s 05 89 0.02/s 06 82 0.02/s 07 81 0.02/s 08 75 0.02/s 09 80 0.02/s 10 79 0.02/s 11 79 0.02/s 12 76 0.02/s 13 76 0.02/s 14 81 0.02/s 15 158 0.04/s 16 80 0.02/s 17 86 0.02/s 18 79 0.02/s 19 80 0.02/s 20 111 0.03/s 21 147 0.04/s 22 149 0.04/s 23 149 0.04/s Aug 19 00 150 0.04/s 01 153 0.04/s 02 148 0.04/s 03 149 0.04/s 04 153 0.04/s 05 161 0.04/s 06 170 0.05/s 07 153 0.04/s 08 156 0.04/s 09 148 0.04/s 10 159 0.04/s 11 152 0.04/s 12 146 0.04/s 13 150 0.04/s 14 149 0.04/s 15 164 0.05/s 16 153 0.04/s 17 149 0.04/s 18 152 0.04/s 19 149 0.04/s 20 152 0.04/s 21 148 0.04/s 22 158 0.04/s 23 153 0.04/s Aug 20 00 148 0.04/s 01 170 0.05/s 02 521 0.14/s 03 146 0.04/s 04 207 0.06/s 05 224 0.06/s 06 82 0.02/s 07 79 0.02/s 08 78 0.02/s 09 79 0.02/s 10 77 0.02/s 11 76 0.02/s 12 79 0.02/s 13 95 0.03/s 14 78 0.02/s 15 84 0.02/s 16 76 0.02/s 17 79 0.02/s 18 77 0.02/s 19 77 0.02/s 20 74 0.02/s 21 126 0.04/s 22 149 0.04/s 23 150 0.04/s Aug 21 00 139 0.04/s 01 167 0.05/s 02 147 0.04/s 03 148 0.04/s 04 151 0.04/s 05 135 0.04/s 06 81 0.02/s 07 78 0.02/s 08 79 0.02/s 09 86 0.02/s 10 82 0.02/s 11 219 0.06/s 12 142 0.04/s 13 76 0.02/s 14 107 0.03/s 15 78 0.02/s 16 78 0.02/s 17 79 0.02/s 18 78 0.02/s 19 80 0.02/s 20 80 0.02/s 21 67 0.02/s 22 79 0.02/s 23 71 0.02/s Aug 22 00 89 0.02/s 01 110 0.03/s 02 84 0.02/s 03 82 0.02/s 04 77 0.02/s 05 98 0.03/s 06 83 0.02/s 07 74 0.02/s 08 79 0.02/s 09 80 0.02/s 10 86 0.02/s 11 95 0.03/s 12 83 0.02/s 13 79 0.02/s 14 83 0.02/s 15 77 0.02/s 16 78 0.02/s 17 76 0.02/s 18 86 0.02/s 19 78 0.02/s 20 79 0.02/s 21 72 0.02/s 22 70 0.02/s 23 85 0.02/s Aug 23 00 82 0.02/s 01 78 0.02/s 02 80 0.02/s 03 80 0.02/s 04 79 0.02/s 05 91 0.03/s 06 77 0.02/s 07 74 0.02/s 08 75 0.02/s 09 79 0.02/s 10 78 0.02/s 11 78 0.02/s 12 89 0.02/s 13 74 0.02/s 14 79 0.02/s 15 78 0.02/s 16 79 0.02/s 17 79 0.02/s 18 78 0.02/s 19 79 0.02/s 20 70 0.02/s 21 69 0.02/s 22 77 0.02/s 23 76 0.02/s Aug 24 00 84 0.02/s 01 82 0.02/s 02 77 0.02/s 03 81 0.02/s 04 75 0.02/s 05 109 0.03/s 06 83 0.02/s 07 77 0.02/s 08 78 0.02/s 09 88 0.02/s 10 89 0.02/s 11 80 0.02/s 12 76 0.02/s 13 79 0.02/s 14 82 0.02/s 15 82 0.02/s 16 77 0.02/s 17 95 0.03/s 18 81 0.02/s 19 71 0.02/s 20 70 0.02/s 21 71 0.02/s 22 80 0.02/s 23 80 0.02/s Day Hour Count Average Duration Average idle time Aug 18 00 79 31m21s 31m9s 01 79 29m48s 29m48s 02 77 32m 31m59s 03 74 30m 30m 04 78 31m1s 31m1s 05 89 26m25s 26m24s 06 82 30m 29m58s 07 81 29m50s 29m50s 08 75 31m18s 31m18s 09 80 29m54s 29m54s 10 79 30m15s 30m14s 11 79 30m16s 30m15s 12 76 31m52s 31m52s 13 76 30m51s 30m51s 14 81 29m57s 29m55s 15 157 16m14s 15m44s 16 81 29m36s 29m34s 17 86 28m37s 28m37s 18 79 30m10s 30m9s 19 80 30m29s 30m29s 20 110 23m4s 22m1s 21 147 16m22s 15m28s 22 150 16m14s 15m51s 23 148 16m40s 16m17s Aug 19 00 150 16m46s 16m17s 01 153 16m6s 15m43s 02 148 15m4s 14m41s 03 149 16m21s 15m58s 04 152 16m19s 15m56s 05 162 11h31m33s 11h31m1s 06 170 14m27s 14m6s 07 153 16m25s 16m2s 08 157 15m43s 15m16s 09 147 16m 15m37s 10 159 15m23s 15m1s 11 152 16m20s 15m56s 12 145 16m15s 15m51s 13 150 16m18s 15m55s 14 149 16m34s 16m10s 15 162 15m27s 15m5s 16 153 18m13s 17m50s 17 149 16m38s 16m15s 18 156 18m37s 18m14s 19 148 16m15s 15m51s 20 152 16m3s 15m40s 21 148 15m39s 15m15s 22 159 15m48s 15m26s 23 152 16m4s 15m41s Aug 20 00 148 16m29s 15m59s 01 170 13m16s 12m55s 02 521 4m47s 4m39s 03 146 16m33s 16m9s 04 206 12m9s 11m50s 05 226 10m22s 10m13s 06 82 29m28s 29m27s 07 79 30m58s 30m58s 08 78 31m35s 31m35s 09 79 30m20s 30m20s 10 77 30m18s 30m16s 11 76 31m45s 31m45s 12 79 31m 30m59s 13 95 25m41s 25m41s 14 78 30m40s 30m39s 15 84 29m4s 29m4s 16 76 32m18s 32m18s 17 79 31m12s 31m11s 18 77 30m39s 30m38s 19 77 31m10s 31m10s 20 74 31m54s 31m54s 21 126 18m50s 18m30s 22 148 16m52s 16m28s 23 151 16m1s 15m38s Aug 21 00 138 15m51s 15m18s 01 167 15m7s 14m47s 02 147 16m26s 16m2s 03 148 16m46s 16m22s 04 151 16m5s 15m42s 05 136 17m32s 17m16s 06 81 30m2s 30m 07 78 31m18s 31m17s 08 79 30m54s 30m54s 09 86 28m20s 28m20s 10 82 29m33s 29m32s 11 219 11m28s 11m25s 12 142 16m37s 16m37s 13 76 31m45s 31m45s 14 107 23m10s 23m9s 15 78 30m49s 30m49s 16 78 30m45s 30m45s 17 79 30m49s 30m49s 18 78 30m46s 30m45s 19 80 30m57s 30m56s 20 80 30m29s 30m29s 21 67 30m45s 30m45s 22 79 30m49s 30m47s 23 71 31m8s 31m8s Aug 22 00 89 27m10s 26m59s 01 110 22m 21m59s 02 84 29m41s 29m41s 03 82 29m21s 29m18s 04 77 30m46s 30m45s 05 98 24m57s 24m56s 06 83 29m3s 29m1s 07 74 32m10s 32m9s 08 79 30m22s 30m22s 09 80 30m32s 30m32s 10 86 28m39s 28m34s 11 95 25m35s 25m34s 12 83 29m5s 29m4s 13 79 30m 29m59s 14 83 29m43s 29m41s 15 77 31m14s 31m13s 16 78 30m50s 30m50s 17 76 31m23s 31m23s 18 86 28m46s 28m44s 19 78 31m22s 31m22s 20 79 29m35s 29m35s 21 72 30m8s 30m7s 22 70 30m47s 30m45s 23 85 28m56s 28m55s Aug 23 00 82 30m1s 29m49s 01 78 30m50s 30m50s 02 80 30m41s 30m41s 03 80 30m4s 30m4s 04 79 30m36s 30m36s 05 91 26m42s 26m41s 06 77 31m36s 31m35s 07 74 32m59s 32m59s 08 75 32m18s 32m18s 09 79 31m22s 31m22s 10 78 30m43s 30m42s 11 78 31m16s 31m16s 12 89 27m9s 27m9s 13 74 32m4s 32m4s 14 79 30m56s 30m55s 15 78 31m12s 31m12s 16 79 30m49s 30m48s 17 79 31m10s 31m10s 18 78 31m11s 31m10s 19 79 29m45s 29m45s 20 70 32m 32m 21 69 29m41s 29m41s 22 77 30m33s 30m33s 23 76 31m18s 31m18s Aug 24 00 84 30m5s 29m53s 01 82 30m34s 30m34s 02 77 30m54s 30m54s 03 81 30m10s 30m10s 04 75 31m56s 31m56s 05 109 21m52s 21m51s 06 83 29m26s 29m10s 07 77 31m39s 31m39s 08 78 31m30s 31m30s 09 88 28m18s 28m17s 10 89 26m35s 26m34s 11 80 29m22s 29m21s 12 76 31m57s 31m57s 13 79 30m7s 30m6s 14 82 30m11s 30m10s 15 82 30m38s 30m38s 16 77 31m30s 31m29s 17 95 25m30s 25m29s 18 80 29m37s 29m31s 19 72 32m50s 31m43s 20 70 31m3s 31m3s 21 71 31m22s 31m21s 22 80 30m56s 30m56s 23 80 30m29s 30m28s -
Connections
Established Connections
Key values
- 52 connections Connection Peak
- 2024-08-20 02:49:25 Date
Connections per database
Key values
- ctdprd51 Main Database
- 17,265 connections Total
Connections per user
Key values
- pubeu Main User
- 17,265 connections Total
-
Sessions
Simultaneous sessions
Key values
- 54 sessions Session Peak
- 2024-08-19 18:30:48 Date
Histogram of session times
Key values
- 12,345 1800000-3600000ms duration
Sessions per database
Key values
- ctdprd51 Main Database
- 17,265 sessions Total
Sessions per user
Key values
- pubeu Main User
- 17,265 sessions Total
Sessions per host
Key values
- 10.12.5.37 Main Host
- 17,265 sessions Total
Sessions per application
Key values
- unknown Main Application
- 17,265 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 241,012 buffers Checkpoint Peak
- 2024-08-23 04:08:21 Date
- 1619.795 seconds Highest write time
- 0.003 seconds Sync time
Checkpoints Wal files
Key values
- 43 files Wal files usage Peak
- 2024-08-19 11:08:13 Date
Checkpoints distance
Key values
- 1,289.45 Mo Distance Peak
- 2024-08-23 04:08:21 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Aug 18 00 12,059 1,208.038s 0.004s 1,208.209s 01 904 90.007s 0.003s 90.083s 02 1,144 114.697s 0.003s 114.729s 03 73 7.493s 0.002s 7.523s 04 39 3.996s 0.001s 4.011s 05 49,617 1,646.44s 0.003s 1,646.911s 06 170 17.227s 0.002s 17.258s 07 80 8.215s 0.002s 8.245s 08 65 6.697s 0.003s 6.727s 09 551 55.399s 0.002s 55.429s 10 84 8.601s 0.002s 8.63s 11 588 59.088s 0.002s 59.132s 12 113 11.415s 0.001s 11.43s 13 14,606 1,463.518s 0.004s 1,463.683s 14 114 11.61s 0.002s 11.642s 15 211 21.235s 0.002s 21.266s 16 175 17.713s 0.002s 17.743s 17 67 6.887s 0.002s 6.919s 18 2,875 288.252s 0.004s 288.331s 19 71 7.287s 0.002s 7.318s 20 76 7.815s 0.002s 7.844s 21 93 9.514s 0.002s 9.544s 22 163,514 1,622.945s 0.003s 1,623.41s 23 213 21.563s 0.003s 21.593s Aug 19 00 2,706 271.311s 0.004s 271.43s 01 185 18.72s 0.003s 18.751s 02 53,145 1,888.487s 0.004s 1,888.971s 03 63,445 1,622.379s 0.003s 1,622.885s 04 4,023 403.238s 0.003s 403.316s 05 2,062 207.368s 0.003s 207.418s 06 235 23.75s 0.002s 23.782s 07 10,016 1,003.612s 0.003s 1,003.763s 08 1,071 107.526s 0.003s 107.558s 09 2,273 227.919s 0.003s 227.998s 10 523 52.525s 0.001s 52.541s 11 64,213 2,195.937s 0.005s 2,196.531s 12 5,517 552.875s 0.002s 552.975s 13 1,637 164.172s 0.003s 164.252s 14 211 21.346s 0.003s 21.379s 15 204 20.633s 0.002s 20.663s 16 383 38.592s 0.002s 38.623s 17 110 11.212s 0.002s 11.243s 18 144 14.621s 0.002s 14.65s 19 123 12.507s 0.002s 12.537s 20 79 8.094s 0.002s 8.124s 21 1,683 168.911s 0.003s 168.989s 22 119 12.126s 0.002s 12.157s 23 5,949 596.433s 0.003s 596.535s Aug 20 00 1,392 139.725s 0.004s 139.841s 01 1,926 193.15s 0.003s 193.182s 02 282 28.459s 0.002s 28.49s 03 1,676 168.172s 0.003s 168.249s 04 10,088 1,010.98s 0.003s 1,011.15s 05 9,536 955.538s 0.003s 955.63s 06 411 41.379s 0.003s 41.423s 07 149 15.11s 0.002s 15.14s 08 174 17.624s 0.002s 17.654s 09 299 30.138s 0.002s 30.169s 10 247 24.938s 0.002s 24.968s 11 270 27.24s 0.002s 27.27s 12 342 34.461s 0.002s 34.49s 13 79 8.099s 0.002s 8.129s 14 180 18.224s 0.002s 18.253s 15 91 9.299s 0.002s 9.33s 16 237 23.928s 0.002s 23.958s 17 156 15.826s 0.002s 15.857s 18 117 11.903s 0.002s 11.933s 19 142 14.405s 0.002s 14.434s 20 107 10.899s 0.002s 10.931s 21 369 37.184s 0.002s 37.215s 22 84 8.605s 0.002s 8.637s 23 1,978 198.441s 0.003s 198.522s Aug 21 00 2,526 253.125s 0.004s 253.242s 01 270 27.257s 0.002s 27.288s 02 1,636 163.969s 0.001s 164.03s 03 55,180 1,630.812s 0.003s 1,631.318s 04 90,553 1,662.23s 0.004s 1,662.772s 05 250 25.235s 0.002s 25.265s 06 260 26.238s 0.002s 26.269s 07 163 16.511s 0.002s 16.542s 08 631 63.409s 0.002s 63.487s 09 155 15.714s 0.002s 15.743s 10 223 22.526s 0.002s 22.558s 11 9,835 985.109s 0.002s 985.233s 12 51,921 2,092.093s 0.005s 2,092.579s 13 184 18.521s 0.002s 18.552s 14 285 28.754s 0.002s 28.785s 15 172 17.412s 0.002s 17.443s 16 157 15.924s 0.002s 15.954s 17 140 14.212s 0.002s 14.243s 18 97 9.901s 0.002s 9.932s 19 79 8.093s 0.003s 8.125s 20 159 16.121s 0.002s 16.165s 21 54 5.59s 0.002s 5.619s 22 5,196 520.783s 0.004s 520.884s 23 454 45.66s 0.003s 45.692s Aug 22 00 911 91.511s 0.004s 91.543s 01 1,433 143.666s 0.003s 143.743s 02 2,695 270.09s 0.003s 270.17s 03 188 19.023s 0.003s 19.055s 04 141 14.306s 0.002s 14.336s 05 6,976 698.909s 0.003s 699.055s 06 593 59.605s 0.003s 59.635s 07 1,682 168.705s 0.003s 168.736s 08 95 9.703s 0.002s 9.733s 09 72 7.401s 0.002s 7.432s 10 276 27.86s 0.002s 27.889s 11 229 23.133s 0.002s 23.164s 12 261 26.35s 0.002s 26.381s 13 160 16.214s 0.003s 16.255s 14 252 25.428s 0.002s 25.458s 15 806 80.933s 0.002s 81.012s 16 176 17.819s 0.002s 17.849s 17 106 10.799s 0.002s 10.83s 18 60 6.186s 0.002s 6.217s 19 4,503 451.347s 0.003s 451.45s 20 59 6.1s 0.002s 6.129s 21 128 13.004s 0.002s 13.035s 22 79 8.099s 0.002s 8.139s 23 183 18.512s 0.002s 18.542s Aug 23 00 510 51.294s 0.003s 51.363s 01 83 8.5s 0.002s 8.529s 02 134 13.411s 0.002s 13.451s 03 19 1.992s 0.001s 2.008s 04 242,851 1,804.198s 0.005s 1,804.866s 05 4,118 412.802s 0.003s 412.833s 06 9,404 942.142s 0.003s 942.303s 07 419 42.176s 0.003s 42.218s 08 50,010 1,619.29s 0.002s 1,619.735s 09 726 72.929s 0.003s 72.96s 10 13,678 1,369.759s 0.002s 1,369.92s 11 2,453 245.84s 0.003s 245.93s 12 339 34.177s 0.002s 34.209s 13 135 13.699s 0.002s 13.73s 14 1,325 132.944s 0.002s 132.975s 15 227 22.95s 0.002s 22.982s 16 149 15.111s 0.002s 15.142s 17 70 7.191s 0.002s 7.222s 18 153 15.513s 0.002s 15.545s 19 98 9.993s 0.002s 10.023s 20 95 9.703s 0.002s 9.734s 21 63 6.495s 0.002s 6.539s 22 77 7.897s 0.002s 7.926s 23 157 15.912s 0.002s 15.943s Aug 24 00 505 50.782s 0.004s 50.814s 01 50 5.188s 0.002s 5.217s 02 104 10.605s 0.002s 10.636s 03 1,017 102.077s 0.004s 102.109s 04 469 47.169s 0.003s 47.199s 05 186 18.843s 0.002s 18.875s 06 145 14.624s 0.002s 14.654s 07 120 12.211s 0.002s 12.241s 08 53 5.491s 0.002s 5.523s 09 1,986 199.217s 0.003s 199.296s 10 226 22.83s 0.002s 22.862s 11 136 13.811s 0.002s 13.841s 12 315 31.746s 0.003s 31.777s 13 133 13.511s 0.002s 13.543s 14 484 48.68s 0.003s 48.725s 15 146 14.807s 0.002s 14.837s 16 12,945 1,296.925s 0.003s 1,297.073s 17 215 21.721s 0.002s 21.751s 18 1,180 118.44s 0.003s 118.521s 19 67 6.81s 0.001s 6.828s 20 33,669 1,638.816s 0.003s 1,638.861s 21 74 7.489s 0.002s 7.518s 22 168 17.018s 0.002s 17.049s 23 9,740 975.465s 0.003s 975.602s Day Hour Added Removed Recycled Synced files Longest sync Average sync Aug 18 00 0 0 6 90 0.001s 0.002s 01 0 0 1 29 0.001s 0.002s 02 0 0 0 36 0.001s 0.002s 03 0 0 0 19 0.001s 0.002s 04 0 0 0 8 0.001s 0.001s 05 0 0 33 57 0.001s 0.003s 06 0 0 0 29 0.001s 0.002s 07 0 0 0 19 0.001s 0.002s 08 0 0 0 17 0.001s 0.002s 09 0 0 0 31 0.001s 0.002s 10 0 0 0 20 0.001s 0.002s 11 0 0 1 30 0.001s 0.002s 12 0 0 0 19 0.001s 0.001s 13 0 0 7 66 0.001s 0.003s 14 0 0 0 21 0.001s 0.002s 15 0 0 0 20 0.001s 0.002s 16 0 0 0 19 0.001s 0.002s 17 0 0 0 19 0.001s 0.002s 18 0 0 1 42 0.001s 0.002s 19 0 0 0 19 0.001s 0.002s 20 0 0 0 20 0.001s 0.002s 21 0 0 0 19 0.001s 0.002s 22 0 0 34 36 0.001s 0.002s 23 0 0 0 29 0.001s 0.002s Aug 19 00 0 0 1 82 0.001s 0.002s 01 0 0 0 27 0.001s 0.002s 02 0 0 35 48 0.001s 0.002s 03 0 0 37 40 0.001s 0.002s 04 0 0 1 56 0.001s 0.002s 05 0 0 1 47 0.001s 0.002s 06 0 0 0 30 0.001s 0.002s 07 0 0 7 125 0.001s 0.002s 08 0 0 0 42 0.001s 0.002s 09 0 0 1 33 0.001s 0.002s 10 0 0 0 19 0.001s 0.001s 11 0 0 43 151 0.001s 0.003s 12 0 0 3 32 0.001s 0.002s 13 0 0 1 43 0.001s 0.002s 14 0 0 0 77 0.001s 0.002s 15 0 0 0 69 0.001s 0.002s 16 0 0 0 114 0.001s 0.002s 17 0 0 0 28 0.001s 0.002s 18 0 0 0 26 0.001s 0.002s 19 0 0 0 21 0.001s 0.002s 20 0 0 0 19 0.001s 0.002s 21 0 0 1 44 0.001s 0.002s 22 0 0 0 22 0.001s 0.002s 23 0 0 3 45 0.001s 0.002s Aug 20 00 0 0 1 65 0.001s 0.002s 01 0 0 0 36 0.001s 0.002s 02 0 0 0 38 0.001s 0.002s 03 0 0 1 40 0.001s 0.002s 04 0 0 6 61 0.001s 0.002s 05 0 0 5 49 0.001s 0.002s 06 0 0 1 46 0.001s 0.002s 07 0 0 0 29 0.001s 0.002s 08 0 0 0 23 0.001s 0.002s 09 0 0 0 41 0.001s 0.002s 10 0 0 0 69 0.001s 0.002s 11 0 0 0 103 0.001s 0.002s 12 0 0 0 109 0.001s 0.002s 13 0 0 0 22 0.001s 0.002s 14 0 0 0 35 0.001s 0.002s 15 0 0 0 22 0.001s 0.002s 16 0 0 0 105 0.001s 0.002s 17 0 0 0 59 0.001s 0.002s 18 0 0 0 21 0.001s 0.002s 19 0 0 0 27 0.001s 0.002s 20 0 0 0 23 0.001s 0.002s 21 0 0 0 35 0.001s 0.002s 22 0 0 0 20 0.001s 0.002s 23 0 0 1 39 0.001s 0.002s Aug 21 00 0 0 1 94 0.001s 0.002s 01 0 0 0 35 0.001s 0.002s 02 0 0 1 28 0.001s 0.001s 03 0 0 37 53 0.001s 0.002s 04 0 0 39 78 0.001s 0.003s 05 0 0 0 28 0.001s 0.002s 06 0 0 0 32 0.001s 0.002s 07 0 0 0 30 0.001s 0.002s 08 0 0 1 34 0.001s 0.002s 09 0 0 0 59 0.001s 0.002s 10 0 0 0 61 0.001s 0.002s 11 0 0 6 83 0.001s 0.001s 12 0 0 34 198 0.001s 0.003s 13 0 0 0 65 0.001s 0.002s 14 0 0 0 112 0.001s 0.002s 15 0 0 0 94 0.001s 0.002s 16 0 0 0 64 0.001s 0.002s 17 0 0 0 63 0.001s 0.002s 18 0 0 0 23 0.001s 0.002s 19 0 0 0 20 0.001s 0.002s 20 0 0 1 29 0.001s 0.002s 21 0 0 0 16 0.001s 0.002s 22 0 0 3 45 0.001s 0.002s 23 0 0 0 33 0.001s 0.002s Aug 22 00 0 0 0 82 0.001s 0.002s 01 0 0 1 38 0.001s 0.002s 02 0 0 1 46 0.001s 0.002s 03 0 0 0 39 0.001s 0.002s 04 0 0 0 30 0.001s 0.002s 05 0 0 4 54 0.001s 0.002s 06 0 0 0 46 0.001s 0.002s 07 0 0 0 42 0.001s 0.002s 08 0 0 0 21 0.001s 0.002s 09 0 0 0 21 0.001s 0.002s 10 0 0 0 76 0.001s 0.002s 11 0 0 0 114 0.001s 0.002s 12 0 0 0 75 0.001s 0.002s 13 0 0 0 66 0.001s 0.002s 14 0 0 0 112 0.001s 0.002s 15 0 0 1 117 0.001s 0.002s 16 0 0 0 94 0.001s 0.002s 17 0 0 0 57 0.001s 0.002s 18 0 0 0 26 0.001s 0.002s 19 0 0 3 33 0.001s 0.002s 20 0 0 0 18 0.001s 0.002s 21 0 0 0 28 0.001s 0.002s 22 0 0 0 19 0.001s 0.002s 23 0 0 0 29 0.001s 0.002s Aug 23 00 0 0 0 72 0.002s 0.002s 01 0 0 0 26 0.001s 0.002s 02 0 0 0 30 0.001s 0.002s 03 0 0 0 10 0.001s 0.001s 04 0 0 43 79 0.001s 0.003s 05 0 0 0 45 0.001s 0.002s 06 0 0 5 63 0.001s 0.002s 07 0 0 1 140 0.001s 0.002s 08 0 0 33 70 0.001s 0.001s 09 0 0 0 39 0.001s 0.002s 10 0 0 8 36 0.001s 0.002s 11 0 0 2 129 0.001s 0.002s 12 0 0 0 115 0.001s 0.002s 13 0 0 0 59 0.001s 0.002s 14 0 0 0 78 0.001s 0.002s 15 0 0 0 100 0.001s 0.002s 16 0 0 0 62 0.001s 0.002s 17 0 0 0 19 0.001s 0.002s 18 0 0 0 28 0.001s 0.002s 19 0 0 0 21 0.001s 0.002s 20 0 0 0 18 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 0 24 0.001s 0.002s Aug 24 00 0 0 0 66 0.001s 0.002s 01 0 0 0 19 0.001s 0.002s 02 0 0 0 27 0.001s 0.002s 03 0 0 0 36 0.001s 0.002s 04 0 0 0 39 0.001s 0.002s 05 0 0 0 41 0.001s 0.002s 06 0 0 0 29 0.001s 0.002s 07 0 0 0 28 0.001s 0.002s 08 0 0 0 18 0.001s 0.002s 09 0 0 1 41 0.001s 0.002s 10 0 0 0 38 0.001s 0.002s 11 0 0 0 23 0.001s 0.002s 12 0 0 0 117 0.001s 0.002s 13 0 0 0 31 0.001s 0.002s 14 0 0 1 41 0.001s 0.002s 15 0 0 0 28 0.001s 0.002s 16 0 0 7 42 0.001s 0.002s 17 0 0 0 30 0.001s 0.002s 18 0 0 1 44 0.001s 0.002s 19 0 0 0 10 0.001s 0.001s 20 0 0 0 41 0.001s 0.003s 21 0 0 0 19 0.001s 0.002s 22 0 0 0 30 0.001s 0.002s 23 0 0 6 38 0.001s 0.002s Day Hour Count Avg time (sec) Aug 18 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Aug 19 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Aug 20 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Aug 21 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Aug 22 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Aug 23 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Aug 24 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Day Hour Mean distance Mean estimate Aug 18 00 51,252.50 kB 58,207.00 kB 01 4,850.50 kB 72,699.50 kB 02 3,312.50 kB 59,714.00 kB 03 129.00 kB 48,626.50 kB 04 201.00 kB 41,484.00 kB 05 181,137.00 kB 489,484.33 kB 06 303.00 kB 375,407.00 kB 07 185.00 kB 304,118.00 kB 08 153.00 kB 246,366.50 kB 09 1,563.00 kB 199,726.00 kB 10 158.00 kB 161,938.50 kB 11 2,080.50 kB 131,395.00 kB 12 686.00 kB 112,285.00 kB 13 37,871.67 kB 101,591.00 kB 14 223.50 kB 77,957.00 kB 15 504.00 kB 63,223.50 kB 16 458.00 kB 51,320.00 kB 17 124.50 kB 41,592.00 kB 18 9,297.00 kB 34,968.50 kB 19 106.50 kB 28,834.00 kB 20 139.00 kB 23,380.50 kB 21 154.50 kB 18,968.00 kB 22 277,954.50 kB 527,928.50 kB 23 556.00 kB 427,697.00 kB Aug 19 00 9,003.50 kB 347,854.50 kB 01 169.00 kB 282,110.50 kB 02 284,399.50 kB 524,300.00 kB 03 303,230.00 kB 576,091.00 kB 04 13,684.50 kB 468,022.50 kB 05 6,318.00 kB 380,963.50 kB 06 352.00 kB 309,191.00 kB 07 51,984.50 kB 260,290.50 kB 08 2,771.00 kB 211,152.50 kB 09 7,014.50 kB 172,606.50 kB 10 348.00 kB 147,210.00 kB 11 234,057.00 kB 584,436.00 kB 12 29,018.00 kB 455,274.00 kB 13 4,804.50 kB 369,263.00 kB 14 338.00 kB 299,571.50 kB 15 323.00 kB 242,715.50 kB 16 843.50 kB 196,758.50 kB 17 144.50 kB 159,419.50 kB 18 65.50 kB 129,145.00 kB 19 116.00 kB 104,627.00 kB 20 92.00 kB 84,766.50 kB 21 4,613.50 kB 69,524.50 kB 22 189.00 kB 56,359.50 kB 23 30,043.50 kB 55,219.00 kB Aug 20 00 1,969.50 kB 45,091.00 kB 01 5,643.00 kB 37,207.00 kB 02 506.50 kB 30,709.00 kB 03 4,542.00 kB 25,736.50 kB 04 52,092.50 kB 52,092.50 kB 05 43,286.50 kB 81,629.00 kB 06 945.00 kB 66,324.00 kB 07 317.50 kB 53,781.50 kB 08 300.50 kB 43,605.50 kB 09 789.00 kB 35,446.00 kB 10 550.00 kB 28,836.00 kB 11 620.00 kB 23,474.50 kB 12 859.00 kB 19,172.50 kB 13 123.50 kB 15,579.50 kB 14 369.50 kB 12,668.50 kB 15 165.50 kB 10,312.00 kB 16 546.50 kB 8,437.00 kB 17 307.50 kB 6,911.50 kB 18 162.50 kB 5,631.00 kB 19 332.00 kB 4,604.50 kB 20 154.50 kB 3,777.50 kB 21 962.50 kB 3,172.50 kB 22 171.00 kB 2,673.00 kB 23 7,174.00 kB 12,801.00 kB Aug 21 00 8,197.00 kB 13,240.50 kB 01 483.50 kB 10,910.50 kB 02 9,522.00 kB 10,279.00 kB 03 303,228.00 kB 575,494.50 kB 04 214,023.33 kB 578,259.67 kB 05 641.50 kB 443,488.00 kB 06 391.50 kB 359,335.50 kB 07 332.00 kB 291,110.50 kB 08 1,842.00 kB 236,012.50 kB 09 336.50 kB 191,370.50 kB 10 590.50 kB 155,137.00 kB 11 102,655.00 kB 142,548.00 kB 12 187,124.67 kB 467,402.67 kB 13 472.50 kB 359,776.00 kB 14 746.50 kB 291,530.00 kB 15 431.50 kB 236,239.00 kB 16 304.00 kB 191,405.50 kB 17 318.50 kB 155,120.50 kB 18 120.50 kB 125,666.50 kB 19 101.50 kB 101,810.50 kB 20 345.50 kB 82,531.50 kB 21 120.00 kB 66,872.50 kB 22 24,843.00 kB 56,829.00 kB 23 1,268.50 kB 48,229.50 kB Aug 22 00 2,460.50 kB 39,580.00 kB 01 4,175.00 kB 32,539.50 kB 02 8,185.50 kB 28,283.50 kB 03 406.50 kB 22,971.50 kB 04 255.00 kB 18,655.00 kB 05 31,745.50 kB 31,861.50 kB 06 1,550.00 kB 39,556.50 kB 07 2,532.00 kB 32,592.50 kB 08 121.50 kB 26,461.50 kB 09 110.00 kB 21,453.50 kB 10 711.00 kB 17,476.00 kB 11 577.50 kB 14,286.50 kB 12 762.50 kB 11,734.50 kB 13 335.00 kB 9,567.00 kB 14 691.50 kB 7,862.00 kB 15 3,046.50 kB 6,713.00 kB 16 371.00 kB 5,745.50 kB 17 234.00 kB 4,714.00 kB 18 69.00 kB 3,833.50 kB 19 22,854.50 kB 24,434.00 kB 20 66.00 kB 38,984.00 kB 21 313.50 kB 31,636.00 kB 22 110.50 kB 25,643.50 kB 23 362.00 kB 20,820.00 kB Aug 23 00 1,423.00 kB 17,099.00 kB 01 193.50 kB 13,933.00 kB 02 215.00 kB 11,325.50 kB 03 42.00 kB 9,679.00 kB 04 223,675.00 kB 596,899.67 kB 05 15,521.00 kB 461,023.00 kB 06 45,935.00 kB 380,146.50 kB 07 1,441.50 kB 310,167.50 kB 08 548,323.00 kB 548,323.00 kB 09 2,051.00 kB 469,186.50 kB 10 66,995.00 kB 392,784.50 kB 11 9,521.00 kB 319,140.00 kB 12 1,083.50 kB 259,482.50 kB 13 236.50 kB 210,264.00 kB 14 4,253.00 kB 170,779.50 kB 15 593.00 kB 138,775.50 kB 16 319.00 kB 112,492.00 kB 17 64.00 kB 91,132.00 kB 18 251.50 kB 73,849.50 kB 19 82.00 kB 59,849.50 kB 20 80.50 kB 48,493.50 kB 21 80.00 kB 39,294.00 kB 22 107.00 kB 31,848.00 kB 23 308.50 kB 25,853.50 kB Aug 24 00 1,325.00 kB 21,138.50 kB 01 16.00 kB 17,186.00 kB 02 158.00 kB 13,950.00 kB 03 2,928.50 kB 11,843.00 kB 04 1,164.50 kB 9,824.00 kB 05 457.00 kB 8,022.50 kB 06 329.50 kB 6,582.00 kB 07 247.00 kB 5,378.50 kB 08 73.50 kB 4,372.00 kB 09 7,137.00 kB 8,968.00 kB 10 558.00 kB 12,219.00 kB 11 271.00 kB 9,968.50 kB 12 852.50 kB 8,186.50 kB 13 290.50 kB 6,722.00 kB 14 1,562.50 kB 5,642.00 kB 15 301.00 kB 4,742.00 kB 16 61,283.00 kB 116,332.00 kB 17 382.00 kB 94,276.00 kB 18 3,347.00 kB 77,024.00 kB 19 89.00 kB 65,688.00 kB 20 242.67 kB 53,451.00 kB 21 79.00 kB 41,010.50 kB 22 385.00 kB 33,268.00 kB 23 51,261.00 kB 97,321.50 kB -
Temporary Files
Size of temporary files
Key values
- 11.72 GiB Temp Files size Peak
- 2024-08-19 05:44:29 Date
Number of temporary files
Key values
- 12 per second Temp Files Peak
- 2024-08-19 05:44:29 Date
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Aug 18 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Aug 19 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 48 46.88 GiB 1000.21 MiB 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Aug 20 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Aug 21 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Aug 22 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Aug 23 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Aug 24 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Queries generating the most temporary files (N)
Rank Count Total size Min size Max size Avg size Query 1 42 41.02 GiB 881.24 MiB 1.00 GiB 1000.21 MiB select distinct ;-
select distinct ;
Date: 2024-08-19 05:21:39 Duration: 0ms
Queries generating the largest temporary files
Rank Size Query 1 1.00 GiB select distinct ;[ Date: 2024-08-19 05:21:39 ]
2 1.00 GiB select distinct ;[ Date: 2024-08-19 05:21:39 ]
3 1.00 GiB select distinct ;[ Date: 2024-08-19 05:21:39 ]
4 1.00 GiB select distinct ;[ Date: 2024-08-19 05:21:39 ]
5 1.00 GiB select distinct ;[ Date: 2024-08-19 05:21:39 ]
6 1.00 GiB select distinct ;[ Date: 2024-08-19 05:30:00 ]
7 1.00 GiB select distinct ;[ Date: 2024-08-19 05:30:00 ]
8 1.00 GiB select distinct ;[ Date: 2024-08-19 05:30:00 ]
9 1.00 GiB select distinct ;[ Date: 2024-08-19 05:30:00 ]
10 1.00 GiB select distinct ;[ Date: 2024-08-19 05:30:00 ]
11 1.00 GiB select distinct ;[ Date: 2024-08-19 05:44:20 ]
12 1.00 GiB select distinct ;[ Date: 2024-08-19 05:44:20 ]
13 1.00 GiB select distinct ;[ Date: 2024-08-19 05:44:20 ]
14 1.00 GiB select distinct ;[ Date: 2024-08-19 05:44:20 ]
15 1.00 GiB select distinct ;[ Date: 2024-08-19 05:44:20 ]
16 1.00 GiB select distinct ;[ Date: 2024-08-19 05:44:26 ]
17 1.00 GiB select distinct ;[ Date: 2024-08-19 05:44:26 ]
18 1.00 GiB select distinct ;[ Date: 2024-08-19 05:44:26 ]
19 1.00 GiB select distinct ;[ Date: 2024-08-19 05:44:26 ]
20 1.00 GiB select distinct ;[ Date: 2024-08-19 05:44:26 ]
-
Vacuums
Vacuums / Analyzes Distribution
Key values
- 41.97 sec Highest CPU-cost vacuum
Table pub1.term_set_enrichment_agent
Database ctdprd51 - 2024-08-23 03:37:53 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 41.97 sec Highest CPU-cost vacuum
Table pub1.term_set_enrichment_agent
Database ctdprd51 - 2024-08-23 03:37:53 Date
Analyzes per table
Key values
- pubc.log_query (117) Main table analyzed (database ctdprd51)
- 127 analyzes Total
Vacuums per table
Key values
- pubc.log_query (19) Main table vacuumed on database ctdprd51
- 28 vacuums Total
Index Buffer usage Skipped WAL usage Table Vacuums scans hits misses dirtied pins frozen records full page bytes ctdprd51.pubc.log_query 19 12 10,030 0 1,965 0 4 4,571 397 2,590,664 ctdprd51.pub1.term_set_enrichment 2 0 13,754 0 6,282 0 0 6,770 4 427,836 ctdprd51.pub1.term_set_enrichment_agent 2 0 670,471 0 292,341 0 0 314,666 13 18,670,294 ctdprd51.pg_catalog.pg_statistic 1 1 640 0 126 0 37 398 120 560,708 ctdprd51.pg_toast.pg_toast_486223 1 0 40 0 4 0 0 7 1 8,739 ctdprd51.pg_catalog.pg_type 1 1 142 0 35 0 0 60 30 136,187 ctdprd51.pg_toast.pg_toast_2619 1 1 3,646 0 1,358 0 9,983 3,218 1,058 526,076 ctdprd51.pg_catalog.pg_class 1 1 266 0 62 0 0 134 58 279,908 Total 28 16 698,989 1,486 302,173 0 10,024 329,824 1,681 23,200,412 Tuples removed per table
Key values
- pubc.log_query (21960) Main table with removed tuples on database ctdprd51
- 26523 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain ctdprd51.pubc.log_query 19 12 21,960 57,276 0 0 2,674 ctdprd51.pg_toast.pg_toast_2619 1 1 3,982 19,683 0 0 12,592 ctdprd51.pg_catalog.pg_statistic 1 1 425 2,627 0 0 290 ctdprd51.pg_catalog.pg_class 1 1 84 1,794 0 0 61 ctdprd51.pg_catalog.pg_type 1 1 72 1,155 0 0 35 ctdprd51.pub1.term_set_enrichment 2 0 0 2,045,165 0 0 33,848 ctdprd51.pg_toast.pg_toast_486223 1 0 0 26 0 0 6 ctdprd51.pub1.term_set_enrichment_agent 2 0 0 139,737,351 0 0 1,587,927 Total 28 16 26,523 141,865,077 0 0 1,637,433 Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Pages removed per tables
NO DATASET
Table Number of vacuums Index scans Tuples removed Pages removed ctdprd51.pg_catalog.pg_statistic 1 1 425 0 ctdprd51.pubc.log_query 19 12 21960 0 ctdprd51.pub1.term_set_enrichment 2 0 0 0 ctdprd51.pg_toast.pg_toast_486223 1 0 0 0 ctdprd51.pg_catalog.pg_type 1 1 72 0 ctdprd51.pg_toast.pg_toast_2619 1 1 3982 0 ctdprd51.pg_catalog.pg_class 1 1 84 0 ctdprd51.pub1.term_set_enrichment_agent 2 0 0 0 Total 28 16 26,523 0 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Aug 18 00 0 1 01 0 16 02 0 0 03 0 0 04 0 0 05 0 1 06 0 0 07 0 0 08 0 0 09 0 0 10 0 0 11 0 0 12 0 0 13 0 1 14 0 0 15 0 0 16 0 0 17 0 0 18 0 0 19 0 0 20 0 0 21 0 0 22 0 0 23 0 0 Aug 19 00 0 0 01 0 2 02 0 3 03 0 1 04 0 2 05 0 4 06 0 0 07 0 1 08 0 1 09 0 0 10 0 0 11 0 1 12 0 0 13 0 1 14 0 0 15 0 1 16 0 0 17 0 0 18 0 0 19 0 0 20 0 0 21 0 1 22 0 0 23 0 1 Aug 20 00 0 1 01 0 1 02 0 1 03 0 1 04 0 3 05 0 4 06 0 1 07 0 0 08 0 1 09 0 0 10 0 1 11 0 0 12 0 1 13 0 0 14 0 1 15 0 0 16 0 0 17 0 0 18 0 0 19 0 1 20 0 0 21 0 0 22 0 0 23 0 2 Aug 21 00 0 4 01 0 4 02 0 3 03 0 4 04 0 2 05 0 2 06 0 0 07 0 1 08 0 0 09 0 0 10 0 0 11 0 2 12 0 0 13 0 0 14 0 0 15 0 0 16 0 0 17 0 0 18 0 0 19 0 1 20 0 0 21 0 0 22 0 0 23 0 0 Aug 22 00 0 0 01 0 2 02 0 2 03 0 1 04 0 1 05 0 4 06 0 0 07 0 1 08 0 0 09 0 1 10 0 0 11 0 0 12 0 1 13 0 0 14 0 0 15 0 1 16 0 0 17 0 0 18 0 0 19 0 0 20 0 1 21 0 0 22 0 0 23 0 1 Aug 23 00 0 0 01 0 1 02 0 1 03 0 1 04 0 1 05 0 3 06 0 1 07 0 0 08 0 0 09 0 1 10 0 0 11 0 1 12 0 0 13 0 0 14 0 1 15 0 0 16 0 0 17 0 0 18 0 1 19 0 0 20 0 0 21 0 0 22 0 0 23 0 0 Aug 24 00 0 1 01 0 0 02 0 1 03 0 1 04 0 2 05 0 4 06 0 0 07 0 1 08 0 0 09 0 2 10 0 1 11 0 0 12 0 1 13 0 0 14 0 0 15 0 1 16 0 1 17 0 0 18 0 0 19 0 1 20 0 0 21 0 0 22 0 2 23 0 0 - 41.97 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- unknown Main Lock Type
- 0 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query NO DATASET
Queries that waited the most
Rank Wait time Query NO DATASET
-
Queries
Queries by type
Key values
- 5,130 Total read queries
- 359 Total write queries
Queries by database
Key values
- ctdprd51 Main database
- 4,004 Requests
- 1d16h33m27s (ctdprd51)
- Main time consuming database
Queries by user
Key values
- pubeu Main user
- 7,414 Requests
User Request type Count Duration postgres Total 108 42m41s copy to 108 42m41s pubeu Total 7,414 3d4m44s cte 48 2m34s select 7,366 3d2m10s qaeu Total 69 2m51s cte 17 57s506ms select 52 1m53s unknown Total 3,356 21h21m31s copy to 704 6h34m52s cte 44 54s873ms others 9 44s964ms select 2,599 14h44m58s Duration by user
Key values
- 3d4m44s (pubeu) Main time consuming user
User Request type Count Duration postgres Total 108 42m41s copy to 108 42m41s pubeu Total 7,414 3d4m44s cte 48 2m34s select 7,366 3d2m10s qaeu Total 69 2m51s cte 17 57s506ms select 52 1m53s unknown Total 3,356 21h21m31s copy to 704 6h34m52s cte 44 54s873ms others 9 44s964ms select 2,599 14h44m58s Queries by host
Key values
- unknown Main host
- 10,947 Requests
- 3d22h11m48s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 5,447 Requests
- 2d2h34m1s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2024-08-22 13:00:02 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 3,311 > 10000ms duration
Slowest individual queries
Rank Duration Query 1 23m39s COPY pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;[ Date: 2024-08-24 19:00:33 ]
2 23m35s COPY pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;[ Date: 2024-08-24 19:42:23 ]
3 16m34s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-08-18 00:16:36 ]
4 16m31s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-08-21 00:16:33 ]
5 16m31s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-08-24 00:16:33 ]
6 16m31s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-08-23 00:16:32 ]
7 16m29s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-08-22 00:16:30 ]
8 16m28s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-08-19 00:16:30 ]
9 16m25s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-08-20 00:16:26 ]
10 12m41s SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'JUND') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5))) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;[ Date: 2024-08-18 21:31:28 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
11 12m37s SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'JUND') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5))) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;[ Date: 2024-08-18 20:54:36 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
12 12m35s SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'JUND') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5))) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;[ Date: 2024-08-18 21:32:13 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
13 12m30s SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'JUND') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5))) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;[ Date: 2024-08-18 21:33:05 - Bind query: yes ]
14 12m19s SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'JUN') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5))) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;[ Date: 2024-08-18 20:43:58 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
15 12m17s SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'JUND') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5))) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;[ Date: 2024-08-18 21:30:14 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
16 12m10s SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'JUND') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5))) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;[ Date: 2024-08-18 20:54:55 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
17 12m10s SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'JUND') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5))) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;[ Date: 2024-08-18 21:34:06 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
18 12m9s SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'JUN') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5))) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;[ Date: 2024-08-18 20:43:42 - Bind query: yes ]
19 11m58s SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'JUN') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5))) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;[ Date: 2024-08-18 20:43:57 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
20 11m49s SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'JUN') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5))) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;[ Date: 2024-08-18 21:28:49 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 1d15h23m13s 2,992 1s8ms 57s358ms 47s390ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ? offset ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Aug 18 00 1 4s366ms 4s366ms 04 1 1s288ms 1s288ms 07 1 1s388ms 1s388ms 11 1 26s32ms 26s32ms 15 13 15s396ms 1s184ms 20 24 18m50s 47s115ms 21 72 57m34s 47s982ms 22 74 57m58s 47s12ms 23 73 57m9s 46s976ms Aug 19 00 73 57m22s 47s151ms 01 73 57m26s 47s213ms 02 73 57m26s 47s218ms 03 73 57m29s 47s257ms 04 73 57m41s 47s411ms 05 57 45m5s 47s471ms 06 72 57m11s 47s662ms 07 73 57m48s 47s517ms 08 73 57m55s 47s611ms 09 72 57m 47s501ms 10 72 57m20s 47s790ms 11 73 58m6s 47s758ms 12 72 57m17s 47s748ms 13 72 57m27s 47s887ms 14 72 57m25s 47s858ms 15 72 57m41s 48s72ms 16 72 57m38s 48s40ms 17 72 57m38s 48s28ms 18 72 57m45s 48s131ms 19 71 56m52s 48s68ms 20 72 57m49s 48s185ms 21 72 57m40s 48s59ms 22 73 57m49s 47s526ms 23 71 57m9s 48s299ms Aug 20 00 72 57m46s 48s142ms 01 71 57m11s 48s330ms 02 74 57m50s 46s899ms 03 72 58m3s 48s380ms 04 71 57m47s 48s841ms 05 41 33m43s 49s350ms 15 1 1s290ms 1s290ms 16 1 2s713ms 2s713ms 19 1 2s366ms 2s366ms 21 52 41m47s 48s222ms 22 71 57m8s 48s292ms 23 72 57m56s 48s288ms Aug 21 00 71 57m19s 48s449ms 01 71 57m25s 48s522ms 02 71 57m28s 48s571ms 03 72 57m32s 47s951ms 04 71 57m34s 48s659ms 05 43 34m50s 48s608ms 14 1 10s234ms 10s234ms 16 1 2s627ms 2s627ms Aug 22 05 1 1s221ms 1s221ms 07 1 1s282ms 1s282ms 19 1 1s623ms 1s623ms 22 1 1s271ms 1s271ms Aug 23 05 1 5s7ms 5s7ms 14 2 5s696ms 2s848ms 16 1 15s803ms 15s803ms Aug 24 11 1 5s275ms 5s275ms 13 1 11s709ms 11s709ms 14 1 1s305ms 1s305ms 19 1 2s727ms 2s727ms [ User: pubeu - Total duration: 1d10h59m52s - Times executed: 2649 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2077399') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 2674150;
Date: 2024-08-20 02:51:07 Duration: 57s358ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2077399') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 2681800;
Date: 2024-08-20 05:00:52 Duration: 55s745ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2077399') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 2673550;
Date: 2024-08-20 02:40:07 Duration: 55s463ms Bind query: yes
2 2h35m38s 13 10m50s 12m41s 11m58s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?))) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?)) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by c.nm_sort, g.nm_sort, i.sort_txt limit ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Aug 18 20 6 1h10m42s 11m47s 21 6 1h14m5s 12m20s Aug 19 08 1 10m50s 10m50s [ User: pubeu - Total duration: 1h59m53s - Times executed: 10 ]
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'JUND') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5))) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-08-18 21:31:28 Duration: 12m41s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'JUND') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5))) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-08-18 21:32:13 Duration: 12m35s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'JUND') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5))) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-08-18 21:33:05 Duration: 12m30s Bind query: yes
3 1h55m32s 7 16m25s 16m34s 16m30s select maint_query_logs_archive ();Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Aug 18 00 1 16m34s 16m34s Aug 19 00 1 16m28s 16m28s Aug 20 00 1 16m25s 16m25s Aug 21 00 1 16m31s 16m31s Aug 22 00 1 16m29s 16m29s Aug 23 00 1 16m31s 16m31s Aug 24 00 1 16m31s 16m31s -
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-08-18 00:16:36 Duration: 16m34s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-08-21 00:16:33 Duration: 16m31s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-08-24 00:16:33 Duration: 16m31s
4 25m16s 5 4m56s 5m11s 5m3s select distinct phenotypeterm.nm as gonm, phenotypeterm.nm_html as gonmhtml, phenotypeterm.acc_txt as goacc, diseaseterm.nm as diseasenm, diseaseterm.nm_html as diseasenmhtml, diseaseterm.acc_txt as diseaseacc, diseaseterm.acc_db_cd as diseaseaccdbcd, chemterm.nm as chemnm, chemterm.nm_html as chemnmhtml, chemterm.acc_txt as chemacc, geneterm.nm as genesymbol, geneterm.nm_html as genesymbolhtml, geneterm.acc_txt as geneacc, count(*) over () fullrowcount from phenotype_term_reference viachemptr, phenotype_term_reference viageneptr, term phenotypeterm, term diseaseterm, term geneterm, term chemterm where diseaseterm.id = any (array ( select baseterm.id from term baseterm where baseterm.object_type_id = ? and baseterm.id in ( select term_id from term_label tl where upper(tl.nm) = ? and tl.object_type_id = ?))) and viachemptr.phenotype_id = phenotypeterm.id and viachemptr.term_object_type_id = ? and viachemptr.term_id = diseaseterm.id and viachemptr.via_term_object_type_id = ? and viachemptr.via_term_id = chemterm.id and viachemptr.term_id = viageneptr.term_id and viachemptr.phenotype_id = viageneptr.phenotype_id and viageneptr.via_term_object_type_id = ? and viageneptr.via_term_id = geneterm.id and exists ( select ? from gene_chem_reference where gene_id = geneterm.id and chem_id = chemterm.id) group by phenotypeterm.nm, phenotypeterm.nm_html, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.nm_html, diseaseterm.acc_txt, diseaseterm.acc_db_cd, chemterm.nm, chemterm.nm_html, chemterm.acc_txt, geneterm.nm, geneterm.nm_html, geneterm.acc_txt order by geneterm.nm limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Aug 19 05 5 25m16s 5m3s [ User: pubeu - Total duration: 15m9s - Times executed: 3 ]
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where diseaseTerm.id = ANY (ARRAY ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'HYPERTENSION' AND tl.object_type_id = 3))) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by geneTerm.nm LIMIT 50;
Date: 2024-08-19 05:44:35 Duration: 5m11s Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where diseaseTerm.id = ANY (ARRAY ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'HYPERTENSION' AND tl.object_type_id = 3))) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by geneTerm.nm LIMIT 50;
Date: 2024-08-19 05:44:34 Duration: 5m8s Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where diseaseTerm.id = ANY (ARRAY ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'HYPERTENSION' AND tl.object_type_id = 3))) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by geneTerm.nm LIMIT 50;
Date: 2024-08-19 05:44:29 Duration: 5m1s Database: ctdprd51 User: pubeu Bind query: yes
5 24m48s 2 12m10s 12m37s 12m24s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?))) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?)) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by c.nm_sort, g.nm_sort, i.sort_txt limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Aug 18 20 2 24m48s 12m24s [ User: pubeu - Total duration: 24m48s - Times executed: 2 ]
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'JUND') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5))) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-08-18 20:54:36 Duration: 12m37s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'JUND') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5))) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-08-18 20:54:55 Duration: 12m10s Database: ctdprd51 User: pubeu Bind query: yes
6 23m39s 1 23m39s 23m39s 23m39s copy pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Aug 24 19 1 23m39s 23m39s -
COPY pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2024-08-24 19:00:33 Duration: 23m39s
7 23m35s 1 23m35s 23m35s 23m35s copy pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Aug 24 19 1 23m35s 23m35s -
COPY pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2024-08-24 19:42:23 Duration: 23m35s
8 18m59s 287 3s744ms 5s479ms 3s971ms 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 Aug 18 03 2 7s881ms 3s940ms 07 2 8s62ms 4s31ms 08 1 3s899ms 3s899ms 09 4 15s626ms 3s906ms 10 1 3s994ms 3s994ms 11 1 3s887ms 3s887ms 14 1 3s873ms 3s873ms 15 6 24s286ms 4s47ms 16 1 3s933ms 3s933ms 17 1 3s956ms 3s956ms 21 1 4s62ms 4s62ms Aug 19 00 1 3s821ms 3s821ms 01 2 8s209ms 4s104ms 03 2 7s800ms 3s900ms 04 2 7s702ms 3s851ms 05 1 4s793ms 4s793ms 06 3 11s767ms 3s922ms 07 4 15s664ms 3s916ms 08 1 3s917ms 3s917ms 09 1 3s903ms 3s903ms 10 4 15s951ms 3s987ms 11 2 7s773ms 3s886ms 12 2 8s259ms 4s129ms 13 4 15s829ms 3s957ms 15 10 39s452ms 3s945ms 16 3 11s953ms 3s984ms 17 3 12s174ms 4s58ms 20 1 4s136ms 4s136ms 21 2 7s689ms 3s844ms 22 1 3s939ms 3s939ms 23 1 3s876ms 3s876ms Aug 20 00 3 11s929ms 3s976ms 01 4 18s429ms 4s607ms 02 2 7s901ms 3s950ms 03 3 11s963ms 3s987ms 04 2 8s74ms 4s37ms 05 1 4s3ms 4s3ms 06 1 4s4ms 4s4ms 07 1 3s881ms 3s881ms 08 2 7s747ms 3s873ms 10 6 23s917ms 3s986ms 12 1 3s856ms 3s856ms 13 3 11s890ms 3s963ms 14 1 3s896ms 3s896ms 15 2 7s858ms 3s929ms 17 2 7s867ms 3s933ms 21 2 8s39ms 4s19ms 22 1 4s122ms 4s122ms Aug 21 00 4 16s302ms 4s75ms 03 5 19s777ms 3s955ms 06 1 3s936ms 3s936ms 07 3 12s167ms 4s55ms 08 1 4s35ms 4s35ms 09 1 3s916ms 3s916ms 11 1 3s985ms 3s985ms 12 4 16s38ms 4s9ms 13 1 3s915ms 3s915ms 14 2 7s801ms 3s900ms 15 2 7s811ms 3s905ms 17 1 3s959ms 3s959ms 21 2 8s280ms 4s140ms 22 1 3s842ms 3s842ms 23 2 7s803ms 3s901ms Aug 22 01 5 20s217ms 4s43ms 02 1 4s63ms 4s63ms 03 1 3s898ms 3s898ms 04 2 7s977ms 3s988ms 05 3 11s597ms 3s865ms 06 2 7s857ms 3s928ms 07 1 4s9ms 4s9ms 09 2 7s713ms 3s856ms 10 5 19s841ms 3s968ms 11 2 8s547ms 4s273ms 12 2 8s47ms 4s23ms 14 2 7s966ms 3s983ms 16 6 23s665ms 3s944ms 18 3 12s23ms 4s7ms 22 3 11s832ms 3s944ms 23 3 12s194ms 4s64ms Aug 23 00 3 11s698ms 3s899ms 03 2 7s857ms 3s928ms 04 4 15s938ms 3s984ms 05 4 15s402ms 3s850ms 08 4 15s579ms 3s894ms 10 1 3s849ms 3s849ms 11 2 7s884ms 3s942ms 12 1 3s897ms 3s897ms 13 1 4s123ms 4s123ms 14 3 11s785ms 3s928ms 17 2 7s779ms 3s889ms 18 1 3s965ms 3s965ms 22 2 7s915ms 3s957ms Aug 24 02 1 3s821ms 3s821ms 04 1 4s17ms 4s17ms 07 1 3s908ms 3s908ms 09 18 1m10s 3s901ms 10 14 55s91ms 3s935ms 11 2 7s677ms 3s838ms 13 4 15s674ms 3s918ms 14 10 38s858ms 3s885ms 15 7 27s461ms 3s923ms 16 4 15s844ms 3s961ms 18 1 4s19ms 4s19ms 21 11 45s262ms 4s114ms 22 1 3s802ms 3s802ms [ User: pubeu - Total duration: 12m7s - Times executed: 183 ]
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1335779') AND stm.slim_term_id = st.slim_term_id AND cd.curated_reference_qty > 0) curatedCount, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1335779') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-08-20 01:25:57 Duration: 5s479ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1411318') 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 = '1411318') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-08-20 01:41:56 Duration: 5s272ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1336897') 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 = '1336897') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-08-19 05:43:28 Duration: 4s793ms Database: ctdprd51 User: pubeu Bind query: yes
9 17m22s 109 1s56ms 1m9s 9s564ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Aug 18 06 1 2s101ms 2s101ms Aug 19 05 1 1s56ms 1s56ms 06 9 11s118ms 1s235ms 07 1 2s10ms 2s10ms 10 1 1s95ms 1s95ms 15 1 3s435ms 3s435ms 23 1 1s999ms 1s999ms Aug 20 01 3 16s460ms 5s486ms 02 23 3m2s 7s937ms 04 10 1m15s 7s597ms 05 7 41s911ms 5s987ms 09 1 1s615ms 1s615ms 13 8 15s115ms 1s889ms Aug 21 01 2 16s186ms 8s93ms 02 1 7s465ms 7s465ms 10 1 2s160ms 2s160ms 11 13 8m55s 41s203ms 12 2 15s931ms 7s965ms 14 1 33s307ms 33s307ms 20 1 1s506ms 1s506ms Aug 22 00 2 15s14ms 7s507ms 01 2 15s268ms 7s634ms 05 1 1s248ms 1s248ms 06 2 2s357ms 1s178ms 11 2 15s344ms 7s672ms 12 1 7s363ms 7s363ms Aug 23 19 3 5s392ms 1s797ms Aug 24 09 4 5s945ms 1s486ms 10 4 5s928ms 1s482ms [ User: pubeu - Total duration: 14m11s - Times executed: 84 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2084677') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-08-21 11:20:31 Duration: 1m9s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2084677') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-08-21 11:20:31 Duration: 1m8s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2084677') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-08-21 11:19:36 Duration: 37s584ms Bind query: yes
10 15m8s 22 1s335ms 4m39s 41s280ms select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Aug 18 15 1 1m10s 1m10s 18 1 1s672ms 1s672ms 19 1 1s495ms 1s495ms 20 1 1m22s 1m22s Aug 19 04 1 3s229ms 3s229ms 06 1 1s540ms 1s540ms 08 1 1s523ms 1s523ms Aug 20 04 6 4m49s 48s209ms 18 1 1s507ms 1s507ms 23 1 1s335ms 1s335ms Aug 22 08 1 1s574ms 1s574ms 10 1 4m36s 4m36s 20 1 1s416ms 1s416ms 23 1 1m18s 1m18s Aug 23 09 1 1s504ms 1s504ms 11 1 1s395ms 1s395ms Aug 24 23 1 1m32s 1m32s [ User: pubeu - Total duration: 5m40s - Times executed: 14 ]
-
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 = '1232860') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-08-20 04:24:14 Duration: 4m39s 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 = '1232860') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-08-22 10:13:19 Duration: 4m36s 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 = '1252386') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-08-24 23:43:08 Duration: 1m32s Database: ctdprd51 User: pubeu Bind query: yes
11 14m3s 25 33s333ms 34s83ms 33s732ms copy pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) to stdout;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Aug 18 06 1 33s604ms 33s604ms 10 1 33s677ms 33s677ms 14 1 33s622ms 33s622ms 18 1 33s557ms 33s557ms Aug 19 06 1 33s874ms 33s874ms 10 1 33s675ms 33s675ms 14 1 33s792ms 33s792ms 18 1 33s934ms 33s934ms Aug 20 06 1 33s767ms 33s767ms 10 1 33s687ms 33s687ms 14 1 33s932ms 33s932ms 18 1 33s709ms 33s709ms Aug 21 06 1 33s657ms 33s657ms 10 1 33s727ms 33s727ms 14 1 33s782ms 33s782ms 18 1 33s671ms 33s671ms Aug 22 06 1 33s955ms 33s955ms 10 1 33s745ms 33s745ms 14 1 34s83ms 34s83ms 18 1 33s823ms 33s823ms Aug 23 06 1 33s587ms 33s587ms 10 1 33s629ms 33s629ms 14 1 33s677ms 33s677ms 18 1 33s809ms 33s809ms Aug 24 19 1 33s333ms 33s333ms [ User: postgres - Total duration: 13m29s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 13m29s - Times executed: 24 ]
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-08-22 14:05:36 Duration: 34s83ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-08-22 06:05:35 Duration: 33s955ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-08-19 18:05:35 Duration: 33s934ms Database: ctdprd51 User: postgres Application: pg_dump
12 11m26s 8 1m25s 1m26s 1m25s 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(?, ? reference ? pg_catalog.english ? aortic & smooth & muscle & and & select & ? & from & select & count &, || & ? x7176707071) 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 ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or 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 ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ?)) ii group by ii.cd;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Aug 18 15 8 11m26s 1m25s [ User: pubeu - Total duration: 10m - Times executed: 7 ]
-
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', 'AORTIC & SMOOTH & MUSCLE & AND & SELECT & 6515 & FROM & SELECT & COUNT & ,CONCAT & 0X7176707071) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' AORTIC & SMOOTH & MUSCLE & AND & SELECT & 6515 & FROM & SELECT & COUNT &, || & 0X7176707071) 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 'AORTIC' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SMOOTH' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'MUSCLE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '6515' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7176707071,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '6515=6515,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X7178767071,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'X' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'X' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'A' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'TOVD' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'TOVD')) 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 'AORTIC' OR upper(l.acc_txt) LIKE 'SMOOTH' OR upper(l.acc_txt) LIKE 'MUSCLE' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '6515' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7176707071,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '6515=6515,1' OR upper(l.acc_txt) LIKE ',0X7178767071,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'TOVD' OR upper(l.acc_txt) LIKE '=' OR upper(l.acc_txt) LIKE 'TOVD')) ii GROUP BY ii.cd;
Date: 2024-08-18 15:17:03 Duration: 1m26s 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', 'AORTIC & SMOOTH & MUSCLE & AND & SELECT & 6515 & FROM & SELECT & COUNT & ,CONCAT & 0X7176707071) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' AORTIC & SMOOTH & MUSCLE & AND & SELECT & 6515 & FROM & SELECT & COUNT &, || & 0X7176707071) 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 'AORTIC' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SMOOTH' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'MUSCLE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '6515' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7176707071,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '6515=6515,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X7178767071,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'X' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'X' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'A' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'IPGL' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'IPGL')) 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 'AORTIC' OR upper(l.acc_txt) LIKE 'SMOOTH' OR upper(l.acc_txt) LIKE 'MUSCLE' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '6515' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7176707071,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '6515=6515,1' OR upper(l.acc_txt) LIKE ',0X7178767071,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'IPGL' OR upper(l.acc_txt) LIKE '=' OR upper(l.acc_txt) LIKE 'IPGL')) ii GROUP BY ii.cd;
Date: 2024-08-18 15:18:33 Duration: 1m26s 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', 'AORTIC & SMOOTH & MUSCLE & AND & SELECT & 6515 & FROM & SELECT & COUNT & ,CONCAT & 0X7176707071) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' AORTIC & SMOOTH & MUSCLE & AND & SELECT & 6515 & FROM & SELECT & COUNT &, || & 0X7176707071) 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 'AORTIC' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SMOOTH' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'MUSCLE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '6515' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7176707071,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '6515=6515,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X7178767071,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'X' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'X' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'A' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'IPGL' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'IPGL')) 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 'AORTIC' OR upper(l.acc_txt) LIKE 'SMOOTH' OR upper(l.acc_txt) LIKE 'MUSCLE' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '6515' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7176707071,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '6515=6515,1' OR upper(l.acc_txt) LIKE ',0X7178767071,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'IPGL' OR upper(l.acc_txt) LIKE '=' OR upper(l.acc_txt) LIKE 'IPGL')) ii GROUP BY ii.cd;
Date: 2024-08-18 15:19:03 Duration: 1m25s Database: ctdprd51 User: pubeu Bind query: yes
13 10m40s 1 10m40s 10m40s 10m40s select gcr.ixn_id, null, gcr.gene_id, null from gene_chem_reference gcr where gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select gd.gene_id from term t inner join dag_path dp on t.id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(t.nm) like ? and t.object_type_id = ? and gd.curated_reference_qty > ?)));Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Aug 24 06 1 10m40s 10m40s -
SELECT /* CIQH.getIxnCacheQuery */ gcr.ixn_id, NULL, gcr.gene_id, NULL FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'FLIG') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RESPIRATORY TRACT DISEASES' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0)));
Date: 2024-08-24 06:41:38 Duration: 10m40s Bind query: yes
14 10m30s 1 10m30s 10m30s 10m30s select g.id geneid, g.acc_txt acc, g.nm nm, g.nm nmhtml, g.secondary_nm secondarynm, g.has_chems haschems, g.has_diseases hasdiseases, g.has_exposures hasexposures, g.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term g where g.id in ( select gcr.gene_id from gene_chem_reference gcr where gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select gd.gene_id from term t inner join dag_path dp on t.id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(t.nm) like ? and t.object_type_id = ? and gd.curated_reference_qty > ?)))) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Aug 24 06 1 10m30s 10m30s [ User: pubeu - Total duration: 10m30s - Times executed: 1 ]
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'FLIG') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RESPIRATORY TRACT DISEASES' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0)))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-08-24 06:51:41 Duration: 10m30s Database: ctdprd51 User: pubeu Bind query: yes
15 8m17s 4 2m3s 2m5s 2m4s 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(?, ? reference ? pg_catalog.english ? aortic & smooth & muscle % & and & ? = convert & int) 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 ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ?, ? = ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or 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 ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like)) ii group by ii.cd;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Aug 18 15 4 8m17s 2m4s [ User: pubeu - Total duration: 2m4s - Times executed: 1 ]
-
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', 'AORTIC & SMOOTH & MUSCLE% & AND & 3971=CONVERT & INT) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' AORTIC & SMOOTH & MUSCLE % & AND & 3971 = CONVERT & INT) 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 'AORTIC' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SMOOTH' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'MUSCLE%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3971=CONVERT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INT,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '118' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '112' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '112' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR', $19 = '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CASE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WHEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3971=3971' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'THEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '49' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELSE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '48' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'END' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '120' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '118' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '112' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AORTIC')) 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 'SMOOTH' OR upper(l.acc_txt) LIKE 'MUSCLE%' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '3971=CONVERT' OR upper(l.acc_txt) LIKE 'INT,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '118' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '112' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '112' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'CASE' OR upper(l.acc_txt) LIKE 'WHEN' OR upper(l.acc_txt) LIKE '3971=3971' OR upper(l.acc_txt) LIKE 'THEN' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '49' OR upper(l.acc_txt) LIKE 'ELSE' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '48' OR upper(l.acc_txt) LIKE 'END' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '120' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '118' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '112' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '%' OR upper(l.acc_txt) LIKE '=' OR upper(l.acc_txt) LIKE)) ii GROUP BY ii.cd;
Date: 2024-08-18 15:23:30 Duration: 2m5s 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', 'AORTIC & SMOOTH & MUSCLE% & AND & 3971=CONVERT & INT) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' AORTIC & SMOOTH & MUSCLE % & AND & 3971 = CONVERT & INT) 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 'AORTIC' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SMOOTH' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'MUSCLE%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3971=CONVERT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INT,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '118' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '112' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '112' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR', $19 = '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CASE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WHEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3971=3971' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'THEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '49' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELSE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '48' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'END' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '120' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '118' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '112' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AORTIC')) 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 'SMOOTH' OR upper(l.acc_txt) LIKE 'MUSCLE%' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '3971=CONVERT' OR upper(l.acc_txt) LIKE 'INT,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '118' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '112' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '112' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'CASE' OR upper(l.acc_txt) LIKE 'WHEN' OR upper(l.acc_txt) LIKE '3971=3971' OR upper(l.acc_txt) LIKE 'THEN' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '49' OR upper(l.acc_txt) LIKE 'ELSE' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '48' OR upper(l.acc_txt) LIKE 'END' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '120' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '118' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '112' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '%' OR upper(l.acc_txt) LIKE '=' OR upper(l.acc_txt) LIKE)) ii GROUP BY ii.cd;
Date: 2024-08-18 15:24:30 Duration: 2m4s 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', 'AORTIC & SMOOTH & MUSCLE% & AND & 3971=CONVERT & INT) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' AORTIC & SMOOTH & MUSCLE % & AND & 3971 = CONVERT & INT) 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 'AORTIC' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SMOOTH' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'MUSCLE%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3971=CONVERT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INT,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '118' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '112' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '112' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR', $19 = '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CASE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WHEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3971=3971' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'THEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '49' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELSE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '48' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'END' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '120' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '118' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '112' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AORTIC')) 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 'SMOOTH' OR upper(l.acc_txt) LIKE 'MUSCLE%' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '3971=CONVERT' OR upper(l.acc_txt) LIKE 'INT,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '118' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '112' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '112' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'CASE' OR upper(l.acc_txt) LIKE 'WHEN' OR upper(l.acc_txt) LIKE '3971=3971' OR upper(l.acc_txt) LIKE 'THEN' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '49' OR upper(l.acc_txt) LIKE 'ELSE' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '48' OR upper(l.acc_txt) LIKE 'END' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '120' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '118' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '112' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '%' OR upper(l.acc_txt) LIKE '=' OR upper(l.acc_txt) LIKE)) ii GROUP BY ii.cd;
Date: 2024-08-18 15:25:00 Duration: 2m4s Database: ctdprd51 User: pubeu Bind query: yes
16 7m46s 393 1s100ms 1s330ms 1s187ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where exposuremarkerterm.id = ? or receptorterm.id = ? group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Aug 18 00 3 3s408ms 1s136ms 01 2 2s311ms 1s155ms 02 5 5s878ms 1s175ms 03 5 5s806ms 1s161ms 04 1 1s152ms 1s152ms 05 4 4s827ms 1s206ms 06 1 1s186ms 1s186ms 07 3 3s495ms 1s165ms 08 1 1s190ms 1s190ms 09 3 3s506ms 1s168ms 10 1 1s185ms 1s185ms 11 4 4s541ms 1s135ms 12 1 1s189ms 1s189ms 13 3 3s495ms 1s165ms 14 4 4s766ms 1s191ms 15 1 1s110ms 1s110ms 16 1 1s189ms 1s189ms 18 2 2s372ms 1s186ms 19 4 4s699ms 1s174ms 20 4 4s650ms 1s162ms 21 4 4s571ms 1s142ms 23 2 2s372ms 1s186ms Aug 19 00 2 2s241ms 1s120ms 01 4 4s639ms 1s159ms 02 3 3s499ms 1s166ms 04 1 1s140ms 1s140ms 05 2 2s571ms 1s285ms 06 1 1s213ms 1s213ms 07 2 2s395ms 1s197ms 08 1 1s228ms 1s228ms 09 2 2s251ms 1s125ms 10 3 3s522ms 1s174ms 11 2 2s434ms 1s217ms 12 2 2s355ms 1s177ms 13 1 1s136ms 1s136ms 14 2 2s346ms 1s173ms 18 1 1s140ms 1s140ms 19 1 1s125ms 1s125ms 20 2 2s336ms 1s168ms 22 1 1s217ms 1s217ms 23 6 6s947ms 1s157ms Aug 20 00 1 1s240ms 1s240ms 01 2 2s375ms 1s187ms 02 3 3s590ms 1s196ms 03 1 1s150ms 1s150ms 04 4 4s716ms 1s179ms 05 5 6s171ms 1s234ms 06 3 3s479ms 1s159ms 07 1 1s209ms 1s209ms 08 1 1s220ms 1s220ms 09 1 1s203ms 1s203ms 11 1 1s209ms 1s209ms 12 1 1s198ms 1s198ms 14 2 2s403ms 1s201ms 16 5 5s981ms 1s196ms 17 3 3s620ms 1s206ms 18 3 3s560ms 1s186ms 19 4 4s774ms 1s193ms 20 4 4s810ms 1s202ms 21 4 4s643ms 1s160ms 22 1 1s172ms 1s172ms 23 1 1s218ms 1s218ms Aug 21 00 5 5s813ms 1s162ms 01 6 6s975ms 1s162ms 02 3 3s418ms 1s139ms 03 4 4s788ms 1s197ms 04 3 3s483ms 1s161ms 05 5 5s942ms 1s188ms 06 2 2s391ms 1s195ms 07 6 7s192ms 1s198ms 09 3 3s652ms 1s217ms 10 1 1s201ms 1s201ms 11 3 3s739ms 1s246ms 12 1 1s189ms 1s189ms 13 4 4s773ms 1s193ms 15 5 6s2ms 1s200ms 16 2 2s441ms 1s220ms 17 4 4s780ms 1s195ms 18 3 3s558ms 1s186ms 19 2 2s442ms 1s221ms 20 2 2s390ms 1s195ms 21 1 1s190ms 1s190ms 22 2 2s341ms 1s170ms Aug 22 00 2 2s383ms 1s191ms 01 4 4s772ms 1s193ms 03 1 1s179ms 1s179ms 04 1 1s195ms 1s195ms 05 2 2s532ms 1s266ms 06 3 3s546ms 1s182ms 07 2 2s332ms 1s166ms 08 4 4s730ms 1s182ms 10 1 1s198ms 1s198ms 12 2 2s308ms 1s154ms 13 3 3s623ms 1s207ms 14 1 1s170ms 1s170ms 15 1 1s240ms 1s240ms 16 3 3s680ms 1s226ms 18 2 2s445ms 1s222ms 19 2 2s476ms 1s238ms 20 7 8s295ms 1s185ms 21 3 3s677ms 1s225ms 22 4 4s757ms 1s189ms 23 1 1s217ms 1s217ms Aug 23 01 3 3s617ms 1s205ms 03 2 2s405ms 1s202ms 05 3 3s712ms 1s237ms 06 2 2s342ms 1s171ms 07 1 1s234ms 1s234ms 08 3 3s640ms 1s213ms 09 5 6s15ms 1s203ms 10 1 1s224ms 1s224ms 12 4 4s886ms 1s221ms 13 1 1s183ms 1s183ms 14 5 5s987ms 1s197ms 15 4 4s746ms 1s186ms 16 2 2s325ms 1s162ms 17 1 1s195ms 1s195ms 18 3 3s664ms 1s221ms 19 4 4s828ms 1s207ms 20 2 2s386ms 1s193ms 21 4 4s729ms 1s182ms 22 1 1s189ms 1s189ms 23 3 3s627ms 1s209ms Aug 24 00 3 3s507ms 1s169ms 01 1 1s215ms 1s215ms 02 2 2s295ms 1s147ms 03 2 2s403ms 1s201ms 05 6 7s245ms 1s207ms 06 3 3s480ms 1s160ms 07 2 2s355ms 1s177ms 08 7 8s371ms 1s195ms 09 3 3s621ms 1s207ms 10 3 3s733ms 1s244ms 12 3 3s737ms 1s245ms 13 6 7s253ms 1s208ms 14 3 3s667ms 1s222ms 15 1 1s173ms 1s173ms 16 2 2s373ms 1s186ms 17 3 3s627ms 1s209ms 18 4 4s579ms 1s144ms 19 3 3s366ms 1s122ms 20 2 2s364ms 1s182ms 21 7 7s913ms 1s130ms 22 6 7s130ms 1s188ms 23 2 2s390ms 1s195ms [ User: pubeu - Total duration: 5m4s - Times executed: 257 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where exposureMarkerTerm.id = '1435399' or receptorTerm.id = '1435399' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-08-19 05:43:56 Duration: 1s330ms 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 = '1634468' or receptorTerm.id = '1634468' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-08-24 12:38:24 Duration: 1s318ms 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 = '2027252' or receptorTerm.id = '2027252' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-08-24 10:37:00 Duration: 1s309ms Database: ctdprd51 User: pubeu Bind query: yes
17 7m28s 100 1s 12s106ms 4s488ms 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 #17
Day Hour Count Duration Avg duration Aug 18 01 1 1s1ms 1s1ms 04 1 1s269ms 1s269ms 06 1 1s37ms 1s37ms 07 1 1s339ms 1s339ms 08 1 1s38ms 1s38ms 14 1 1s40ms 1s40ms 15 1 1s 1s 18 1 2s538ms 2s538ms 20 1 1s298ms 1s298ms 22 1 10s503ms 10s503ms Aug 19 00 1 1s71ms 1s71ms 01 1 2s106ms 2s106ms 04 1 2s495ms 2s495ms 05 1 1s244ms 1s244ms 06 1 4s991ms 4s991ms 12 1 1s331ms 1s331ms 14 3 9s885ms 3s295ms 15 1 1s390ms 1s390ms 16 4 44s373ms 11s93ms 17 1 1s149ms 1s149ms 19 1 2s133ms 2s133ms 22 1 10s467ms 10s467ms Aug 20 00 1 1s155ms 1s155ms 01 1 2s598ms 2s598ms 02 4 9s229ms 2s307ms 04 6 15s387ms 2s564ms 07 1 1s332ms 1s332ms 10 2 11s666ms 5s833ms 12 1 2s820ms 2s820ms 15 2 9s831ms 4s915ms 17 1 1s259ms 1s259ms 21 1 1s210ms 1s210ms Aug 21 00 1 1s359ms 1s359ms 03 1 2s543ms 2s543ms 04 2 5s146ms 2s573ms 06 1 6s435ms 6s435ms 08 1 1s215ms 1s215ms 11 5 55s137ms 11s27ms 13 1 1s202ms 1s202ms 14 2 22s159ms 11s79ms 16 1 2s37ms 2s37ms Aug 22 01 2 3s665ms 1s832ms 04 2 3s654ms 1s827ms 05 3 4s616ms 1s538ms 10 1 2s11ms 2s11ms 11 1 6s709ms 6s709ms 13 5 19s879ms 3s975ms 17 1 1s355ms 1s355ms 19 1 5s24ms 5s24ms 20 1 3s111ms 3s111ms Aug 23 08 2 11s445ms 5s722ms 20 1 1s273ms 1s273ms Aug 24 02 1 2s517ms 2s517ms 06 5 54s137ms 10s827ms 07 3 4s696ms 1s565ms 08 1 10s762ms 10s762ms 10 1 1s650ms 1s650ms 11 6 52s729ms 8s788ms 21 1 1s189ms 1s189ms [ User: pubeu - Total duration: 4m52s - Times executed: 71 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2073928') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-08-22 13:06:08 Duration: 12s106ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2084677') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-08-21 11:19:55 Duration: 11s695ms Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2084677') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-08-21 11:19:43 Duration: 11s504ms Bind query: yes
18 6m49s 1 6m49s 6m49s 6m49s copy pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Aug 24 19 1 6m49s 6m49s -
COPY pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-08-24 19:12:15 Duration: 6m49s
19 6m46s 1 6m46s 6m46s 6m46s copy pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Aug 24 19 1 6m46s 6m46s -
COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-08-24 19:54:00 Duration: 6m46s
20 6m16s 13 28s565ms 30s943ms 28s970ms 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 ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or 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 ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ?)) ii group by ii.cd;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Aug 18 15 13 6m16s 28s970ms [ User: pubeu - Total duration: 5m16s - Times executed: 11 ]
-
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', 'AORTIC & SMOOTH & MUSCLE% & AND & SLEEP & 5 & AND & % & =') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'AORTIC & SMOOTH & MUSCLE% & AND & SLEEP & 5 & AND & % & =') 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 'AORTIC' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SMOOTH' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'MUSCLE%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SLEEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '5' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '%' OR 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 'AORTIC' OR upper(l.acc_txt) LIKE 'SMOOTH' OR upper(l.acc_txt) LIKE 'MUSCLE%' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'SLEEP' OR upper(l.acc_txt) LIKE '5' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '%' OR upper(l.acc_txt) LIKE '=')) ii GROUP BY ii.cd;
Date: 2024-08-18 15:29:24 Duration: 30s943ms 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', 'AORTIC & SMOOTH & MUSCLE% & UNION & ALL & SELECT & 95,95,95,95,95,CONCAT & 0X7176707071,0X726F47534B6A487678514A5942646E5868536A735A4B676D7161674B5371554C6762716749654D59,0X7178767071 & #') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'AORTIC & SMOOTH & MUSCLE% & UNION & ALL & SELECT & 95,95,95,95,95,CONCAT & 0X7176707071,0X726F47534B6A487678514A5942646E5868536A735A4B676D7161674B5371554C6762716749654D59,0X7178767071 & #') 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 'AORTIC' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SMOOTH' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'MUSCLE%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'UNION' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ALL' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '95,95,95,95,95,CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7176707071,0X726F47534B6A487678514A5942646E5868536A735A4B676D7161674B5371554C6762716749654D59,0X7178767071' OR 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 'AORTIC' OR upper(l.acc_txt) LIKE 'SMOOTH' OR upper(l.acc_txt) LIKE 'MUSCLE%' OR upper(l.acc_txt) LIKE 'UNION' OR upper(l.acc_txt) LIKE 'ALL' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '95,95,95,95,95,CONCAT' OR upper(l.acc_txt) LIKE '0X7176707071,0X726F47534B6A487678514A5942646E5868536A735A4B676D7161674B5371554C6762716749654D59,0X7178767071' OR upper(l.acc_txt) LIKE '#')) ii GROUP BY ii.cd;
Date: 2024-08-18 15:52:13 Duration: 28s954ms 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', 'AORTIC & SMOOTH & MUSCLE% & UNION & ALL & SELECT & 95,95,CONCAT & 0X7176707071,0X52474267664176557558,0X7178767071 & ,95,95,95#') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'AORTIC & SMOOTH & MUSCLE% & UNION & ALL & SELECT & 95,95,CONCAT & 0X7176707071,0X52474267664176557558,0X7178767071 & ,95,95,95#') 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 'AORTIC' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SMOOTH' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'MUSCLE%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'UNION' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ALL' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '95,95,CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7176707071,0X52474267664176557558,0X7178767071' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',95,95,95#')) 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 'AORTIC' OR upper(l.acc_txt) LIKE 'SMOOTH' OR upper(l.acc_txt) LIKE 'MUSCLE%' OR upper(l.acc_txt) LIKE 'UNION' OR upper(l.acc_txt) LIKE 'ALL' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '95,95,CONCAT' OR upper(l.acc_txt) LIKE '0X7176707071,0X52474267664176557558,0X7178767071' OR upper(l.acc_txt) LIKE ',95,95,95#')) ii GROUP BY ii.cd;
Date: 2024-08-18 15:54:41 Duration: 28s947ms Database: ctdprd51 User: pubeu Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 2,992 1d15h23m13s 1s8ms 57s358ms 47s390ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ? offset ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Aug 18 00 1 4s366ms 4s366ms 04 1 1s288ms 1s288ms 07 1 1s388ms 1s388ms 11 1 26s32ms 26s32ms 15 13 15s396ms 1s184ms 20 24 18m50s 47s115ms 21 72 57m34s 47s982ms 22 74 57m58s 47s12ms 23 73 57m9s 46s976ms Aug 19 00 73 57m22s 47s151ms 01 73 57m26s 47s213ms 02 73 57m26s 47s218ms 03 73 57m29s 47s257ms 04 73 57m41s 47s411ms 05 57 45m5s 47s471ms 06 72 57m11s 47s662ms 07 73 57m48s 47s517ms 08 73 57m55s 47s611ms 09 72 57m 47s501ms 10 72 57m20s 47s790ms 11 73 58m6s 47s758ms 12 72 57m17s 47s748ms 13 72 57m27s 47s887ms 14 72 57m25s 47s858ms 15 72 57m41s 48s72ms 16 72 57m38s 48s40ms 17 72 57m38s 48s28ms 18 72 57m45s 48s131ms 19 71 56m52s 48s68ms 20 72 57m49s 48s185ms 21 72 57m40s 48s59ms 22 73 57m49s 47s526ms 23 71 57m9s 48s299ms Aug 20 00 72 57m46s 48s142ms 01 71 57m11s 48s330ms 02 74 57m50s 46s899ms 03 72 58m3s 48s380ms 04 71 57m47s 48s841ms 05 41 33m43s 49s350ms 15 1 1s290ms 1s290ms 16 1 2s713ms 2s713ms 19 1 2s366ms 2s366ms 21 52 41m47s 48s222ms 22 71 57m8s 48s292ms 23 72 57m56s 48s288ms Aug 21 00 71 57m19s 48s449ms 01 71 57m25s 48s522ms 02 71 57m28s 48s571ms 03 72 57m32s 47s951ms 04 71 57m34s 48s659ms 05 43 34m50s 48s608ms 14 1 10s234ms 10s234ms 16 1 2s627ms 2s627ms Aug 22 05 1 1s221ms 1s221ms 07 1 1s282ms 1s282ms 19 1 1s623ms 1s623ms 22 1 1s271ms 1s271ms Aug 23 05 1 5s7ms 5s7ms 14 2 5s696ms 2s848ms 16 1 15s803ms 15s803ms Aug 24 11 1 5s275ms 5s275ms 13 1 11s709ms 11s709ms 14 1 1s305ms 1s305ms 19 1 2s727ms 2s727ms [ User: pubeu - Total duration: 1d10h59m52s - Times executed: 2649 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2077399') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 2674150;
Date: 2024-08-20 02:51:07 Duration: 57s358ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2077399') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 2681800;
Date: 2024-08-20 05:00:52 Duration: 55s745ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2077399') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 2673550;
Date: 2024-08-20 02:40:07 Duration: 55s463ms Bind query: yes
2 393 7m46s 1s100ms 1s330ms 1s187ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where exposuremarkerterm.id = ? or receptorterm.id = ? group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Aug 18 00 3 3s408ms 1s136ms 01 2 2s311ms 1s155ms 02 5 5s878ms 1s175ms 03 5 5s806ms 1s161ms 04 1 1s152ms 1s152ms 05 4 4s827ms 1s206ms 06 1 1s186ms 1s186ms 07 3 3s495ms 1s165ms 08 1 1s190ms 1s190ms 09 3 3s506ms 1s168ms 10 1 1s185ms 1s185ms 11 4 4s541ms 1s135ms 12 1 1s189ms 1s189ms 13 3 3s495ms 1s165ms 14 4 4s766ms 1s191ms 15 1 1s110ms 1s110ms 16 1 1s189ms 1s189ms 18 2 2s372ms 1s186ms 19 4 4s699ms 1s174ms 20 4 4s650ms 1s162ms 21 4 4s571ms 1s142ms 23 2 2s372ms 1s186ms Aug 19 00 2 2s241ms 1s120ms 01 4 4s639ms 1s159ms 02 3 3s499ms 1s166ms 04 1 1s140ms 1s140ms 05 2 2s571ms 1s285ms 06 1 1s213ms 1s213ms 07 2 2s395ms 1s197ms 08 1 1s228ms 1s228ms 09 2 2s251ms 1s125ms 10 3 3s522ms 1s174ms 11 2 2s434ms 1s217ms 12 2 2s355ms 1s177ms 13 1 1s136ms 1s136ms 14 2 2s346ms 1s173ms 18 1 1s140ms 1s140ms 19 1 1s125ms 1s125ms 20 2 2s336ms 1s168ms 22 1 1s217ms 1s217ms 23 6 6s947ms 1s157ms Aug 20 00 1 1s240ms 1s240ms 01 2 2s375ms 1s187ms 02 3 3s590ms 1s196ms 03 1 1s150ms 1s150ms 04 4 4s716ms 1s179ms 05 5 6s171ms 1s234ms 06 3 3s479ms 1s159ms 07 1 1s209ms 1s209ms 08 1 1s220ms 1s220ms 09 1 1s203ms 1s203ms 11 1 1s209ms 1s209ms 12 1 1s198ms 1s198ms 14 2 2s403ms 1s201ms 16 5 5s981ms 1s196ms 17 3 3s620ms 1s206ms 18 3 3s560ms 1s186ms 19 4 4s774ms 1s193ms 20 4 4s810ms 1s202ms 21 4 4s643ms 1s160ms 22 1 1s172ms 1s172ms 23 1 1s218ms 1s218ms Aug 21 00 5 5s813ms 1s162ms 01 6 6s975ms 1s162ms 02 3 3s418ms 1s139ms 03 4 4s788ms 1s197ms 04 3 3s483ms 1s161ms 05 5 5s942ms 1s188ms 06 2 2s391ms 1s195ms 07 6 7s192ms 1s198ms 09 3 3s652ms 1s217ms 10 1 1s201ms 1s201ms 11 3 3s739ms 1s246ms 12 1 1s189ms 1s189ms 13 4 4s773ms 1s193ms 15 5 6s2ms 1s200ms 16 2 2s441ms 1s220ms 17 4 4s780ms 1s195ms 18 3 3s558ms 1s186ms 19 2 2s442ms 1s221ms 20 2 2s390ms 1s195ms 21 1 1s190ms 1s190ms 22 2 2s341ms 1s170ms Aug 22 00 2 2s383ms 1s191ms 01 4 4s772ms 1s193ms 03 1 1s179ms 1s179ms 04 1 1s195ms 1s195ms 05 2 2s532ms 1s266ms 06 3 3s546ms 1s182ms 07 2 2s332ms 1s166ms 08 4 4s730ms 1s182ms 10 1 1s198ms 1s198ms 12 2 2s308ms 1s154ms 13 3 3s623ms 1s207ms 14 1 1s170ms 1s170ms 15 1 1s240ms 1s240ms 16 3 3s680ms 1s226ms 18 2 2s445ms 1s222ms 19 2 2s476ms 1s238ms 20 7 8s295ms 1s185ms 21 3 3s677ms 1s225ms 22 4 4s757ms 1s189ms 23 1 1s217ms 1s217ms Aug 23 01 3 3s617ms 1s205ms 03 2 2s405ms 1s202ms 05 3 3s712ms 1s237ms 06 2 2s342ms 1s171ms 07 1 1s234ms 1s234ms 08 3 3s640ms 1s213ms 09 5 6s15ms 1s203ms 10 1 1s224ms 1s224ms 12 4 4s886ms 1s221ms 13 1 1s183ms 1s183ms 14 5 5s987ms 1s197ms 15 4 4s746ms 1s186ms 16 2 2s325ms 1s162ms 17 1 1s195ms 1s195ms 18 3 3s664ms 1s221ms 19 4 4s828ms 1s207ms 20 2 2s386ms 1s193ms 21 4 4s729ms 1s182ms 22 1 1s189ms 1s189ms 23 3 3s627ms 1s209ms Aug 24 00 3 3s507ms 1s169ms 01 1 1s215ms 1s215ms 02 2 2s295ms 1s147ms 03 2 2s403ms 1s201ms 05 6 7s245ms 1s207ms 06 3 3s480ms 1s160ms 07 2 2s355ms 1s177ms 08 7 8s371ms 1s195ms 09 3 3s621ms 1s207ms 10 3 3s733ms 1s244ms 12 3 3s737ms 1s245ms 13 6 7s253ms 1s208ms 14 3 3s667ms 1s222ms 15 1 1s173ms 1s173ms 16 2 2s373ms 1s186ms 17 3 3s627ms 1s209ms 18 4 4s579ms 1s144ms 19 3 3s366ms 1s122ms 20 2 2s364ms 1s182ms 21 7 7s913ms 1s130ms 22 6 7s130ms 1s188ms 23 2 2s390ms 1s195ms [ User: pubeu - Total duration: 5m4s - Times executed: 257 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where exposureMarkerTerm.id = '1435399' or receptorTerm.id = '1435399' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-08-19 05:43:56 Duration: 1s330ms 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 = '1634468' or receptorTerm.id = '1634468' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-08-24 12:38:24 Duration: 1s318ms 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 = '2027252' or receptorTerm.id = '2027252' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-08-24 10:37:00 Duration: 1s309ms Database: ctdprd51 User: pubeu Bind query: yes
3 287 18m59s 3s744ms 5s479ms 3s971ms select coalesce(st.alt_nm, t.nm) slimtermnm, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.curated_reference_qty > ?) curatedcount, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.indirect_gene_qty > ?) inferredcount from slim_term st inner join term t on st.slim_term_id = t.id where st.slim_id = ? order by ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Aug 18 03 2 7s881ms 3s940ms 07 2 8s62ms 4s31ms 08 1 3s899ms 3s899ms 09 4 15s626ms 3s906ms 10 1 3s994ms 3s994ms 11 1 3s887ms 3s887ms 14 1 3s873ms 3s873ms 15 6 24s286ms 4s47ms 16 1 3s933ms 3s933ms 17 1 3s956ms 3s956ms 21 1 4s62ms 4s62ms Aug 19 00 1 3s821ms 3s821ms 01 2 8s209ms 4s104ms 03 2 7s800ms 3s900ms 04 2 7s702ms 3s851ms 05 1 4s793ms 4s793ms 06 3 11s767ms 3s922ms 07 4 15s664ms 3s916ms 08 1 3s917ms 3s917ms 09 1 3s903ms 3s903ms 10 4 15s951ms 3s987ms 11 2 7s773ms 3s886ms 12 2 8s259ms 4s129ms 13 4 15s829ms 3s957ms 15 10 39s452ms 3s945ms 16 3 11s953ms 3s984ms 17 3 12s174ms 4s58ms 20 1 4s136ms 4s136ms 21 2 7s689ms 3s844ms 22 1 3s939ms 3s939ms 23 1 3s876ms 3s876ms Aug 20 00 3 11s929ms 3s976ms 01 4 18s429ms 4s607ms 02 2 7s901ms 3s950ms 03 3 11s963ms 3s987ms 04 2 8s74ms 4s37ms 05 1 4s3ms 4s3ms 06 1 4s4ms 4s4ms 07 1 3s881ms 3s881ms 08 2 7s747ms 3s873ms 10 6 23s917ms 3s986ms 12 1 3s856ms 3s856ms 13 3 11s890ms 3s963ms 14 1 3s896ms 3s896ms 15 2 7s858ms 3s929ms 17 2 7s867ms 3s933ms 21 2 8s39ms 4s19ms 22 1 4s122ms 4s122ms Aug 21 00 4 16s302ms 4s75ms 03 5 19s777ms 3s955ms 06 1 3s936ms 3s936ms 07 3 12s167ms 4s55ms 08 1 4s35ms 4s35ms 09 1 3s916ms 3s916ms 11 1 3s985ms 3s985ms 12 4 16s38ms 4s9ms 13 1 3s915ms 3s915ms 14 2 7s801ms 3s900ms 15 2 7s811ms 3s905ms 17 1 3s959ms 3s959ms 21 2 8s280ms 4s140ms 22 1 3s842ms 3s842ms 23 2 7s803ms 3s901ms Aug 22 01 5 20s217ms 4s43ms 02 1 4s63ms 4s63ms 03 1 3s898ms 3s898ms 04 2 7s977ms 3s988ms 05 3 11s597ms 3s865ms 06 2 7s857ms 3s928ms 07 1 4s9ms 4s9ms 09 2 7s713ms 3s856ms 10 5 19s841ms 3s968ms 11 2 8s547ms 4s273ms 12 2 8s47ms 4s23ms 14 2 7s966ms 3s983ms 16 6 23s665ms 3s944ms 18 3 12s23ms 4s7ms 22 3 11s832ms 3s944ms 23 3 12s194ms 4s64ms Aug 23 00 3 11s698ms 3s899ms 03 2 7s857ms 3s928ms 04 4 15s938ms 3s984ms 05 4 15s402ms 3s850ms 08 4 15s579ms 3s894ms 10 1 3s849ms 3s849ms 11 2 7s884ms 3s942ms 12 1 3s897ms 3s897ms 13 1 4s123ms 4s123ms 14 3 11s785ms 3s928ms 17 2 7s779ms 3s889ms 18 1 3s965ms 3s965ms 22 2 7s915ms 3s957ms Aug 24 02 1 3s821ms 3s821ms 04 1 4s17ms 4s17ms 07 1 3s908ms 3s908ms 09 18 1m10s 3s901ms 10 14 55s91ms 3s935ms 11 2 7s677ms 3s838ms 13 4 15s674ms 3s918ms 14 10 38s858ms 3s885ms 15 7 27s461ms 3s923ms 16 4 15s844ms 3s961ms 18 1 4s19ms 4s19ms 21 11 45s262ms 4s114ms 22 1 3s802ms 3s802ms [ User: pubeu - Total duration: 12m7s - Times executed: 183 ]
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1335779') AND stm.slim_term_id = st.slim_term_id AND cd.curated_reference_qty > 0) curatedCount, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1335779') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-08-20 01:25:57 Duration: 5s479ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1411318') 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 = '1411318') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-08-20 01:41:56 Duration: 5s272ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1336897') 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 = '1336897') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-08-19 05:43:28 Duration: 4s793ms Database: ctdprd51 User: pubeu Bind query: yes
4 130 2m51s 1s217ms 1s600ms 1s323ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or receptorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Aug 18 05 2 2s718ms 1s359ms 06 2 2s522ms 1s261ms 08 1 1s286ms 1s286ms 20 2 2s490ms 1s245ms 22 1 1s450ms 1s450ms Aug 19 02 1 1s297ms 1s297ms 05 2 2s926ms 1s463ms 08 2 3s55ms 1s527ms 13 1 1s331ms 1s331ms 16 1 1s376ms 1s376ms 18 1 1s294ms 1s294ms 20 1 1s233ms 1s233ms 21 3 3s791ms 1s263ms 22 1 1s600ms 1s600ms 23 2 2s615ms 1s307ms Aug 20 01 1 1s314ms 1s314ms 04 2 2s573ms 1s286ms 05 2 2s724ms 1s362ms 09 2 2s591ms 1s295ms 10 1 1s557ms 1s557ms 14 2 2s657ms 1s328ms 15 1 1s267ms 1s267ms 16 1 1s301ms 1s301ms 18 3 3s868ms 1s289ms 21 3 3s949ms 1s316ms 23 3 3s965ms 1s321ms Aug 21 00 1 1s292ms 1s292ms 02 4 5s278ms 1s319ms 03 1 1s265ms 1s265ms 05 2 2s752ms 1s376ms 06 1 1s276ms 1s276ms 10 1 1s327ms 1s327ms 11 2 2s765ms 1s382ms 18 1 1s289ms 1s289ms 19 1 1s292ms 1s292ms 22 1 1s290ms 1s290ms 23 2 2s689ms 1s344ms Aug 22 01 3 4s8ms 1s336ms 03 1 1s284ms 1s284ms 05 2 2s726ms 1s363ms 07 1 1s531ms 1s531ms 08 1 1s325ms 1s325ms 09 1 1s364ms 1s364ms 11 1 1s371ms 1s371ms 12 1 1s291ms 1s291ms 13 2 2s599ms 1s299ms 14 3 3s855ms 1s285ms 22 1 1s403ms 1s403ms 23 2 2s517ms 1s258ms Aug 23 00 3 3s746ms 1s248ms 05 2 2s776ms 1s388ms 09 1 1s290ms 1s290ms 13 1 1s296ms 1s296ms 14 3 3s956ms 1s318ms 16 1 1s299ms 1s299ms 17 2 2s523ms 1s261ms 19 1 1s338ms 1s338ms 20 3 3s888ms 1s296ms 22 1 1s298ms 1s298ms 23 1 1s356ms 1s356ms Aug 24 00 2 2s578ms 1s289ms 01 1 1s251ms 1s251ms 02 2 2s608ms 1s304ms 03 2 2s556ms 1s278ms 05 3 4s77ms 1s359ms 06 1 1s371ms 1s371ms 07 1 1s564ms 1s564ms 09 2 2s609ms 1s304ms 10 1 1s295ms 1s295ms 11 1 1s334ms 1s334ms 12 2 2s610ms 1s305ms 15 2 2s680ms 1s340ms 16 1 1s247ms 1s247ms 17 2 2s606ms 1s303ms 19 2 2s581ms 1s290ms 20 1 1s262ms 1s262ms 21 3 3s837ms 1s279ms 22 1 1s320ms 1s320ms 23 1 1s267ms 1s267ms [ User: pubeu - Total duration: 1m44s - Times executed: 79 ]
[ User: qaeu - Total duration: 1s338ms - Times executed: 1 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1228415') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1228415') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-08-19 22:29:06 Duration: 1s600ms 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 = '1231253') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1231253') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-08-19 08:32:03 Duration: 1s580ms Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1228415') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1228415') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-08-24 07:33:27 Duration: 1s564ms Database: ctdprd51 User: pubeu Bind query: yes
5 109 17m22s 1s56ms 1m9s 9s564ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Aug 18 06 1 2s101ms 2s101ms Aug 19 05 1 1s56ms 1s56ms 06 9 11s118ms 1s235ms 07 1 2s10ms 2s10ms 10 1 1s95ms 1s95ms 15 1 3s435ms 3s435ms 23 1 1s999ms 1s999ms Aug 20 01 3 16s460ms 5s486ms 02 23 3m2s 7s937ms 04 10 1m15s 7s597ms 05 7 41s911ms 5s987ms 09 1 1s615ms 1s615ms 13 8 15s115ms 1s889ms Aug 21 01 2 16s186ms 8s93ms 02 1 7s465ms 7s465ms 10 1 2s160ms 2s160ms 11 13 8m55s 41s203ms 12 2 15s931ms 7s965ms 14 1 33s307ms 33s307ms 20 1 1s506ms 1s506ms Aug 22 00 2 15s14ms 7s507ms 01 2 15s268ms 7s634ms 05 1 1s248ms 1s248ms 06 2 2s357ms 1s178ms 11 2 15s344ms 7s672ms 12 1 7s363ms 7s363ms Aug 23 19 3 5s392ms 1s797ms Aug 24 09 4 5s945ms 1s486ms 10 4 5s928ms 1s482ms [ User: pubeu - Total duration: 14m11s - Times executed: 84 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2084677') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-08-21 11:20:31 Duration: 1m9s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2084677') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-08-21 11:20:31 Duration: 1m8s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2084677') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-08-21 11:19:36 Duration: 37s584ms Bind query: yes
6 100 7m28s 1s 12s106ms 4s488ms 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 #6
Day Hour Count Duration Avg duration Aug 18 01 1 1s1ms 1s1ms 04 1 1s269ms 1s269ms 06 1 1s37ms 1s37ms 07 1 1s339ms 1s339ms 08 1 1s38ms 1s38ms 14 1 1s40ms 1s40ms 15 1 1s 1s 18 1 2s538ms 2s538ms 20 1 1s298ms 1s298ms 22 1 10s503ms 10s503ms Aug 19 00 1 1s71ms 1s71ms 01 1 2s106ms 2s106ms 04 1 2s495ms 2s495ms 05 1 1s244ms 1s244ms 06 1 4s991ms 4s991ms 12 1 1s331ms 1s331ms 14 3 9s885ms 3s295ms 15 1 1s390ms 1s390ms 16 4 44s373ms 11s93ms 17 1 1s149ms 1s149ms 19 1 2s133ms 2s133ms 22 1 10s467ms 10s467ms Aug 20 00 1 1s155ms 1s155ms 01 1 2s598ms 2s598ms 02 4 9s229ms 2s307ms 04 6 15s387ms 2s564ms 07 1 1s332ms 1s332ms 10 2 11s666ms 5s833ms 12 1 2s820ms 2s820ms 15 2 9s831ms 4s915ms 17 1 1s259ms 1s259ms 21 1 1s210ms 1s210ms Aug 21 00 1 1s359ms 1s359ms 03 1 2s543ms 2s543ms 04 2 5s146ms 2s573ms 06 1 6s435ms 6s435ms 08 1 1s215ms 1s215ms 11 5 55s137ms 11s27ms 13 1 1s202ms 1s202ms 14 2 22s159ms 11s79ms 16 1 2s37ms 2s37ms Aug 22 01 2 3s665ms 1s832ms 04 2 3s654ms 1s827ms 05 3 4s616ms 1s538ms 10 1 2s11ms 2s11ms 11 1 6s709ms 6s709ms 13 5 19s879ms 3s975ms 17 1 1s355ms 1s355ms 19 1 5s24ms 5s24ms 20 1 3s111ms 3s111ms Aug 23 08 2 11s445ms 5s722ms 20 1 1s273ms 1s273ms Aug 24 02 1 2s517ms 2s517ms 06 5 54s137ms 10s827ms 07 3 4s696ms 1s565ms 08 1 10s762ms 10s762ms 10 1 1s650ms 1s650ms 11 6 52s729ms 8s788ms 21 1 1s189ms 1s189ms [ User: pubeu - Total duration: 4m52s - Times executed: 71 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2073928') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-08-22 13:06:08 Duration: 12s106ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2084677') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-08-21 11:19:55 Duration: 11s695ms Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2084677') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-08-21 11:19:43 Duration: 11s504ms Bind query: yes
7 90 5m11s 1s1ms 6s505ms 3s462ms 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 #7
Day Hour Count Duration Avg duration Aug 18 05 6 19s437ms 3s239ms 12 1 5s40ms 5s40ms 18 1 1s33ms 1s33ms 19 1 5s439ms 5s439ms 21 1 6s505ms 6s505ms 22 1 5s643ms 5s643ms 23 1 5s713ms 5s713ms Aug 19 00 2 2s78ms 1s39ms 02 2 10s648ms 5s324ms 03 2 11s610ms 5s805ms 05 6 10s816ms 1s802ms 11 2 6s602ms 3s301ms 19 1 5s268ms 5s268ms 23 1 1s31ms 1s31ms Aug 20 01 2 11s559ms 5s779ms 02 2 12s897ms 6s448ms 04 1 5s688ms 5s688ms 05 5 5s187ms 1s37ms 07 1 5s776ms 5s776ms 10 1 1s93ms 1s93ms 13 1 1s37ms 1s37ms 16 1 5s51ms 5s51ms Aug 21 00 2 11s645ms 5s822ms 01 1 5s322ms 5s322ms 04 2 6s217ms 3s108ms 05 5 5s177ms 1s35ms 07 2 10s569ms 5s284ms 08 1 1s59ms 1s59ms 11 2 2s71ms 1s35ms 12 3 3s222ms 1s74ms 17 1 5s602ms 5s602ms 18 1 5s694ms 5s694ms Aug 22 01 1 5s64ms 5s64ms 02 1 5s103ms 5s103ms 05 4 4s151ms 1s37ms 06 1 5s517ms 5s517ms 07 1 5s131ms 5s131ms 09 1 5s120ms 5s120ms 11 1 5s476ms 5s476ms 13 2 10s188ms 5s94ms 17 1 1s72ms 1s72ms 23 1 5s140ms 5s140ms Aug 23 03 2 11s115ms 5s557ms 05 1 1s30ms 1s30ms 06 1 5s374ms 5s374ms 09 1 5s235ms 5s235ms 11 1 5s431ms 5s431ms 21 1 5s947ms 5s947ms Aug 24 05 2 2s181ms 1s90ms 06 1 5s572ms 5s572ms 08 1 5s322ms 5s322ms 16 2 9s653ms 4s826ms 22 1 1s39ms 1s39ms [ User: pubeu - Total duration: 3m39s - Times executed: 55 ]
[ User: qaeu - Total duration: 4s237ms - Times executed: 4 ]
-
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 = '1407407' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-08-18 21:29:50 Duration: 6s505ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1411318' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-08-20 02:51:52 Duration: 6s490ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1411318' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-08-20 02:51:48 Duration: 6s406ms Database: ctdprd51 User: pubeu Bind query: yes
8 85 1m54s 1s193ms 1s716ms 1s343ms 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 #8
Day Hour Count Duration Avg duration Aug 18 00 1 1s269ms 1s269ms 03 2 2s450ms 1s225ms 05 2 2s880ms 1s440ms 06 1 1s275ms 1s275ms 10 2 2s812ms 1s406ms 16 1 1s272ms 1s272ms 19 1 1s330ms 1s330ms Aug 19 02 1 1s716ms 1s716ms 03 1 1s433ms 1s433ms 05 3 4s234ms 1s411ms 06 1 1s284ms 1s284ms 10 1 1s585ms 1s585ms 11 2 2s664ms 1s332ms 19 1 1s201ms 1s201ms 21 1 1s371ms 1s371ms Aug 20 01 1 1s335ms 1s335ms 04 1 1s344ms 1s344ms 05 2 2s782ms 1s391ms 09 1 1s340ms 1s340ms 12 3 3s823ms 1s274ms 15 1 1s337ms 1s337ms 16 1 1s309ms 1s309ms 19 2 2s659ms 1s329ms 23 2 2s654ms 1s327ms Aug 21 00 1 1s236ms 1s236ms 02 1 1s269ms 1s269ms 04 1 1s291ms 1s291ms 05 2 2s892ms 1s446ms 08 1 1s387ms 1s387ms 09 2 2s464ms 1s232ms 11 3 4s132ms 1s377ms 12 2 2s666ms 1s333ms 13 1 1s350ms 1s350ms 14 1 1s226ms 1s226ms 17 1 1s367ms 1s367ms 21 1 1s329ms 1s329ms 22 1 1s367ms 1s367ms Aug 22 01 1 1s366ms 1s366ms 05 2 2s875ms 1s437ms 10 1 1s338ms 1s338ms 11 2 2s596ms 1s298ms 13 4 5s198ms 1s299ms 21 1 1s295ms 1s295ms Aug 23 03 1 1s347ms 1s347ms 05 3 4s234ms 1s411ms 06 1 1s297ms 1s297ms 09 2 2s618ms 1s309ms 10 1 1s421ms 1s421ms 18 1 1s321ms 1s321ms 20 1 1s309ms 1s309ms 21 1 1s305ms 1s305ms 22 2 2s675ms 1s337ms Aug 24 04 1 1s290ms 1s290ms 05 2 2s722ms 1s361ms 07 1 1s370ms 1s370ms 11 1 1s366ms 1s366ms 14 1 1s235ms 1s235ms 18 1 1s361ms 1s361ms 22 1 1s295ms 1s295ms [ User: pubeu - Total duration: 1m - Times executed: 45 ]
-
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 = '2077874') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2077874') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-08-19 02:58:50 Duration: 1s716ms 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 = '2074283') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2074283') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-08-19 10:04:28 Duration: 1s585ms 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 = '2074262') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2074262') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-08-19 05:43:58 Duration: 1s509ms Bind query: yes
9 68 1m35s 1s320ms 1s540ms 1s404ms select t.nm, t.nm_html nmhtml, t.secondary_nm secondarynm, t.acc_txt acc, ? || t.nm accquerystr, t.has_chems haschems, t.has_diseases hasdiseases, t.has_exposures hasexposures, t.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term t where t.object_type_id = ? and regexp_replace(upper(substring(t.nm, ?, ?)), ?, ?) = ? order by t.nm_sort limit ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Aug 18 05 2 2s788ms 1s394ms 06 1 1s454ms 1s454ms 23 2 2s801ms 1s400ms Aug 19 04 3 4s271ms 1s423ms 05 3 4s331ms 1s443ms 08 1 1s367ms 1s367ms 09 1 1s388ms 1s388ms 10 3 4s250ms 1s416ms 11 1 1s419ms 1s419ms 12 1 1s392ms 1s392ms Aug 20 01 1 1s360ms 1s360ms 05 3 4s250ms 1s416ms 09 2 2s797ms 1s398ms 14 1 1s414ms 1s414ms 17 1 1s349ms 1s349ms 19 1 1s455ms 1s455ms 22 1 1s336ms 1s336ms Aug 21 00 1 1s456ms 1s456ms 01 2 2s750ms 1s375ms 02 2 2s798ms 1s399ms 05 3 4s256ms 1s418ms 08 1 1s343ms 1s343ms 11 2 3s76ms 1s538ms 12 2 2s816ms 1s408ms 13 1 1s445ms 1s445ms Aug 22 00 1 1s347ms 1s347ms 03 2 2s827ms 1s413ms 05 4 5s698ms 1s424ms 08 2 2s904ms 1s452ms 21 1 1s356ms 1s356ms Aug 23 03 2 2s738ms 1s369ms 05 2 2s777ms 1s388ms 08 1 1s396ms 1s396ms 10 1 1s348ms 1s348ms Aug 24 05 3 4s157ms 1s385ms 06 1 1s332ms 1s332ms 09 4 5s537ms 1s384ms 10 1 1s386ms 1s386ms 21 1 1s346ms 1s346ms [ User: pubeu - Total duration: 1m3s - Times executed: 45 ]
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2024-08-21 11:31:30 Duration: 1s540ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2024-08-21 11:48:11 Duration: 1s535ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2024-08-19 05:42:09 Duration: 1s504ms Bind query: yes
10 44 1m38s 1s3ms 3s709ms 2s231ms with recursive sub_node ( object_id, id, path, lvl ) as ( select n.object_id, n.id, array[n.nm_sort], ? from dag_node n where n.object_id = ? union all select n.object_id, n.id, cast(path || n.nm_sort as varchar(?)[]), sn.lvl + ? from dag_node n inner join sub_node sn on (n.parent_id = sn.id)) select distinct t.nm prinm, t.nm_html prinmhtml, t.secondary_nm secondarynm, t.acc_db_cd accdbcd, t.acc_txt termacc, t.is_leaf isleaf, t.has_chems haschems, t.has_diseases hasdiseases, t.has_exposures hasexposures, t.has_genes hasgenes, sn.lvl, sn.path, max(sn.lvl) over () maxlvl, t.has_phenotypes hasphenotypes from sub_node sn inner join term t on sn.object_id = t.id where sn.lvl <= ? order by sn.path;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Aug 18 05 4 8s707ms 2s176ms 09 1 3s235ms 3s235ms 12 2 3s807ms 1s903ms Aug 19 05 4 9s270ms 2s317ms 19 1 1s818ms 1s818ms Aug 20 05 4 8s742ms 2s185ms 11 1 2s413ms 2s413ms 13 1 3s287ms 3s287ms Aug 21 05 4 8s678ms 2s169ms 11 4 9s62ms 2s265ms Aug 22 05 4 8s906ms 2s226ms 12 2 3s817ms 1s908ms 17 1 1s784ms 1s784ms Aug 23 05 4 8s738ms 2s184ms 10 1 3s270ms 3s270ms 12 1 1s939ms 1s939ms Aug 24 05 5 10s709ms 2s141ms [ User: pubeu - Total duration: 50s515ms - Times executed: 18 ]
[ User: qaeu - Total duration: 23s771ms - Times executed: 7 ]
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '591154' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2024-08-19 05:40:13 Duration: 3s709ms Database: ctdprd51 User: qaeu Bind query: yes
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '591154' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2024-08-21 11:47:54 Duration: 3s446ms Database: ctdprd51 User: pubeu Bind query: yes
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '591154' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2024-08-22 05:35:12 Duration: 3s408ms Database: ctdprd51 User: pubeu Bind query: yes
11 41 54s812ms 1s28ms 1s850ms 1s336ms select fg.nm fromgenesymbol, fg.acc_txt fromgeneacc, tg.nm togenesymbol, tg.acc_txt togeneacc, ft.nm fromtaxonnm, ft.secondary_nm fromtaxoncommonnm, ft.acc_txt fromtaxonacc, tt.nm totaxonnm, tt.secondary_nm totaxoncommonnm, tt.acc_txt totaxonacc, ggr.experimental_sys_nm, ggr.experimental_sys_type, ( select string_agg(ggt.throughput_txt, ? order by ggt.throughput_txt) from gene_gene_ref_throughput ggt where ggt.gene_gene_reference_id = ggr.id) throughput, count(*) over () fullrowcount from gene_gene_reference ggr inner join term fg on ggr.from_gene_id = fg.id inner join term tg on ggr.to_gene_id = tg.id inner join term ft on ggr.from_taxon_id = ft.id inner join term tt on ggr.to_taxon_id = tt.id where ggr.reference_id = ? order by fg.nm_sort, tg.nm_sort limit ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Aug 18 05 4 5s892ms 1s473ms 07 1 1s77ms 1s77ms 12 1 1s182ms 1s182ms Aug 19 00 1 1s182ms 1s182ms 03 1 1s171ms 1s171ms 05 4 4s940ms 1s235ms 07 1 1s191ms 1s191ms 12 1 1s92ms 1s92ms Aug 20 04 1 1s215ms 1s215ms 05 4 5s953ms 1s488ms Aug 21 05 3 3s928ms 1s309ms 11 3 3s376ms 1s125ms Aug 22 05 4 6s229ms 1s557ms 08 1 1s203ms 1s203ms Aug 23 05 4 6s182ms 1s545ms 21 1 1s212ms 1s212ms Aug 24 05 4 5s343ms 1s335ms 17 2 2s437ms 1s218ms [ User: pubeu - Total duration: 18s605ms - Times executed: 15 ]
[ User: qaeu - Total duration: 8s420ms - Times executed: 6 ]
-
SELECT /* ReferenceGeneGeneIxnsDAO */ fg.nm fromGeneSymbol, fg.acc_txt fromGeneAcc, tg.nm toGeneSymbol, tg.acc_txt toGeneAcc, ft.nm fromTaxonNm, ft.secondary_nm fromTaxonCommonNm, ft.acc_txt fromTaxonAcc, tt.nm toTaxonNm, tt.secondary_nm toTaxonCommonNm, tt.acc_txt toTaxonAcc, ggr.experimental_sys_nm, ggr.experimental_sys_type, ( SELECT STRING_AGG(ggt.throughput_txt, ', ' ORDER BY ggt.throughput_txt) FROM gene_gene_ref_throughput ggt WHERE ggt.gene_gene_reference_id = ggr.id) throughput, COUNT(*) OVER () fullRowCount FROM gene_gene_reference ggr INNER JOIN term fg ON ggr.from_gene_id = fg.id INNER JOIN term tg ON ggr.to_gene_id = tg.id INNER JOIN term ft ON ggr.from_taxon_id = ft.id INNER JOIN term tt ON ggr.to_taxon_id = tt.id WHERE ggr.reference_id = '111363' ORDER BY fg.nm_sort, tg.nm_sort LIMIT 50;
Date: 2024-08-22 05:38:13 Duration: 1s850ms Bind query: yes
-
SELECT /* ReferenceGeneGeneIxnsDAO */ fg.nm fromGeneSymbol, fg.acc_txt fromGeneAcc, tg.nm toGeneSymbol, tg.acc_txt toGeneAcc, ft.nm fromTaxonNm, ft.secondary_nm fromTaxonCommonNm, ft.acc_txt fromTaxonAcc, tt.nm toTaxonNm, tt.secondary_nm toTaxonCommonNm, tt.acc_txt toTaxonAcc, ggr.experimental_sys_nm, ggr.experimental_sys_type, ( SELECT STRING_AGG(ggt.throughput_txt, ', ' ORDER BY ggt.throughput_txt) FROM gene_gene_ref_throughput ggt WHERE ggt.gene_gene_reference_id = ggr.id) throughput, COUNT(*) OVER () fullRowCount FROM gene_gene_reference ggr INNER JOIN term fg ON ggr.from_gene_id = fg.id INNER JOIN term tg ON ggr.to_gene_id = tg.id INNER JOIN term ft ON ggr.from_taxon_id = ft.id INNER JOIN term tt ON ggr.to_taxon_id = tt.id WHERE ggr.reference_id = '111363' ORDER BY fg.nm_sort, tg.nm_sort LIMIT 50;
Date: 2024-08-20 05:43:14 Duration: 1s705ms Bind query: yes
-
SELECT /* ReferenceGeneGeneIxnsDAO */ fg.nm fromGeneSymbol, fg.acc_txt fromGeneAcc, tg.nm toGeneSymbol, tg.acc_txt toGeneAcc, ft.nm fromTaxonNm, ft.secondary_nm fromTaxonCommonNm, ft.acc_txt fromTaxonAcc, tt.nm toTaxonNm, tt.secondary_nm toTaxonCommonNm, tt.acc_txt toTaxonAcc, ggr.experimental_sys_nm, ggr.experimental_sys_type, ( SELECT STRING_AGG(ggt.throughput_txt, ', ' ORDER BY ggt.throughput_txt) FROM gene_gene_ref_throughput ggt WHERE ggt.gene_gene_reference_id = ggr.id) throughput, COUNT(*) OVER () fullRowCount FROM gene_gene_reference ggr INNER JOIN term fg ON ggr.from_gene_id = fg.id INNER JOIN term tg ON ggr.to_gene_id = tg.id INNER JOIN term ft ON ggr.from_taxon_id = ft.id INNER JOIN term tt ON ggr.to_taxon_id = tt.id WHERE ggr.reference_id = '111363' ORDER BY fg.nm_sort, tg.nm_sort LIMIT 50;
Date: 2024-08-23 05:38:13 Duration: 1s699ms Bind query: yes
12 28 38s683ms 1s354ms 1s428ms 1s381ms 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 #12
Day Hour Count Duration Avg duration Aug 18 05 2 2s716ms 1s358ms 07 1 1s384ms 1s384ms Aug 19 05 2 2s764ms 1s382ms 21 1 1s383ms 1s383ms Aug 20 05 2 2s715ms 1s357ms 06 1 1s405ms 1s405ms 20 1 1s394ms 1s394ms Aug 21 04 1 1s390ms 1s390ms 05 3 4s113ms 1s371ms 11 3 4s176ms 1s392ms Aug 22 05 2 2s787ms 1s393ms 19 1 1s370ms 1s370ms Aug 23 05 2 2s754ms 1s377ms 10 1 1s390ms 1s390ms Aug 24 05 2 2s817ms 1s408ms 07 1 1s356ms 1s356ms 18 1 1s357ms 1s357ms 20 1 1s403ms 1s403ms [ User: pubeu - Total duration: 12s500ms - Times executed: 9 ]
[ User: qaeu - Total duration: 1s395ms - Times executed: 1 ]
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2024-08-21 11:49:46 Duration: 1s428ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2024-08-24 05:43:36 Duration: 1s421ms Bind query: yes
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2024-08-20 06:15:57 Duration: 1s405ms Database: ctdprd51 User: pubeu Bind query: yes
13 25 14m3s 33s333ms 34s83ms 33s732ms 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 #13
Day Hour Count Duration Avg duration Aug 18 06 1 33s604ms 33s604ms 10 1 33s677ms 33s677ms 14 1 33s622ms 33s622ms 18 1 33s557ms 33s557ms Aug 19 06 1 33s874ms 33s874ms 10 1 33s675ms 33s675ms 14 1 33s792ms 33s792ms 18 1 33s934ms 33s934ms Aug 20 06 1 33s767ms 33s767ms 10 1 33s687ms 33s687ms 14 1 33s932ms 33s932ms 18 1 33s709ms 33s709ms Aug 21 06 1 33s657ms 33s657ms 10 1 33s727ms 33s727ms 14 1 33s782ms 33s782ms 18 1 33s671ms 33s671ms Aug 22 06 1 33s955ms 33s955ms 10 1 33s745ms 33s745ms 14 1 34s83ms 34s83ms 18 1 33s823ms 33s823ms Aug 23 06 1 33s587ms 33s587ms 10 1 33s629ms 33s629ms 14 1 33s677ms 33s677ms 18 1 33s809ms 33s809ms Aug 24 19 1 33s333ms 33s333ms [ User: postgres - Total duration: 13m29s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 13m29s - Times executed: 24 ]
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-08-22 14:05:36 Duration: 34s83ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-08-22 06:05:35 Duration: 33s955ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-08-19 18:05:35 Duration: 33s934ms Database: ctdprd51 User: postgres Application: pg_dump
14 25 6m 14s325ms 14s563ms 14s416ms copy edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Aug 18 06 1 14s366ms 14s366ms 10 1 14s416ms 14s416ms 14 1 14s325ms 14s325ms 18 1 14s369ms 14s369ms Aug 19 06 1 14s396ms 14s396ms 10 1 14s563ms 14s563ms 14 1 14s430ms 14s430ms 18 1 14s455ms 14s455ms Aug 20 06 1 14s354ms 14s354ms 10 1 14s394ms 14s394ms 14 1 14s479ms 14s479ms 18 1 14s424ms 14s424ms Aug 21 06 1 14s486ms 14s486ms 10 1 14s418ms 14s418ms 14 1 14s496ms 14s496ms 18 1 14s413ms 14s413ms Aug 22 06 1 14s402ms 14s402ms 10 1 14s453ms 14s453ms 14 1 14s445ms 14s445ms 18 1 14s410ms 14s410ms Aug 23 06 1 14s350ms 14s350ms 10 1 14s370ms 14s370ms 14 1 14s436ms 14s436ms 18 1 14s377ms 14s377ms Aug 24 18 1 14s363ms 14s363ms [ User: postgres - Total duration: 6m - Times executed: 25 ]
[ Application: pg_dump - Total duration: 6m - Times executed: 25 ]
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-19 10:00:16 Duration: 14s563ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-21 14:00:16 Duration: 14s496ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-21 06:00:16 Duration: 14s486ms Database: ctdprd51 User: postgres Application: pg_dump
15 25 5m37s 13s359ms 13s771ms 13s485ms copy edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Aug 18 06 1 13s501ms 13s501ms 10 1 13s538ms 13s538ms 14 1 13s359ms 13s359ms 18 1 13s432ms 13s432ms Aug 19 06 1 13s734ms 13s734ms 10 1 13s567ms 13s567ms 14 1 13s465ms 13s465ms 18 1 13s538ms 13s538ms Aug 20 06 1 13s413ms 13s413ms 10 1 13s771ms 13s771ms 14 1 13s427ms 13s427ms 18 1 13s418ms 13s418ms Aug 21 06 1 13s429ms 13s429ms 10 1 13s424ms 13s424ms 14 1 13s536ms 13s536ms 18 1 13s433ms 13s433ms Aug 22 06 1 13s431ms 13s431ms 10 1 13s458ms 13s458ms 14 1 13s542ms 13s542ms 18 1 13s423ms 13s423ms Aug 23 06 1 13s380ms 13s380ms 10 1 13s499ms 13s499ms 14 1 13s552ms 13s552ms 18 1 13s431ms 13s431ms Aug 24 18 1 13s425ms 13s425ms -
COPY edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-20 10:00:44 Duration: 13s771ms
-
COPY edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-19 06:00:44 Duration: 13s734ms
-
COPY edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-19 10:00:45 Duration: 13s567ms
16 25 3m21s 7s956ms 8s200ms 8s43ms copy pubc.log_query_bots (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status, user_agent_pattern) to stdout;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Aug 18 06 1 7s992ms 7s992ms 10 1 8s49ms 8s49ms 14 1 8s20ms 8s20ms 18 1 7s982ms 7s982ms Aug 19 06 1 8s82ms 8s82ms 10 1 8s80ms 8s80ms 14 1 8s41ms 8s41ms 18 1 8s68ms 8s68ms Aug 20 06 1 8s48ms 8s48ms 10 1 8s51ms 8s51ms 14 1 8s58ms 8s58ms 18 1 8s86ms 8s86ms Aug 21 06 1 8s51ms 8s51ms 10 1 8s11ms 8s11ms 14 1 8s52ms 8s52ms 18 1 7s998ms 7s998ms Aug 22 06 1 8s56ms 8s56ms 10 1 8s47ms 8s47ms 14 1 8s7ms 8s7ms 18 1 8s200ms 8s200ms Aug 23 06 1 8s17ms 8s17ms 10 1 8s18ms 8s18ms 14 1 8s32ms 8s32ms 18 1 8s58ms 8s58ms Aug 24 19 1 7s956ms 7s956ms -
COPY pubc.log_query_bots (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status, user_agent_pattern) TO stdout;
Date: 2024-08-22 18:05:44 Duration: 8s200ms
-
COPY pubc.log_query_bots (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status, user_agent_pattern) TO stdout;
Date: 2024-08-20 18:05:44 Duration: 8s86ms
-
COPY pubc.log_query_bots (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status, user_agent_pattern) TO stdout;
Date: 2024-08-19 06:05:43 Duration: 8s82ms
17 25 2m46s 6s599ms 6s735ms 6s641ms copy edit.ixn (id, ixn_type_id, parent_id, position_seq, root_id, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Aug 18 06 1 6s636ms 6s636ms 10 1 6s638ms 6s638ms 14 1 6s599ms 6s599ms 18 1 6s625ms 6s625ms Aug 19 06 1 6s696ms 6s696ms 10 1 6s735ms 6s735ms 14 1 6s653ms 6s653ms 18 1 6s629ms 6s629ms Aug 20 06 1 6s624ms 6s624ms 10 1 6s636ms 6s636ms 14 1 6s644ms 6s644ms 18 1 6s653ms 6s653ms Aug 21 06 1 6s653ms 6s653ms 10 1 6s644ms 6s644ms 14 1 6s618ms 6s618ms 18 1 6s671ms 6s671ms Aug 22 06 1 6s665ms 6s665ms 10 1 6s624ms 6s624ms 14 1 6s660ms 6s660ms 18 1 6s610ms 6s610ms Aug 23 06 1 6s619ms 6s619ms 10 1 6s633ms 6s633ms 14 1 6s642ms 6s642ms 18 1 6s624ms 6s624ms Aug 24 18 1 6s604ms 6s604ms -
COPY edit.ixn (id, ixn_type_id, parent_id, position_seq, root_id, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-19 10:00:25 Duration: 6s735ms
-
COPY edit.ixn (id, ixn_type_id, parent_id, position_seq, root_id, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-19 06:00:24 Duration: 6s696ms
-
COPY edit.ixn (id, ixn_type_id, parent_id, position_seq, root_id, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-21 18:00:24 Duration: 6s671ms
18 25 2m27s 5s840ms 6s58ms 5s902ms copy edit.reference_ixn (id, reference_acc_txt, reference_acc_db_id, ixn_id, taxon_acc_txt, taxon_acc_db_id, evidence_cd, source_cd, field_cd, internal_note, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Aug 18 06 1 5s870ms 5s870ms 10 1 6s58ms 6s58ms 14 1 5s840ms 5s840ms 18 1 5s900ms 5s900ms Aug 19 06 1 5s891ms 5s891ms 10 1 5s930ms 5s930ms 14 1 5s886ms 5s886ms 18 1 5s916ms 5s916ms Aug 20 06 1 5s890ms 5s890ms 10 1 5s879ms 5s879ms 14 1 5s893ms 5s893ms 18 1 5s884ms 5s884ms Aug 21 06 1 5s889ms 5s889ms 10 1 5s923ms 5s923ms 14 1 5s888ms 5s888ms 18 1 5s909ms 5s909ms Aug 22 06 1 5s949ms 5s949ms 10 1 5s892ms 5s892ms 14 1 5s882ms 5s882ms 18 1 5s890ms 5s890ms Aug 23 06 1 5s877ms 5s877ms 10 1 5s906ms 5s906ms 14 1 5s900ms 5s900ms 18 1 5s891ms 5s891ms Aug 24 18 1 5s911ms 5s911ms -
COPY edit.reference_ixn (id, reference_acc_txt, reference_acc_db_id, ixn_id, taxon_acc_txt, taxon_acc_db_id, evidence_cd, source_cd, field_cd, internal_note, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-18 10:01:06 Duration: 6s58ms
-
COPY edit.reference_ixn (id, reference_acc_txt, reference_acc_db_id, ixn_id, taxon_acc_txt, taxon_acc_db_id, evidence_cd, source_cd, field_cd, internal_note, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-22 06:01:06 Duration: 5s949ms
-
COPY edit.reference_ixn (id, reference_acc_txt, reference_acc_db_id, ixn_id, taxon_acc_txt, taxon_acc_db_id, evidence_cd, source_cd, field_cd, internal_note, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-19 10:01:07 Duration: 5s930ms
19 25 2m18s 5s487ms 5s649ms 5s527ms copy edit.ixn_action (ixn_id, action_type_id, action_degree_type_id, position_seq, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Aug 18 06 1 5s530ms 5s530ms 10 1 5s510ms 5s510ms 14 1 5s497ms 5s497ms 18 1 5s515ms 5s515ms Aug 19 06 1 5s610ms 5s610ms 10 1 5s649ms 5s649ms 14 1 5s557ms 5s557ms 18 1 5s539ms 5s539ms Aug 20 06 1 5s501ms 5s501ms 10 1 5s522ms 5s522ms 14 1 5s521ms 5s521ms 18 1 5s526ms 5s526ms Aug 21 06 1 5s542ms 5s542ms 10 1 5s494ms 5s494ms 14 1 5s532ms 5s532ms 18 1 5s500ms 5s500ms Aug 22 06 1 5s528ms 5s528ms 10 1 5s517ms 5s517ms 14 1 5s519ms 5s519ms 18 1 5s523ms 5s523ms Aug 23 06 1 5s493ms 5s493ms 10 1 5s487ms 5s487ms 14 1 5s518ms 5s518ms 18 1 5s530ms 5s530ms Aug 24 18 1 5s502ms 5s502ms -
COPY edit.ixn_action (ixn_id, action_type_id, action_degree_type_id, position_seq, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-19 10:00:31 Duration: 5s649ms
-
COPY edit.ixn_action (ixn_id, action_type_id, action_degree_type_id, position_seq, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-19 06:00:30 Duration: 5s610ms
-
COPY edit.ixn_action (ixn_id, action_type_id, action_degree_type_id, position_seq, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-19 14:00:30 Duration: 5s557ms
20 25 1m6s 2s601ms 2s674ms 2s644ms copy edit.reference_ixn_qualifier (reference_ixn_id, ixn_qualifier_id, create_by, create_tm) to stdout;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Aug 18 06 1 2s644ms 2s644ms 10 1 2s647ms 2s647ms 14 1 2s601ms 2s601ms 18 1 2s626ms 2s626ms Aug 19 06 1 2s658ms 2s658ms 10 1 2s630ms 2s630ms 14 1 2s625ms 2s625ms 18 1 2s642ms 2s642ms Aug 20 06 1 2s666ms 2s666ms 10 1 2s638ms 2s638ms 14 1 2s657ms 2s657ms 18 1 2s646ms 2s646ms Aug 21 06 1 2s627ms 2s627ms 10 1 2s674ms 2s674ms 14 1 2s627ms 2s627ms 18 1 2s635ms 2s635ms Aug 22 06 1 2s664ms 2s664ms 10 1 2s661ms 2s661ms 14 1 2s657ms 2s657ms 18 1 2s662ms 2s662ms Aug 23 06 1 2s645ms 2s645ms 10 1 2s634ms 2s634ms 14 1 2s657ms 2s657ms 18 1 2s636ms 2s636ms Aug 24 18 1 2s649ms 2s649ms -
COPY edit.reference_ixn_qualifier (reference_ixn_id, ixn_qualifier_id, create_by, create_tm) TO stdout;
Date: 2024-08-21 10:01:09 Duration: 2s674ms
-
COPY edit.reference_ixn_qualifier (reference_ixn_id, ixn_qualifier_id, create_by, create_tm) TO stdout;
Date: 2024-08-20 06:01:09 Duration: 2s666ms
-
COPY edit.reference_ixn_qualifier (reference_ixn_id, ixn_qualifier_id, create_by, create_tm) TO stdout;
Date: 2024-08-22 06:01:10 Duration: 2s664ms
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 23m39s 23m39s 23m39s 1 23m39s copy pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Aug 24 19 1 23m39s 23m39s -
COPY pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2024-08-24 19:00:33 Duration: 23m39s
2 23m35s 23m35s 23m35s 1 23m35s copy pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Aug 24 19 1 23m35s 23m35s -
COPY pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2024-08-24 19:42:23 Duration: 23m35s
3 16m25s 16m34s 16m30s 7 1h55m32s select maint_query_logs_archive ();Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Aug 18 00 1 16m34s 16m34s Aug 19 00 1 16m28s 16m28s Aug 20 00 1 16m25s 16m25s Aug 21 00 1 16m31s 16m31s Aug 22 00 1 16m29s 16m29s Aug 23 00 1 16m31s 16m31s Aug 24 00 1 16m31s 16m31s -
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-08-18 00:16:36 Duration: 16m34s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-08-21 00:16:33 Duration: 16m31s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-08-24 00:16:33 Duration: 16m31s
4 12m10s 12m37s 12m24s 2 24m48s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?))) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?)) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by c.nm_sort, g.nm_sort, i.sort_txt limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Aug 18 20 2 24m48s 12m24s [ User: pubeu - Total duration: 24m48s - Times executed: 2 ]
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'JUND') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5))) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-08-18 20:54:36 Duration: 12m37s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'JUND') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5))) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-08-18 20:54:55 Duration: 12m10s Database: ctdprd51 User: pubeu Bind query: yes
5 10m50s 12m41s 11m58s 13 2h35m38s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?))) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?)) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by c.nm_sort, g.nm_sort, i.sort_txt limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Aug 18 20 6 1h10m42s 11m47s 21 6 1h14m5s 12m20s Aug 19 08 1 10m50s 10m50s [ User: pubeu - Total duration: 1h59m53s - Times executed: 10 ]
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'JUND') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5))) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-08-18 21:31:28 Duration: 12m41s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'JUND') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5))) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-08-18 21:32:13 Duration: 12m35s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'JUND') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5))) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-08-18 21:33:05 Duration: 12m30s Bind query: yes
6 10m40s 10m40s 10m40s 1 10m40s select gcr.ixn_id, null, gcr.gene_id, null from gene_chem_reference gcr where gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select gd.gene_id from term t inner join dag_path dp on t.id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(t.nm) like ? and t.object_type_id = ? and gd.curated_reference_qty > ?)));Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Aug 24 06 1 10m40s 10m40s -
SELECT /* CIQH.getIxnCacheQuery */ gcr.ixn_id, NULL, gcr.gene_id, NULL FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'FLIG') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RESPIRATORY TRACT DISEASES' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0)));
Date: 2024-08-24 06:41:38 Duration: 10m40s Bind query: yes
7 10m30s 10m30s 10m30s 1 10m30s select g.id geneid, g.acc_txt acc, g.nm nm, g.nm nmhtml, g.secondary_nm secondarynm, g.has_chems haschems, g.has_diseases hasdiseases, g.has_exposures hasexposures, g.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term g where g.id in ( select gcr.gene_id from gene_chem_reference gcr where gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select gd.gene_id from term t inner join dag_path dp on t.id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(t.nm) like ? and t.object_type_id = ? and gd.curated_reference_qty > ?)))) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Aug 24 06 1 10m30s 10m30s [ User: pubeu - Total duration: 10m30s - Times executed: 1 ]
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'FLIG') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RESPIRATORY TRACT DISEASES' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0)))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-08-24 06:51:41 Duration: 10m30s Database: ctdprd51 User: pubeu Bind query: yes
8 6m49s 6m49s 6m49s 1 6m49s copy pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Aug 24 19 1 6m49s 6m49s -
COPY pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-08-24 19:12:15 Duration: 6m49s
9 6m46s 6m46s 6m46s 1 6m46s copy pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Aug 24 19 1 6m46s 6m46s -
COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-08-24 19:54:00 Duration: 6m46s
10 4m56s 5m11s 5m3s 5 25m16s select distinct phenotypeterm.nm as gonm, phenotypeterm.nm_html as gonmhtml, phenotypeterm.acc_txt as goacc, diseaseterm.nm as diseasenm, diseaseterm.nm_html as diseasenmhtml, diseaseterm.acc_txt as diseaseacc, diseaseterm.acc_db_cd as diseaseaccdbcd, chemterm.nm as chemnm, chemterm.nm_html as chemnmhtml, chemterm.acc_txt as chemacc, geneterm.nm as genesymbol, geneterm.nm_html as genesymbolhtml, geneterm.acc_txt as geneacc, count(*) over () fullrowcount from phenotype_term_reference viachemptr, phenotype_term_reference viageneptr, term phenotypeterm, term diseaseterm, term geneterm, term chemterm where diseaseterm.id = any (array ( select baseterm.id from term baseterm where baseterm.object_type_id = ? and baseterm.id in ( select term_id from term_label tl where upper(tl.nm) = ? and tl.object_type_id = ?))) and viachemptr.phenotype_id = phenotypeterm.id and viachemptr.term_object_type_id = ? and viachemptr.term_id = diseaseterm.id and viachemptr.via_term_object_type_id = ? and viachemptr.via_term_id = chemterm.id and viachemptr.term_id = viageneptr.term_id and viachemptr.phenotype_id = viageneptr.phenotype_id and viageneptr.via_term_object_type_id = ? and viageneptr.via_term_id = geneterm.id and exists ( select ? from gene_chem_reference where gene_id = geneterm.id and chem_id = chemterm.id) group by phenotypeterm.nm, phenotypeterm.nm_html, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.nm_html, diseaseterm.acc_txt, diseaseterm.acc_db_cd, chemterm.nm, chemterm.nm_html, chemterm.acc_txt, geneterm.nm, geneterm.nm_html, geneterm.acc_txt order by geneterm.nm limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Aug 19 05 5 25m16s 5m3s [ User: pubeu - Total duration: 15m9s - Times executed: 3 ]
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where diseaseTerm.id = ANY (ARRAY ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'HYPERTENSION' AND tl.object_type_id = 3))) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by geneTerm.nm LIMIT 50;
Date: 2024-08-19 05:44:35 Duration: 5m11s Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where diseaseTerm.id = ANY (ARRAY ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'HYPERTENSION' AND tl.object_type_id = 3))) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by geneTerm.nm LIMIT 50;
Date: 2024-08-19 05:44:34 Duration: 5m8s Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where diseaseTerm.id = ANY (ARRAY ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'HYPERTENSION' AND tl.object_type_id = 3))) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by geneTerm.nm LIMIT 50;
Date: 2024-08-19 05:44:29 Duration: 5m1s Database: ctdprd51 User: pubeu Bind query: yes
11 2m3s 2m5s 2m4s 4 8m17s 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(?, ? reference ? pg_catalog.english ? aortic & smooth & muscle % & and & ? = convert & int) 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 ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ?, ? = ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or 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 ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like)) ii group by ii.cd;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Aug 18 15 4 8m17s 2m4s [ User: pubeu - Total duration: 2m4s - Times executed: 1 ]
-
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', 'AORTIC & SMOOTH & MUSCLE% & AND & 3971=CONVERT & INT) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' AORTIC & SMOOTH & MUSCLE % & AND & 3971 = CONVERT & INT) 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 'AORTIC' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SMOOTH' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'MUSCLE%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3971=CONVERT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INT,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '118' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '112' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '112' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR', $19 = '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CASE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WHEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3971=3971' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'THEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '49' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELSE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '48' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'END' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '120' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '118' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '112' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AORTIC')) 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 'SMOOTH' OR upper(l.acc_txt) LIKE 'MUSCLE%' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '3971=CONVERT' OR upper(l.acc_txt) LIKE 'INT,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '118' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '112' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '112' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'CASE' OR upper(l.acc_txt) LIKE 'WHEN' OR upper(l.acc_txt) LIKE '3971=3971' OR upper(l.acc_txt) LIKE 'THEN' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '49' OR upper(l.acc_txt) LIKE 'ELSE' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '48' OR upper(l.acc_txt) LIKE 'END' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '120' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '118' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '112' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '%' OR upper(l.acc_txt) LIKE '=' OR upper(l.acc_txt) LIKE)) ii GROUP BY ii.cd;
Date: 2024-08-18 15:23:30 Duration: 2m5s 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', 'AORTIC & SMOOTH & MUSCLE% & AND & 3971=CONVERT & INT) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' AORTIC & SMOOTH & MUSCLE % & AND & 3971 = CONVERT & INT) 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 'AORTIC' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SMOOTH' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'MUSCLE%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3971=CONVERT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INT,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '118' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '112' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '112' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR', $19 = '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CASE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WHEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3971=3971' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'THEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '49' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELSE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '48' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'END' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '120' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '118' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '112' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AORTIC')) 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 'SMOOTH' OR upper(l.acc_txt) LIKE 'MUSCLE%' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '3971=CONVERT' OR upper(l.acc_txt) LIKE 'INT,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '118' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '112' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '112' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'CASE' OR upper(l.acc_txt) LIKE 'WHEN' OR upper(l.acc_txt) LIKE '3971=3971' OR upper(l.acc_txt) LIKE 'THEN' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '49' OR upper(l.acc_txt) LIKE 'ELSE' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '48' OR upper(l.acc_txt) LIKE 'END' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '120' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '118' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '112' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '%' OR upper(l.acc_txt) LIKE '=' OR upper(l.acc_txt) LIKE)) ii GROUP BY ii.cd;
Date: 2024-08-18 15:24:30 Duration: 2m4s 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', 'AORTIC & SMOOTH & MUSCLE% & AND & 3971=CONVERT & INT) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' AORTIC & SMOOTH & MUSCLE % & AND & 3971 = CONVERT & INT) 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 'AORTIC' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SMOOTH' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'MUSCLE%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3971=CONVERT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INT,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '118' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '112' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '112' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR', $19 = '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CASE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WHEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3971=3971' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'THEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '49' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELSE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '48' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'END' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '120' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '118' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '112' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AORTIC')) 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 'SMOOTH' OR upper(l.acc_txt) LIKE 'MUSCLE%' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '3971=CONVERT' OR upper(l.acc_txt) LIKE 'INT,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '118' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '112' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '112' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'CASE' OR upper(l.acc_txt) LIKE 'WHEN' OR upper(l.acc_txt) LIKE '3971=3971' OR upper(l.acc_txt) LIKE 'THEN' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '49' OR upper(l.acc_txt) LIKE 'ELSE' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '48' OR upper(l.acc_txt) LIKE 'END' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '120' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '118' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '112' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '%' OR upper(l.acc_txt) LIKE '=' OR upper(l.acc_txt) LIKE)) ii GROUP BY ii.cd;
Date: 2024-08-18 15:25:00 Duration: 2m4s Database: ctdprd51 User: pubeu Bind query: yes
12 1m25s 1m26s 1m25s 8 11m26s 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(?, ? reference ? pg_catalog.english ? aortic & smooth & muscle & and & select & ? & from & select & count &, || & ? x7176707071) 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 ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or 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 ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ?)) ii group by ii.cd;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Aug 18 15 8 11m26s 1m25s [ User: pubeu - Total duration: 10m - Times executed: 7 ]
-
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', 'AORTIC & SMOOTH & MUSCLE & AND & SELECT & 6515 & FROM & SELECT & COUNT & ,CONCAT & 0X7176707071) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' AORTIC & SMOOTH & MUSCLE & AND & SELECT & 6515 & FROM & SELECT & COUNT &, || & 0X7176707071) 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 'AORTIC' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SMOOTH' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'MUSCLE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '6515' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7176707071,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '6515=6515,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X7178767071,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'X' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'X' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'A' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'TOVD' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'TOVD')) 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 'AORTIC' OR upper(l.acc_txt) LIKE 'SMOOTH' OR upper(l.acc_txt) LIKE 'MUSCLE' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '6515' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7176707071,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '6515=6515,1' OR upper(l.acc_txt) LIKE ',0X7178767071,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'TOVD' OR upper(l.acc_txt) LIKE '=' OR upper(l.acc_txt) LIKE 'TOVD')) ii GROUP BY ii.cd;
Date: 2024-08-18 15:17:03 Duration: 1m26s 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', 'AORTIC & SMOOTH & MUSCLE & AND & SELECT & 6515 & FROM & SELECT & COUNT & ,CONCAT & 0X7176707071) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' AORTIC & SMOOTH & MUSCLE & AND & SELECT & 6515 & FROM & SELECT & COUNT &, || & 0X7176707071) 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 'AORTIC' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SMOOTH' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'MUSCLE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '6515' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7176707071,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '6515=6515,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X7178767071,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'X' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'X' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'A' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'IPGL' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'IPGL')) 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 'AORTIC' OR upper(l.acc_txt) LIKE 'SMOOTH' OR upper(l.acc_txt) LIKE 'MUSCLE' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '6515' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7176707071,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '6515=6515,1' OR upper(l.acc_txt) LIKE ',0X7178767071,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'IPGL' OR upper(l.acc_txt) LIKE '=' OR upper(l.acc_txt) LIKE 'IPGL')) ii GROUP BY ii.cd;
Date: 2024-08-18 15:18:33 Duration: 1m26s 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', 'AORTIC & SMOOTH & MUSCLE & AND & SELECT & 6515 & FROM & SELECT & COUNT & ,CONCAT & 0X7176707071) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' AORTIC & SMOOTH & MUSCLE & AND & SELECT & 6515 & FROM & SELECT & COUNT &, || & 0X7176707071) 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 'AORTIC' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SMOOTH' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'MUSCLE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '6515' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7176707071,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '6515=6515,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X7178767071,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'X' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'X' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'A' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'IPGL' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'IPGL')) 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 'AORTIC' OR upper(l.acc_txt) LIKE 'SMOOTH' OR upper(l.acc_txt) LIKE 'MUSCLE' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '6515' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7176707071,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '6515=6515,1' OR upper(l.acc_txt) LIKE ',0X7178767071,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'IPGL' OR upper(l.acc_txt) LIKE '=' OR upper(l.acc_txt) LIKE 'IPGL')) ii GROUP BY ii.cd;
Date: 2024-08-18 15:19:03 Duration: 1m25s Database: ctdprd51 User: pubeu Bind query: yes
13 1s8ms 57s358ms 47s390ms 2,992 1d15h23m13s select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ? offset ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Aug 18 00 1 4s366ms 4s366ms 04 1 1s288ms 1s288ms 07 1 1s388ms 1s388ms 11 1 26s32ms 26s32ms 15 13 15s396ms 1s184ms 20 24 18m50s 47s115ms 21 72 57m34s 47s982ms 22 74 57m58s 47s12ms 23 73 57m9s 46s976ms Aug 19 00 73 57m22s 47s151ms 01 73 57m26s 47s213ms 02 73 57m26s 47s218ms 03 73 57m29s 47s257ms 04 73 57m41s 47s411ms 05 57 45m5s 47s471ms 06 72 57m11s 47s662ms 07 73 57m48s 47s517ms 08 73 57m55s 47s611ms 09 72 57m 47s501ms 10 72 57m20s 47s790ms 11 73 58m6s 47s758ms 12 72 57m17s 47s748ms 13 72 57m27s 47s887ms 14 72 57m25s 47s858ms 15 72 57m41s 48s72ms 16 72 57m38s 48s40ms 17 72 57m38s 48s28ms 18 72 57m45s 48s131ms 19 71 56m52s 48s68ms 20 72 57m49s 48s185ms 21 72 57m40s 48s59ms 22 73 57m49s 47s526ms 23 71 57m9s 48s299ms Aug 20 00 72 57m46s 48s142ms 01 71 57m11s 48s330ms 02 74 57m50s 46s899ms 03 72 58m3s 48s380ms 04 71 57m47s 48s841ms 05 41 33m43s 49s350ms 15 1 1s290ms 1s290ms 16 1 2s713ms 2s713ms 19 1 2s366ms 2s366ms 21 52 41m47s 48s222ms 22 71 57m8s 48s292ms 23 72 57m56s 48s288ms Aug 21 00 71 57m19s 48s449ms 01 71 57m25s 48s522ms 02 71 57m28s 48s571ms 03 72 57m32s 47s951ms 04 71 57m34s 48s659ms 05 43 34m50s 48s608ms 14 1 10s234ms 10s234ms 16 1 2s627ms 2s627ms Aug 22 05 1 1s221ms 1s221ms 07 1 1s282ms 1s282ms 19 1 1s623ms 1s623ms 22 1 1s271ms 1s271ms Aug 23 05 1 5s7ms 5s7ms 14 2 5s696ms 2s848ms 16 1 15s803ms 15s803ms Aug 24 11 1 5s275ms 5s275ms 13 1 11s709ms 11s709ms 14 1 1s305ms 1s305ms 19 1 2s727ms 2s727ms [ User: pubeu - Total duration: 1d10h59m52s - Times executed: 2649 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2077399') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 2674150;
Date: 2024-08-20 02:51:07 Duration: 57s358ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2077399') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 2681800;
Date: 2024-08-20 05:00:52 Duration: 55s745ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2077399') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 2673550;
Date: 2024-08-20 02:40:07 Duration: 55s463ms Bind query: yes
14 1s335ms 4m39s 41s280ms 22 15m8s 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 #14
Day Hour Count Duration Avg duration Aug 18 15 1 1m10s 1m10s 18 1 1s672ms 1s672ms 19 1 1s495ms 1s495ms 20 1 1m22s 1m22s Aug 19 04 1 3s229ms 3s229ms 06 1 1s540ms 1s540ms 08 1 1s523ms 1s523ms Aug 20 04 6 4m49s 48s209ms 18 1 1s507ms 1s507ms 23 1 1s335ms 1s335ms Aug 22 08 1 1s574ms 1s574ms 10 1 4m36s 4m36s 20 1 1s416ms 1s416ms 23 1 1m18s 1m18s Aug 23 09 1 1s504ms 1s504ms 11 1 1s395ms 1s395ms Aug 24 23 1 1m32s 1m32s [ User: pubeu - Total duration: 5m40s - Times executed: 14 ]
-
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 = '1232860') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-08-20 04:24:14 Duration: 4m39s 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 = '1232860') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-08-22 10:13:19 Duration: 4m36s 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 = '1252386') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-08-24 23:43:08 Duration: 1m32s Database: ctdprd51 User: pubeu Bind query: yes
15 33s333ms 34s83ms 33s732ms 25 14m3s 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 #15
Day Hour Count Duration Avg duration Aug 18 06 1 33s604ms 33s604ms 10 1 33s677ms 33s677ms 14 1 33s622ms 33s622ms 18 1 33s557ms 33s557ms Aug 19 06 1 33s874ms 33s874ms 10 1 33s675ms 33s675ms 14 1 33s792ms 33s792ms 18 1 33s934ms 33s934ms Aug 20 06 1 33s767ms 33s767ms 10 1 33s687ms 33s687ms 14 1 33s932ms 33s932ms 18 1 33s709ms 33s709ms Aug 21 06 1 33s657ms 33s657ms 10 1 33s727ms 33s727ms 14 1 33s782ms 33s782ms 18 1 33s671ms 33s671ms Aug 22 06 1 33s955ms 33s955ms 10 1 33s745ms 33s745ms 14 1 34s83ms 34s83ms 18 1 33s823ms 33s823ms Aug 23 06 1 33s587ms 33s587ms 10 1 33s629ms 33s629ms 14 1 33s677ms 33s677ms 18 1 33s809ms 33s809ms Aug 24 19 1 33s333ms 33s333ms [ User: postgres - Total duration: 13m29s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 13m29s - Times executed: 24 ]
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-08-22 14:05:36 Duration: 34s83ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-08-22 06:05:35 Duration: 33s955ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-08-19 18:05:35 Duration: 33s934ms Database: ctdprd51 User: postgres Application: pg_dump
16 28s565ms 30s943ms 28s970ms 13 6m16s 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 ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or 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 ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ?)) ii group by ii.cd;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Aug 18 15 13 6m16s 28s970ms [ User: pubeu - Total duration: 5m16s - Times executed: 11 ]
-
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', 'AORTIC & SMOOTH & MUSCLE% & AND & SLEEP & 5 & AND & % & =') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'AORTIC & SMOOTH & MUSCLE% & AND & SLEEP & 5 & AND & % & =') 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 'AORTIC' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SMOOTH' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'MUSCLE%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SLEEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '5' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '%' OR 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 'AORTIC' OR upper(l.acc_txt) LIKE 'SMOOTH' OR upper(l.acc_txt) LIKE 'MUSCLE%' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'SLEEP' OR upper(l.acc_txt) LIKE '5' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '%' OR upper(l.acc_txt) LIKE '=')) ii GROUP BY ii.cd;
Date: 2024-08-18 15:29:24 Duration: 30s943ms 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', 'AORTIC & SMOOTH & MUSCLE% & UNION & ALL & SELECT & 95,95,95,95,95,CONCAT & 0X7176707071,0X726F47534B6A487678514A5942646E5868536A735A4B676D7161674B5371554C6762716749654D59,0X7178767071 & #') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'AORTIC & SMOOTH & MUSCLE% & UNION & ALL & SELECT & 95,95,95,95,95,CONCAT & 0X7176707071,0X726F47534B6A487678514A5942646E5868536A735A4B676D7161674B5371554C6762716749654D59,0X7178767071 & #') 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 'AORTIC' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SMOOTH' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'MUSCLE%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'UNION' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ALL' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '95,95,95,95,95,CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7176707071,0X726F47534B6A487678514A5942646E5868536A735A4B676D7161674B5371554C6762716749654D59,0X7178767071' OR 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 'AORTIC' OR upper(l.acc_txt) LIKE 'SMOOTH' OR upper(l.acc_txt) LIKE 'MUSCLE%' OR upper(l.acc_txt) LIKE 'UNION' OR upper(l.acc_txt) LIKE 'ALL' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '95,95,95,95,95,CONCAT' OR upper(l.acc_txt) LIKE '0X7176707071,0X726F47534B6A487678514A5942646E5868536A735A4B676D7161674B5371554C6762716749654D59,0X7178767071' OR upper(l.acc_txt) LIKE '#')) ii GROUP BY ii.cd;
Date: 2024-08-18 15:52:13 Duration: 28s954ms 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', 'AORTIC & SMOOTH & MUSCLE% & UNION & ALL & SELECT & 95,95,CONCAT & 0X7176707071,0X52474267664176557558,0X7178767071 & ,95,95,95#') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'AORTIC & SMOOTH & MUSCLE% & UNION & ALL & SELECT & 95,95,CONCAT & 0X7176707071,0X52474267664176557558,0X7178767071 & ,95,95,95#') 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 'AORTIC' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SMOOTH' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'MUSCLE%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'UNION' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ALL' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '95,95,CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7176707071,0X52474267664176557558,0X7178767071' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',95,95,95#')) 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 'AORTIC' OR upper(l.acc_txt) LIKE 'SMOOTH' OR upper(l.acc_txt) LIKE 'MUSCLE%' OR upper(l.acc_txt) LIKE 'UNION' OR upper(l.acc_txt) LIKE 'ALL' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '95,95,CONCAT' OR upper(l.acc_txt) LIKE '0X7176707071,0X52474267664176557558,0X7178767071' OR upper(l.acc_txt) LIKE ',95,95,95#')) ii GROUP BY ii.cd;
Date: 2024-08-18 15:54:41 Duration: 28s947ms Database: ctdprd51 User: pubeu Bind query: yes
17 14s325ms 14s563ms 14s416ms 25 6m copy edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Aug 18 06 1 14s366ms 14s366ms 10 1 14s416ms 14s416ms 14 1 14s325ms 14s325ms 18 1 14s369ms 14s369ms Aug 19 06 1 14s396ms 14s396ms 10 1 14s563ms 14s563ms 14 1 14s430ms 14s430ms 18 1 14s455ms 14s455ms Aug 20 06 1 14s354ms 14s354ms 10 1 14s394ms 14s394ms 14 1 14s479ms 14s479ms 18 1 14s424ms 14s424ms Aug 21 06 1 14s486ms 14s486ms 10 1 14s418ms 14s418ms 14 1 14s496ms 14s496ms 18 1 14s413ms 14s413ms Aug 22 06 1 14s402ms 14s402ms 10 1 14s453ms 14s453ms 14 1 14s445ms 14s445ms 18 1 14s410ms 14s410ms Aug 23 06 1 14s350ms 14s350ms 10 1 14s370ms 14s370ms 14 1 14s436ms 14s436ms 18 1 14s377ms 14s377ms Aug 24 18 1 14s363ms 14s363ms [ User: postgres - Total duration: 6m - Times executed: 25 ]
[ Application: pg_dump - Total duration: 6m - Times executed: 25 ]
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-19 10:00:16 Duration: 14s563ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-21 14:00:16 Duration: 14s496ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-21 06:00:16 Duration: 14s486ms Database: ctdprd51 User: postgres Application: pg_dump
18 13s359ms 13s771ms 13s485ms 25 5m37s copy edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Aug 18 06 1 13s501ms 13s501ms 10 1 13s538ms 13s538ms 14 1 13s359ms 13s359ms 18 1 13s432ms 13s432ms Aug 19 06 1 13s734ms 13s734ms 10 1 13s567ms 13s567ms 14 1 13s465ms 13s465ms 18 1 13s538ms 13s538ms Aug 20 06 1 13s413ms 13s413ms 10 1 13s771ms 13s771ms 14 1 13s427ms 13s427ms 18 1 13s418ms 13s418ms Aug 21 06 1 13s429ms 13s429ms 10 1 13s424ms 13s424ms 14 1 13s536ms 13s536ms 18 1 13s433ms 13s433ms Aug 22 06 1 13s431ms 13s431ms 10 1 13s458ms 13s458ms 14 1 13s542ms 13s542ms 18 1 13s423ms 13s423ms Aug 23 06 1 13s380ms 13s380ms 10 1 13s499ms 13s499ms 14 1 13s552ms 13s552ms 18 1 13s431ms 13s431ms Aug 24 18 1 13s425ms 13s425ms -
COPY edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-20 10:00:44 Duration: 13s771ms
-
COPY edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-19 06:00:44 Duration: 13s734ms
-
COPY edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-08-19 10:00:45 Duration: 13s567ms
19 1s56ms 1m9s 9s564ms 109 17m22s select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Aug 18 06 1 2s101ms 2s101ms Aug 19 05 1 1s56ms 1s56ms 06 9 11s118ms 1s235ms 07 1 2s10ms 2s10ms 10 1 1s95ms 1s95ms 15 1 3s435ms 3s435ms 23 1 1s999ms 1s999ms Aug 20 01 3 16s460ms 5s486ms 02 23 3m2s 7s937ms 04 10 1m15s 7s597ms 05 7 41s911ms 5s987ms 09 1 1s615ms 1s615ms 13 8 15s115ms 1s889ms Aug 21 01 2 16s186ms 8s93ms 02 1 7s465ms 7s465ms 10 1 2s160ms 2s160ms 11 13 8m55s 41s203ms 12 2 15s931ms 7s965ms 14 1 33s307ms 33s307ms 20 1 1s506ms 1s506ms Aug 22 00 2 15s14ms 7s507ms 01 2 15s268ms 7s634ms 05 1 1s248ms 1s248ms 06 2 2s357ms 1s178ms 11 2 15s344ms 7s672ms 12 1 7s363ms 7s363ms Aug 23 19 3 5s392ms 1s797ms Aug 24 09 4 5s945ms 1s486ms 10 4 5s928ms 1s482ms [ User: pubeu - Total duration: 14m11s - Times executed: 84 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2084677') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-08-21 11:20:31 Duration: 1m9s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2084677') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-08-21 11:20:31 Duration: 1m8s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2084677') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-08-21 11:19:36 Duration: 37s584ms Bind query: yes
20 7s956ms 8s200ms 8s43ms 25 3m21s copy pubc.log_query_bots (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status, user_agent_pattern) to stdout;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Aug 18 06 1 7s992ms 7s992ms 10 1 8s49ms 8s49ms 14 1 8s20ms 8s20ms 18 1 7s982ms 7s982ms Aug 19 06 1 8s82ms 8s82ms 10 1 8s80ms 8s80ms 14 1 8s41ms 8s41ms 18 1 8s68ms 8s68ms Aug 20 06 1 8s48ms 8s48ms 10 1 8s51ms 8s51ms 14 1 8s58ms 8s58ms 18 1 8s86ms 8s86ms Aug 21 06 1 8s51ms 8s51ms 10 1 8s11ms 8s11ms 14 1 8s52ms 8s52ms 18 1 7s998ms 7s998ms Aug 22 06 1 8s56ms 8s56ms 10 1 8s47ms 8s47ms 14 1 8s7ms 8s7ms 18 1 8s200ms 8s200ms Aug 23 06 1 8s17ms 8s17ms 10 1 8s18ms 8s18ms 14 1 8s32ms 8s32ms 18 1 8s58ms 8s58ms Aug 24 19 1 7s956ms 7s956ms -
COPY pubc.log_query_bots (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status, user_agent_pattern) TO stdout;
Date: 2024-08-22 18:05:44 Duration: 8s200ms
-
COPY pubc.log_query_bots (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status, user_agent_pattern) TO stdout;
Date: 2024-08-20 18:05:44 Duration: 8s86ms
-
COPY pubc.log_query_bots (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status, user_agent_pattern) TO stdout;
Date: 2024-08-19 06:05:43 Duration: 8s82ms
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query NO DATASET
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 0ms 98 0ms 0ms 0ms ;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration Aug 18 15 68 0ms 0ms Aug 19 10 2 0ms 0ms 15 2 0ms 0ms Aug 20 11 2 0ms 0ms Aug 21 10 2 0ms 0ms 12 2 0ms 0ms 14 2 0ms 0ms 15 2 0ms 0ms Aug 22 11 2 0ms 0ms 13 2 0ms 0ms Aug 23 06 3 0ms 0ms 11 3 0ms 0ms Aug 24 11 3 0ms 0ms 12 3 0ms 0ms [ User: pubeu - Total duration: 1h6m36s - Times executed: 82 ]
-
;
Date: Duration: 0ms Database: postgres User: ctdprd51 Remote: pubeu parameters: $1 = '1258348'
-
Events
Log levels
Key values
- 90,146 Log entries
Events distribution
Key values
- 0 PANIC entries
- 27 FATAL entries
- 163 ERROR entries
- 2 WARNING entries
Most Frequent Errors/Events
Key values
- 142 Max number of times the same event was reported
- 192 Total events found
Rank Times reported Error 1 142 ERROR: syntax error in ts"..."
Times Reported Most Frequent Error / Event #1
Day Hour Count Aug 18 15 142 - ERROR: syntax error in ts"AORTIC & SMOOTH & MUSCLE & DMTLMV< & >OFBGMX"
- ERROR: syntax error in ts"AORTIC & SMOOTH & MUSCLE & AND & SELECT & 6515 & FROM & SELECT & COUNT & ,CONCAT & 0X7176707071, & SELECT & ELT & 6515=6515,1 & ,0X7178767071,FLOOR & RAND & 0 & *2 & X & FROM & INFORMATION_SCHEMA.CHARACTER_SETS & GROUP & BY & X & A & (-- | ) & XKEN"
- ERROR: syntax error in ts"AORTIC & SMOOTH & MUSCLE & AND & 6286=CAST & CHR & 113 & CHR & 118 & CHR & 112 & CHR & 112 & CHR & 113 & || & SELECT & CASE & WHEN & 6286=6286 & THEN & 1 & ELSE & 0 & END & TEXT & CHR & 113 & CHR & 120 & CHR & 118 & CHR & 112 & CHR & 113 & AS & NUMERIC & AND & 7252=7252"
Statement: SELECT /* BasicCountsDAO gen */ ii.cd ,COUNT(ii.id) cnt FROM (SELECT ot.cd ,tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops',$1) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',$2) OR r.id IN (SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $3 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $4 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $5 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $6 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $7 ) ) 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 $8 OR upper( l.acc_txt ) LIKE $9 OR upper( l.acc_txt ) LIKE $10 OR upper( l.acc_txt ) LIKE $11 OR upper( l.acc_txt ) LIKE $12 ) ) ii GROUP BY ii.cd
Date: 2024-08-18 15:05:32
Statement: SELECT /* BasicCountsDAO gen */ ii.cd ,COUNT(ii.id) cnt FROM (SELECT ot.cd ,tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops',$1) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',$2) OR r.id IN (SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $3 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $4 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $5 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $6 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $7 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $8 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $9 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $10 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $11 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $12 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $13 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $14 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $15 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $16 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $17 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $18 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $19 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $20 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $21 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $22 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $23 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $24 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $25 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $26 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $27 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $28 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $29 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $30 ) ) 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 $31 OR upper( l.acc_txt ) LIKE $32 OR upper( l.acc_txt ) LIKE $33 OR upper( l.acc_txt ) LIKE $34 OR upper( l.acc_txt ) LIKE $35 OR upper( l.acc_txt ) LIKE $36 OR upper( l.acc_txt ) LIKE $37 OR upper( l.acc_txt ) LIKE $38 OR upper( l.acc_txt ) LIKE $39 OR upper( l.acc_txt ) LIKE $40 OR upper( l.acc_txt ) LIKE $41 OR upper( l.acc_txt ) LIKE $42 OR upper( l.acc_txt ) LIKE $43 OR upper( l.acc_txt ) LIKE $44 OR upper( l.acc_txt ) LIKE $45 OR upper( l.acc_txt ) LIKE $46 OR upper( l.acc_txt ) LIKE $47 OR upper( l.acc_txt ) LIKE $48 OR upper( l.acc_txt ) LIKE $49 OR upper( l.acc_txt ) LIKE $50 OR upper( l.acc_txt ) LIKE $51 OR upper( l.acc_txt ) LIKE $52 OR upper( l.acc_txt ) LIKE $53 OR upper( l.acc_txt ) LIKE $54 OR upper( l.acc_txt ) LIKE $55 OR upper( l.acc_txt ) LIKE $56 OR upper( l.acc_txt ) LIKE $57 ) ) ii GROUP BY ii.cd
Date: 2024-08-18 15:21:10 Database: ctdprd51 Application: User: pubeu Remote:
Statement: SELECT /* BasicCountsDAO gen */ ii.cd ,COUNT(ii.id) cnt FROM (SELECT ot.cd ,tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops',$1) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',$2) OR r.id IN (SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $3 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $4 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $5 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $6 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $7 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $8 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $9 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $10 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $11 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $12 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $13 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $14 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $15 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $16 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $17 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $18 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $19 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $20 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $21 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $22 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $23 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $24 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $25 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $26 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $27 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $28 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $29 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $30 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $31 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $32 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $33 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $34 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $35 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $36 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $37 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $38 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $39 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $40 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $41 ) ) 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 $42 OR upper( l.acc_txt ) LIKE $43 OR upper( l.acc_txt ) LIKE $44 OR upper( l.acc_txt ) LIKE $45 OR upper( l.acc_txt ) LIKE $46 OR upper( l.acc_txt ) LIKE $47 OR upper( l.acc_txt ) LIKE $48 OR upper( l.acc_txt ) LIKE $49 OR upper( l.acc_txt ) LIKE $50 OR upper( l.acc_txt ) LIKE $51 OR upper( l.acc_txt ) LIKE $52 OR upper( l.acc_txt ) LIKE $53 OR upper( l.acc_txt ) LIKE $54 OR upper( l.acc_txt ) LIKE $55 OR upper( l.acc_txt ) LIKE $56 OR upper( l.acc_txt ) LIKE $57 OR upper( l.acc_txt ) LIKE $58 OR upper( l.acc_txt ) LIKE $59 OR upper( l.acc_txt ) LIKE $60 OR upper( l.acc_txt ) LIKE $61 OR upper( l.acc_txt ) LIKE $62 OR upper( l.acc_txt ) LIKE $63 OR upper( l.acc_txt ) LIKE $64 OR upper( l.acc_txt ) LIKE $65 OR upper( l.acc_txt ) LIKE $66 OR upper( l.acc_txt ) LIKE $67 OR upper( l.acc_txt ) LIKE $68 OR upper( l.acc_txt ) LIKE $69 OR upper( l.acc_txt ) LIKE $70 OR upper( l.acc_txt ) LIKE $71 OR upper( l.acc_txt ) LIKE $72 OR upper( l.acc_txt ) LIKE $73 OR upper( l.acc_txt ) LIKE $74 OR upper( l.acc_txt ) LIKE $75 OR upper( l.acc_txt ) LIKE $76 OR upper( l.acc_txt ) LIKE $77 OR upper( l.acc_txt ) LIKE $78 OR upper( l.acc_txt ) LIKE $79 OR upper( l.acc_txt ) LIKE $80 ) ) ii GROUP BY ii.cd
Date: 2024-08-18 15:21:11
2 14 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #2
Day Hour Count Aug 18 20 6 21 6 Aug 19 05 1 08 1 3 13 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #3
Day Hour Count Aug 18 20 6 21 6 Aug 19 08 1 4 10 FATAL: password authentication failed for user "..."
Times Reported Most Frequent Error / Event #4
Day Hour Count Aug 20 09 10 - FATAL: password authentication failed for user "load"
Detail: Connection matched pg_hba.conf line 85: "host all all 192.168.201.0/24 md5 "
Date: 2024-08-20 09:58:25
5 3 LOG: could not receive data from client: Connection timed out
Times Reported Most Frequent Error / Event #5
Day Hour Count Aug 19 18 3 6 3 FATAL: canceling authentication due to timeout
Times Reported Most Frequent Error / Event #6
Day Hour Count Aug 21 11 3 7 2 WARNING: is not a PostgreSQL server process
Times Reported Most Frequent Error / Event #7
Day Hour Count Aug 19 16 2 8 1 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #8
Day Hour Count Aug 21 11 1 9 1 ERROR: canceling statement due to user request
Times Reported Most Frequent Error / Event #9
Day Hour Count Aug 19 05 1 - 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: 2024-08-19 05:44:07
10 1 ERROR: permission denied for schema ...
Times Reported Most Frequent Error / Event #10
Day Hour Count Aug 19 15 1 - ERROR: permission denied for schema pub1 at character 15
Statement: select * from pub1.term where nm = 'Zinc'
Date: 2024-08-19 15:38:19
11 1 LOG: could not send data to client: Connection reset by peer
Times Reported Most Frequent Error / Event #11
Day Hour Count Aug 19 05 1 12 1 ERROR: relation "..." does not exist
Times Reported Most Frequent Error / Event #12
Day Hour Count Aug 19 15 1 - ERROR: relation "term" does not exist at character 15
Statement: select * from term where nm = 'Zinc'
Date: 2024-08-19 15:38:14 Database: ctdprd51 Application: pgAdmin 4 - CONN:7905244 User: pubc Remote: