-
Global information
- Generated on Fri Apr 19 04:10:06 2024
- Log file: /project/archive/log/postgres/dbdev51/postgresql.log-20240418
- Parsed 68,899 log entries in 4s
- Log start from 2024-04-18 00:04:34 to 2024-04-18 23:52:12
-
Overview
Global Stats
- 42 Number of unique normalized queries
- 94 Number of queries
- 48m47s Total query duration
- 2024-04-18 05:45:12 First query
- 2024-04-18 14:31:42 Last query
- 1 queries/s at 2024-04-18 12:33:31 Query peak
- 48m47s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 48m47s Execute total duration
- 25 Number of events
- 6 Number of unique normalized events
- 10 Max number of times the same event was reported
- 0 Number of cancellation
- 55 Total number of automatic vacuums
- 103 Total number of automatic analyzes
- 0 Number temporary file
- 0 Max size of temporary file
- 0.00 B Average size of temporary file
- 1,662 Total number of sessions
- 47 sessions at 2024-04-18 14:11:50 Session peak
- 43d9h27m9s Total duration of sessions
- 37m35s Average duration of sessions
- 0 Average queries per session
- 1s761ms Average queries duration per session
- 37m34s Average idle time per session
- 1,659 Total number of connections
- 9 connections/s at 2024-04-18 05:45:08 Connection peak
- 2 Total number of databases
SQL Traffic
Key values
- 1 queries/s Query Peak
- 2024-04-18 12:33:31 Date
SELECT Traffic
Key values
- 1 queries/s Query Peak
- 2024-04-18 05:47:28 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1 queries/s Query Peak
- 2024-04-18 12:33:31 Date
Queries duration
Key values
- 48m47s 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 18 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 23 0ms 8s536ms 2s346ms 8s536ms 18s780ms 22s235ms 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 13 0ms 2m23s 18s552ms 4s428ms 57s408ms 2m23s 11 12 0ms 2m13s 19s472ms 4s373ms 4s436ms 2m13s 12 36 0ms 2m10s 11s107ms 53s34ms 1m25s 2m15s 13 7 0ms 27m46s 4m43s 3s17ms 1m55s 27m46s 14 3 0ms 9s220ms 3s993ms 0ms 1s210ms 9s220ms 15 0 0ms 0ms 0ms 0ms 0ms 0ms 16 0 0ms 0ms 0ms 0ms 0ms 0ms 17 0 0ms 0ms 0ms 0ms 0ms 0ms 18 0 0ms 0ms 0ms 0ms 0ms 0ms 19 0 0ms 0ms 0ms 0ms 0ms 0ms 20 0 0ms 0ms 0ms 0ms 0ms 0ms 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 18 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 21 0 2s359ms 0ms 8s536ms 22s235ms 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 4 0 55s61ms 0ms 0ms 2m23s 11 4 0 53s442ms 0ms 0ms 2m13s 12 0 0 0ms 0ms 0ms 0ms 13 5 0 40s999ms 0ms 0ms 2m16s 14 2 0 1s380ms 0ms 0ms 1s210ms 15 0 0 0ms 0ms 0ms 0ms 16 0 0 0ms 0ms 0ms 0ms 17 0 0 0ms 0ms 0ms 0ms 18 0 0 0ms 0ms 0ms 0ms 19 0 0 0ms 0ms 0ms 0ms 20 0 0 0ms 0ms 0ms 0ms 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 18 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 11 5 0 0 22s112ms 0ms 0ms 1m23s 13 0 2 0 0 14m51s 0ms 0ms 1m55s 14 1 0 0 0 9s220ms 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 18 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 23 23.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 13 13.00 0.00% 11 0 13 13.00 0.00% 12 0 36 36.00 0.00% 13 0 6 6.00 0.00% 14 0 19 19.00 0.00% 15 0 2 2.00 0.00% 16 0 0 0.00 0.00% 17 0 0 0.00 0.00% 18 0 0 0.00 0.00% 19 0 0 0.00 0.00% 20 0 0 0.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 18 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 63 0.02/s 08 58 0.02/s 09 66 0.02/s 10 100 0.03/s 11 93 0.03/s 12 128 0.04/s 13 70 0.02/s 14 67 0.02/s 15 64 0.02/s 16 62 0.02/s 17 59 0.02/s 18 59 0.02/s 19 63 0.02/s 20 64 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 18 00 64 30m40s 30m40s 01 64 30m41s 30m41s 02 64 30m38s 30m38s 03 64 30m40s 30m40s 04 64 30m41s 30m41s 05 68 28m40s 28m40s 06 63 30m40s 30m40s 07 63 30m39s 30m39s 08 60 1h18m4s 1h18m4s 09 65 46m25s 46m25s 10 99 1h22m33s 1h22m30s 11 92 24m29s 24m27s 12 126 16m36s 16m33s 13 66 28m54s 28m24s 14 66 29m17s 29m17s 15 66 31m59s 31m59s 16 62 30m37s 30m37s 17 59 30m41s 30m41s 18 59 30m40s 30m40s 19 63 30m38s 30m38s 20 64 30m41s 30m41s 21 69 1h11m29s 1h11m29s 22 68 1h4m16s 1h4m16s 23 64 30m41s 30m41s -
Connections
Established Connections
Key values
- 9 connections Connection Peak
- 2024-04-18 05:45:08 Date
Connections per database
Key values
- ctddev51 Main Database
- 1,659 connections Total
Connections per user
Key values
- editeu Main User
- 1,659 connections Total
-
Sessions
Simultaneous sessions
Key values
- 47 sessions Session Peak
- 2024-04-18 14:11:50 Date
Histogram of session times
Key values
- 1,499 1800000-3600000ms duration
Sessions per database
Key values
- ctddev51 Main Database
- 1,662 sessions Total
Sessions per user
Key values
- editeu Main User
- 1,662 sessions Total
Sessions per host
Key values
- 10.12.5.53 Main Host
- 1,662 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 948,520 buffers Checkpoint Peak
- 2024-04-18 14:44:03 Date
- 1619.919 seconds Highest write time
- 0.204 seconds Sync time
Checkpoints Wal files
Key values
- 539 files Wal files usage Peak
- 2024-04-18 14:18:35 Date
Checkpoints distance
Key values
- 17,238.72 Mo Distance Peak
- 2024-04-18 12:39:18 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Apr 18 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 38 3.903s 0.001s 3.919s 06 67 6.802s 0.001s 6.818s 07 0 0s 0s 0s 08 0 0s 0s 0s 09 0 0s 0s 0s 10 27 2.895s 0.002s 2.926s 11 484 48.092s 0.002s 48.165s 12 1,201,028 858.617s 0.105s 872.3s 13 983,716 2,392.967s 0.025s 2,406.107s 14 2,544,884 4,305.942s 0.281s 4,328.462s 15 449,040 1,619.919s 0.004s 1,626.428s 16 0 0s 0s 0s 17 0 0s 0s 0s 18 0 0s 0s 0s 19 0 0s 0s 0s 20 0 0s 0s 0s 21 0 0s 0s 0s 22 0 0s 0s 0s 23 0 0s 0s 0s Day Hour Added Removed Recycled Synced files Longest sync Average sync Apr 18 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 11 0.001s 0.001s 06 0 0 0 12 0.001s 0.001s 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 23 0.001s 0.002s 11 0 1 0 45 0.001s 0.002s 12 0 32 1,076 638 0.008s 0.003s 13 0 0 1,076 53 0.015s 0.003s 14 0 31 1,781 775 0.049s 0.005s 15 0 0 538 46 0.001s 0.001s 16 0 0 0 0 0s 0s 17 0 0 0 0 0s 0s 18 0 0 0 0 0s 0s 19 0 0 0 0 0s 0s 20 0 0 0 0 0s 0s 21 0 0 0 0 0s 0s 22 0 0 0 0 0s 0s 23 0 0 0 0 0s 0s Day Hour Count Avg time (sec) Apr 18 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Day Hour Mean distance Mean estimate Apr 18 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 201.00 kB 596,798.00 kB 06 385.00 kB 537,157.00 kB 07 0.00 kB 0.00 kB 08 0.00 kB 0.00 kB 09 0.00 kB 0.00 kB 10 48.00 kB 459,274.50 kB 11 2,147.00 kB 372,255.50 kB 12 5,875,873.33 kB 5,989,180.33 kB 13 8,815,361.50 kB 8,822,518.50 kB 14 5,937,516.00 kB 8,428,013.40 kB 15 8,813,851.00 kB 8,815,253.00 kB 16 0.00 kB 0.00 kB 17 0.00 kB 0.00 kB 18 0.00 kB 0.00 kB 19 0.00 kB 0.00 kB 20 0.00 kB 0.00 kB 21 0.00 kB 0.00 kB 22 0.00 kB 0.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 18 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 -
Vacuums
Vacuums / Analyzes Distribution
Key values
- 208.79 sec Highest CPU-cost vacuum
Table pub1.gene_disease
Database ctddev51 - 2024-04-18 15:04:41 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctddev51 - Date
Average Autovacuum Duration
Key values
- 208.79 sec Highest CPU-cost vacuum
Table pub1.gene_disease
Database ctddev51 - 2024-04-18 15:04:41 Date
Analyzes per table
Key values
- edit.tm_reference_term (33) Main table analyzed (database ctddev51)
- 103 analyzes Total
Table Number of analyzes ctddev51.edit.tm_reference_term 33 ctddev51.edit.tm_reference 13 ctddev51.pub2.exp_event_assay_method 2 ctddev51.pub2.exp_event_location 2 ctddev51.pub2.exp_event_project 2 ctddev51.pg_catalog.pg_class 2 ctddev51.pub2.exp_stressor 2 ctddev51.pub2.exp_stressor_stressor_src 2 ctddev51.pub2.gene_disease 1 ctddev51.pub2.exp_anatomy 1 ctddev51.pub2.medium 1 ctddev51.pub2.exp_study_factor 1 ctddev51.pub2.exp_receptor_gender 1 ctddev51.pub1.gene_disease 1 ctddev51.pub1.exposure 1 ctddev51.pub1.phenotype_term 1 ctddev51.pub1.exp_outcome 1 ctddev51.pub1.exp_event_project 1 ctddev51.pub1.dag_node 1 ctddev51.pub2.exp_event 1 ctddev51.pub2.exposure 1 ctddev51.pub1.exp_receptor_gender 1 ctddev51.pub2.reference 1 ctddev51.pub2.exp_receptor_tobacco_use 1 ctddev51.pub2.race 1 ctddev51.pub1.exp_anatomy 1 ctddev51.pub1.exp_event 1 ctddev51.pub1.exp_stressor 1 ctddev51.pub2.exp_receptor 1 ctddev51.pub1.exp_study_factor 1 ctddev51.pub1.chem_disease 1 ctddev51.pub1.exp_receptor 1 ctddev51.pub1.exp_receptor_race 1 ctddev51.pub1.country 1 ctddev51.pub1.medium 1 ctddev51.pub2.country 1 ctddev51.pub2.chem_disease 1 ctddev51.pub1.reference_exp 1 ctddev51.pub1.geographic_region 1 ctddev51.pub2.exp_outcome 1 ctddev51.pub2.reference_exp 1 ctddev51.pub2.phenotype_term 1 ctddev51.pub1.exp_receptor_tobacco_use 1 ctddev51.pub1.reference 1 ctddev51.pubc.log_query 1 ctddev51.pub1.exp_event_assay_method 1 ctddev51.pub1.exp_event_location 1 ctddev51.pub1.exp_stressor_stressor_src 1 ctddev51.pub2.geographic_region 1 ctddev51.pub2.exp_receptor_race 1 ctddev51.pub2.dag_node 1 ctddev51.pub1.term 1 ctddev51.pub2.term 1 Total 103 Vacuums per table
Key values
- edit.tm_reference_term (10) Main table vacuumed on database ctddev51
- 55 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 10 0 3,345 0 107 0 0 330 4 54,118 ctddev51.pg_catalog.pg_statistic 1 1 705 0 125 0 0 419 104 470,225 ctddev51.pub1.exp_anatomy 1 0 152 0 3 0 0 33 1 10,366 ctddev51.pub1.exp_stressor 1 0 9,447 0 36 0 0 2,947 1 182,243 ctddev51.pub1.exp_event 1 0 19,297 0 70 0 0 6,042 1 364,897 ctddev51.pub2.exp_receptor 1 0 7,212 0 3 0 0 3,577 1 219,462 ctddev51.pub2.exp_receptor_tobacco_use 1 0 1,174 0 3 0 0 552 1 40,987 ctddev51.pub2.reference 1 1 336,873 0 24 0 4,068 223,572 6,376 71,903,364 ctddev51.pub2.exp_event_assay_method 1 1 9,233 0 3 0 0 3,097 1 189,188 ctddev51.pub2.exp_event 1 0 12,276 0 3 0 0 6,043 1 364,956 ctddev51.pub2.exposure 1 0 3,602 0 3 0 0 1,748 1 111,551 ctddev51.pub2.exp_event_location 1 1 7,518 0 3 0 0 2,628 1 168,833 ctddev51.pub1.exp_receptor_gender 1 0 4,114 0 9 0 0 1,308 1 85,591 ctddev51.pub1.dag_node 1 1 405,606 0 724 0 0 279,326 649 67,512,300 ctddev51.pub1.exp_event_project 1 0 3,243 0 15 0 0 984 1 66,475 ctddev51.pub1.phenotype_term 1 1 507,924 0 5,341 0 93,697 198,898 28,496 69,040,095 ctddev51.pub1.exp_outcome 1 0 1,456 0 47 0 0 216 1 21,163 ctddev51.pub2.exp_study_factor 1 0 79 0 3 0 0 11 1 9,068 ctddev51.pub1.gene_disease 1 1 3,228,027 0 611,393 0 0 1,586,105 585,837 2,120,240,426 ctddev51.pub2.exp_receptor_gender 1 0 2,646 0 3 0 0 1,308 1 85,591 ctddev51.pub1.exposure 1 0 5,753 0 22 0 0 1,752 1 111,787 ctddev51.pub2.gene_disease 1 1 3,316,463 0 555,569 0 0 1,562,771 577,479 2,127,122,290 ctddev51.pub2.exp_anatomy 1 0 123 0 3 0 0 33 1 10,366 ctddev51.pub1.term 1 1 1,683,355 0 431,595 0 0 998,642 280,146 619,780,392 ctddev51.pg_toast.pg_toast_2619 1 1 4,707 0 1,341 0 10,008 3,509 1,005 575,213 ctddev51.pub2.term 1 1 1,228,913 0 67,170 0 0 977,734 458,835 1,373,686,718 ctddev51.pub2.dag_node 1 1 328,064 0 1,857 0 185 291,062 1,572 60,535,278 ctddev51.pub2.exp_stressor_stressor_src 1 0 2,549 0 1 0 0 1,244 1 81,872 ctddev51.pub1.exp_stressor_stressor_src 1 0 3,879 0 5 0 0 1,247 1 82,023 ctddev51.pub1.exp_event_location 1 0 5,295 0 19 0 0 1,644 1 105,415 ctddev51.pub2.exp_receptor_race 1 0 1,320 0 3 0 0 625 1 45,294 ctddev51.pub1.exp_receptor_tobacco_use 1 0 1,827 0 7 0 0 552 1 40,987 ctddev51.pub2.exp_stressor 1 1 7,614 0 3 0 0 4,002 1 243,042 ctddev51.pub1.reference 1 1 1,120,587 0 2,161 1 441 234,573 6,410 60,180,553 ctddev51.pub1.exp_event_assay_method 1 0 8,685 0 56 0 0 2,325 1 145,594 ctddev51.pg_catalog.pg_class 1 1 288 0 7 0 0 107 5 22,689 ctddev51.pub2.phenotype_term 1 1 321,269 0 2,782 0 93,092 194,787 26,601 73,154,124 ctddev51.pub2.exp_outcome 1 0 576 0 3 0 0 216 1 21,163 ctddev51.pub2.reference_exp 1 0 324 0 3 0 0 125 1 15,794 ctddev51.pub2.chem_disease 1 1 310,057 0 10,054 0 0 159,852 10,024 116,321,728 ctddev51.pub2.exp_event_project 1 1 3,509 0 3 0 0 1,222 1 80,001 ctddev51.pub1.reference_exp 1 0 324 0 3 0 0 125 1 15,794 ctddev51.pub1.exp_receptor_race 1 0 2,046 0 6 0 0 625 1 45,294 ctddev51.pub1.exp_receptor 1 0 11,399 0 27 0 0 3,578 1 219,521 ctddev51.pub1.exp_study_factor 1 0 79 0 3 0 0 11 1 9,068 ctddev51.pub1.chem_disease 1 1 308,257 0 9,535 0 0 158,613 59,678 186,457,873 Total 55 19 13,241,191 191,869 1,700,156 1 201,491 6,920,120 2,043,251 6,950,250,772 Tuples removed per table
Key values
- pub1.gene_disease (32587930) Main table with removed tuples on database ctddev51
- 85943830 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain ctddev51.pub1.gene_disease 1 1 32,587,930 32,587,930 0 0 479,235 ctddev51.pub2.gene_disease 1 1 32,512,714 32,512,714 0 0 478,129 ctddev51.pub1.chem_disease 1 1 3,276,111 3,276,111 0 0 48,129 ctddev51.pub2.chem_disease 1 1 3,264,480 3,264,480 0 0 47,958 ctddev51.pub1.phenotype_term 1 1 3,236,557 4,905,043 0 0 181,755 ctddev51.pub2.phenotype_term 1 1 3,224,904 4,882,558 0 0 181,107 ctddev51.pub2.term 1 1 2,070,543 2,064,736 0 0 332,953 ctddev51.pub1.term 1 1 2,068,639 2,068,596 0 0 329,629 ctddev51.pub1.dag_node 1 1 1,698,995 1,691,807 0 0 82,413 ctddev51.pub2.dag_node 1 1 1,696,727 1,693,336 0 0 82,320 ctddev51.pub1.reference 1 1 199,209 196,800 0 0 85,026 ctddev51.pub2.reference 1 1 102,039 204,890 0 0 84,900 ctddev51.pg_toast.pg_toast_2619 1 1 4,028 20,054 0 0 12,592 ctddev51.pub2.exp_stressor 1 1 527 205,410 0 0 2,946 ctddev51.pg_catalog.pg_statistic 1 1 323 2,329 74 0 290 ctddev51.pg_catalog.pg_class 1 1 37 1,917 0 0 61 ctddev51.pub2.exp_stressor_stressor_src 1 0 31 280,746 0 0 1,246 ctddev51.pub1.exp_stressor 1 0 18 205,919 0 0 2,946 ctddev51.pub1.exp_stressor_stressor_src 1 0 18 281,383 0 0 1,246 ctddev51.pub1.exp_anatomy 1 0 0 3,746 0 0 32 ctddev51.pub1.exp_event 1 0 0 205,825 0 0 6,041 ctddev51.pub2.exp_receptor 1 0 0 189,372 0 0 3,576 ctddev51.pub2.exp_receptor_tobacco_use 1 0 0 78,085 0 0 551 ctddev51.pub2.exp_event_assay_method 1 1 0 232,538 0 0 2,324 ctddev51.pub2.exp_event 1 0 0 205,825 0 0 6,042 ctddev51.pub2.exposure 1 0 0 212,185 0 0 1,747 ctddev51.pub2.exp_event_location 1 1 0 246,572 0 0 1,643 ctddev51.pub1.exp_receptor_gender 1 0 0 186,170 0 0 1,307 ctddev51.pub1.exp_event_project 1 0 0 94,256 0 0 983 ctddev51.pub1.exp_outcome 1 0 0 11,159 0 0 215 ctddev51.pub2.exp_study_factor 1 0 0 1,606 0 0 10 ctddev51.pub2.exp_receptor_gender 1 0 0 186,170 0 0 1,307 ctddev51.pub1.exposure 1 0 0 212,736 0 0 1,751 ctddev51.pub2.exp_anatomy 1 0 0 3,746 0 0 32 ctddev51.pub1.exp_event_location 1 0 0 247,403 0 0 1,643 ctddev51.pub2.exp_receptor_race 1 0 0 96,184 0 0 624 ctddev51.pub1.exp_receptor_tobacco_use 1 0 0 78,085 0 0 551 ctddev51.pub1.exp_event_assay_method 1 0 0 233,360 0 0 2,324 ctddev51.pub2.exp_outcome 1 0 0 11,159 0 0 215 ctddev51.pub2.reference_exp 1 0 0 3,414 0 0 124 ctddev51.pub2.exp_event_project 1 1 0 94,016 0 0 983 ctddev51.pub1.reference_exp 1 0 0 3,423 0 0 124 ctddev51.pub1.exp_receptor_race 1 0 0 96,184 0 0 624 ctddev51.pub1.exp_receptor 1 0 0 189,372 0 0 3,577 ctddev51.pub1.exp_study_factor 1 0 0 1,609 0 0 10 ctddev51.edit.tm_reference_term 10 0 0 159,304 0 0 2,041 Total 55 19 85,943,830 93,630,263 74 0 2,475,282 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.pg_catalog.pg_statistic 1 1 323 0 ctddev51.pub1.exp_anatomy 1 0 0 0 ctddev51.pub1.exp_stressor 1 0 18 0 ctddev51.pub1.exp_event 1 0 0 0 ctddev51.pub2.exp_receptor 1 0 0 0 ctddev51.pub2.exp_receptor_tobacco_use 1 0 0 0 ctddev51.pub2.reference 1 1 102039 0 ctddev51.pub2.exp_event_assay_method 1 1 0 0 ctddev51.pub2.exp_event 1 0 0 0 ctddev51.pub2.exposure 1 0 0 0 ctddev51.pub2.exp_event_location 1 1 0 0 ctddev51.pub1.exp_receptor_gender 1 0 0 0 ctddev51.pub1.dag_node 1 1 1698995 0 ctddev51.pub1.exp_event_project 1 0 0 0 ctddev51.pub1.phenotype_term 1 1 3236557 0 ctddev51.pub1.exp_outcome 1 0 0 0 ctddev51.pub2.exp_study_factor 1 0 0 0 ctddev51.pub1.gene_disease 1 1 32587930 0 ctddev51.pub2.exp_receptor_gender 1 0 0 0 ctddev51.pub1.exposure 1 0 0 0 ctddev51.pub2.gene_disease 1 1 32512714 0 ctddev51.pub2.exp_anatomy 1 0 0 0 ctddev51.pub1.term 1 1 2068639 0 ctddev51.pg_toast.pg_toast_2619 1 1 4028 0 ctddev51.pub2.term 1 1 2070543 0 ctddev51.pub2.dag_node 1 1 1696727 0 ctddev51.pub2.exp_stressor_stressor_src 1 0 31 0 ctddev51.pub1.exp_stressor_stressor_src 1 0 18 0 ctddev51.pub1.exp_event_location 1 0 0 0 ctddev51.pub2.exp_receptor_race 1 0 0 0 ctddev51.pub1.exp_receptor_tobacco_use 1 0 0 0 ctddev51.pub2.exp_stressor 1 1 527 0 ctddev51.pub1.reference 1 1 199209 0 ctddev51.pub1.exp_event_assay_method 1 0 0 0 ctddev51.pg_catalog.pg_class 1 1 37 0 ctddev51.pub2.phenotype_term 1 1 3224904 0 ctddev51.pub2.exp_outcome 1 0 0 0 ctddev51.pub2.reference_exp 1 0 0 0 ctddev51.pub2.chem_disease 1 1 3264480 0 ctddev51.pub2.exp_event_project 1 1 0 0 ctddev51.pub1.reference_exp 1 0 0 0 ctddev51.pub1.exp_receptor_race 1 0 0 0 ctddev51.pub1.exp_receptor 1 0 0 0 ctddev51.pub1.exp_study_factor 1 0 0 0 ctddev51.edit.tm_reference_term 10 0 0 0 ctddev51.pub1.chem_disease 1 1 3276111 0 Total 55 19 85,943,830 0 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Apr 18 00 0 0 01 0 0 02 0 0 03 0 0 04 0 0 05 0 1 06 0 0 07 0 0 08 0 0 09 0 0 10 0 0 11 0 5 12 0 29 13 0 22 14 0 41 15 0 5 16 0 0 17 0 0 18 0 0 19 0 0 20 0 0 21 0 0 22 0 0 23 0 0 - 208.79 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
- 36 Total read queries
- 58 Total write queries
Queries by database
Key values
- unknown Main database
- 64 Requests
- 40m15s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 103 Requests
User Request type Count Duration edit Total 1 1s573ms select 1 1s573ms editeu Total 42 2m14s cte 26 1m27s select 16 47s595ms load Total 9 21m2s select 9 21m2s pub1 Total 1 9s220ms insert 1 9s220ms pub2 Total 1 9s510ms insert 1 9s510ms pubeu Total 9 20s319ms cte 2 6s815ms select 7 13s503ms unknown Total 103 45m58s cte 23 23s562ms insert 10 43s523ms select 63 10m8s update 7 34m42s Duration by user
Key values
- 45m58s (unknown) Main time consuming user
User Request type Count Duration edit Total 1 1s573ms select 1 1s573ms editeu Total 42 2m14s cte 26 1m27s select 16 47s595ms load Total 9 21m2s select 9 21m2s pub1 Total 1 9s220ms insert 1 9s220ms pub2 Total 1 9s510ms insert 1 9s510ms pubeu Total 9 20s319ms cte 2 6s815ms select 7 13s503ms unknown Total 103 45m58s cte 23 23s562ms insert 10 43s523ms select 63 10m8s update 7 34m42s Queries by host
Key values
- unknown Main host
- 166 Requests
- 1h9m57s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 94 Requests
- 48m47s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2024-04-18 14:40:41 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 90 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 27m46s 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-18 13:06:42 - Bind query: yes ]
2 2m23s 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-18 10:46:52 - Database: ctddev51 - User: load - Bind query: yes ]
3 2m16s 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-18 13:38:38 - Database: ctddev51 - User: load - Bind query: yes ]
4 2m13s 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-18 11:15:16 - Database: ctddev51 - User: load - Bind query: yes ]
5 2m10s update pub2.TERM set has_exposures = false;[ Date: 2024-04-18 12:36:04 - Bind query: yes ]
6 1m55s 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-18 13:08:38 - Bind query: yes ]
7 1m23s 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-18 12:38:56 - Bind query: yes ]
8 55s767ms update pub2.DAG_NODE set has_exposures = false;[ Date: 2024-04-18 12:37:04 - Bind query: yes ]
9 47s290ms 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-18 11:16:09 - Bind query: yes ]
10 45s613ms 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-18 10:47:44 - Bind query: yes ]
11 39s49ms 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-18 13:39:24 - Bind query: yes ]
12 26s648ms update pub2.REFERENCE set has_exposures = false;[ Date: 2024-04-18 12:37:32 - Bind query: yes ]
13 24s660ms 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 = 4;[ Date: 2024-04-18 11:16:44 - Bind query: yes ]
14 23s837ms 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 = 4;[ Date: 2024-04-18 10:48:19 - Bind query: yes ]
15 19s29ms 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 = 4;[ Date: 2024-04-18 13:39:53 - Bind query: yes ]
16 10s76ms 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-18 12:33:53 - Bind query: yes ]
17 9s510ms 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-18 12:33:08 - Database: ctddev51 - User: pub2 - Bind query: yes ]
18 9s220ms INSERT INTO pub1.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 pub1.TERM t ON ee.exp_marker_acc_txt = t.acc_txt AND emt.object_type_id = t.object_type_id LEFT OUTER JOIN pub1.MEDIUM m ON ee.medium_id = m.id LEFT OUTER JOIN pub1.TERM mt ON m.term_acc_txt = mt.acc_txt AND m.term_object_type_id = mt.object_type_id, au.nm, aq.nm, g.nm, g.nm_html FROM edit.EXP_RECEPTOR er INNER JOIN edit.EXPOSURE e ON e.exp_receptor_id = er.id INNER JOIN edit.RECEPTOR r ON er.receptor_id = r.id LEFT OUTER JOIN pub1.AGE_UOM au ON er.age_uom_id = au.id LEFT OUTER JOIN pub1.AGE_QUALIFIER aq ON er.age_qualifier_id = aq.id LEFT OUTER JOIN pub1.GENDER g ON er.gender_id = g.id LEFT OUTER JOIN pub1.TERM t ON er.term_acc_txt = t.acc_txt AND er.object_type_id = t.object_type_id;[ Date: 2024-04-18 14:11:54 - Database: ctddev51 - User: pub1 - Bind query: yes ]
19 8s536ms 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-18 05:49:04 - Bind query: yes ]
20 8s112ms 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 = 2;[ Date: 2024-04-18 11:16:18 - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 27m46s 1 27m46s 27m46s 27m46s 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 18 13 1 27m46s 27m46s -
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-18 13:06:42 Duration: 27m46s Bind query: yes
2 6m53s 3 2m13s 2m23s 2m17s 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 #2
Day Hour Count Duration Avg duration Apr 18 10 1 2m23s 2m23s 11 1 2m13s 2m13s 13 1 2m16s 2m16s [ User: load - Total duration: 6m53s - Times executed: 3 ]
-
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-18 10:46:52 Duration: 2m23s 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-18 13:38:38 Duration: 2m16s 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-18 11:15:16 Duration: 2m13s Database: ctddev51 User: load Bind query: yes
3 3m42s 9 7s262ms 47s290ms 24s690ms 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 #3
Day Hour Count Duration Avg duration Apr 18 10 3 1m16s 25s602ms 11 3 1m20s 26s687ms 13 3 1m5s 21s780ms -
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-18 11:16:09 Duration: 47s290ms 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-18 10:47:44 Duration: 45s613ms 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-18 13:39:24 Duration: 39s49ms Bind query: yes
4 2m10s 1 2m10s 2m10s 2m10s update pub2.term set has_exposures = false;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Apr 18 12 1 2m10s 2m10s -
update pub2.TERM set has_exposures = false;
Date: 2024-04-18 12:36:04 Duration: 2m10s Bind query: yes
5 1m55s 1 1m55s 1m55s 1m55s 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 #5
Day Hour Count Duration Avg duration Apr 18 13 1 1m55s 1m55s -
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-18 13:08:38 Duration: 1m55s Bind query: yes
6 1m31s 39 1s2ms 3s430ms 2s341ms with recursive sub_node ( object_id, id, path, lvl ) as ( select n.object_id, n.id, array[n.nm_sort], ? from dag_node n where n.object_id = ? union all select n.object_id, n.id, cast(path || n.nm_sort as varchar(?)[]), sn.lvl + ? from dag_node n inner join sub_node sn on (n.parent_id = sn.id)) select distinct t.nm prinm, t.nm_html prinmhtml, t.secondary_nm secondarynm, t.acc_db_cd accdbcd, t.acc_txt termacc, t.is_leaf isleaf, t.has_chems haschems, t.has_diseases hasdiseases, t.has_exposures hasexposures, t.has_genes hasgenes, sn.lvl, sn.path, max(sn.lvl) over () maxlvl, t.has_phenotypes hasphenotypes from sub_node sn inner join term t on sn.object_id = t.id where sn.lvl <= ? order by sn.path;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Apr 18 05 2 4s412ms 2s206ms 10 9 20s942ms 2s326ms 11 8 19s896ms 2s487ms 12 20 46s77ms 2s303ms [ User: editeu - Total duration: 1m10s - Times executed: 21 ]
[ User: pubeu - Total duration: 3s395ms - 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-18 12:31:10 Duration: 3s430ms 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-18 12:37:58 Duration: 3s418ms 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-18 11:53:19 Duration: 3s417ms Database: ctddev51 User: editeu Bind query: yes
7 1m23s 1 1m23s 1m23s 1m23s 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 #7
Day Hour Count Duration Avg duration Apr 18 12 1 1m23s 1m23s -
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-18 12:38:56 Duration: 1m23s Bind query: yes
8 55s767ms 1 55s767ms 55s767ms 55s767ms update pub2.dag_node set has_exposures = false;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Apr 18 12 1 55s767ms 55s767ms -
update pub2.DAG_NODE set has_exposures = false;
Date: 2024-04-18 12:37:04 Duration: 55s767ms Bind query: yes
9 26s648ms 1 26s648ms 26s648ms 26s648ms update pub2.reference set has_exposures = false;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Apr 18 12 1 26s648ms 26s648ms -
update pub2.REFERENCE set has_exposures = false;
Date: 2024-04-18 12:37:32 Duration: 26s648ms Bind query: yes
10 10s76ms 1 10s76ms 10s76ms 10s76ms 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 #10
Day Hour Count Duration Avg duration Apr 18 12 1 10s76ms 10s76ms -
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-18 12:33:53 Duration: 10s76ms Bind query: yes
11 9s510ms 1 9s510ms 9s510ms 9s510ms 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 #11
Day Hour Count Duration Avg duration Apr 18 12 1 9s510ms 9s510ms [ User: pub2 - Total duration: 9s510ms - 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-18 12:33:08 Duration: 9s510ms Database: ctddev51 User: pub2 Bind query: yes
12 9s220ms 1 9s220ms 9s220ms 9s220ms insert into pub1.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 pub1.term t on ee.exp_marker_acc_txt = t.acc_txt and emt.object_type_id = t.object_type_id left outer join pub1.medium m on ee.medium_id = m.id left outer join pub1.term mt on m.term_acc_txt = mt.acc_txt and m.term_object_type_id = mt.object_type_id, au.nm, aq.nm, g.nm, g.nm_html from edit.exp_receptor er inner join edit.exposure e on e.exp_receptor_id = er.id inner join edit.receptor r on er.receptor_id = r.id left outer join pub1.age_uom au on er.age_uom_id = au.id left outer join pub1.age_qualifier aq on er.age_qualifier_id = aq.id left outer join pub1.gender g on er.gender_id = g.id left outer join pub1.term t on er.term_acc_txt = t.acc_txt and er.object_type_id = t.object_type_id;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Apr 18 14 1 9s220ms 9s220ms [ User: pub1 - Total duration: 9s220ms - Times executed: 1 ]
-
INSERT INTO pub1.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 pub1.TERM t ON ee.exp_marker_acc_txt = t.acc_txt AND emt.object_type_id = t.object_type_id LEFT OUTER JOIN pub1.MEDIUM m ON ee.medium_id = m.id LEFT OUTER JOIN pub1.TERM mt ON m.term_acc_txt = mt.acc_txt AND m.term_object_type_id = mt.object_type_id, au.nm, aq.nm, g.nm, g.nm_html FROM edit.EXP_RECEPTOR er INNER JOIN edit.EXPOSURE e ON e.exp_receptor_id = er.id INNER JOIN edit.RECEPTOR r ON er.receptor_id = r.id LEFT OUTER JOIN pub1.AGE_UOM au ON er.age_uom_id = au.id LEFT OUTER JOIN pub1.AGE_QUALIFIER aq ON er.age_qualifier_id = aq.id LEFT OUTER JOIN pub1.GENDER g ON er.gender_id = g.id LEFT OUTER JOIN pub1.TERM t ON er.term_acc_txt = t.acc_txt AND er.object_type_id = t.object_type_id;
Date: 2024-04-18 14:11:54 Duration: 9s220ms Database: ctddev51 User: pub1 Bind query: yes
13 8s536ms 1 8s536ms 8s536ms 8s536ms 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 18 05 1 8s536ms 8s536ms -
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-18 05:49:04 Duration: 8s536ms Bind query: yes
14 6s489ms 1 6s489ms 6s489ms 6s489ms 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 #14
Day Hour Count Duration Avg duration Apr 18 12 1 6s489ms 6s489ms -
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-18 12:33:15 Duration: 6s489ms Bind query: yes
15 5s289ms 1 5s289ms 5s289ms 5s289ms 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 #15
Day Hour Count Duration Avg duration Apr 18 12 1 5s289ms 5s289ms -
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-18 12:33:26 Duration: 5s289ms Bind query: yes
16 4s856ms 1 4s856ms 4s856ms 4s856ms insert into pub2.exp_receptor (id, description, object_type_id, term_id, term_nm, term_nm_html, term_acc_txt, term_acc_db_id, qty, note, age, age_range, age_uom_id, age_qualifier_id, gender_id, age_uom_nm, age_qualifier_nm, gender_nm, gender_nm_html) select distinct er.id, r.nm, er.object_type_id, t.id, er.term_nm, t.nm_html, er.term_acc_txt, er.term_acc_db_id, er.qty, er.note, er.age, er.age_range, er.age_uom_id, er.age_qualifier_id, er.gender_id, au.nm, aq.nm, g.nm, g.nm_html from edit.exp_receptor er inner join edit.exposure e on e.exp_receptor_id = er.id inner join edit.receptor r on er.receptor_id = r.id left outer join pub2.age_uom au on er.age_uom_id = au.id left outer join pub2.age_qualifier aq on er.age_qualifier_id = aq.id left outer join pub2.gender g on er.gender_id = g.id left outer join pub2.term t on er.term_acc_txt = t.acc_txt and er.object_type_id = t.object_type_id;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Apr 18 12 1 4s856ms 4s856ms -
INSERT INTO pub2.EXP_RECEPTOR (id, description, object_type_id, term_id, term_nm, term_nm_html, term_acc_txt, term_acc_db_id, qty, note, age, age_range, age_uom_id, age_qualifier_id, gender_id, age_uom_nm, age_qualifier_nm, gender_nm, gender_nm_html) SELECT DISTINCT er.id, r.nm, er.object_type_id, t.id, er.term_nm, t.nm_html, er.term_acc_txt, er.term_acc_db_id, er.qty, er.note, er.age, er.age_range, er.age_uom_id, er.age_qualifier_id, er.gender_id, au.nm, aq.nm, g.nm, g.nm_html FROM edit.EXP_RECEPTOR er INNER JOIN edit.EXPOSURE e ON e.exp_receptor_id = er.id INNER JOIN edit.RECEPTOR r ON er.receptor_id = r.id LEFT OUTER JOIN pub2.AGE_UOM au ON er.age_uom_id = au.id LEFT OUTER JOIN pub2.AGE_QUALIFIER aq ON er.age_qualifier_id = aq.id LEFT OUTER JOIN pub2.GENDER g ON er.gender_id = g.id LEFT OUTER JOIN pub2.TERM t ON er.term_acc_txt = t.acc_txt AND er.object_type_id = t.object_type_id;
Date: 2024-04-18 12:33:36 Duration: 4s856ms Bind query: yes
17 4s736ms 1 4s736ms 4s736ms 4s736ms insert into pub2.exp_stressor_stressor_src (exp_stressor_id, exp_stressor_src_type_id) select distinct ess.exp_stressor_id, ess.exp_stressor_src_type_id from edit.exp_stressor_stressor_src ess inner join edit.exposure e on e.exp_stressor_id = ess.exp_stressor_id;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Apr 18 12 1 4s736ms 4s736ms -
INSERT INTO pub2.EXP_STRESSOR_STRESSOR_SRC (exp_stressor_id, exp_stressor_src_type_id) SELECT DISTINCT ess.exp_stressor_id, ess.exp_stressor_src_type_id FROM edit.EXP_STRESSOR_STRESSOR_SRC ess INNER JOIN edit.EXPOSURE e ON e.exp_stressor_id = ess.exp_stressor_id;
Date: 2024-04-18 12:33:31 Duration: 4s736ms Bind query: yes
18 4s339ms 1 4s339ms 4s339ms 4s339ms 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 #18
Day Hour Count Duration Avg duration Apr 18 12 1 4s339ms 4s339ms -
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-18 12:36:09 Duration: 4s339ms Bind query: yes
19 4s149ms 1 4s149ms 4s149ms 4s149ms insert into pub2.exp_event_assay_method (exp_event_id, nm) select distinct eem.exp_event_id, eem.nm from edit.exp_event_assay_method eem inner join edit.exposure e on e.exp_event_id = eem.exp_event_id;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Apr 18 12 1 4s149ms 4s149ms -
INSERT INTO pub2.EXP_EVENT_ASSAY_METHOD (exp_event_id, nm) SELECT DISTINCT eem.exp_event_id, eem.nm FROM edit.EXP_EVENT_ASSAY_METHOD eem INNER JOIN edit.EXPOSURE e ON e.exp_event_id = eem.exp_event_id;
Date: 2024-04-18 12:33:19 Duration: 4s149ms Bind query: yes
20 3s997ms 1 3s997ms 3s997ms 3s997ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where ptr.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 ptr.term_object_type_id = ? and ptr.phenotype_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 baseterm.id in ( select object_id from db_link l where l.acc_txt = ? and l.type_cd = ? and l.object_type_id = ?))) and taxonterm.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 baseterm.id in ( select object_id from db_link l where l.acc_txt = ? and l.type_cd = ? and l.object_type_id = ?))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = ? and action_degree_type_nm in (...)) group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Apr 18 05 1 3s997ms 3s997ms -
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where ptr.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 ptr.term_object_type_id = 2 and ptr.phenotype_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 = 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 taxonTerm.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 = 1 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = '9606' AND l.type_cd = 'A' AND l.object_type_id = 1))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-04-18 05:48:48 Duration: 3s997ms Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 39 1m31s 1s2ms 3s430ms 2s341ms with recursive sub_node ( object_id, id, path, lvl ) as ( select n.object_id, n.id, array[n.nm_sort], ? from dag_node n where n.object_id = ? union all select n.object_id, n.id, cast(path || n.nm_sort as varchar(?)[]), sn.lvl + ? from dag_node n inner join sub_node sn on (n.parent_id = sn.id)) select distinct t.nm prinm, t.nm_html prinmhtml, t.secondary_nm secondarynm, t.acc_db_cd accdbcd, t.acc_txt termacc, t.is_leaf isleaf, t.has_chems haschems, t.has_diseases hasdiseases, t.has_exposures hasexposures, t.has_genes hasgenes, sn.lvl, sn.path, max(sn.lvl) over () maxlvl, t.has_phenotypes hasphenotypes from sub_node sn inner join term t on sn.object_id = t.id where sn.lvl <= ? order by sn.path;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Apr 18 05 2 4s412ms 2s206ms 10 9 20s942ms 2s326ms 11 8 19s896ms 2s487ms 12 20 46s77ms 2s303ms [ User: editeu - Total duration: 1m10s - Times executed: 21 ]
[ User: pubeu - Total duration: 3s395ms - 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-18 12:31:10 Duration: 3s430ms 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-18 12:37:58 Duration: 3s418ms 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-18 11:53:19 Duration: 3s417ms Database: ctddev51 User: editeu Bind query: yes
2 9 3m42s 7s262ms 47s290ms 24s690ms 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 #2
Day Hour Count Duration Avg duration Apr 18 10 3 1m16s 25s602ms 11 3 1m20s 26s687ms 13 3 1m5s 21s780ms -
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-18 11:16:09 Duration: 47s290ms 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-18 10:47:44 Duration: 45s613ms 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-18 13:39:24 Duration: 39s49ms Bind query: yes
3 3 6m53s 2m13s 2m23s 2m17s 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 18 10 1 2m23s 2m23s 11 1 2m13s 2m13s 13 1 2m16s 2m16s [ User: load - Total duration: 6m53s - Times executed: 3 ]
-
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-18 10:46:52 Duration: 2m23s 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-18 13:38:38 Duration: 2m16s 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-18 11:15:16 Duration: 2m13s Database: ctddev51 User: load Bind query: yes
4 3 3s67ms 1s5ms 1s32ms 1s22ms 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 #4
Day Hour Count Duration Avg duration Apr 18 05 3 3s67ms 1s22ms [ User: pubeu - Total duration: 1s29ms - 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-18 05:47:51 Duration: 1s32ms 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-18 05:47:50 Duration: 1s29ms 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-18 05:47:54 Duration: 1s5ms Bind query: yes
5 2 2s903ms 1s379ms 1s524ms 1s451ms 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 #5
Day Hour Count Duration Avg duration Apr 18 05 2 2s903ms 1s451ms -
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-18 05:48:11 Duration: 1s524ms 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-18 05:48:10 Duration: 1s379ms Bind query: yes
6 2 2s760ms 1s210ms 1s549ms 1s380ms select * from edit.ins_tm_reference_term (?, ?, ?, ?, ?, ?, ?, ?) as result;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Apr 18 14 2 2s760ms 1s380ms -
select * from edit.ins_tm_reference_term ('5904', 'IL1RA', '4', '3557', 'IL1RN', '10090', 'load', '') as result;
Date: 2024-04-18 14:31:42 Duration: 1s549ms Bind query: yes
-
select * from edit.ins_tm_reference_term ('5821', 'Captopril', '2', 'D002216', 'Captopril', '', 'load', '') as result;
Date: 2024-04-18 14:24:30 Duration: 1s210ms Bind query: yes
7 1 27m46s 27m46s 27m46s 27m46s 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 #7
Day Hour Count Duration Avg duration Apr 18 13 1 27m46s 27m46s -
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-18 13:06:42 Duration: 27m46s Bind query: yes
8 1 2m10s 2m10s 2m10s 2m10s update pub2.term set has_exposures = false;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Apr 18 12 1 2m10s 2m10s -
update pub2.TERM set has_exposures = false;
Date: 2024-04-18 12:36:04 Duration: 2m10s Bind query: yes
9 1 1m55s 1m55s 1m55s 1m55s 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 #9
Day Hour Count Duration Avg duration Apr 18 13 1 1m55s 1m55s -
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-18 13:08:38 Duration: 1m55s Bind query: yes
10 1 1m23s 1m23s 1m23s 1m23s 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 #10
Day Hour Count Duration Avg duration Apr 18 12 1 1m23s 1m23s -
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-18 12:38:56 Duration: 1m23s Bind query: yes
11 1 55s767ms 55s767ms 55s767ms 55s767ms update pub2.dag_node set has_exposures = false;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Apr 18 12 1 55s767ms 55s767ms -
update pub2.DAG_NODE set has_exposures = false;
Date: 2024-04-18 12:37:04 Duration: 55s767ms Bind query: yes
12 1 26s648ms 26s648ms 26s648ms 26s648ms update pub2.reference set has_exposures = false;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Apr 18 12 1 26s648ms 26s648ms -
update pub2.REFERENCE set has_exposures = false;
Date: 2024-04-18 12:37:32 Duration: 26s648ms Bind query: yes
13 1 10s76ms 10s76ms 10s76ms 10s76ms 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 #13
Day Hour Count Duration Avg duration Apr 18 12 1 10s76ms 10s76ms -
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-18 12:33:53 Duration: 10s76ms Bind query: yes
14 1 9s510ms 9s510ms 9s510ms 9s510ms 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 #14
Day Hour Count Duration Avg duration Apr 18 12 1 9s510ms 9s510ms [ User: pub2 - Total duration: 9s510ms - 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-18 12:33:08 Duration: 9s510ms Database: ctddev51 User: pub2 Bind query: yes
15 1 9s220ms 9s220ms 9s220ms 9s220ms insert into pub1.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 pub1.term t on ee.exp_marker_acc_txt = t.acc_txt and emt.object_type_id = t.object_type_id left outer join pub1.medium m on ee.medium_id = m.id left outer join pub1.term mt on m.term_acc_txt = mt.acc_txt and m.term_object_type_id = mt.object_type_id, au.nm, aq.nm, g.nm, g.nm_html from edit.exp_receptor er inner join edit.exposure e on e.exp_receptor_id = er.id inner join edit.receptor r on er.receptor_id = r.id left outer join pub1.age_uom au on er.age_uom_id = au.id left outer join pub1.age_qualifier aq on er.age_qualifier_id = aq.id left outer join pub1.gender g on er.gender_id = g.id left outer join pub1.term t on er.term_acc_txt = t.acc_txt and er.object_type_id = t.object_type_id;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Apr 18 14 1 9s220ms 9s220ms [ User: pub1 - Total duration: 9s220ms - Times executed: 1 ]
-
INSERT INTO pub1.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 pub1.TERM t ON ee.exp_marker_acc_txt = t.acc_txt AND emt.object_type_id = t.object_type_id LEFT OUTER JOIN pub1.MEDIUM m ON ee.medium_id = m.id LEFT OUTER JOIN pub1.TERM mt ON m.term_acc_txt = mt.acc_txt AND m.term_object_type_id = mt.object_type_id, au.nm, aq.nm, g.nm, g.nm_html FROM edit.EXP_RECEPTOR er INNER JOIN edit.EXPOSURE e ON e.exp_receptor_id = er.id INNER JOIN edit.RECEPTOR r ON er.receptor_id = r.id LEFT OUTER JOIN pub1.AGE_UOM au ON er.age_uom_id = au.id LEFT OUTER JOIN pub1.AGE_QUALIFIER aq ON er.age_qualifier_id = aq.id LEFT OUTER JOIN pub1.GENDER g ON er.gender_id = g.id LEFT OUTER JOIN pub1.TERM t ON er.term_acc_txt = t.acc_txt AND er.object_type_id = t.object_type_id;
Date: 2024-04-18 14:11:54 Duration: 9s220ms Database: ctddev51 User: pub1 Bind query: yes
16 1 8s536ms 8s536ms 8s536ms 8s536ms 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 18 05 1 8s536ms 8s536ms -
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-18 05:49:04 Duration: 8s536ms Bind query: yes
17 1 6s489ms 6s489ms 6s489ms 6s489ms 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 #17
Day Hour Count Duration Avg duration Apr 18 12 1 6s489ms 6s489ms -
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-18 12:33:15 Duration: 6s489ms Bind query: yes
18 1 5s289ms 5s289ms 5s289ms 5s289ms 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 18 12 1 5s289ms 5s289ms -
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-18 12:33:26 Duration: 5s289ms Bind query: yes
19 1 4s856ms 4s856ms 4s856ms 4s856ms insert into pub2.exp_receptor (id, description, object_type_id, term_id, term_nm, term_nm_html, term_acc_txt, term_acc_db_id, qty, note, age, age_range, age_uom_id, age_qualifier_id, gender_id, age_uom_nm, age_qualifier_nm, gender_nm, gender_nm_html) select distinct er.id, r.nm, er.object_type_id, t.id, er.term_nm, t.nm_html, er.term_acc_txt, er.term_acc_db_id, er.qty, er.note, er.age, er.age_range, er.age_uom_id, er.age_qualifier_id, er.gender_id, au.nm, aq.nm, g.nm, g.nm_html from edit.exp_receptor er inner join edit.exposure e on e.exp_receptor_id = er.id inner join edit.receptor r on er.receptor_id = r.id left outer join pub2.age_uom au on er.age_uom_id = au.id left outer join pub2.age_qualifier aq on er.age_qualifier_id = aq.id left outer join pub2.gender g on er.gender_id = g.id left outer join pub2.term t on er.term_acc_txt = t.acc_txt and er.object_type_id = t.object_type_id;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Apr 18 12 1 4s856ms 4s856ms -
INSERT INTO pub2.EXP_RECEPTOR (id, description, object_type_id, term_id, term_nm, term_nm_html, term_acc_txt, term_acc_db_id, qty, note, age, age_range, age_uom_id, age_qualifier_id, gender_id, age_uom_nm, age_qualifier_nm, gender_nm, gender_nm_html) SELECT DISTINCT er.id, r.nm, er.object_type_id, t.id, er.term_nm, t.nm_html, er.term_acc_txt, er.term_acc_db_id, er.qty, er.note, er.age, er.age_range, er.age_uom_id, er.age_qualifier_id, er.gender_id, au.nm, aq.nm, g.nm, g.nm_html FROM edit.EXP_RECEPTOR er INNER JOIN edit.EXPOSURE e ON e.exp_receptor_id = er.id INNER JOIN edit.RECEPTOR r ON er.receptor_id = r.id LEFT OUTER JOIN pub2.AGE_UOM au ON er.age_uom_id = au.id LEFT OUTER JOIN pub2.AGE_QUALIFIER aq ON er.age_qualifier_id = aq.id LEFT OUTER JOIN pub2.GENDER g ON er.gender_id = g.id LEFT OUTER JOIN pub2.TERM t ON er.term_acc_txt = t.acc_txt AND er.object_type_id = t.object_type_id;
Date: 2024-04-18 12:33:36 Duration: 4s856ms Bind query: yes
20 1 4s736ms 4s736ms 4s736ms 4s736ms insert into pub2.exp_stressor_stressor_src (exp_stressor_id, exp_stressor_src_type_id) select distinct ess.exp_stressor_id, ess.exp_stressor_src_type_id from edit.exp_stressor_stressor_src ess inner join edit.exposure e on e.exp_stressor_id = ess.exp_stressor_id;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Apr 18 12 1 4s736ms 4s736ms -
INSERT INTO pub2.EXP_STRESSOR_STRESSOR_SRC (exp_stressor_id, exp_stressor_src_type_id) SELECT DISTINCT ess.exp_stressor_id, ess.exp_stressor_src_type_id FROM edit.EXP_STRESSOR_STRESSOR_SRC ess INNER JOIN edit.EXPOSURE e ON e.exp_stressor_id = ess.exp_stressor_id;
Date: 2024-04-18 12:33:31 Duration: 4s736ms Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 27m46s 27m46s 27m46s 1 27m46s 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 18 13 1 27m46s 27m46s -
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-18 13:06:42 Duration: 27m46s Bind query: yes
2 2m13s 2m23s 2m17s 3 6m53s 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 #2
Day Hour Count Duration Avg duration Apr 18 10 1 2m23s 2m23s 11 1 2m13s 2m13s 13 1 2m16s 2m16s [ User: load - Total duration: 6m53s - Times executed: 3 ]
-
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-18 10:46:52 Duration: 2m23s 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-18 13:38:38 Duration: 2m16s 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-18 11:15:16 Duration: 2m13s Database: ctddev51 User: load Bind query: yes
3 2m10s 2m10s 2m10s 1 2m10s update pub2.term set has_exposures = false;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Apr 18 12 1 2m10s 2m10s -
update pub2.TERM set has_exposures = false;
Date: 2024-04-18 12:36:04 Duration: 2m10s Bind query: yes
4 1m55s 1m55s 1m55s 1 1m55s 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 18 13 1 1m55s 1m55s -
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-18 13:08:38 Duration: 1m55s Bind query: yes
5 1m23s 1m23s 1m23s 1 1m23s 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 #5
Day Hour Count Duration Avg duration Apr 18 12 1 1m23s 1m23s -
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-18 12:38:56 Duration: 1m23s Bind query: yes
6 55s767ms 55s767ms 55s767ms 1 55s767ms update pub2.dag_node set has_exposures = false;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Apr 18 12 1 55s767ms 55s767ms -
update pub2.DAG_NODE set has_exposures = false;
Date: 2024-04-18 12:37:04 Duration: 55s767ms Bind query: yes
7 26s648ms 26s648ms 26s648ms 1 26s648ms update pub2.reference set has_exposures = false;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Apr 18 12 1 26s648ms 26s648ms -
update pub2.REFERENCE set has_exposures = false;
Date: 2024-04-18 12:37:32 Duration: 26s648ms Bind query: yes
8 7s262ms 47s290ms 24s690ms 9 3m42s 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 #8
Day Hour Count Duration Avg duration Apr 18 10 3 1m16s 25s602ms 11 3 1m20s 26s687ms 13 3 1m5s 21s780ms -
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-18 11:16:09 Duration: 47s290ms 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-18 10:47:44 Duration: 45s613ms 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-18 13:39:24 Duration: 39s49ms Bind query: yes
9 10s76ms 10s76ms 10s76ms 1 10s76ms 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 #9
Day Hour Count Duration Avg duration Apr 18 12 1 10s76ms 10s76ms -
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-18 12:33:53 Duration: 10s76ms Bind query: yes
10 9s510ms 9s510ms 9s510ms 1 9s510ms 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 #10
Day Hour Count Duration Avg duration Apr 18 12 1 9s510ms 9s510ms [ User: pub2 - Total duration: 9s510ms - 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-18 12:33:08 Duration: 9s510ms Database: ctddev51 User: pub2 Bind query: yes
11 9s220ms 9s220ms 9s220ms 1 9s220ms insert into pub1.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 pub1.term t on ee.exp_marker_acc_txt = t.acc_txt and emt.object_type_id = t.object_type_id left outer join pub1.medium m on ee.medium_id = m.id left outer join pub1.term mt on m.term_acc_txt = mt.acc_txt and m.term_object_type_id = mt.object_type_id, au.nm, aq.nm, g.nm, g.nm_html from edit.exp_receptor er inner join edit.exposure e on e.exp_receptor_id = er.id inner join edit.receptor r on er.receptor_id = r.id left outer join pub1.age_uom au on er.age_uom_id = au.id left outer join pub1.age_qualifier aq on er.age_qualifier_id = aq.id left outer join pub1.gender g on er.gender_id = g.id left outer join pub1.term t on er.term_acc_txt = t.acc_txt and er.object_type_id = t.object_type_id;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Apr 18 14 1 9s220ms 9s220ms [ User: pub1 - Total duration: 9s220ms - Times executed: 1 ]
-
INSERT INTO pub1.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 pub1.TERM t ON ee.exp_marker_acc_txt = t.acc_txt AND emt.object_type_id = t.object_type_id LEFT OUTER JOIN pub1.MEDIUM m ON ee.medium_id = m.id LEFT OUTER JOIN pub1.TERM mt ON m.term_acc_txt = mt.acc_txt AND m.term_object_type_id = mt.object_type_id, au.nm, aq.nm, g.nm, g.nm_html FROM edit.EXP_RECEPTOR er INNER JOIN edit.EXPOSURE e ON e.exp_receptor_id = er.id INNER JOIN edit.RECEPTOR r ON er.receptor_id = r.id LEFT OUTER JOIN pub1.AGE_UOM au ON er.age_uom_id = au.id LEFT OUTER JOIN pub1.AGE_QUALIFIER aq ON er.age_qualifier_id = aq.id LEFT OUTER JOIN pub1.GENDER g ON er.gender_id = g.id LEFT OUTER JOIN pub1.TERM t ON er.term_acc_txt = t.acc_txt AND er.object_type_id = t.object_type_id;
Date: 2024-04-18 14:11:54 Duration: 9s220ms Database: ctddev51 User: pub1 Bind query: yes
12 8s536ms 8s536ms 8s536ms 1 8s536ms 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 #12
Day Hour Count Duration Avg duration Apr 18 05 1 8s536ms 8s536ms -
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-18 05:49:04 Duration: 8s536ms Bind query: yes
13 6s489ms 6s489ms 6s489ms 1 6s489ms 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 #13
Day Hour Count Duration Avg duration Apr 18 12 1 6s489ms 6s489ms -
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-18 12:33:15 Duration: 6s489ms Bind query: yes
14 5s289ms 5s289ms 5s289ms 1 5s289ms 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 #14
Day Hour Count Duration Avg duration Apr 18 12 1 5s289ms 5s289ms -
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-18 12:33:26 Duration: 5s289ms Bind query: yes
15 4s856ms 4s856ms 4s856ms 1 4s856ms insert into pub2.exp_receptor (id, description, object_type_id, term_id, term_nm, term_nm_html, term_acc_txt, term_acc_db_id, qty, note, age, age_range, age_uom_id, age_qualifier_id, gender_id, age_uom_nm, age_qualifier_nm, gender_nm, gender_nm_html) select distinct er.id, r.nm, er.object_type_id, t.id, er.term_nm, t.nm_html, er.term_acc_txt, er.term_acc_db_id, er.qty, er.note, er.age, er.age_range, er.age_uom_id, er.age_qualifier_id, er.gender_id, au.nm, aq.nm, g.nm, g.nm_html from edit.exp_receptor er inner join edit.exposure e on e.exp_receptor_id = er.id inner join edit.receptor r on er.receptor_id = r.id left outer join pub2.age_uom au on er.age_uom_id = au.id left outer join pub2.age_qualifier aq on er.age_qualifier_id = aq.id left outer join pub2.gender g on er.gender_id = g.id left outer join pub2.term t on er.term_acc_txt = t.acc_txt and er.object_type_id = t.object_type_id;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Apr 18 12 1 4s856ms 4s856ms -
INSERT INTO pub2.EXP_RECEPTOR (id, description, object_type_id, term_id, term_nm, term_nm_html, term_acc_txt, term_acc_db_id, qty, note, age, age_range, age_uom_id, age_qualifier_id, gender_id, age_uom_nm, age_qualifier_nm, gender_nm, gender_nm_html) SELECT DISTINCT er.id, r.nm, er.object_type_id, t.id, er.term_nm, t.nm_html, er.term_acc_txt, er.term_acc_db_id, er.qty, er.note, er.age, er.age_range, er.age_uom_id, er.age_qualifier_id, er.gender_id, au.nm, aq.nm, g.nm, g.nm_html FROM edit.EXP_RECEPTOR er INNER JOIN edit.EXPOSURE e ON e.exp_receptor_id = er.id INNER JOIN edit.RECEPTOR r ON er.receptor_id = r.id LEFT OUTER JOIN pub2.AGE_UOM au ON er.age_uom_id = au.id LEFT OUTER JOIN pub2.AGE_QUALIFIER aq ON er.age_qualifier_id = aq.id LEFT OUTER JOIN pub2.GENDER g ON er.gender_id = g.id LEFT OUTER JOIN pub2.TERM t ON er.term_acc_txt = t.acc_txt AND er.object_type_id = t.object_type_id;
Date: 2024-04-18 12:33:36 Duration: 4s856ms Bind query: yes
16 4s736ms 4s736ms 4s736ms 1 4s736ms insert into pub2.exp_stressor_stressor_src (exp_stressor_id, exp_stressor_src_type_id) select distinct ess.exp_stressor_id, ess.exp_stressor_src_type_id from edit.exp_stressor_stressor_src ess inner join edit.exposure e on e.exp_stressor_id = ess.exp_stressor_id;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Apr 18 12 1 4s736ms 4s736ms -
INSERT INTO pub2.EXP_STRESSOR_STRESSOR_SRC (exp_stressor_id, exp_stressor_src_type_id) SELECT DISTINCT ess.exp_stressor_id, ess.exp_stressor_src_type_id FROM edit.EXP_STRESSOR_STRESSOR_SRC ess INNER JOIN edit.EXPOSURE e ON e.exp_stressor_id = ess.exp_stressor_id;
Date: 2024-04-18 12:33:31 Duration: 4s736ms Bind query: yes
17 4s339ms 4s339ms 4s339ms 1 4s339ms 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 18 12 1 4s339ms 4s339ms -
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-18 12:36:09 Duration: 4s339ms Bind query: yes
18 4s149ms 4s149ms 4s149ms 1 4s149ms insert into pub2.exp_event_assay_method (exp_event_id, nm) select distinct eem.exp_event_id, eem.nm from edit.exp_event_assay_method eem inner join edit.exposure e on e.exp_event_id = eem.exp_event_id;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Apr 18 12 1 4s149ms 4s149ms -
INSERT INTO pub2.EXP_EVENT_ASSAY_METHOD (exp_event_id, nm) SELECT DISTINCT eem.exp_event_id, eem.nm FROM edit.EXP_EVENT_ASSAY_METHOD eem INNER JOIN edit.EXPOSURE e ON e.exp_event_id = eem.exp_event_id;
Date: 2024-04-18 12:33:19 Duration: 4s149ms Bind query: yes
19 3s997ms 3s997ms 3s997ms 1 3s997ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where ptr.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 ptr.term_object_type_id = ? and ptr.phenotype_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 baseterm.id in ( select object_id from db_link l where l.acc_txt = ? and l.type_cd = ? and l.object_type_id = ?))) and taxonterm.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 baseterm.id in ( select object_id from db_link l where l.acc_txt = ? and l.type_cd = ? and l.object_type_id = ?))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = ? and action_degree_type_nm in (...)) group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Apr 18 05 1 3s997ms 3s997ms -
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where ptr.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 ptr.term_object_type_id = 2 and ptr.phenotype_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 = 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 taxonTerm.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 = 1 and baseTerm.id in ( select object_id from db_link l where l.acc_txt = '9606' AND l.type_cd = 'A' AND l.object_type_id = 1))) and i.id in ( select ixn_id from ixn_axn where action_type_nm = 'phenotype' and action_degree_type_nm in ('increases')) group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-04-18 05:48:48 Duration: 3s997ms Bind query: yes
20 1s2ms 3s430ms 2s341ms 39 1m31s 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 18 05 2 4s412ms 2s206ms 10 9 20s942ms 2s326ms 11 8 19s896ms 2s487ms 12 20 46s77ms 2s303ms [ User: editeu - Total duration: 1m10s - Times executed: 21 ]
[ User: pubeu - Total duration: 3s395ms - 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-18 12:31:10 Duration: 3s430ms 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-18 12:37:58 Duration: 3s418ms 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-18 11:53:19 Duration: 3s417ms 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 1 0ms 1 0ms 0ms 0ms ;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration Apr 18 11 1 0ms 0ms [ User: editeu - Total duration: 3s371ms - Times executed: 1 ]
-
;
Date: Duration: 0ms Database: postgres User: ctddev51 Remote: editeu parameters: $1 = '1424916'
-
Events
Log levels
Key values
- 61,298 Log entries
Events distribution
Key values
- 0 PANIC entries
- 0 FATAL entries
- 25 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 10 Max number of times the same event was reported
- 25 Total events found
Rank Times reported Error 1 10 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #1
Day Hour Count Apr 18 10 5 11 1 13 3 15 1 2 10 LOG: could not receive data from client: Connection timed out
Times Reported Most Frequent Error / Event #2
Day Hour Count Apr 18 08 2 09 1 21 5 22 2 3 2 ERROR: No PubMed acc found for reference 196237
Times Reported Most Frequent Error / Event #3
Day Hour Count Apr 18 13 2 - ERROR: No PubMed acc found for reference 196237
- ERROR: No PubMed acc found for reference 196237
Context: PL/pgSQL function maint_reference_derive_fields() line 41 at RAISE
Statement: insert into pub2.reference select * from pub1.reference where acc_txt = '37018009'Date: 2024-04-18 13:39:38 Database: ctddev51 Application: pgAdmin 4 - CONN:9399736 User: pub2 Remote:
Context: PL/pgSQL function maint_reference_derive_fields() line 41 at RAISEPL/pgSQL function maint_reference_derive_fields() line 41 at RAISE
Statement: insert into pub2.reference select * from pub1.reference where acc_txt = '37018009' insert into db_link (7,'37018099',16,'A',true) insert into db_link (,7,'37018099',16,'A',true) select max(id) from db_linkinsert into db_link (2064737,7,'37018099',16,'A',true) insert into db_link (2064737,7,'37018099',16,'A',true) insert into db_link ('2064737',7,'37018099',16,'A',true) insert into pub2.reference select * from pub1.reference where acc_txt = '37018009'Date: 2024-04-18 13:41:04
4 1 ERROR: column "..." does not exist
Times Reported Most Frequent Error / Event #4
Day Hour Count Apr 18 13 1 - ERROR: column "tracc_txt" does not exist at character 94
Hint: Perhaps you meant to reference the column "tr.acc_txt" or the column "r.acc_txt".
Statement: select * from tm_reference tr ,pub1.reference r where r.acc_txt = tr.acc_txt and tracc_txt = '28892372'Date: 2024-04-18 13:01:48 Database: ctddev51 Application: pgAdmin 4 - CONN:4688048 User: edit Remote:
5 1 ERROR: duplicate key value violates unique constraint "..."
Times Reported Most Frequent Error / Event #5
Day Hour Count Apr 18 14 1 - ERROR: duplicate key value violates unique constraint "age_qualifer_pk"
Detail: Key (id)=(0) already exists.
Statement: insert into pub1.age_qualifier(id,nm) select id,nm from edit.age_qualifierDate: 2024-04-18 14:04:41 Database: ctddev51 Application: User: pub1 Remote:
6 1 ERROR: operator does not exist: timestamp without time zone > integer
Times Reported Most Frequent Error / Event #6
Day Hour Count Apr 18 11 1 - ERROR: operator does not exist: timestamp without time zone > integer at character 49
Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
Statement: select * from reference_contact where create_tm > 2024select * from reference_contact where create_tm > '2024-04-12' and mod-by = 'Exposure Load'Date: 2024-04-18 11:28:08 Database: ctddev51 Application: pgAdmin 4 - CONN:6252860 User: edit Remote: