-
Global information
- Generated on Wed Apr 17 04:10:08 2024
- Log file: /project/archive/log/postgres/dbdev51/postgresql.log-20240416
- Parsed 132,406 log entries in 7s
- Log start from 2024-04-16 00:08:40 to 2024-04-16 23:59:32
-
Overview
Global Stats
- 49 Number of unique normalized queries
- 116 Number of queries
- 1h44m52s Total query duration
- 2024-04-16 05:45:12 First query
- 2024-04-16 20:42:31 Last query
- 2 queries/s at 2024-04-16 12:43:32 Query peak
- 1h44m52s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 1h44m52s Execute total duration
- 24 Number of events
- 5 Number of unique normalized events
- 16 Max number of times the same event was reported
- 0 Number of cancellation
- 52 Total number of automatic vacuums
- 119 Total number of automatic analyzes
- 0 Number temporary file
- 0 Max size of temporary file
- 0.00 B Average size of temporary file
- 1,575 Total number of sessions
- 49 sessions at 2024-04-16 14:20:06 Session peak
- 43d7h23m16s Total duration of sessions
- 39m35s Average duration of sessions
- 0 Average queries per session
- 3s995ms Average queries duration per session
- 39m31s Average idle time per session
- 1,575 Total number of connections
- 9 connections/s at 2024-04-16 11:09:05 Connection peak
- 2 Total number of databases
SQL Traffic
Key values
- 2 queries/s Query Peak
- 2024-04-16 12:43:32 Date
SELECT Traffic
Key values
- 2 queries/s Query Peak
- 2024-04-16 12:43:32 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1 queries/s Query Peak
- 2024-04-16 11:29:49 Date
Queries duration
Key values
- 1h44m52s 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) Apr 16 00 0 0ms 0ms 0ms 0ms 0ms 0ms 01 0 0ms 0ms 0ms 0ms 0ms 0ms 02 0 0ms 0ms 0ms 0ms 0ms 0ms 03 0 0ms 0ms 0ms 0ms 0ms 0ms 04 0 0ms 0ms 0ms 0ms 0ms 0ms 05 24 0ms 8s739ms 2s262ms 19s211ms 21s975ms 21s975ms 06 0 0ms 0ms 0ms 0ms 0ms 0ms 07 0 0ms 0ms 0ms 0ms 0ms 0ms 08 0 0ms 0ms 0ms 0ms 0ms 0ms 09 0 0ms 0ms 0ms 0ms 0ms 0ms 10 0 0ms 0ms 0ms 0ms 0ms 0ms 11 29 0ms 3m18s 18s109ms 38s713ms 1m58s 3m27s 12 6 0ms 40m29s 7m10s 0ms 2m21s 40m29s 13 11 0ms 2m32s 53s135ms 2m15s 2m59s 3m3s 14 25 0ms 2m34s 54s975ms 3m5s 3m7s 3m8s 15 0 0ms 0ms 0ms 0ms 0ms 0ms 16 7 0ms 2m33s 56s573ms 24s134ms 52s826ms 2m40s 17 0 0ms 0ms 0ms 0ms 0ms 0ms 18 7 0ms 2m32s 54s368ms 0ms 2m2s 3m2s 19 0 0ms 0ms 0ms 0ms 0ms 0ms 20 7 0ms 2m34s 56s748ms 0ms 1m10s 3m11s 21 0 0ms 0ms 0ms 0ms 0ms 0ms 22 0 0ms 0ms 0ms 0ms 0ms 0ms 23 0 0ms 0ms 0ms 0ms 0ms 0ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Apr 16 00 0 0 0ms 0ms 0ms 0ms 01 0 0 0ms 0ms 0ms 0ms 02 0 0 0ms 0ms 0ms 0ms 03 0 0 0ms 0ms 0ms 0ms 04 0 0 0ms 0ms 0ms 0ms 05 22 0 2s269ms 0ms 19s211ms 21s975ms 06 0 0 0ms 0ms 0ms 0ms 07 0 0 0ms 0ms 0ms 0ms 08 0 0 0ms 0ms 0ms 0ms 09 0 0 0ms 0ms 0ms 0ms 10 0 0 0ms 0ms 0ms 0ms 11 5 0 3s355ms 0ms 0ms 9s888ms 12 4 0 2s488ms 0ms 0ms 9s953ms 13 11 0 53s135ms 0ms 2m15s 3m3s 14 25 0 54s975ms 1m9s 3m5s 3m8s 15 0 0 0ms 0ms 0ms 0ms 16 7 0 56s573ms 0ms 24s134ms 2m40s 17 0 0 0ms 0ms 0ms 0ms 18 7 0 54s368ms 0ms 0ms 3m2s 19 0 0 0ms 0ms 0ms 0ms 20 7 0 56s748ms 0ms 0ms 3m11s 21 0 0 0ms 0ms 0ms 0ms 22 0 0 0ms 0ms 0ms 0ms 23 0 0 0ms 0ms 0ms 0ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Apr 16 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 11 6 0 0 28s924ms 0ms 0ms 1m58s 12 0 2 0 0 21m25s 0ms 0ms 2m21s 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 Apr 16 00 0 0 0.00 0.00% 01 0 0 0.00 0.00% 02 0 0 0.00 0.00% 03 0 0 0.00 0.00% 04 0 0 0.00 0.00% 05 0 24 24.00 0.00% 06 0 0 0.00 0.00% 07 0 0 0.00 0.00% 08 0 0 0.00 0.00% 09 0 0 0.00 0.00% 10 0 0 0.00 0.00% 11 0 26 26.00 0.00% 12 0 6 6.00 0.00% 13 0 10 10.00 0.00% 14 0 25 25.00 0.00% 15 0 0 0.00 0.00% 16 0 7 7.00 0.00% 17 0 0 0.00 0.00% 18 0 7 7.00 0.00% 19 0 0 0.00 0.00% 20 0 7 7.00 0.00% 21 0 0 0.00 0.00% 22 0 0 0.00 0.00% 23 0 0 0.00 0.00% Day Hour Count Average / Second Apr 16 00 64 0.02/s 01 64 0.02/s 02 64 0.02/s 03 64 0.02/s 04 64 0.02/s 05 68 0.02/s 06 63 0.02/s 07 64 0.02/s 08 63 0.02/s 09 64 0.02/s 10 57 0.02/s 11 98 0.03/s 12 74 0.02/s 13 68 0.02/s 14 64 0.02/s 15 62 0.02/s 16 63 0.02/s 17 59 0.02/s 18 66 0.02/s 19 64 0.02/s 20 66 0.02/s 21 64 0.02/s 22 64 0.02/s 23 64 0.02/s Day Hour Count Average Duration Average idle time Apr 16 00 64 30m40s 30m40s 01 64 30m38s 30m38s 02 64 30m40s 30m40s 03 64 30m40s 30m40s 04 64 30m38s 30m38s 05 68 28m39s 28m38s 06 63 30m39s 30m39s 07 64 30m38s 30m38s 08 63 30m40s 30m40s 09 63 30m40s 30m40s 10 57 30m39s 30m39s 11 97 2h45m36s 2h45m30s 12 74 27m12s 26m37s 13 66 29m27s 29m18s 14 64 28m17s 27m56s 15 63 30m40s 30m40s 16 62 30m14s 30m7s 17 60 31m25s 31m25s 18 65 30m13s 30m7s 19 65 37m15s 37m15s 20 66 31m4s 30m58s 21 66 47m17s 47m17s 22 65 31m31s 31m31s 23 64 30m40s 30m40s -
Connections
Established Connections
Key values
- 9 connections Connection Peak
- 2024-04-16 11:09:05 Date
Connections per database
Key values
- ctddev51 Main Database
- 1,575 connections Total
Connections per user
Key values
- editeu Main User
- 1,575 connections Total
-
Sessions
Simultaneous sessions
Key values
- 49 sessions Session Peak
- 2024-04-16 14:20:06 Date
Histogram of session times
Key values
- 1,496 1800000-3600000ms duration
Sessions per database
Key values
- ctddev51 Main Database
- 1,575 sessions Total
Sessions per user
Key values
- editeu Main User
- 1,575 sessions Total
Sessions per host
Key values
- 10.12.5.55 Main Host
- 1,575 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 950,683 buffers Checkpoint Peak
- 2024-04-16 12:02:18 Date
- 1619.806 seconds Highest write time
- 0.260 seconds Sync time
Checkpoints Wal files
Key values
- 539 files Wal files usage Peak
- 2024-04-16 11:37:05 Date
Checkpoints distance
Key values
- 17,217.65 Mo Distance Peak
- 2024-04-16 12:45:59 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Apr 16 00 0 0s 0s 0s 01 0 0s 0s 0s 02 0 0s 0s 0s 03 0 0s 0s 0s 04 0 0s 0s 0s 05 67 6.88s 0.001s 6.894s 06 0 0s 0s 0s 07 0 0s 0s 0s 08 0 0s 0s 0s 09 0 0s 0s 0s 10 44 4.509s 0.001s 4.524s 11 581,580 229.693s 0.26s 236.96s 12 1,956,471 3,859.834s 0.083s 3,879.559s 13 669,523 1,619.471s 0.002s 1,621.587s 14 16 1.697s 0.001s 1.712s 15 1,258 125.447s 0.001s 125.464s 16 2,307 230.825s 0.003s 230.86s 17 1,678 167.197s 0.004s 167.329s 18 7 0.883s 0.001s 0.898s 19 2,016 200.893s 0.004s 200.994s 20 1,392 138.863s 0.004s 138.957s 21 2,893 288.685s 0.004s 288.762s 22 771 76.949s 0.002s 76.966s 23 0 0s 0s 0s Day Hour Added Removed Recycled Synced files Longest sync Average sync Apr 16 00 0 0 0 0 0s 0s 01 0 0 0 0 0s 0s 02 0 0 0 0 0s 0s 03 0 0 0 0 0s 0s 04 0 0 0 0 0s 0s 05 0 0 0 10 0.001s 0.001s 06 0 0 0 0 0s 0s 07 0 0 0 0 0s 0s 08 0 0 0 0 0s 0s 09 0 0 0 0 0s 0s 10 0 0 0 38 0.001s 0.001s 11 0 31 539 957 0.035s 0.001s 12 0 0 1,614 143 0.025s 0.004s 13 0 0 164 38 0.001s 0.001s 14 0 0 0 11 0.001s 0.001s 15 0 0 0 23 0.001s 0.001s 16 0 1 0 22 0.001s 0.002s 17 0 1 0 44 0.001s 0.002s 18 0 0 0 3 0.001s 0.001s 19 0 1 0 46 0.001s 0.002s 20 0 1 0 47 0.001s 0.002s 21 0 1 0 48 0.001s 0.002s 22 0 0 0 24 0.001s 0.001s 23 0 0 0 0 0s 0s Day Hour Count Avg time (sec) Apr 16 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Day Hour Mean distance Mean estimate Apr 16 00 0.00 kB 0.00 kB 01 0.00 kB 0.00 kB 02 0.00 kB 0.00 kB 03 0.00 kB 0.00 kB 04 0.00 kB 0.00 kB 05 266.00 kB 3,619.00 kB 06 0.00 kB 0.00 kB 07 0.00 kB 0.00 kB 08 0.00 kB 0.00 kB 09 0.00 kB 0.00 kB 10 209.00 kB 3,278.00 kB 11 8,813,729.00 kB 8,813,729.00 kB 12 8,815,150.67 kB 8,815,289.00 kB 13 3,209,304.00 kB 8,254,822.00 kB 14 65.00 kB 7,429,346.00 kB 15 12,293.00 kB 6,687,641.00 kB 16 4,895.00 kB 5,718,423.00 kB 17 8,042.00 kB 4,633,617.50 kB 18 7.00 kB 3,951,057.00 kB 19 9,741.00 kB 3,379,549.50 kB 20 5,833.00 kB 2,738,875.50 kB 21 10,677.00 kB 2,220,133.50 kB 22 5,871.00 kB 1,894,076.00 kB 23 0.00 kB 0.00 kB -
Temporary Files
Size of temporary files
Key values
- 0 Temp Files size Peak
- Date
Size of temporary files (5 minutes period)
NO DATASET
Number of temporary files
Key values
- 0 per second Temp Files Peak
- Date
Number of temporary files (5 minutes period)
NO DATASET
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Apr 16 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 -
Vacuums
Vacuums / Analyzes Distribution
Key values
- 231.42 sec Highest CPU-cost vacuum
Table pub2.gene_disease
Database ctddev51 - 2024-04-16 12:22:18 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctddev51 - Date
Average Autovacuum Duration
Key values
- 231.42 sec Highest CPU-cost vacuum
Table pub2.gene_disease
Database ctddev51 - 2024-04-16 12:22:18 Date
Analyzes per table
Key values
- edit.tm_reference_term (52) Main table analyzed (database ctddev51)
- 119 analyzes Total
Table Number of analyzes ctddev51.edit.tm_reference_term 52 ctddev51.edit.tm_reference 41 ctddev51.pg_catalog.pg_class 2 ctddev51.pub2.exp_receptor_tobacco_use 1 ctddev51.pub2.exp_stressor_stressor_src 1 ctddev51.pub2.dag_node 1 ctddev51.pub2.exp_event_assay_method 1 ctddev51.pub2.country 1 ctddev51.pub2.exp_event_project 1 ctddev51.pub2.exp_receptor 1 ctddev51.pub2.gene_disease 1 ctddev51.pub2.reference 1 ctddev51.pub2.term 1 ctddev51.pub2.exp_outcome 1 ctddev51.pub2.exp_receptor_gender 1 ctddev51.pub2.exp_anatomy 1 ctddev51.pub2.reference_exp 1 ctddev51.pub2.geographic_region 1 ctddev51.pub2.exp_event_location 1 ctddev51.pub2.exp_event 1 ctddev51.pub2.medium 1 ctddev51.pub2.exp_stressor 1 ctddev51.pub2.exp_study_factor 1 ctddev51.pub2.exposure 1 ctddev51.pub2.phenotype_term 1 ctddev51.pub2.chem_disease 1 ctddev51.pub2.exp_receptor_race 1 Total 119 Vacuums per table
Key values
- edit.tm_reference_term (14) Main table vacuumed on database ctddev51
- 52 vacuums Total
Index Buffer usage Skipped WAL usage Table Vacuums scans hits misses dirtied pins frozen records full page bytes ctddev51.edit.tm_reference_term 14 14 27,495 0 2,010 0 0 9,491 1,302 5,962,629 ctddev51.edit.tm_reference 13 13 8,680 0 945 0 0 4,367 393 1,156,209 ctddev51.pg_toast.pg_toast_2619 2 2 8,861 0 2,595 0 19,871 7,074 2,118 1,147,180 ctddev51.pub2.exp_anatomy 1 0 123 0 3 0 0 33 1 10,366 ctddev51.pub2.term 1 1 1,310,010 0 357,156 0 0 947,145 271,978 582,595,214 ctddev51.pub2.reference 1 1 331,294 0 55 0 540 232,391 6,395 59,586,639 ctddev51.pub2.exp_outcome 1 0 581 0 3 0 0 216 1 21,163 ctddev51.pub2.exp_receptor_gender 1 0 2,646 0 3 0 0 1,308 1 85,591 ctddev51.pub2.exp_event_project 1 0 2,012 0 3 0 0 984 1 66,475 ctddev51.pub2.exp_receptor 1 0 7,212 0 3 0 0 3,577 1 219,462 ctddev51.pub2.gene_disease 1 1 2,796,813 0 710,191 0 0 1,582,275 702,005 2,087,719,478 ctddev51.pub2.exp_event_assay_method 1 0 4,708 0 3 0 0 2,325 1 145,594 ctddev51.pub2.dag_node 1 1 321,817 0 694 0 0 279,074 680 67,636,856 ctddev51.pub2.exp_stressor_stressor_src 1 0 2,553 0 4 0 0 1,247 1 81,992 ctddev51.pg_catalog.pg_class 1 1 274 0 30 0 0 150 30 147,780 ctddev51.pub2.exp_receptor_tobacco_use 1 0 1,174 0 3 0 0 552 1 40,987 ctddev51.pg_toast.pg_toast_5032424 1 1 84 0 17 0 0 47 12 15,082 ctddev51.pub2.chem_disease 1 1 258,640 0 19,118 0 0 157,981 51,466 161,098,264 ctddev51.pub2.exp_receptor_race 1 0 1,320 0 3 0 0 625 1 45,294 ctddev51.pub2.phenotype_term 1 1 319,505 0 5,270 0 93,387 198,256 29,817 70,569,771 ctddev51.pub2.exposure 1 0 3,602 0 3 0 0 1,748 1 111,551 ctddev51.pub2.exp_stressor 1 0 5,953 0 3 0 0 2,947 1 182,292 ctddev51.pub2.exp_study_factor 1 0 113 0 4 0 0 11 2 16,112 ctddev51.pub2.exp_event 1 0 12,242 0 3 0 0 6,043 1 364,956 ctddev51.pub2.reference_exp 1 0 324 0 3 0 0 125 1 15,794 ctddev51.pub2.exp_event_location 1 0 3,390 0 3 0 0 1,644 1 105,415 Total 52 37 5,431,426 166,263 1,098,128 0 113,798 3,441,636 1,066,212 3,039,148,146 Tuples removed per table
Key values
- pub2.gene_disease (32512714) Main table with removed tuples on database ctddev51
- 42707379 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain ctddev51.pub2.gene_disease 1 1 32,512,714 32,512,714 0 0 478,129 ctddev51.pub2.chem_disease 1 1 3,264,480 3,264,480 0 0 47,958 ctddev51.pub2.phenotype_term 1 1 3,224,904 4,887,811 0 0 181,107 ctddev51.pub2.term 1 1 1,756,944 2,064,736 0 0 329,212 ctddev51.pub2.dag_node 1 1 1,696,727 1,689,539 0 0 82,320 ctddev51.pub2.reference 1 1 198,936 196,766 0 0 84,900 ctddev51.edit.tm_reference_term 14 14 41,391 565,402 0 0 8,884 ctddev51.pg_toast.pg_toast_2619 2 2 8,495 40,042 0 0 25,184 ctddev51.edit.tm_reference 13 13 2,658 12,596 0 0 3,545 ctddev51.pg_catalog.pg_class 1 1 81 1,917 0 0 61 ctddev51.pg_toast.pg_toast_5032424 1 1 49 22 0 0 18 ctddev51.pub2.exp_anatomy 1 0 0 3,746 0 0 32 ctddev51.pub2.exp_outcome 1 0 0 11,159 0 0 215 ctddev51.pub2.exp_receptor_gender 1 0 0 186,170 0 0 1,307 ctddev51.pub2.exp_event_project 1 0 0 94,256 0 0 983 ctddev51.pub2.exp_receptor 1 0 0 189,372 0 0 3,576 ctddev51.pub2.exp_event_assay_method 1 0 0 233,360 0 0 2,324 ctddev51.pub2.exp_stressor_stressor_src 1 0 0 281,401 0 0 1,246 ctddev51.pub2.exp_receptor_tobacco_use 1 0 0 78,085 0 0 551 ctddev51.pub2.exp_receptor_race 1 0 0 96,184 0 0 624 ctddev51.pub2.exposure 1 0 0 212,185 0 0 1,747 ctddev51.pub2.exp_stressor 1 0 0 205,937 0 0 2,946 ctddev51.pub2.exp_study_factor 1 0 0 1,606 0 0 10 ctddev51.pub2.exp_event 1 0 0 205,825 0 0 6,042 ctddev51.pub2.reference_exp 1 0 0 3,414 0 0 124 ctddev51.pub2.exp_event_location 1 0 0 247,403 0 0 1,643 Total 52 37 42,707,379 47,286,128 0 0 1,264,688 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 ctddev51.pub2.exp_anatomy 1 0 0 0 ctddev51.pub2.term 1 1 1756944 0 ctddev51.pub2.reference 1 1 198936 0 ctddev51.pub2.exp_outcome 1 0 0 0 ctddev51.pub2.exp_receptor_gender 1 0 0 0 ctddev51.pub2.exp_event_project 1 0 0 0 ctddev51.pub2.exp_receptor 1 0 0 0 ctddev51.pub2.gene_disease 1 1 32512714 0 ctddev51.pub2.exp_event_assay_method 1 0 0 0 ctddev51.pub2.dag_node 1 1 1696727 0 ctddev51.pub2.exp_stressor_stressor_src 1 0 0 0 ctddev51.pg_catalog.pg_class 1 1 81 0 ctddev51.pub2.exp_receptor_tobacco_use 1 0 0 0 ctddev51.pg_toast.pg_toast_5032424 1 1 49 0 ctddev51.pub2.chem_disease 1 1 3264480 0 ctddev51.pub2.exp_receptor_race 1 0 0 0 ctddev51.edit.tm_reference_term 14 14 41391 0 ctddev51.pub2.phenotype_term 1 1 3224904 0 ctddev51.pub2.exposure 1 0 0 0 ctddev51.pub2.exp_stressor 1 0 0 0 ctddev51.pub2.exp_study_factor 1 0 0 0 ctddev51.edit.tm_reference 13 13 2658 0 ctddev51.pub2.exp_event 1 0 0 0 ctddev51.pg_toast.pg_toast_2619 2 2 8495 0 ctddev51.pub2.reference_exp 1 0 0 0 ctddev51.pub2.exp_event_location 1 0 0 0 Total 52 37 42,707,379 0 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Apr 16 00 0 0 01 0 0 02 0 0 03 0 0 04 0 0 05 0 0 06 0 0 07 0 0 08 0 0 09 0 0 10 0 0 11 0 24 12 0 2 13 0 0 14 0 4 15 0 9 16 0 13 17 0 12 18 0 2 19 0 20 20 0 11 21 0 20 22 0 2 23 0 0 - 231.42 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
- 88 Total read queries
- 28 Total write queries
Queries by database
Key values
- unknown Main database
- 83 Requests
- 1h5m52s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 129 Requests
User Request type Count Duration edit Total 2 3s162ms select 2 3s162ms editeu Total 10 30s408ms cte 4 13s567ms select 6 16s841ms load Total 22 53m11s select 22 53m11s pub2 Total 3 14s103ms insert 1 9s778ms select 2 4s325ms pubeu Total 13 47s55ms cte 2 6s688ms select 11 40s367ms qaeu Total 1 3s377ms cte 1 3s377ms unknown Total 129 1h14m4s cte 5 5s178ms insert 10 45s725ms select 106 23m6s update 8 50m6s Duration by user
Key values
- 1h14m4s (unknown) Main time consuming user
User Request type Count Duration edit Total 2 3s162ms select 2 3s162ms editeu Total 10 30s408ms cte 4 13s567ms select 6 16s841ms load Total 22 53m11s select 22 53m11s pub2 Total 3 14s103ms insert 1 9s778ms select 2 4s325ms pubeu Total 13 47s55ms cte 2 6s688ms select 11 40s367ms qaeu Total 1 3s377ms cte 1 3s377ms unknown Total 129 1h14m4s cte 5 5s178ms insert 10 45s725ms select 106 23m6s update 8 50m6s Queries by host
Key values
- unknown Main host
- 180 Requests
- 2h8m54s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 114 Requests
- 1h44m48s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2024-04-16 21:06:53 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 69 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 40m29s update pub2.GENE_DISEASE gd set exposure_reference_qty = ( select count(distinct reference_id) from pub2.GENE_DISEASE_REFERENCE gdr where gd.gene_id = gdr.gene_id and gd.disease_id = gdr.disease_id and reference_id in ( select id from pub2.REFERENCE r where has_exposures = true));[ Date: 2024-04-16 12:18:02 - Bind query: yes ]
2 3m18s update pub2.TERM set has_exposures = false;[ Date: 2024-04-16 11:33:34 - Bind query: yes ]
3 2m34s SELECT r.ixn_id, edit.get_ixn_prose (r.ixn_id), r.reference_acc_txt, r.taxon_acc_txt, r.internal_note, r.field_cd, edit.get_ixn_xml (r.ixn_id), to_char(r.create_tm, 'mm-dd-yyyy'), r.evidence_cd, i.create_by FROM edit.REFERENCE_IXN r, edit.IXN i where r.ixn_id = i.id and i.ixn_type_id = ( select id from edit.IXN_TYPE where nm = 'PHENOTYPE');[ Date: 2024-04-16 20:38:08 - Database: ctddev51 - User: load - Bind query: yes ]
4 2m34s SELECT r.ixn_id, edit.get_ixn_prose (r.ixn_id), r.reference_acc_txt, r.taxon_acc_txt, r.internal_note, r.field_cd, edit.get_ixn_xml (r.ixn_id), to_char(r.create_tm, 'mm-dd-yyyy'), r.evidence_cd, i.create_by FROM edit.REFERENCE_IXN r, edit.IXN i where r.ixn_id = i.id and i.ixn_type_id = ( select id from edit.IXN_TYPE where nm = 'PHENOTYPE');[ Date: 2024-04-16 14:45:00 - Database: ctddev51 - User: load - Bind query: yes ]
5 2m34s SELECT r.ixn_id, edit.get_ixn_prose (r.ixn_id), r.reference_acc_txt, r.taxon_acc_txt, r.internal_note, r.field_cd, edit.get_ixn_xml (r.ixn_id), to_char(r.create_tm, 'mm-dd-yyyy'), r.evidence_cd, i.create_by FROM edit.REFERENCE_IXN r, edit.IXN i where r.ixn_id = i.id and i.ixn_type_id = ( select id from edit.IXN_TYPE where nm = 'PHENOTYPE');[ Date: 2024-04-16 14:33:01 - Database: ctddev51 - User: load - Bind query: yes ]
6 2m33s SELECT r.ixn_id, edit.get_ixn_prose (r.ixn_id), r.reference_acc_txt, r.taxon_acc_txt, r.internal_note, r.field_cd, edit.get_ixn_xml (r.ixn_id), to_char(r.create_tm, 'mm-dd-yyyy'), r.evidence_cd, i.create_by FROM edit.REFERENCE_IXN r, edit.IXN i where r.ixn_id = i.id and i.ixn_type_id = ( select id from edit.IXN_TYPE where nm = 'PHENOTYPE');[ Date: 2024-04-16 16:18:37 - Database: ctddev51 - User: load - Bind query: yes ]
7 2m32s SELECT r.ixn_id, edit.get_ixn_prose (r.ixn_id), r.reference_acc_txt, r.taxon_acc_txt, r.internal_note, r.field_cd, edit.get_ixn_xml (r.ixn_id), to_char(r.create_tm, 'mm-dd-yyyy'), r.evidence_cd, i.create_by FROM edit.REFERENCE_IXN r, edit.IXN i where r.ixn_id = i.id and i.ixn_type_id = ( select id from edit.IXN_TYPE where nm = 'PHENOTYPE');[ Date: 2024-04-16 18:49:25 - Database: ctddev51 - User: load - Bind query: yes ]
8 2m32s SELECT r.ixn_id, edit.get_ixn_prose (r.ixn_id), r.reference_acc_txt, r.taxon_acc_txt, r.internal_note, r.field_cd, edit.get_ixn_xml (r.ixn_id), to_char(r.create_tm, 'mm-dd-yyyy'), r.evidence_cd, i.create_by FROM edit.REFERENCE_IXN r, edit.IXN i where r.ixn_id = i.id and i.ixn_type_id = ( select id from edit.IXN_TYPE where nm = 'PHENOTYPE');[ Date: 2024-04-16 13:41:14 - Database: ctddev51 - User: load - Bind query: yes ]
9 2m31s SELECT r.ixn_id, edit.get_ixn_prose (r.ixn_id), r.reference_acc_txt, r.taxon_acc_txt, r.internal_note, r.field_cd, edit.get_ixn_xml (r.ixn_id), to_char(r.create_tm, 'mm-dd-yyyy'), r.evidence_cd, i.create_by FROM edit.REFERENCE_IXN r, edit.IXN i where r.ixn_id = i.id and i.ixn_type_id = ( select id from edit.IXN_TYPE where nm = 'PHENOTYPE');[ Date: 2024-04-16 14:19:20 - Database: ctddev51 - User: load - Bind query: yes ]
10 2m30s SELECT r.ixn_id, edit.get_ixn_prose (r.ixn_id), r.reference_acc_txt, r.taxon_acc_txt, r.internal_note, r.field_cd, edit.get_ixn_xml (r.ixn_id), to_char(r.create_tm, 'mm-dd-yyyy'), r.evidence_cd, i.create_by FROM edit.REFERENCE_IXN r, edit.IXN i where r.ixn_id = i.id and i.ixn_type_id = ( select id from edit.IXN_TYPE where nm = 'PHENOTYPE');[ Date: 2024-04-16 13:57:00 - Database: ctddev51 - User: load - Bind query: yes ]
11 2m25s select distinct primaryGeneTerm.acc_txt, taxonTerm.acc_txt, gt.gene_acc_txt from pub1.GENE_TAXON gt, pub1.TERM primaryGeneTerm, pub1.TERM taxonTerm where gt.gene_id = primaryGeneTerm.id and gt.taxon_id = taxonTerm.id;[ Date: 2024-04-16 14:36:12 - Database: ctddev51 - User: load - Bind query: yes ]
12 2m21s update pub2.PHENOTYPE_TERM pt set exposure_reference_qty = ( select count(distinct reference_id) from pub2.PHENOTYPE_TERM_REFERENCE ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and reference_id in ( select id from pub2.REFERENCE r where has_exposures = true));[ Date: 2024-04-16 12:20:23 - Bind query: yes ]
13 2m18s select distinct primaryGeneTerm.acc_txt, taxonTerm.acc_txt, gt.gene_acc_txt from pub1.GENE_TAXON gt, pub1.TERM primaryGeneTerm, pub1.TERM taxonTerm where gt.gene_id = primaryGeneTerm.id and gt.taxon_id = taxonTerm.id;[ Date: 2024-04-16 14:00:01 - Database: ctddev51 - User: load - Bind query: yes ]
14 2m15s select distinct primaryGeneTerm.acc_txt, taxonTerm.acc_txt, gt.gene_acc_txt from pub1.GENE_TAXON gt, pub1.TERM primaryGeneTerm, pub1.TERM taxonTerm where gt.gene_id = primaryGeneTerm.id and gt.taxon_id = taxonTerm.id;[ Date: 2024-04-16 13:44:13 - Database: ctddev51 - User: load - Bind query: yes ]
15 2m15s select distinct primaryGeneTerm.acc_txt, taxonTerm.acc_txt, gt.gene_acc_txt from pub1.GENE_TAXON gt, pub1.TERM primaryGeneTerm, pub1.TERM taxonTerm where gt.gene_id = primaryGeneTerm.id and gt.taxon_id = taxonTerm.id;[ Date: 2024-04-16 20:41:12 - Database: ctddev51 - User: load - Bind query: yes ]
16 2m12s select distinct primaryGeneTerm.acc_txt, taxonTerm.acc_txt, gt.gene_acc_txt from pub1.GENE_TAXON gt, pub1.TERM primaryGeneTerm, pub1.TERM taxonTerm where gt.gene_id = primaryGeneTerm.id and gt.taxon_id = taxonTerm.id;[ Date: 2024-04-16 16:21:33 - Database: ctddev51 - User: load - Bind query: yes ]
17 2m9s select distinct primaryGeneTerm.acc_txt, taxonTerm.acc_txt, gt.gene_acc_txt from pub1.GENE_TAXON gt, pub1.TERM primaryGeneTerm, pub1.TERM taxonTerm where gt.gene_id = primaryGeneTerm.id and gt.taxon_id = taxonTerm.id;[ Date: 2024-04-16 14:47:54 - Database: ctddev51 - User: load - Bind query: yes ]
18 2m2s select distinct primaryGeneTerm.acc_txt, taxonTerm.acc_txt, gt.gene_acc_txt from pub1.GENE_TAXON gt, pub1.TERM primaryGeneTerm, pub1.TERM taxonTerm where gt.gene_id = primaryGeneTerm.id and gt.taxon_id = taxonTerm.id;[ Date: 2024-04-16 18:52:11 - Database: ctddev51 - User: load - Bind query: yes ]
19 2m2s select distinct primaryGeneTerm.acc_txt, taxonTerm.acc_txt, gt.gene_acc_txt from pub1.GENE_TAXON gt, pub1.TERM primaryGeneTerm, pub1.TERM taxonTerm where gt.gene_id = primaryGeneTerm.id and gt.taxon_id = taxonTerm.id;[ Date: 2024-04-16 14:22:09 - Database: ctddev51 - User: load - Bind query: yes ]
20 1m51s update pub2.CHEM_DISEASE cd set exposure_reference_qty = ( select count(distinct reference_id) from pub2.CHEM_DISEASE_REFERENCE cdr where cd.chem_id = cdr.chem_id and cd.disease_id = cdr.disease_id and reference_id in ( select id from pub2.REFERENCE r where has_exposures = true));[ Date: 2024-04-16 11:37:32 - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 40m29s 1 40m29s 40m29s 40m29s update pub2.gene_disease gd set exposure_reference_qty = ( select count(distinct reference_id) from pub2.gene_disease_reference gdr where gd.gene_id = gdr.gene_id and gd.disease_id = gdr.disease_id and reference_id in ( select id from pub2.reference r where has_exposures = true));Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Apr 16 12 1 40m29s 40m29s -
update pub2.GENE_DISEASE gd set exposure_reference_qty = ( select count(distinct reference_id) from pub2.GENE_DISEASE_REFERENCE gdr where gd.gene_id = gdr.gene_id and gd.disease_id = gdr.disease_id and reference_id in ( select id from pub2.REFERENCE r where has_exposures = true));
Date: 2024-04-16 12:18:02 Duration: 40m29s Bind query: yes
2 20m24s 8 2m30s 2m34s 2m33s select r.ixn_id, edit.get_ixn_prose (r.ixn_id), r.reference_acc_txt, r.taxon_acc_txt, r.internal_note, r.field_cd, edit.get_ixn_xml (r.ixn_id), to_char(r.create_tm, ?), r.evidence_cd, i.create_by from edit.reference_ixn r, edit.ixn i where r.ixn_id = i.id and i.ixn_type_id = ( select id from edit.ixn_type where nm = ?);Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Apr 16 13 2 5m3s 2m31s 14 3 7m40s 2m33s 16 1 2m33s 2m33s 18 1 2m32s 2m32s 20 1 2m34s 2m34s [ User: load - Total duration: 20m24s - Times executed: 8 ]
-
SELECT r.ixn_id, edit.get_ixn_prose (r.ixn_id), r.reference_acc_txt, r.taxon_acc_txt, r.internal_note, r.field_cd, edit.get_ixn_xml (r.ixn_id), to_char(r.create_tm, 'mm-dd-yyyy'), r.evidence_cd, i.create_by FROM edit.REFERENCE_IXN r, edit.IXN i where r.ixn_id = i.id and i.ixn_type_id = ( select id from edit.IXN_TYPE where nm = 'PHENOTYPE');
Date: 2024-04-16 20:38:08 Duration: 2m34s Database: ctddev51 User: load Bind query: yes
-
SELECT r.ixn_id, edit.get_ixn_prose (r.ixn_id), r.reference_acc_txt, r.taxon_acc_txt, r.internal_note, r.field_cd, edit.get_ixn_xml (r.ixn_id), to_char(r.create_tm, 'mm-dd-yyyy'), r.evidence_cd, i.create_by FROM edit.REFERENCE_IXN r, edit.IXN i where r.ixn_id = i.id and i.ixn_type_id = ( select id from edit.IXN_TYPE where nm = 'PHENOTYPE');
Date: 2024-04-16 14:45:00 Duration: 2m34s Database: ctddev51 User: load Bind query: yes
-
SELECT r.ixn_id, edit.get_ixn_prose (r.ixn_id), r.reference_acc_txt, r.taxon_acc_txt, r.internal_note, r.field_cd, edit.get_ixn_xml (r.ixn_id), to_char(r.create_tm, 'mm-dd-yyyy'), r.evidence_cd, i.create_by FROM edit.REFERENCE_IXN r, edit.IXN i where r.ixn_id = i.id and i.ixn_type_id = ( select id from edit.IXN_TYPE where nm = 'PHENOTYPE');
Date: 2024-04-16 14:33:01 Duration: 2m34s Database: ctddev51 User: load Bind query: yes
3 17m41s 8 2m2s 2m25s 2m12s select distinct primarygeneterm.acc_txt, taxonterm.acc_txt, gt.gene_acc_txt from pub1.gene_taxon gt, pub1.term primarygeneterm, pub1.term taxonterm where gt.gene_id = primarygeneterm.id and gt.taxon_id = taxonterm.id;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Apr 16 13 1 2m15s 2m15s 14 4 8m55s 2m13s 16 1 2m12s 2m12s 18 1 2m2s 2m2s 20 1 2m15s 2m15s [ User: load - Total duration: 17m41s - Times executed: 8 ]
-
select distinct primaryGeneTerm.acc_txt, taxonTerm.acc_txt, gt.gene_acc_txt from pub1.GENE_TAXON gt, pub1.TERM primaryGeneTerm, pub1.TERM taxonTerm where gt.gene_id = primaryGeneTerm.id and gt.taxon_id = taxonTerm.id;
Date: 2024-04-16 14:36:12 Duration: 2m25s Database: ctddev51 User: load Bind query: yes
-
select distinct primaryGeneTerm.acc_txt, taxonTerm.acc_txt, gt.gene_acc_txt from pub1.GENE_TAXON gt, pub1.TERM primaryGeneTerm, pub1.TERM taxonTerm where gt.gene_id = primaryGeneTerm.id and gt.taxon_id = taxonTerm.id;
Date: 2024-04-16 14:00:01 Duration: 2m18s Database: ctddev51 User: load Bind query: yes
-
select distinct primaryGeneTerm.acc_txt, taxonTerm.acc_txt, gt.gene_acc_txt from pub1.GENE_TAXON gt, pub1.TERM primaryGeneTerm, pub1.TERM taxonTerm where gt.gene_id = primaryGeneTerm.id and gt.taxon_id = taxonTerm.id;
Date: 2024-04-16 13:44:13 Duration: 2m15s Database: ctddev51 User: load Bind query: yes
4 9m48s 24 5s31ms 55s445ms 24s526ms select id, object_type_id, acc_txt, t.acc_db_cd, nm, nm_sort, secondary_nm, description, note from pub1.term t where object_type_id = ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Apr 16 13 3 1m23s 27s968ms 14 12 4m40s 23s352ms 16 3 1m18s 26s329ms 18 3 1m15s 25s8ms 20 3 1m10s 23s491ms -
select ID, OBJECT_TYPE_ID, ACC_TXT, t.ACC_DB_CD, NM, NM_SORT, SECONDARY_NM, DESCRIPTION, NOTE from pub1.term t where object_type_id = 1;
Date: 2024-04-16 13:45:15 Duration: 55s445ms Bind query: yes
-
select ID, OBJECT_TYPE_ID, ACC_TXT, t.ACC_DB_CD, NM, NM_SORT, SECONDARY_NM, DESCRIPTION, NOTE from pub1.term t where object_type_id = 1;
Date: 2024-04-16 14:00:59 Duration: 49s358ms Bind query: yes
-
select ID, OBJECT_TYPE_ID, ACC_TXT, t.ACC_DB_CD, NM, NM_SORT, SECONDARY_NM, DESCRIPTION, NOTE from pub1.term t where object_type_id = 1;
Date: 2024-04-16 20:42:06 Duration: 47s328ms Bind query: yes
5 3m18s 1 3m18s 3m18s 3m18s update pub2.term set has_exposures = false;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Apr 16 11 1 3m18s 3m18s -
update pub2.TERM set has_exposures = false;
Date: 2024-04-16 11:33:34 Duration: 3m18s Bind query: yes
6 3m14s 8 21s532ms 26s743ms 24s256ms select i.root_id, iq.nm from edit.reference_ixn_qualifier riq, edit.ixn_qualifier iq, edit.reference_ixn ri, edit.ixn i where riq.ixn_qualifier_id = iq.id and ri.id = riq.reference_ixn_id and ri.ixn_id = i.id;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Apr 16 13 2 45s256ms 22s628ms 14 3 1m15s 25s112ms 16 1 24s134ms 24s134ms 18 1 22s579ms 22s579ms 20 1 26s743ms 26s743ms -
select i.root_id, iq.nm from edit.REFERENCE_IXN_QUALIFIER riq, edit.IXN_QUALIFIER iq, edit.REFERENCE_IXN ri, edit.IXN i where riq.ixn_qualifier_id = iq.id and ri.id = riq.reference_ixn_id and ri.ixn_id = i.id;
Date: 2024-04-16 20:38:47 Duration: 26s743ms Bind query: yes
-
select i.root_id, iq.nm from edit.REFERENCE_IXN_QUALIFIER riq, edit.IXN_QUALIFIER iq, edit.REFERENCE_IXN ri, edit.IXN i where riq.ixn_qualifier_id = iq.id and ri.id = riq.reference_ixn_id and ri.ixn_id = i.id;
Date: 2024-04-16 14:33:36 Duration: 25s965ms Bind query: yes
-
select i.root_id, iq.nm from edit.REFERENCE_IXN_QUALIFIER riq, edit.IXN_QUALIFIER iq, edit.REFERENCE_IXN ri, edit.IXN i where riq.ixn_qualifier_id = iq.id and ri.id = riq.reference_ixn_id and ri.ixn_id = i.id;
Date: 2024-04-16 14:19:57 Duration: 25s213ms Bind query: yes
7 2m21s 1 2m21s 2m21s 2m21s update pub2.phenotype_term pt set exposure_reference_qty = ( select count(distinct reference_id) from pub2.phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and reference_id in ( select id from pub2.reference r where has_exposures = true));Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Apr 16 12 1 2m21s 2m21s -
update pub2.PHENOTYPE_TERM pt set exposure_reference_qty = ( select count(distinct reference_id) from pub2.PHENOTYPE_TERM_REFERENCE ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and reference_id in ( select id from pub2.REFERENCE r where has_exposures = true));
Date: 2024-04-16 12:20:23 Duration: 2m21s Bind query: yes
8 1m51s 1 1m51s 1m51s 1m51s update pub2.chem_disease cd set exposure_reference_qty = ( select count(distinct reference_id) from pub2.chem_disease_reference cdr where cd.chem_id = cdr.chem_id and cd.disease_id = cdr.disease_id and reference_id in ( select id from pub2.reference r where has_exposures = true));Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Apr 16 11 1 1m51s 1m51s -
update pub2.CHEM_DISEASE cd set exposure_reference_qty = ( select count(distinct reference_id) from pub2.CHEM_DISEASE_REFERENCE cdr where cd.chem_id = cdr.chem_id and cd.disease_id = cdr.disease_id and reference_id in ( select id from pub2.REFERENCE r where has_exposures = true));
Date: 2024-04-16 11:37:32 Duration: 1m51s Bind query: yes
9 1m20s 1 1m20s 1m20s 1m20s update pub2.dag_node set has_exposures = false;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Apr 16 11 1 1m20s 1m20s -
update pub2.DAG_NODE set has_exposures = false;
Date: 2024-04-16 11:35:04 Duration: 1m20s Bind query: yes
10 1m2s 8 6s859ms 9s625ms 7s835ms select t.nm, t.acc_txt, ri.ixn_id from edit.reference_ixn_anatomy a, pub1.term t, edit.reference_ixn ri, edit.ixn i where a.anatomy_acc_txt = t.acc_txt and t.object_type_id = ? and t.acc_db_cd = ? and ri.id = a.reference_ixn_id and ri.ixn_id = i.id and i.ixn_type_id = ( select id from edit.ixn_type where nm = ?) order by level_seq asc;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Apr 16 13 2 15s553ms 7s776ms 14 3 22s669ms 7s556ms 16 1 7s360ms 7s360ms 18 1 7s476ms 7s476ms 20 1 9s625ms 9s625ms -
select t.nm, t.acc_txt, ri.ixn_id from edit.REFERENCE_IXN_ANATOMY a, pub1.TERM t, edit.REFERENCE_IXN ri, edit.IXN i where a.anatomy_acc_txt = t.acc_txt and t.object_type_id = 10 and t.acc_db_cd = 'MESH' and ri.id = a.reference_ixn_id and ri.ixn_id = i.id and i.ixn_type_id = ( select id from edit.IXN_TYPE where nm = 'PHENOTYPE') order by level_seq asc;
Date: 2024-04-16 20:38:19 Duration: 9s625ms Bind query: yes
-
select t.nm, t.acc_txt, ri.ixn_id from edit.REFERENCE_IXN_ANATOMY a, pub1.TERM t, edit.REFERENCE_IXN ri, edit.IXN i where a.anatomy_acc_txt = t.acc_txt and t.object_type_id = 10 and t.acc_db_cd = 'MESH' and ri.id = a.reference_ixn_id and ri.ixn_id = i.id and i.ixn_type_id = ( select id from edit.IXN_TYPE where nm = 'PHENOTYPE') order by level_seq asc;
Date: 2024-04-16 14:19:31 Duration: 8s806ms Bind query: yes
-
select t.nm, t.acc_txt, ri.ixn_id from edit.REFERENCE_IXN_ANATOMY a, pub1.TERM t, edit.REFERENCE_IXN ri, edit.IXN i where a.anatomy_acc_txt = t.acc_txt and t.object_type_id = 10 and t.acc_db_cd = 'MESH' and ri.id = a.reference_ixn_id and ri.ixn_id = i.id and i.ixn_type_id = ( select id from edit.IXN_TYPE where nm = 'PHENOTYPE') order by level_seq asc;
Date: 2024-04-16 13:41:23 Duration: 7s934ms Bind query: yes
11 35s860ms 1 35s860ms 35s860ms 35s860ms update pub2.reference set has_exposures = false;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Apr 16 11 1 35s860ms 35s860ms -
update pub2.REFERENCE set has_exposures = false;
Date: 2024-04-16 11:35:41 Duration: 35s860ms Bind query: yes
12 21s64ms 9 1s4ms 3s492ms 2s340ms 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 #12
Day Hour Count Duration Avg duration Apr 16 05 2 4s376ms 2s188ms 11 7 16s687ms 2s383ms [ User: editeu - Total duration: 13s567ms - Times executed: 4 ]
[ User: pubeu - Total duration: 3s372ms - Times executed: 1 ]
-
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 = '588473' 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-04-16 11:32:03 Duration: 3s492ms Database: ctddev51 User: editeu 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 = '588473' 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-04-16 11:30:47 Duration: 3s458ms Database: ctddev51 User: editeu 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 = '588473' 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-04-16 11:28:46 Duration: 3s397ms Database: ctddev51 User: editeu Bind query: yes
13 16s841ms 6 1s238ms 3s977ms 2s806ms select t.id, t.object_type_id, t.acc_txt, t.acc_db_cd, t.nm, t.nm_sort, t.secondary_nm, t.description, t.note, l.nm from pub1.term t, pub1.term_label l where t.object_type_id = ? and t.id = l.term_id;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Apr 16 11 2 6s887ms 3s443ms 12 4 9s953ms 2s488ms [ User: editeu - Total duration: 16s841ms - Times executed: 6 ]
-
select t.ID, t.OBJECT_TYPE_ID, t.ACC_TXT, t.ACC_DB_CD, t.NM, t.NM_SORT, t.SECONDARY_NM, t.DESCRIPTION, t.NOTE, l.NM from pub1.TERM t, pub1.TERM_LABEL l where t.OBJECT_TYPE_ID = 4 and t.id = l.TERM_ID;
Date: 2024-04-16 12:43:35 Duration: 3s977ms Database: ctddev51 User: editeu Bind query: yes
-
select t.ID, t.OBJECT_TYPE_ID, t.ACC_TXT, t.ACC_DB_CD, t.NM, t.NM_SORT, t.SECONDARY_NM, t.DESCRIPTION, t.NOTE, l.NM from pub1.TERM t, pub1.TERM_LABEL l where t.OBJECT_TYPE_ID = 4 and t.id = l.TERM_ID;
Date: 2024-04-16 11:09:09 Duration: 3s910ms Database: ctddev51 User: editeu Bind query: yes
-
select t.ID, t.OBJECT_TYPE_ID, t.ACC_TXT, t.ACC_DB_CD, t.NM, t.NM_SORT, t.SECONDARY_NM, t.DESCRIPTION, t.NOTE, l.NM from pub1.TERM t, pub1.TERM_LABEL l where t.OBJECT_TYPE_ID = 1 and t.id = l.TERM_ID;
Date: 2024-04-16 12:43:34 Duration: 3s80ms Database: ctddev51 User: editeu Bind query: yes
14 10s140ms 1 10s140ms 10s140ms 10s140ms insert into pub2.exposure (id, reference_id, reference_acc_txt, reference_acc_db_id, exp_stressor_id, exp_receptor_id, exp_event_id, exp_outcome_id) select e.id, r.id, reference_acc_txt, reference_acc_db_id, exp_stressor_id, exp_receptor_id, exp_event_id, exp_outcome_id from edit.exposure e inner join pub2.reference r on e.reference_acc_txt = r.acc_txt and r.acc_db_cd = ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Apr 16 11 1 10s140ms 10s140ms -
INSERT INTO pub2.EXPOSURE (id, reference_id, reference_acc_txt, reference_acc_db_id, exp_stressor_id, exp_receptor_id, exp_event_id, exp_outcome_id) SELECT e.id, r.id, reference_acc_txt, reference_acc_db_id, exp_stressor_id, exp_receptor_id, exp_event_id, exp_outcome_id FROM edit.EXPOSURE e INNER JOIN pub2.REFERENCE r ON e.reference_acc_txt = r.acc_txt AND r.acc_db_cd = 'PUBMED';
Date: 2024-04-16 11:30:16 Duration: 10s140ms Bind query: yes
15 9s778ms 1 9s778ms 9s778ms 9s778ms insert into pub2.exp_event (exp_marker_lvl, exp_marker_lvl_range, detection_limit_uom, note, detection_freq, detection_freq_range, collection_end_yr, detection_limit_is_loq, detection_limit, detection_limit_range, assay_note, assay_measurement_stat, exp_marker_actor_form_type_id, exp_marker_acc_db_id, exp_marker_acc_txt, collection_start_yr, assay_uom, exp_marker_term_id, exp_marker_type_id, medium_id, medium_nm, medium_term_id, medium_term_acc_txt, has_locations, id, exp_marker_term_nm, exp_marker_term_nm_html) select distinct ee.exp_marker_lvl, ee.exp_marker_lvl_range, ee.detection_limit_uom, ee.note, ee.detection_freq, ee.detection_freq_range, ee.collection_end_yr, ee.detection_limit_is_loq, ee.detection_limit, ee.detection_limit_range, ee.assay_note, ee.assay_measurement_stat, ee.exp_marker_actor_form_type_id, ee.exp_marker_acc_db_id, ee.exp_marker_acc_txt, ee.collection_start_yr, ee.assay_uom, t.id, ee.exp_marker_type_id, ee.medium_id, m.nm, mt.id, m.term_acc_txt, ee.has_locations, ee.id, ee.exp_marker_term_nm, t.nm_html from edit.exp_event ee inner join edit.exposure e on e.exp_event_id = ee.id left outer join edit.exp_marker_type emt on ee.exp_marker_type_id = emt.id left outer join pub2.term t on ee.exp_marker_acc_txt = t.acc_txt and emt.object_type_id = t.object_type_id left outer join pub2.medium m on ee.medium_id = m.id left outer join pub2.term mt on m.term_acc_txt = mt.acc_txt and m.term_object_type_id = mt.object_type_id;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Apr 16 11 1 9s778ms 9s778ms [ User: pub2 - Total duration: 9s778ms - Times executed: 1 ]
-
INSERT INTO pub2.EXP_EVENT (exp_marker_lvl, exp_marker_lvl_range, detection_limit_uom, note, detection_freq, detection_freq_range, collection_end_yr, detection_limit_is_loq, detection_limit, detection_limit_range, assay_note, assay_measurement_stat, exp_marker_actor_form_type_id, exp_marker_acc_db_id, exp_marker_acc_txt, collection_start_yr, assay_uom, exp_marker_term_id, exp_marker_type_id, medium_id, medium_nm, medium_term_id, medium_term_acc_txt, has_locations, id, exp_marker_term_nm, exp_marker_term_nm_html) SELECT DISTINCT ee.exp_marker_lvl, ee.exp_marker_lvl_range, ee.detection_limit_uom, ee.note, ee.detection_freq, ee.detection_freq_range, ee.collection_end_yr, ee.detection_limit_is_loq, ee.detection_limit, ee.detection_limit_range, ee.assay_note, ee.assay_measurement_stat, ee.exp_marker_actor_form_type_id, ee.exp_marker_acc_db_id, ee.exp_marker_acc_txt, ee.collection_start_yr, ee.assay_uom, t.id, ee.exp_marker_type_id, ee.medium_id, m.nm, mt.id, m.term_acc_txt, ee.has_locations, ee.id, ee.exp_marker_term_nm, t.nm_html FROM edit.EXP_EVENT ee INNER JOIN edit.EXPOSURE e ON e.exp_event_id = ee.id LEFT OUTER JOIN edit.EXP_MARKER_TYPE emt ON ee.exp_marker_type_id = emt.id LEFT OUTER JOIN pub2.TERM t ON ee.exp_marker_acc_txt = t.acc_txt AND emt.object_type_id = t.object_type_id LEFT OUTER JOIN pub2.MEDIUM m ON ee.medium_id = m.id LEFT OUTER JOIN pub2.TERM mt ON m.term_acc_txt = mt.acc_txt AND m.term_object_type_id = mt.object_type_id;
Date: 2024-04-16 11:29:29 Duration: 9s778ms Database: ctddev51 User: pub2 Bind query: yes
16 8s739ms 1 8s739ms 8s739ms 8s739ms select distinct phenotypeterm.nm as gonm, phenotypeterm.nm_html as gonmhtml, phenotypeterm.acc_txt as goacc, diseaseterm.nm as diseasenm, diseaseterm.nm_html as diseasenmhtml, diseaseterm.acc_txt as diseaseacc, diseaseterm.acc_db_cd as diseaseaccdbcd, chemterm.nm as chemnm, chemterm.nm_html as chemnmhtml, chemterm.acc_txt as chemacc, geneterm.nm as genesymbol, geneterm.nm_html as genesymbolhtml, geneterm.acc_txt as geneacc, count(*) over () fullrowcount from phenotype_term_reference viachemptr, phenotype_term_reference viageneptr, term phenotypeterm, term diseaseterm, term geneterm, term chemterm where viachemptr.via_term_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and upper(baseterm.nm) like ?)) and chemterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and upper(baseterm.nm) like ?)) and viageneptr.via_term_id in ( select baseterm.id from term baseterm where baseterm.object_type_id = ? and upper(baseterm.nm) like ?) and geneterm.id in ( select baseterm.id from term baseterm where baseterm.object_type_id = ? and upper(baseterm.nm) like ?) and phenotypeterm.id = any (array ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and baseterm.id in ( select object_id from db_link l where l.acc_txt = ? and l.type_cd = ? and l.object_type_id = ?)))) and diseaseterm.id = any (array ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and upper(baseterm.nm) like ?))) and viachemptr.phenotype_id = phenotypeterm.id and viachemptr.term_object_type_id = ? and viachemptr.term_id = diseaseterm.id and viachemptr.via_term_object_type_id = ? and viachemptr.via_term_id = chemterm.id and viachemptr.term_id = viageneptr.term_id and viachemptr.phenotype_id = viageneptr.phenotype_id and viageneptr.via_term_object_type_id = ? and viageneptr.via_term_id = geneterm.id and exists ( select ? from gene_chem_reference where gene_id = geneterm.id and chem_id = chemterm.id) group by phenotypeterm.nm, phenotypeterm.nm_html, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.nm_html, diseaseterm.acc_txt, diseaseterm.acc_db_cd, chemterm.nm, chemterm.nm_html, chemterm.acc_txt, geneterm.nm, geneterm.nm_html, geneterm.acc_txt order by chemterm.nm limit ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Apr 16 05 1 8s739ms 8s739ms -
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and upper(baseTerm.nm) LIKE 'ZINC')) and chemTerm.id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and upper(baseTerm.nm) LIKE 'ZINC')) and viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and upper(baseTerm.nm) LIKE 'BCL2') and geneTerm.id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and upper(baseTerm.nm) LIKE 'BCL2') and phenotypeTerm.id = ANY (ARRAY ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = 'GO:0006915' AND l.type_cd = 'A' AND l.object_type_id = 5)))) and diseaseTerm.id = ANY (ARRAY ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 3 and upper(baseTerm.nm) LIKE 'NECROSIS'))) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;
Date: 2024-04-16 05:49:05 Duration: 8s739ms Bind query: yes
17 8s363ms 1 8s363ms 8s363ms 8s363ms update pub2.term set has_exposures = true where id in ( select ancestor_object_id from pub2.dag_path where descendant_object_id in ( select distinct s.chem_id from pub2.exp_stressor s union select distinct e.exp_marker_term_id from pub2.exp_event e union select distinct e.phenotype_id from pub2.exp_outcome e union select distinct e.disease_id from pub2.exp_outcome e union select distinct e.term_id from pub2.exp_receptor e) union select distinct e.exp_marker_term_id from pub2.exp_event e union select distinct e.term_id from pub2.exp_receptor e where object_type_id = ( select id from pub2.object_type where cd = ?));Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Apr 16 11 1 8s363ms 8s363ms -
update pub2.TERM set has_exposures = true where id in ( select ancestor_object_id from pub2.DAG_PATH where descendant_object_id in ( select distinct s.chem_id from pub2.EXP_STRESSOR s union select distinct e.exp_marker_term_id from pub2.EXP_EVENT e union select distinct e.phenotype_id from pub2.EXP_OUTCOME e union select distinct e.disease_id from pub2.EXP_OUTCOME e union select distinct e.term_id from pub2.EXP_RECEPTOR e) union select distinct e.exp_marker_term_id from pub2.EXP_EVENT e UNION select distinct e.term_id from pub2.EXP_RECEPTOR e where object_type_id = ( select id from pub2.OBJECT_TYPE where cd = 'gene'));
Date: 2024-04-16 11:33:43 Duration: 8s363ms Bind query: yes
18 8s270ms 1 8s270ms 8s270ms 8s270ms insert into pub2.exp_event_location (id, exp_event_id, country_id, geographic_region_id, geographic_region_nm, locality_txt) select distinct eel.id, eel.exp_event_id, eel.country_id, eel.geographic_region_id, eel.geographic_region_nm, eel.locality_txt from edit.exp_event_location eel inner join edit.exposure e on e.exp_event_id = eel.exp_event_id;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Apr 16 11 1 8s270ms 8s270ms -
INSERT INTO pub2.EXP_EVENT_LOCATION (id, exp_event_id, country_id, geographic_region_id, geographic_region_nm, locality_txt) SELECT DISTINCT eel.id, eel.exp_event_id, eel.country_id, eel.geographic_region_id, eel.geographic_region_nm, eel.locality_txt FROM edit.EXP_EVENT_LOCATION eel INNER JOIN edit.EXPOSURE e ON e.exp_event_id = eel.exp_event_id;
Date: 2024-04-16 11:29:37 Duration: 8s270ms Bind query: yes
19 5s602ms 1 5s602ms 5s602ms 5s602ms select ?, count(*) from gene_disease where exposure_reference_qty > ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Apr 16 11 1 5s602ms 5s602ms -
SELECT 'Exposure gene_disease Count ', count(*) FROM gene_disease WHERE exposure_reference_qty > 0;
Date: 2024-04-16 11:14:24 Duration: 5s602ms
20 5s395ms 1 5s395ms 5s395ms 5s395ms insert into pub2.exp_stressor (id, chem_id, chem_term_nm, chem_term_nm_html, chem_acc_txt, chem_acc_db_id, src_details, sample_qty, note) select distinct es.id, t.id, es.chem_term_nm, t.nm_html, es.chem_acc_txt, es.chem_acc_db_id, es.src_details, es.sample_qty, es.note from edit.exp_stressor es inner join edit.exposure e on e.exp_stressor_id = es.id left outer join pub2.term t on t.acc_txt = es.chem_acc_txt and t.object_type_id = ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Apr 16 11 1 5s395ms 5s395ms -
INSERT INTO pub2.EXP_STRESSOR (id, chem_id, chem_term_nm, chem_term_nm_html, chem_acc_txt, chem_acc_db_id, src_details, sample_qty, note) SELECT DISTINCT es.id, t.id, es.chem_term_nm, t.nm_html, es.chem_acc_txt, es.chem_acc_db_id, es.src_details, es.sample_qty, es.note FROM edit.EXP_STRESSOR es INNER JOIN edit.EXPOSURE e ON e.exp_stressor_id = es.id LEFT OUTER JOIN pub2.TERM t ON t.acc_txt = es.chem_acc_txt AND t.object_type_id = 2;
Date: 2024-04-16 11:29:49 Duration: 5s395ms Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 24 9m48s 5s31ms 55s445ms 24s526ms select id, object_type_id, acc_txt, t.acc_db_cd, nm, nm_sort, secondary_nm, description, note from pub1.term t where object_type_id = ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Apr 16 13 3 1m23s 27s968ms 14 12 4m40s 23s352ms 16 3 1m18s 26s329ms 18 3 1m15s 25s8ms 20 3 1m10s 23s491ms -
select ID, OBJECT_TYPE_ID, ACC_TXT, t.ACC_DB_CD, NM, NM_SORT, SECONDARY_NM, DESCRIPTION, NOTE from pub1.term t where object_type_id = 1;
Date: 2024-04-16 13:45:15 Duration: 55s445ms Bind query: yes
-
select ID, OBJECT_TYPE_ID, ACC_TXT, t.ACC_DB_CD, NM, NM_SORT, SECONDARY_NM, DESCRIPTION, NOTE from pub1.term t where object_type_id = 1;
Date: 2024-04-16 14:00:59 Duration: 49s358ms Bind query: yes
-
select ID, OBJECT_TYPE_ID, ACC_TXT, t.ACC_DB_CD, NM, NM_SORT, SECONDARY_NM, DESCRIPTION, NOTE from pub1.term t where object_type_id = 1;
Date: 2024-04-16 20:42:06 Duration: 47s328ms Bind query: yes
2 9 21s64ms 1s4ms 3s492ms 2s340ms 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 #2
Day Hour Count Duration Avg duration Apr 16 05 2 4s376ms 2s188ms 11 7 16s687ms 2s383ms [ User: editeu - Total duration: 13s567ms - Times executed: 4 ]
[ User: pubeu - Total duration: 3s372ms - Times executed: 1 ]
-
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 = '588473' 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-04-16 11:32:03 Duration: 3s492ms Database: ctddev51 User: editeu 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 = '588473' 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-04-16 11:30:47 Duration: 3s458ms Database: ctddev51 User: editeu 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 = '588473' 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-04-16 11:28:46 Duration: 3s397ms Database: ctddev51 User: editeu Bind query: yes
3 8 20m24s 2m30s 2m34s 2m33s select r.ixn_id, edit.get_ixn_prose (r.ixn_id), r.reference_acc_txt, r.taxon_acc_txt, r.internal_note, r.field_cd, edit.get_ixn_xml (r.ixn_id), to_char(r.create_tm, ?), r.evidence_cd, i.create_by from edit.reference_ixn r, edit.ixn i where r.ixn_id = i.id and i.ixn_type_id = ( select id from edit.ixn_type where nm = ?);Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Apr 16 13 2 5m3s 2m31s 14 3 7m40s 2m33s 16 1 2m33s 2m33s 18 1 2m32s 2m32s 20 1 2m34s 2m34s [ User: load - Total duration: 20m24s - Times executed: 8 ]
-
SELECT r.ixn_id, edit.get_ixn_prose (r.ixn_id), r.reference_acc_txt, r.taxon_acc_txt, r.internal_note, r.field_cd, edit.get_ixn_xml (r.ixn_id), to_char(r.create_tm, 'mm-dd-yyyy'), r.evidence_cd, i.create_by FROM edit.REFERENCE_IXN r, edit.IXN i where r.ixn_id = i.id and i.ixn_type_id = ( select id from edit.IXN_TYPE where nm = 'PHENOTYPE');
Date: 2024-04-16 20:38:08 Duration: 2m34s Database: ctddev51 User: load Bind query: yes
-
SELECT r.ixn_id, edit.get_ixn_prose (r.ixn_id), r.reference_acc_txt, r.taxon_acc_txt, r.internal_note, r.field_cd, edit.get_ixn_xml (r.ixn_id), to_char(r.create_tm, 'mm-dd-yyyy'), r.evidence_cd, i.create_by FROM edit.REFERENCE_IXN r, edit.IXN i where r.ixn_id = i.id and i.ixn_type_id = ( select id from edit.IXN_TYPE where nm = 'PHENOTYPE');
Date: 2024-04-16 14:45:00 Duration: 2m34s Database: ctddev51 User: load Bind query: yes
-
SELECT r.ixn_id, edit.get_ixn_prose (r.ixn_id), r.reference_acc_txt, r.taxon_acc_txt, r.internal_note, r.field_cd, edit.get_ixn_xml (r.ixn_id), to_char(r.create_tm, 'mm-dd-yyyy'), r.evidence_cd, i.create_by FROM edit.REFERENCE_IXN r, edit.IXN i where r.ixn_id = i.id and i.ixn_type_id = ( select id from edit.IXN_TYPE where nm = 'PHENOTYPE');
Date: 2024-04-16 14:33:01 Duration: 2m34s Database: ctddev51 User: load Bind query: yes
4 8 17m41s 2m2s 2m25s 2m12s select distinct primarygeneterm.acc_txt, taxonterm.acc_txt, gt.gene_acc_txt from pub1.gene_taxon gt, pub1.term primarygeneterm, pub1.term taxonterm where gt.gene_id = primarygeneterm.id and gt.taxon_id = taxonterm.id;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Apr 16 13 1 2m15s 2m15s 14 4 8m55s 2m13s 16 1 2m12s 2m12s 18 1 2m2s 2m2s 20 1 2m15s 2m15s [ User: load - Total duration: 17m41s - Times executed: 8 ]
-
select distinct primaryGeneTerm.acc_txt, taxonTerm.acc_txt, gt.gene_acc_txt from pub1.GENE_TAXON gt, pub1.TERM primaryGeneTerm, pub1.TERM taxonTerm where gt.gene_id = primaryGeneTerm.id and gt.taxon_id = taxonTerm.id;
Date: 2024-04-16 14:36:12 Duration: 2m25s Database: ctddev51 User: load Bind query: yes
-
select distinct primaryGeneTerm.acc_txt, taxonTerm.acc_txt, gt.gene_acc_txt from pub1.GENE_TAXON gt, pub1.TERM primaryGeneTerm, pub1.TERM taxonTerm where gt.gene_id = primaryGeneTerm.id and gt.taxon_id = taxonTerm.id;
Date: 2024-04-16 14:00:01 Duration: 2m18s Database: ctddev51 User: load Bind query: yes
-
select distinct primaryGeneTerm.acc_txt, taxonTerm.acc_txt, gt.gene_acc_txt from pub1.GENE_TAXON gt, pub1.TERM primaryGeneTerm, pub1.TERM taxonTerm where gt.gene_id = primaryGeneTerm.id and gt.taxon_id = taxonTerm.id;
Date: 2024-04-16 13:44:13 Duration: 2m15s Database: ctddev51 User: load Bind query: yes
5 8 3m14s 21s532ms 26s743ms 24s256ms select i.root_id, iq.nm from edit.reference_ixn_qualifier riq, edit.ixn_qualifier iq, edit.reference_ixn ri, edit.ixn i where riq.ixn_qualifier_id = iq.id and ri.id = riq.reference_ixn_id and ri.ixn_id = i.id;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Apr 16 13 2 45s256ms 22s628ms 14 3 1m15s 25s112ms 16 1 24s134ms 24s134ms 18 1 22s579ms 22s579ms 20 1 26s743ms 26s743ms -
select i.root_id, iq.nm from edit.REFERENCE_IXN_QUALIFIER riq, edit.IXN_QUALIFIER iq, edit.REFERENCE_IXN ri, edit.IXN i where riq.ixn_qualifier_id = iq.id and ri.id = riq.reference_ixn_id and ri.ixn_id = i.id;
Date: 2024-04-16 20:38:47 Duration: 26s743ms Bind query: yes
-
select i.root_id, iq.nm from edit.REFERENCE_IXN_QUALIFIER riq, edit.IXN_QUALIFIER iq, edit.REFERENCE_IXN ri, edit.IXN i where riq.ixn_qualifier_id = iq.id and ri.id = riq.reference_ixn_id and ri.ixn_id = i.id;
Date: 2024-04-16 14:33:36 Duration: 25s965ms Bind query: yes
-
select i.root_id, iq.nm from edit.REFERENCE_IXN_QUALIFIER riq, edit.IXN_QUALIFIER iq, edit.REFERENCE_IXN ri, edit.IXN i where riq.ixn_qualifier_id = iq.id and ri.id = riq.reference_ixn_id and ri.ixn_id = i.id;
Date: 2024-04-16 14:19:57 Duration: 25s213ms Bind query: yes
6 8 1m2s 6s859ms 9s625ms 7s835ms select t.nm, t.acc_txt, ri.ixn_id from edit.reference_ixn_anatomy a, pub1.term t, edit.reference_ixn ri, edit.ixn i where a.anatomy_acc_txt = t.acc_txt and t.object_type_id = ? and t.acc_db_cd = ? and ri.id = a.reference_ixn_id and ri.ixn_id = i.id and i.ixn_type_id = ( select id from edit.ixn_type where nm = ?) order by level_seq asc;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Apr 16 13 2 15s553ms 7s776ms 14 3 22s669ms 7s556ms 16 1 7s360ms 7s360ms 18 1 7s476ms 7s476ms 20 1 9s625ms 9s625ms -
select t.nm, t.acc_txt, ri.ixn_id from edit.REFERENCE_IXN_ANATOMY a, pub1.TERM t, edit.REFERENCE_IXN ri, edit.IXN i where a.anatomy_acc_txt = t.acc_txt and t.object_type_id = 10 and t.acc_db_cd = 'MESH' and ri.id = a.reference_ixn_id and ri.ixn_id = i.id and i.ixn_type_id = ( select id from edit.IXN_TYPE where nm = 'PHENOTYPE') order by level_seq asc;
Date: 2024-04-16 20:38:19 Duration: 9s625ms Bind query: yes
-
select t.nm, t.acc_txt, ri.ixn_id from edit.REFERENCE_IXN_ANATOMY a, pub1.TERM t, edit.REFERENCE_IXN ri, edit.IXN i where a.anatomy_acc_txt = t.acc_txt and t.object_type_id = 10 and t.acc_db_cd = 'MESH' and ri.id = a.reference_ixn_id and ri.ixn_id = i.id and i.ixn_type_id = ( select id from edit.IXN_TYPE where nm = 'PHENOTYPE') order by level_seq asc;
Date: 2024-04-16 14:19:31 Duration: 8s806ms Bind query: yes
-
select t.nm, t.acc_txt, ri.ixn_id from edit.REFERENCE_IXN_ANATOMY a, pub1.TERM t, edit.REFERENCE_IXN ri, edit.IXN i where a.anatomy_acc_txt = t.acc_txt and t.object_type_id = 10 and t.acc_db_cd = 'MESH' and ri.id = a.reference_ixn_id and ri.ixn_id = i.id and i.ixn_type_id = ( select id from edit.IXN_TYPE where nm = 'PHENOTYPE') order by level_seq asc;
Date: 2024-04-16 13:41:23 Duration: 7s934ms Bind query: yes
7 6 16s841ms 1s238ms 3s977ms 2s806ms select t.id, t.object_type_id, t.acc_txt, t.acc_db_cd, t.nm, t.nm_sort, t.secondary_nm, t.description, t.note, l.nm from pub1.term t, pub1.term_label l where t.object_type_id = ? and t.id = l.term_id;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Apr 16 11 2 6s887ms 3s443ms 12 4 9s953ms 2s488ms [ User: editeu - Total duration: 16s841ms - Times executed: 6 ]
-
select t.ID, t.OBJECT_TYPE_ID, t.ACC_TXT, t.ACC_DB_CD, t.NM, t.NM_SORT, t.SECONDARY_NM, t.DESCRIPTION, t.NOTE, l.NM from pub1.TERM t, pub1.TERM_LABEL l where t.OBJECT_TYPE_ID = 4 and t.id = l.TERM_ID;
Date: 2024-04-16 12:43:35 Duration: 3s977ms Database: ctddev51 User: editeu Bind query: yes
-
select t.ID, t.OBJECT_TYPE_ID, t.ACC_TXT, t.ACC_DB_CD, t.NM, t.NM_SORT, t.SECONDARY_NM, t.DESCRIPTION, t.NOTE, l.NM from pub1.TERM t, pub1.TERM_LABEL l where t.OBJECT_TYPE_ID = 4 and t.id = l.TERM_ID;
Date: 2024-04-16 11:09:09 Duration: 3s910ms Database: ctddev51 User: editeu Bind query: yes
-
select t.ID, t.OBJECT_TYPE_ID, t.ACC_TXT, t.ACC_DB_CD, t.NM, t.NM_SORT, t.SECONDARY_NM, t.DESCRIPTION, t.NOTE, l.NM from pub1.TERM t, pub1.TERM_LABEL l where t.OBJECT_TYPE_ID = 1 and t.id = l.TERM_ID;
Date: 2024-04-16 12:43:34 Duration: 3s80ms Database: ctddev51 User: editeu Bind query: yes
8 3 3s43ms 1s5ms 1s24ms 1s14ms select d.abbr dagabbr, d.nm dagnm, gt.level_min_no daglevelmin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pvalcorrected, te.raw_p_val pvalraw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, count(*) over () fullrowcount from term_enrichment te inner join dag_node gt on te.enriched_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, d.abbr, gt.nm_sort limit ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Apr 16 05 3 3s43ms 1s14ms [ User: pubeu - Total duration: 1s14ms - Times executed: 1 ]
-
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 = '1285538' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-04-16 05:47:55 Duration: 1s24ms 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 = '1285538' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-04-16 05:47:51 Duration: 1s14ms Database: ctddev51 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 = '1285538' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-04-16 05:47:52 Duration: 1s5ms Bind query: yes
9 2 2s916ms 1s423ms 1s493ms 1s458ms 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 #9
Day Hour Count Duration Avg duration Apr 16 05 2 2s916ms 1s458ms -
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-04-16 05:48:12 Duration: 1s493ms 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-04-16 05:48:11 Duration: 1s423ms Bind query: yes
10 1 40m29s 40m29s 40m29s 40m29s update pub2.gene_disease gd set exposure_reference_qty = ( select count(distinct reference_id) from pub2.gene_disease_reference gdr where gd.gene_id = gdr.gene_id and gd.disease_id = gdr.disease_id and reference_id in ( select id from pub2.reference r where has_exposures = true));Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Apr 16 12 1 40m29s 40m29s -
update pub2.GENE_DISEASE gd set exposure_reference_qty = ( select count(distinct reference_id) from pub2.GENE_DISEASE_REFERENCE gdr where gd.gene_id = gdr.gene_id and gd.disease_id = gdr.disease_id and reference_id in ( select id from pub2.REFERENCE r where has_exposures = true));
Date: 2024-04-16 12:18:02 Duration: 40m29s Bind query: yes
11 1 3m18s 3m18s 3m18s 3m18s update pub2.term set has_exposures = false;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Apr 16 11 1 3m18s 3m18s -
update pub2.TERM set has_exposures = false;
Date: 2024-04-16 11:33:34 Duration: 3m18s Bind query: yes
12 1 2m21s 2m21s 2m21s 2m21s update pub2.phenotype_term pt set exposure_reference_qty = ( select count(distinct reference_id) from pub2.phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and reference_id in ( select id from pub2.reference r where has_exposures = true));Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Apr 16 12 1 2m21s 2m21s -
update pub2.PHENOTYPE_TERM pt set exposure_reference_qty = ( select count(distinct reference_id) from pub2.PHENOTYPE_TERM_REFERENCE ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and reference_id in ( select id from pub2.REFERENCE r where has_exposures = true));
Date: 2024-04-16 12:20:23 Duration: 2m21s Bind query: yes
13 1 1m51s 1m51s 1m51s 1m51s update pub2.chem_disease cd set exposure_reference_qty = ( select count(distinct reference_id) from pub2.chem_disease_reference cdr where cd.chem_id = cdr.chem_id and cd.disease_id = cdr.disease_id and reference_id in ( select id from pub2.reference r where has_exposures = true));Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Apr 16 11 1 1m51s 1m51s -
update pub2.CHEM_DISEASE cd set exposure_reference_qty = ( select count(distinct reference_id) from pub2.CHEM_DISEASE_REFERENCE cdr where cd.chem_id = cdr.chem_id and cd.disease_id = cdr.disease_id and reference_id in ( select id from pub2.REFERENCE r where has_exposures = true));
Date: 2024-04-16 11:37:32 Duration: 1m51s Bind query: yes
14 1 1m20s 1m20s 1m20s 1m20s update pub2.dag_node set has_exposures = false;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Apr 16 11 1 1m20s 1m20s -
update pub2.DAG_NODE set has_exposures = false;
Date: 2024-04-16 11:35:04 Duration: 1m20s Bind query: yes
15 1 35s860ms 35s860ms 35s860ms 35s860ms update pub2.reference set has_exposures = false;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Apr 16 11 1 35s860ms 35s860ms -
update pub2.REFERENCE set has_exposures = false;
Date: 2024-04-16 11:35:41 Duration: 35s860ms Bind query: yes
16 1 10s140ms 10s140ms 10s140ms 10s140ms insert into pub2.exposure (id, reference_id, reference_acc_txt, reference_acc_db_id, exp_stressor_id, exp_receptor_id, exp_event_id, exp_outcome_id) select e.id, r.id, reference_acc_txt, reference_acc_db_id, exp_stressor_id, exp_receptor_id, exp_event_id, exp_outcome_id from edit.exposure e inner join pub2.reference r on e.reference_acc_txt = r.acc_txt and r.acc_db_cd = ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Apr 16 11 1 10s140ms 10s140ms -
INSERT INTO pub2.EXPOSURE (id, reference_id, reference_acc_txt, reference_acc_db_id, exp_stressor_id, exp_receptor_id, exp_event_id, exp_outcome_id) SELECT e.id, r.id, reference_acc_txt, reference_acc_db_id, exp_stressor_id, exp_receptor_id, exp_event_id, exp_outcome_id FROM edit.EXPOSURE e INNER JOIN pub2.REFERENCE r ON e.reference_acc_txt = r.acc_txt AND r.acc_db_cd = 'PUBMED';
Date: 2024-04-16 11:30:16 Duration: 10s140ms Bind query: yes
17 1 9s778ms 9s778ms 9s778ms 9s778ms insert into pub2.exp_event (exp_marker_lvl, exp_marker_lvl_range, detection_limit_uom, note, detection_freq, detection_freq_range, collection_end_yr, detection_limit_is_loq, detection_limit, detection_limit_range, assay_note, assay_measurement_stat, exp_marker_actor_form_type_id, exp_marker_acc_db_id, exp_marker_acc_txt, collection_start_yr, assay_uom, exp_marker_term_id, exp_marker_type_id, medium_id, medium_nm, medium_term_id, medium_term_acc_txt, has_locations, id, exp_marker_term_nm, exp_marker_term_nm_html) select distinct ee.exp_marker_lvl, ee.exp_marker_lvl_range, ee.detection_limit_uom, ee.note, ee.detection_freq, ee.detection_freq_range, ee.collection_end_yr, ee.detection_limit_is_loq, ee.detection_limit, ee.detection_limit_range, ee.assay_note, ee.assay_measurement_stat, ee.exp_marker_actor_form_type_id, ee.exp_marker_acc_db_id, ee.exp_marker_acc_txt, ee.collection_start_yr, ee.assay_uom, t.id, ee.exp_marker_type_id, ee.medium_id, m.nm, mt.id, m.term_acc_txt, ee.has_locations, ee.id, ee.exp_marker_term_nm, t.nm_html from edit.exp_event ee inner join edit.exposure e on e.exp_event_id = ee.id left outer join edit.exp_marker_type emt on ee.exp_marker_type_id = emt.id left outer join pub2.term t on ee.exp_marker_acc_txt = t.acc_txt and emt.object_type_id = t.object_type_id left outer join pub2.medium m on ee.medium_id = m.id left outer join pub2.term mt on m.term_acc_txt = mt.acc_txt and m.term_object_type_id = mt.object_type_id;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Apr 16 11 1 9s778ms 9s778ms [ User: pub2 - Total duration: 9s778ms - Times executed: 1 ]
-
INSERT INTO pub2.EXP_EVENT (exp_marker_lvl, exp_marker_lvl_range, detection_limit_uom, note, detection_freq, detection_freq_range, collection_end_yr, detection_limit_is_loq, detection_limit, detection_limit_range, assay_note, assay_measurement_stat, exp_marker_actor_form_type_id, exp_marker_acc_db_id, exp_marker_acc_txt, collection_start_yr, assay_uom, exp_marker_term_id, exp_marker_type_id, medium_id, medium_nm, medium_term_id, medium_term_acc_txt, has_locations, id, exp_marker_term_nm, exp_marker_term_nm_html) SELECT DISTINCT ee.exp_marker_lvl, ee.exp_marker_lvl_range, ee.detection_limit_uom, ee.note, ee.detection_freq, ee.detection_freq_range, ee.collection_end_yr, ee.detection_limit_is_loq, ee.detection_limit, ee.detection_limit_range, ee.assay_note, ee.assay_measurement_stat, ee.exp_marker_actor_form_type_id, ee.exp_marker_acc_db_id, ee.exp_marker_acc_txt, ee.collection_start_yr, ee.assay_uom, t.id, ee.exp_marker_type_id, ee.medium_id, m.nm, mt.id, m.term_acc_txt, ee.has_locations, ee.id, ee.exp_marker_term_nm, t.nm_html FROM edit.EXP_EVENT ee INNER JOIN edit.EXPOSURE e ON e.exp_event_id = ee.id LEFT OUTER JOIN edit.EXP_MARKER_TYPE emt ON ee.exp_marker_type_id = emt.id LEFT OUTER JOIN pub2.TERM t ON ee.exp_marker_acc_txt = t.acc_txt AND emt.object_type_id = t.object_type_id LEFT OUTER JOIN pub2.MEDIUM m ON ee.medium_id = m.id LEFT OUTER JOIN pub2.TERM mt ON m.term_acc_txt = mt.acc_txt AND m.term_object_type_id = mt.object_type_id;
Date: 2024-04-16 11:29:29 Duration: 9s778ms Database: ctddev51 User: pub2 Bind query: yes
18 1 8s739ms 8s739ms 8s739ms 8s739ms select distinct phenotypeterm.nm as gonm, phenotypeterm.nm_html as gonmhtml, phenotypeterm.acc_txt as goacc, diseaseterm.nm as diseasenm, diseaseterm.nm_html as diseasenmhtml, diseaseterm.acc_txt as diseaseacc, diseaseterm.acc_db_cd as diseaseaccdbcd, chemterm.nm as chemnm, chemterm.nm_html as chemnmhtml, chemterm.acc_txt as chemacc, geneterm.nm as genesymbol, geneterm.nm_html as genesymbolhtml, geneterm.acc_txt as geneacc, count(*) over () fullrowcount from phenotype_term_reference viachemptr, phenotype_term_reference viageneptr, term phenotypeterm, term diseaseterm, term geneterm, term chemterm where viachemptr.via_term_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and upper(baseterm.nm) like ?)) and chemterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and upper(baseterm.nm) like ?)) and viageneptr.via_term_id in ( select baseterm.id from term baseterm where baseterm.object_type_id = ? and upper(baseterm.nm) like ?) and geneterm.id in ( select baseterm.id from term baseterm where baseterm.object_type_id = ? and upper(baseterm.nm) like ?) and phenotypeterm.id = any (array ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and baseterm.id in ( select object_id from db_link l where l.acc_txt = ? and l.type_cd = ? and l.object_type_id = ?)))) and diseaseterm.id = any (array ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and upper(baseterm.nm) like ?))) and viachemptr.phenotype_id = phenotypeterm.id and viachemptr.term_object_type_id = ? and viachemptr.term_id = diseaseterm.id and viachemptr.via_term_object_type_id = ? and viachemptr.via_term_id = chemterm.id and viachemptr.term_id = viageneptr.term_id and viachemptr.phenotype_id = viageneptr.phenotype_id and viageneptr.via_term_object_type_id = ? and viageneptr.via_term_id = geneterm.id and exists ( select ? from gene_chem_reference where gene_id = geneterm.id and chem_id = chemterm.id) group by phenotypeterm.nm, phenotypeterm.nm_html, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.nm_html, diseaseterm.acc_txt, diseaseterm.acc_db_cd, chemterm.nm, chemterm.nm_html, chemterm.acc_txt, geneterm.nm, geneterm.nm_html, geneterm.acc_txt order by chemterm.nm limit ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Apr 16 05 1 8s739ms 8s739ms -
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and upper(baseTerm.nm) LIKE 'ZINC')) and chemTerm.id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and upper(baseTerm.nm) LIKE 'ZINC')) and viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and upper(baseTerm.nm) LIKE 'BCL2') and geneTerm.id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and upper(baseTerm.nm) LIKE 'BCL2') and phenotypeTerm.id = ANY (ARRAY ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = 'GO:0006915' AND l.type_cd = 'A' AND l.object_type_id = 5)))) and diseaseTerm.id = ANY (ARRAY ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 3 and upper(baseTerm.nm) LIKE 'NECROSIS'))) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;
Date: 2024-04-16 05:49:05 Duration: 8s739ms Bind query: yes
19 1 8s363ms 8s363ms 8s363ms 8s363ms update pub2.term set has_exposures = true where id in ( select ancestor_object_id from pub2.dag_path where descendant_object_id in ( select distinct s.chem_id from pub2.exp_stressor s union select distinct e.exp_marker_term_id from pub2.exp_event e union select distinct e.phenotype_id from pub2.exp_outcome e union select distinct e.disease_id from pub2.exp_outcome e union select distinct e.term_id from pub2.exp_receptor e) union select distinct e.exp_marker_term_id from pub2.exp_event e union select distinct e.term_id from pub2.exp_receptor e where object_type_id = ( select id from pub2.object_type where cd = ?));Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Apr 16 11 1 8s363ms 8s363ms -
update pub2.TERM set has_exposures = true where id in ( select ancestor_object_id from pub2.DAG_PATH where descendant_object_id in ( select distinct s.chem_id from pub2.EXP_STRESSOR s union select distinct e.exp_marker_term_id from pub2.EXP_EVENT e union select distinct e.phenotype_id from pub2.EXP_OUTCOME e union select distinct e.disease_id from pub2.EXP_OUTCOME e union select distinct e.term_id from pub2.EXP_RECEPTOR e) union select distinct e.exp_marker_term_id from pub2.EXP_EVENT e UNION select distinct e.term_id from pub2.EXP_RECEPTOR e where object_type_id = ( select id from pub2.OBJECT_TYPE where cd = 'gene'));
Date: 2024-04-16 11:33:43 Duration: 8s363ms Bind query: yes
20 1 8s270ms 8s270ms 8s270ms 8s270ms insert into pub2.exp_event_location (id, exp_event_id, country_id, geographic_region_id, geographic_region_nm, locality_txt) select distinct eel.id, eel.exp_event_id, eel.country_id, eel.geographic_region_id, eel.geographic_region_nm, eel.locality_txt from edit.exp_event_location eel inner join edit.exposure e on e.exp_event_id = eel.exp_event_id;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Apr 16 11 1 8s270ms 8s270ms -
INSERT INTO pub2.EXP_EVENT_LOCATION (id, exp_event_id, country_id, geographic_region_id, geographic_region_nm, locality_txt) SELECT DISTINCT eel.id, eel.exp_event_id, eel.country_id, eel.geographic_region_id, eel.geographic_region_nm, eel.locality_txt FROM edit.EXP_EVENT_LOCATION eel INNER JOIN edit.EXPOSURE e ON e.exp_event_id = eel.exp_event_id;
Date: 2024-04-16 11:29:37 Duration: 8s270ms Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 40m29s 40m29s 40m29s 1 40m29s update pub2.gene_disease gd set exposure_reference_qty = ( select count(distinct reference_id) from pub2.gene_disease_reference gdr where gd.gene_id = gdr.gene_id and gd.disease_id = gdr.disease_id and reference_id in ( select id from pub2.reference r where has_exposures = true));Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Apr 16 12 1 40m29s 40m29s -
update pub2.GENE_DISEASE gd set exposure_reference_qty = ( select count(distinct reference_id) from pub2.GENE_DISEASE_REFERENCE gdr where gd.gene_id = gdr.gene_id and gd.disease_id = gdr.disease_id and reference_id in ( select id from pub2.REFERENCE r where has_exposures = true));
Date: 2024-04-16 12:18:02 Duration: 40m29s Bind query: yes
2 3m18s 3m18s 3m18s 1 3m18s update pub2.term set has_exposures = false;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Apr 16 11 1 3m18s 3m18s -
update pub2.TERM set has_exposures = false;
Date: 2024-04-16 11:33:34 Duration: 3m18s Bind query: yes
3 2m30s 2m34s 2m33s 8 20m24s select r.ixn_id, edit.get_ixn_prose (r.ixn_id), r.reference_acc_txt, r.taxon_acc_txt, r.internal_note, r.field_cd, edit.get_ixn_xml (r.ixn_id), to_char(r.create_tm, ?), r.evidence_cd, i.create_by from edit.reference_ixn r, edit.ixn i where r.ixn_id = i.id and i.ixn_type_id = ( select id from edit.ixn_type where nm = ?);Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Apr 16 13 2 5m3s 2m31s 14 3 7m40s 2m33s 16 1 2m33s 2m33s 18 1 2m32s 2m32s 20 1 2m34s 2m34s [ User: load - Total duration: 20m24s - Times executed: 8 ]
-
SELECT r.ixn_id, edit.get_ixn_prose (r.ixn_id), r.reference_acc_txt, r.taxon_acc_txt, r.internal_note, r.field_cd, edit.get_ixn_xml (r.ixn_id), to_char(r.create_tm, 'mm-dd-yyyy'), r.evidence_cd, i.create_by FROM edit.REFERENCE_IXN r, edit.IXN i where r.ixn_id = i.id and i.ixn_type_id = ( select id from edit.IXN_TYPE where nm = 'PHENOTYPE');
Date: 2024-04-16 20:38:08 Duration: 2m34s Database: ctddev51 User: load Bind query: yes
-
SELECT r.ixn_id, edit.get_ixn_prose (r.ixn_id), r.reference_acc_txt, r.taxon_acc_txt, r.internal_note, r.field_cd, edit.get_ixn_xml (r.ixn_id), to_char(r.create_tm, 'mm-dd-yyyy'), r.evidence_cd, i.create_by FROM edit.REFERENCE_IXN r, edit.IXN i where r.ixn_id = i.id and i.ixn_type_id = ( select id from edit.IXN_TYPE where nm = 'PHENOTYPE');
Date: 2024-04-16 14:45:00 Duration: 2m34s Database: ctddev51 User: load Bind query: yes
-
SELECT r.ixn_id, edit.get_ixn_prose (r.ixn_id), r.reference_acc_txt, r.taxon_acc_txt, r.internal_note, r.field_cd, edit.get_ixn_xml (r.ixn_id), to_char(r.create_tm, 'mm-dd-yyyy'), r.evidence_cd, i.create_by FROM edit.REFERENCE_IXN r, edit.IXN i where r.ixn_id = i.id and i.ixn_type_id = ( select id from edit.IXN_TYPE where nm = 'PHENOTYPE');
Date: 2024-04-16 14:33:01 Duration: 2m34s Database: ctddev51 User: load Bind query: yes
4 2m21s 2m21s 2m21s 1 2m21s update pub2.phenotype_term pt set exposure_reference_qty = ( select count(distinct reference_id) from pub2.phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and reference_id in ( select id from pub2.reference r where has_exposures = true));Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Apr 16 12 1 2m21s 2m21s -
update pub2.PHENOTYPE_TERM pt set exposure_reference_qty = ( select count(distinct reference_id) from pub2.PHENOTYPE_TERM_REFERENCE ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and reference_id in ( select id from pub2.REFERENCE r where has_exposures = true));
Date: 2024-04-16 12:20:23 Duration: 2m21s Bind query: yes
5 2m2s 2m25s 2m12s 8 17m41s select distinct primarygeneterm.acc_txt, taxonterm.acc_txt, gt.gene_acc_txt from pub1.gene_taxon gt, pub1.term primarygeneterm, pub1.term taxonterm where gt.gene_id = primarygeneterm.id and gt.taxon_id = taxonterm.id;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Apr 16 13 1 2m15s 2m15s 14 4 8m55s 2m13s 16 1 2m12s 2m12s 18 1 2m2s 2m2s 20 1 2m15s 2m15s [ User: load - Total duration: 17m41s - Times executed: 8 ]
-
select distinct primaryGeneTerm.acc_txt, taxonTerm.acc_txt, gt.gene_acc_txt from pub1.GENE_TAXON gt, pub1.TERM primaryGeneTerm, pub1.TERM taxonTerm where gt.gene_id = primaryGeneTerm.id and gt.taxon_id = taxonTerm.id;
Date: 2024-04-16 14:36:12 Duration: 2m25s Database: ctddev51 User: load Bind query: yes
-
select distinct primaryGeneTerm.acc_txt, taxonTerm.acc_txt, gt.gene_acc_txt from pub1.GENE_TAXON gt, pub1.TERM primaryGeneTerm, pub1.TERM taxonTerm where gt.gene_id = primaryGeneTerm.id and gt.taxon_id = taxonTerm.id;
Date: 2024-04-16 14:00:01 Duration: 2m18s Database: ctddev51 User: load Bind query: yes
-
select distinct primaryGeneTerm.acc_txt, taxonTerm.acc_txt, gt.gene_acc_txt from pub1.GENE_TAXON gt, pub1.TERM primaryGeneTerm, pub1.TERM taxonTerm where gt.gene_id = primaryGeneTerm.id and gt.taxon_id = taxonTerm.id;
Date: 2024-04-16 13:44:13 Duration: 2m15s Database: ctddev51 User: load Bind query: yes
6 1m51s 1m51s 1m51s 1 1m51s update pub2.chem_disease cd set exposure_reference_qty = ( select count(distinct reference_id) from pub2.chem_disease_reference cdr where cd.chem_id = cdr.chem_id and cd.disease_id = cdr.disease_id and reference_id in ( select id from pub2.reference r where has_exposures = true));Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Apr 16 11 1 1m51s 1m51s -
update pub2.CHEM_DISEASE cd set exposure_reference_qty = ( select count(distinct reference_id) from pub2.CHEM_DISEASE_REFERENCE cdr where cd.chem_id = cdr.chem_id and cd.disease_id = cdr.disease_id and reference_id in ( select id from pub2.REFERENCE r where has_exposures = true));
Date: 2024-04-16 11:37:32 Duration: 1m51s Bind query: yes
7 1m20s 1m20s 1m20s 1 1m20s update pub2.dag_node set has_exposures = false;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Apr 16 11 1 1m20s 1m20s -
update pub2.DAG_NODE set has_exposures = false;
Date: 2024-04-16 11:35:04 Duration: 1m20s Bind query: yes
8 35s860ms 35s860ms 35s860ms 1 35s860ms update pub2.reference set has_exposures = false;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Apr 16 11 1 35s860ms 35s860ms -
update pub2.REFERENCE set has_exposures = false;
Date: 2024-04-16 11:35:41 Duration: 35s860ms Bind query: yes
9 5s31ms 55s445ms 24s526ms 24 9m48s select id, object_type_id, acc_txt, t.acc_db_cd, nm, nm_sort, secondary_nm, description, note from pub1.term t where object_type_id = ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Apr 16 13 3 1m23s 27s968ms 14 12 4m40s 23s352ms 16 3 1m18s 26s329ms 18 3 1m15s 25s8ms 20 3 1m10s 23s491ms -
select ID, OBJECT_TYPE_ID, ACC_TXT, t.ACC_DB_CD, NM, NM_SORT, SECONDARY_NM, DESCRIPTION, NOTE from pub1.term t where object_type_id = 1;
Date: 2024-04-16 13:45:15 Duration: 55s445ms Bind query: yes
-
select ID, OBJECT_TYPE_ID, ACC_TXT, t.ACC_DB_CD, NM, NM_SORT, SECONDARY_NM, DESCRIPTION, NOTE from pub1.term t where object_type_id = 1;
Date: 2024-04-16 14:00:59 Duration: 49s358ms Bind query: yes
-
select ID, OBJECT_TYPE_ID, ACC_TXT, t.ACC_DB_CD, NM, NM_SORT, SECONDARY_NM, DESCRIPTION, NOTE from pub1.term t where object_type_id = 1;
Date: 2024-04-16 20:42:06 Duration: 47s328ms Bind query: yes
10 21s532ms 26s743ms 24s256ms 8 3m14s select i.root_id, iq.nm from edit.reference_ixn_qualifier riq, edit.ixn_qualifier iq, edit.reference_ixn ri, edit.ixn i where riq.ixn_qualifier_id = iq.id and ri.id = riq.reference_ixn_id and ri.ixn_id = i.id;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Apr 16 13 2 45s256ms 22s628ms 14 3 1m15s 25s112ms 16 1 24s134ms 24s134ms 18 1 22s579ms 22s579ms 20 1 26s743ms 26s743ms -
select i.root_id, iq.nm from edit.REFERENCE_IXN_QUALIFIER riq, edit.IXN_QUALIFIER iq, edit.REFERENCE_IXN ri, edit.IXN i where riq.ixn_qualifier_id = iq.id and ri.id = riq.reference_ixn_id and ri.ixn_id = i.id;
Date: 2024-04-16 20:38:47 Duration: 26s743ms Bind query: yes
-
select i.root_id, iq.nm from edit.REFERENCE_IXN_QUALIFIER riq, edit.IXN_QUALIFIER iq, edit.REFERENCE_IXN ri, edit.IXN i where riq.ixn_qualifier_id = iq.id and ri.id = riq.reference_ixn_id and ri.ixn_id = i.id;
Date: 2024-04-16 14:33:36 Duration: 25s965ms Bind query: yes
-
select i.root_id, iq.nm from edit.REFERENCE_IXN_QUALIFIER riq, edit.IXN_QUALIFIER iq, edit.REFERENCE_IXN ri, edit.IXN i where riq.ixn_qualifier_id = iq.id and ri.id = riq.reference_ixn_id and ri.ixn_id = i.id;
Date: 2024-04-16 14:19:57 Duration: 25s213ms Bind query: yes
11 10s140ms 10s140ms 10s140ms 1 10s140ms insert into pub2.exposure (id, reference_id, reference_acc_txt, reference_acc_db_id, exp_stressor_id, exp_receptor_id, exp_event_id, exp_outcome_id) select e.id, r.id, reference_acc_txt, reference_acc_db_id, exp_stressor_id, exp_receptor_id, exp_event_id, exp_outcome_id from edit.exposure e inner join pub2.reference r on e.reference_acc_txt = r.acc_txt and r.acc_db_cd = ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Apr 16 11 1 10s140ms 10s140ms -
INSERT INTO pub2.EXPOSURE (id, reference_id, reference_acc_txt, reference_acc_db_id, exp_stressor_id, exp_receptor_id, exp_event_id, exp_outcome_id) SELECT e.id, r.id, reference_acc_txt, reference_acc_db_id, exp_stressor_id, exp_receptor_id, exp_event_id, exp_outcome_id FROM edit.EXPOSURE e INNER JOIN pub2.REFERENCE r ON e.reference_acc_txt = r.acc_txt AND r.acc_db_cd = 'PUBMED';
Date: 2024-04-16 11:30:16 Duration: 10s140ms Bind query: yes
12 9s778ms 9s778ms 9s778ms 1 9s778ms insert into pub2.exp_event (exp_marker_lvl, exp_marker_lvl_range, detection_limit_uom, note, detection_freq, detection_freq_range, collection_end_yr, detection_limit_is_loq, detection_limit, detection_limit_range, assay_note, assay_measurement_stat, exp_marker_actor_form_type_id, exp_marker_acc_db_id, exp_marker_acc_txt, collection_start_yr, assay_uom, exp_marker_term_id, exp_marker_type_id, medium_id, medium_nm, medium_term_id, medium_term_acc_txt, has_locations, id, exp_marker_term_nm, exp_marker_term_nm_html) select distinct ee.exp_marker_lvl, ee.exp_marker_lvl_range, ee.detection_limit_uom, ee.note, ee.detection_freq, ee.detection_freq_range, ee.collection_end_yr, ee.detection_limit_is_loq, ee.detection_limit, ee.detection_limit_range, ee.assay_note, ee.assay_measurement_stat, ee.exp_marker_actor_form_type_id, ee.exp_marker_acc_db_id, ee.exp_marker_acc_txt, ee.collection_start_yr, ee.assay_uom, t.id, ee.exp_marker_type_id, ee.medium_id, m.nm, mt.id, m.term_acc_txt, ee.has_locations, ee.id, ee.exp_marker_term_nm, t.nm_html from edit.exp_event ee inner join edit.exposure e on e.exp_event_id = ee.id left outer join edit.exp_marker_type emt on ee.exp_marker_type_id = emt.id left outer join pub2.term t on ee.exp_marker_acc_txt = t.acc_txt and emt.object_type_id = t.object_type_id left outer join pub2.medium m on ee.medium_id = m.id left outer join pub2.term mt on m.term_acc_txt = mt.acc_txt and m.term_object_type_id = mt.object_type_id;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Apr 16 11 1 9s778ms 9s778ms [ User: pub2 - Total duration: 9s778ms - Times executed: 1 ]
-
INSERT INTO pub2.EXP_EVENT (exp_marker_lvl, exp_marker_lvl_range, detection_limit_uom, note, detection_freq, detection_freq_range, collection_end_yr, detection_limit_is_loq, detection_limit, detection_limit_range, assay_note, assay_measurement_stat, exp_marker_actor_form_type_id, exp_marker_acc_db_id, exp_marker_acc_txt, collection_start_yr, assay_uom, exp_marker_term_id, exp_marker_type_id, medium_id, medium_nm, medium_term_id, medium_term_acc_txt, has_locations, id, exp_marker_term_nm, exp_marker_term_nm_html) SELECT DISTINCT ee.exp_marker_lvl, ee.exp_marker_lvl_range, ee.detection_limit_uom, ee.note, ee.detection_freq, ee.detection_freq_range, ee.collection_end_yr, ee.detection_limit_is_loq, ee.detection_limit, ee.detection_limit_range, ee.assay_note, ee.assay_measurement_stat, ee.exp_marker_actor_form_type_id, ee.exp_marker_acc_db_id, ee.exp_marker_acc_txt, ee.collection_start_yr, ee.assay_uom, t.id, ee.exp_marker_type_id, ee.medium_id, m.nm, mt.id, m.term_acc_txt, ee.has_locations, ee.id, ee.exp_marker_term_nm, t.nm_html FROM edit.EXP_EVENT ee INNER JOIN edit.EXPOSURE e ON e.exp_event_id = ee.id LEFT OUTER JOIN edit.EXP_MARKER_TYPE emt ON ee.exp_marker_type_id = emt.id LEFT OUTER JOIN pub2.TERM t ON ee.exp_marker_acc_txt = t.acc_txt AND emt.object_type_id = t.object_type_id LEFT OUTER JOIN pub2.MEDIUM m ON ee.medium_id = m.id LEFT OUTER JOIN pub2.TERM mt ON m.term_acc_txt = mt.acc_txt AND m.term_object_type_id = mt.object_type_id;
Date: 2024-04-16 11:29:29 Duration: 9s778ms Database: ctddev51 User: pub2 Bind query: yes
13 8s739ms 8s739ms 8s739ms 1 8s739ms select distinct phenotypeterm.nm as gonm, phenotypeterm.nm_html as gonmhtml, phenotypeterm.acc_txt as goacc, diseaseterm.nm as diseasenm, diseaseterm.nm_html as diseasenmhtml, diseaseterm.acc_txt as diseaseacc, diseaseterm.acc_db_cd as diseaseaccdbcd, chemterm.nm as chemnm, chemterm.nm_html as chemnmhtml, chemterm.acc_txt as chemacc, geneterm.nm as genesymbol, geneterm.nm_html as genesymbolhtml, geneterm.acc_txt as geneacc, count(*) over () fullrowcount from phenotype_term_reference viachemptr, phenotype_term_reference viageneptr, term phenotypeterm, term diseaseterm, term geneterm, term chemterm where viachemptr.via_term_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and upper(baseterm.nm) like ?)) and chemterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and upper(baseterm.nm) like ?)) and viageneptr.via_term_id in ( select baseterm.id from term baseterm where baseterm.object_type_id = ? and upper(baseterm.nm) like ?) and geneterm.id in ( select baseterm.id from term baseterm where baseterm.object_type_id = ? and upper(baseterm.nm) like ?) and phenotypeterm.id = any (array ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and baseterm.id in ( select object_id from db_link l where l.acc_txt = ? and l.type_cd = ? and l.object_type_id = ?)))) and diseaseterm.id = any (array ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and upper(baseterm.nm) like ?))) and viachemptr.phenotype_id = phenotypeterm.id and viachemptr.term_object_type_id = ? and viachemptr.term_id = diseaseterm.id and viachemptr.via_term_object_type_id = ? and viachemptr.via_term_id = chemterm.id and viachemptr.term_id = viageneptr.term_id and viachemptr.phenotype_id = viageneptr.phenotype_id and viageneptr.via_term_object_type_id = ? and viageneptr.via_term_id = geneterm.id and exists ( select ? from gene_chem_reference where gene_id = geneterm.id and chem_id = chemterm.id) group by phenotypeterm.nm, phenotypeterm.nm_html, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.nm_html, diseaseterm.acc_txt, diseaseterm.acc_db_cd, chemterm.nm, chemterm.nm_html, chemterm.acc_txt, geneterm.nm, geneterm.nm_html, geneterm.acc_txt order by chemterm.nm limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Apr 16 05 1 8s739ms 8s739ms -
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and upper(baseTerm.nm) LIKE 'ZINC')) and chemTerm.id IN ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and upper(baseTerm.nm) LIKE 'ZINC')) and viaGenePTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and upper(baseTerm.nm) LIKE 'BCL2') and geneTerm.id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 4 and upper(baseTerm.nm) LIKE 'BCL2') and phenotypeTerm.id = ANY (ARRAY ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 5 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = 'GO:0006915' AND l.type_cd = 'A' AND l.object_type_id = 5)))) and diseaseTerm.id = ANY (ARRAY ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 3 and upper(baseTerm.nm) LIKE 'NECROSIS'))) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50;
Date: 2024-04-16 05:49:05 Duration: 8s739ms Bind query: yes
14 8s363ms 8s363ms 8s363ms 1 8s363ms update pub2.term set has_exposures = true where id in ( select ancestor_object_id from pub2.dag_path where descendant_object_id in ( select distinct s.chem_id from pub2.exp_stressor s union select distinct e.exp_marker_term_id from pub2.exp_event e union select distinct e.phenotype_id from pub2.exp_outcome e union select distinct e.disease_id from pub2.exp_outcome e union select distinct e.term_id from pub2.exp_receptor e) union select distinct e.exp_marker_term_id from pub2.exp_event e union select distinct e.term_id from pub2.exp_receptor e where object_type_id = ( select id from pub2.object_type where cd = ?));Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Apr 16 11 1 8s363ms 8s363ms -
update pub2.TERM set has_exposures = true where id in ( select ancestor_object_id from pub2.DAG_PATH where descendant_object_id in ( select distinct s.chem_id from pub2.EXP_STRESSOR s union select distinct e.exp_marker_term_id from pub2.EXP_EVENT e union select distinct e.phenotype_id from pub2.EXP_OUTCOME e union select distinct e.disease_id from pub2.EXP_OUTCOME e union select distinct e.term_id from pub2.EXP_RECEPTOR e) union select distinct e.exp_marker_term_id from pub2.EXP_EVENT e UNION select distinct e.term_id from pub2.EXP_RECEPTOR e where object_type_id = ( select id from pub2.OBJECT_TYPE where cd = 'gene'));
Date: 2024-04-16 11:33:43 Duration: 8s363ms Bind query: yes
15 8s270ms 8s270ms 8s270ms 1 8s270ms insert into pub2.exp_event_location (id, exp_event_id, country_id, geographic_region_id, geographic_region_nm, locality_txt) select distinct eel.id, eel.exp_event_id, eel.country_id, eel.geographic_region_id, eel.geographic_region_nm, eel.locality_txt from edit.exp_event_location eel inner join edit.exposure e on e.exp_event_id = eel.exp_event_id;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Apr 16 11 1 8s270ms 8s270ms -
INSERT INTO pub2.EXP_EVENT_LOCATION (id, exp_event_id, country_id, geographic_region_id, geographic_region_nm, locality_txt) SELECT DISTINCT eel.id, eel.exp_event_id, eel.country_id, eel.geographic_region_id, eel.geographic_region_nm, eel.locality_txt FROM edit.EXP_EVENT_LOCATION eel INNER JOIN edit.EXPOSURE e ON e.exp_event_id = eel.exp_event_id;
Date: 2024-04-16 11:29:37 Duration: 8s270ms Bind query: yes
16 6s859ms 9s625ms 7s835ms 8 1m2s select t.nm, t.acc_txt, ri.ixn_id from edit.reference_ixn_anatomy a, pub1.term t, edit.reference_ixn ri, edit.ixn i where a.anatomy_acc_txt = t.acc_txt and t.object_type_id = ? and t.acc_db_cd = ? and ri.id = a.reference_ixn_id and ri.ixn_id = i.id and i.ixn_type_id = ( select id from edit.ixn_type where nm = ?) order by level_seq asc;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Apr 16 13 2 15s553ms 7s776ms 14 3 22s669ms 7s556ms 16 1 7s360ms 7s360ms 18 1 7s476ms 7s476ms 20 1 9s625ms 9s625ms -
select t.nm, t.acc_txt, ri.ixn_id from edit.REFERENCE_IXN_ANATOMY a, pub1.TERM t, edit.REFERENCE_IXN ri, edit.IXN i where a.anatomy_acc_txt = t.acc_txt and t.object_type_id = 10 and t.acc_db_cd = 'MESH' and ri.id = a.reference_ixn_id and ri.ixn_id = i.id and i.ixn_type_id = ( select id from edit.IXN_TYPE where nm = 'PHENOTYPE') order by level_seq asc;
Date: 2024-04-16 20:38:19 Duration: 9s625ms Bind query: yes
-
select t.nm, t.acc_txt, ri.ixn_id from edit.REFERENCE_IXN_ANATOMY a, pub1.TERM t, edit.REFERENCE_IXN ri, edit.IXN i where a.anatomy_acc_txt = t.acc_txt and t.object_type_id = 10 and t.acc_db_cd = 'MESH' and ri.id = a.reference_ixn_id and ri.ixn_id = i.id and i.ixn_type_id = ( select id from edit.IXN_TYPE where nm = 'PHENOTYPE') order by level_seq asc;
Date: 2024-04-16 14:19:31 Duration: 8s806ms Bind query: yes
-
select t.nm, t.acc_txt, ri.ixn_id from edit.REFERENCE_IXN_ANATOMY a, pub1.TERM t, edit.REFERENCE_IXN ri, edit.IXN i where a.anatomy_acc_txt = t.acc_txt and t.object_type_id = 10 and t.acc_db_cd = 'MESH' and ri.id = a.reference_ixn_id and ri.ixn_id = i.id and i.ixn_type_id = ( select id from edit.IXN_TYPE where nm = 'PHENOTYPE') order by level_seq asc;
Date: 2024-04-16 13:41:23 Duration: 7s934ms Bind query: yes
17 5s602ms 5s602ms 5s602ms 1 5s602ms select ?, count(*) from gene_disease where exposure_reference_qty > ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Apr 16 11 1 5s602ms 5s602ms -
SELECT 'Exposure gene_disease Count ', count(*) FROM gene_disease WHERE exposure_reference_qty > 0;
Date: 2024-04-16 11:14:24 Duration: 5s602ms
18 5s395ms 5s395ms 5s395ms 1 5s395ms insert into pub2.exp_stressor (id, chem_id, chem_term_nm, chem_term_nm_html, chem_acc_txt, chem_acc_db_id, src_details, sample_qty, note) select distinct es.id, t.id, es.chem_term_nm, t.nm_html, es.chem_acc_txt, es.chem_acc_db_id, es.src_details, es.sample_qty, es.note from edit.exp_stressor es inner join edit.exposure e on e.exp_stressor_id = es.id left outer join pub2.term t on t.acc_txt = es.chem_acc_txt and t.object_type_id = ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Apr 16 11 1 5s395ms 5s395ms -
INSERT INTO pub2.EXP_STRESSOR (id, chem_id, chem_term_nm, chem_term_nm_html, chem_acc_txt, chem_acc_db_id, src_details, sample_qty, note) SELECT DISTINCT es.id, t.id, es.chem_term_nm, t.nm_html, es.chem_acc_txt, es.chem_acc_db_id, es.src_details, es.sample_qty, es.note FROM edit.EXP_STRESSOR es INNER JOIN edit.EXPOSURE e ON e.exp_stressor_id = es.id LEFT OUTER JOIN pub2.TERM t ON t.acc_txt = es.chem_acc_txt AND t.object_type_id = 2;
Date: 2024-04-16 11:29:49 Duration: 5s395ms Bind query: yes
19 1s238ms 3s977ms 2s806ms 6 16s841ms select t.id, t.object_type_id, t.acc_txt, t.acc_db_cd, t.nm, t.nm_sort, t.secondary_nm, t.description, t.note, l.nm from pub1.term t, pub1.term_label l where t.object_type_id = ? and t.id = l.term_id;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Apr 16 11 2 6s887ms 3s443ms 12 4 9s953ms 2s488ms [ User: editeu - Total duration: 16s841ms - Times executed: 6 ]
-
select t.ID, t.OBJECT_TYPE_ID, t.ACC_TXT, t.ACC_DB_CD, t.NM, t.NM_SORT, t.SECONDARY_NM, t.DESCRIPTION, t.NOTE, l.NM from pub1.TERM t, pub1.TERM_LABEL l where t.OBJECT_TYPE_ID = 4 and t.id = l.TERM_ID;
Date: 2024-04-16 12:43:35 Duration: 3s977ms Database: ctddev51 User: editeu Bind query: yes
-
select t.ID, t.OBJECT_TYPE_ID, t.ACC_TXT, t.ACC_DB_CD, t.NM, t.NM_SORT, t.SECONDARY_NM, t.DESCRIPTION, t.NOTE, l.NM from pub1.TERM t, pub1.TERM_LABEL l where t.OBJECT_TYPE_ID = 4 and t.id = l.TERM_ID;
Date: 2024-04-16 11:09:09 Duration: 3s910ms Database: ctddev51 User: editeu Bind query: yes
-
select t.ID, t.OBJECT_TYPE_ID, t.ACC_TXT, t.ACC_DB_CD, t.NM, t.NM_SORT, t.SECONDARY_NM, t.DESCRIPTION, t.NOTE, l.NM from pub1.TERM t, pub1.TERM_LABEL l where t.OBJECT_TYPE_ID = 1 and t.id = l.TERM_ID;
Date: 2024-04-16 12:43:34 Duration: 3s80ms Database: ctddev51 User: editeu Bind query: yes
20 1s4ms 3s492ms 2s340ms 9 21s64ms 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 #20
Day Hour Count Duration Avg duration Apr 16 05 2 4s376ms 2s188ms 11 7 16s687ms 2s383ms [ User: editeu - Total duration: 13s567ms - Times executed: 4 ]
[ User: pubeu - Total duration: 3s372ms - Times executed: 1 ]
-
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 = '588473' 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-04-16 11:32:03 Duration: 3s492ms Database: ctddev51 User: editeu 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 = '588473' 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-04-16 11:30:47 Duration: 3s458ms Database: ctddev51 User: editeu 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 = '588473' 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-04-16 11:28:46 Duration: 3s397ms Database: ctddev51 User: editeu Bind query: yes
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query NO DATASET
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query NO DATASET
-
Events
Log levels
Key values
- 124,743 Log entries
Events distribution
Key values
- 0 PANIC entries
- 1 FATAL entries
- 23 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 16 Max number of times the same event was reported
- 24 Total events found
Rank Times reported Error 1 16 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #1
Day Hour Count Apr 16 13 3 14 6 15 1 16 1 17 1 18 1 20 2 22 1 2 3 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #2
Day Hour Count Apr 16 11 1 13 2 - ERROR: syntax error at or near "exp_stressor_stressor_src" at character 24< 2024-04-16 11:24:40.494 EDT >NOTICE: truncate cascades to table "exp_receptor"< 2024-04-16 11:24:40.494 EDT >NOTICE: truncate cascades to table "exp_receptor_gender"< 2024-04-16 11:24:40.494 EDT >NOTICE: truncate cascades to table "exp_receptor_race"< 2024-04-16 11:24:40.494 EDT >NOTICE: truncate cascades to table "exp_receptor_tobacco_use"< 2024-04-16 11:24:40.494 EDT >NOTICE: truncate cascades to table "exposure"< 2024-04-16 11:24:40.667 EDT >NOTICE: truncate cascades to table "exp_event_location"< 2024-04-16 11:24:40.847 EDT >NOTICE: truncate cascades to table "exp_event"< 2024-04-16 11:24:40.847 EDT >NOTICE: truncate cascades to table "exp_event_assay_method"< 2024-04-16 11:24:40.847 EDT >NOTICE: truncate cascades to table "exp_event_location"< 2024-04-16 11:24:40.847 EDT >NOTICE: truncate cascades to table "exp_event_project"< 2024-04-16 11:24:40.847 EDT >NOTICE: truncate cascades to table "exposure"< 2024-04-16 11:24:41.039 EDT >NOTICE: truncate cascades to table "exp_receptor_race"< 2024-04-16 11:24:41.196 EDT >NOTICE: truncate cascades to table "exp_study_factor"< 2024-04-16 11:24:41.400 EDT >NOTICE: truncate cascades to table "exp_study_factor"< 2024-04-16 11:24:41.591 EDT >NOTICE: truncate cascades to table "exp_receptor_tobacco_use"
- ERROR: syntax error at or near "id" at character 34
- ERROR: syntax error at or near "id" at character 34
Statement: truncate table cascade exp_stressor_stressor_src;
Date: 2024-04-16 11:24:40 Database: ctddev51 Application: psql User: pub2 Remote:
Statement: select * from reference_exp were id in (3424,3427,3428,3431)
Date: 2024-04-16 13:19:33
Statement: select * from reference_exp were id =3424
Date: 2024-04-16 13:21:50
3 3 LOG: could not receive data from client: Connection timed out
Times Reported Most Frequent Error / Event #3
Day Hour Count Apr 16 19 1 21 2 4 1 FATAL: password authentication failed for user "..."
Times Reported Most Frequent Error / Event #4
Day Hour Count Apr 16 11 1 - FATAL: password authentication failed for user "pub2"
Detail: Connection matched pg_hba.conf line 80: "host all all 10.12.5.0/24 md5 "
Date: 2024-04-16 11:09:32
5 1 ERROR: column "..." does not exist
Times Reported Most Frequent Error / Event #5
Day Hour Count Apr 16 13 1 - ERROR: column "id" does not exist at character 61
Statement: select * from edit.exp_study_factor where id not in (select id from pub2.exp_study_factor)
Date: 2024-04-16 13:16:05 Database: ctddev51 Application: pgAdmin 4 - CONN:6252860 User: edit Remote: