-
Global information
- Generated on Thu Mar 5 09:01:13 2026
- Log file: ././A3D-RND-PIC/y=2026/m=03/d=04/h=00/m=00/PT1H.log, ..., ././A3D-RND-PIC/y=2026/m=03/d=04/h=23/m=00/PT1H.log
- Parsed 500 log entries in 54s
- Log start from 2026-03-04 08:03:35 to 2026-03-04 09:37:58
-
Overview
Global Stats
- 82 Number of unique normalized queries
- 69 Number of queries
- 1h35m24s Total query duration
- 2026-03-04 07:54:48 First query
- 2026-03-04 09:38:10 Last query
- 2 queries/s at 2026-03-04 08:09:40 Query peak
- 1h35m24s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 1h35m24s Execute total duration
- 4 Number of events
- 4 Number of unique normalized events
- 1 Max number of times the same event was reported
- 0 Number of cancellation
- 0 Total number of automatic vacuums
- 0 Total number of automatic analyzes
- 173 Number temporary file
- 1.32 GiB Max size of temporary file
- 22.79 MiB Average size of temporary file
- 58 Total number of sessions
- 24 sessions at 2026-03-04 09:54:43 Session peak
- 2h56m17s Total duration of sessions
- 3m2s Average duration of sessions
- 1 Average queries per session
- 1m38s Average queries duration per session
- 1m23s Average idle time per session
- 58 Total number of connections
- 3 connections/s at 2026-03-04 07:54:14 Connection peak
- 1 Total number of databases
SQL Traffic
Key values
- 2 queries/s Query Peak
- 2026-03-04 08:09:40 Date
SELECT Traffic
Key values
- 1 queries/s Query Peak
- 2026-03-04 08:26:25 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 2 queries/s Query Peak
- 2026-03-04 08:09:40 Date
Queries duration
Key values
- 1h35m24s 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) Mar 04 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 0 0ms 0ms 0ms 0ms 0ms 0ms 06 0 0ms 0ms 0ms 0ms 0ms 0ms 07 8 0ms 1m58s 31s975ms 2m44s 2m44s 2m44s 08 52 0ms 5m20s 29s268ms 4m50s 5m30s 5m30s 09 9 0ms 38m24s 7m18s 26m50s 38m24s 38m24s 10 0 0ms 0ms 0ms 0ms 0ms 0ms 11 0 0ms 0ms 0ms 0ms 0ms 0ms 12 0 0ms 0ms 0ms 0ms 0ms 0ms 13 0 0ms 0ms 0ms 0ms 0ms 0ms 14 0 0ms 0ms 0ms 0ms 0ms 0ms 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) Mar 04 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 0 0 0ms 0ms 0ms 0ms 06 0 0 0ms 0ms 0ms 0ms 07 0 0 0ms 0ms 0ms 0ms 08 5 0 3s610ms 0ms 6s153ms 8s585ms 09 1 6 4s577ms 3s71ms 11s134ms 17s838ms 10 0 0 0ms 0ms 0ms 0ms 11 0 0 0ms 0ms 0ms 0ms 12 0 0 0ms 0ms 0ms 0ms 13 0 0 0ms 0ms 0ms 0ms 14 0 0 0ms 0ms 0ms 0ms 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) Mar 04 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 4 52s8ms 38s94ms 2m25s 2m25s 08 0 0 0 6 13s100ms 0ms 5s670ms 38s66ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Mar 04 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 0 0.00 0.00% 06 0 0 0.00 0.00% 07 0 0 0.00 0.00% 08 0 0 0.00 0.00% 09 0 0 0.00 0.00% 10 0 0 0.00 0.00% 11 0 0 0.00 0.00% 12 0 0 0.00 0.00% 13 0 0 0.00 0.00% 14 0 0 0.00 0.00% 15 0 0 0.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 Mar 04 00 2 0.00/s 01 2 0.00/s 02 2 0.00/s 03 2 0.00/s 04 2 0.00/s 05 2 0.00/s 06 2 0.00/s 07 7 0.00/s 08 4 0.00/s 09 5 0.00/s 10 2 0.00/s 11 2 0.00/s 12 2 0.00/s 13 2 0.00/s 14 2 0.00/s 15 2 0.00/s 16 2 0.00/s 17 2 0.00/s 18 2 0.00/s 19 2 0.00/s 20 2 0.00/s 21 2 0.00/s 22 2 0.00/s 23 2 0.00/s Day Hour Count Average Duration Average idle time Mar 04 00 2 58ms 58ms 01 2 58ms 58ms 02 2 51ms 51ms 03 2 56ms 56ms 04 2 53ms 53ms 05 2 55ms 55ms 06 2 98ms 98ms 07 5 2s35ms 0ms 08 5 14m49s 9m45s 09 5 13m3s 0ms 10 3 12m12s 12m12s 11 2 60ms 60ms 12 2 56ms 56ms 13 2 56ms 56ms 14 2 54ms 54ms 15 2 63ms 63ms 16 2 54ms 54ms 17 2 60ms 60ms 18 2 54ms 54ms 19 2 63ms 63ms 20 2 55ms 55ms 21 2 52ms 52ms 22 2 54ms 54ms 23 2 55ms 55ms -
Connections
Established Connections
Key values
- 3 connections Connection Peak
- 2026-03-04 07:54:14 Date
Connections per database
Key values
- reftkbim Main Database
- 58 connections Total
Connections per user
Key values
- azuresu Main User
- 58 connections Total
-
Sessions
Simultaneous sessions
Key values
- 24 sessions Session Peak
- 2026-03-04 09:54:43 Date
Histogram of session times
Key values
- 46 0-500ms duration
Sessions per database
Key values
- reftkbim Main Database
- 58 sessions Total
Sessions per user
Key values
- azuresu Main User
- 58 sessions Total
Sessions per host
Key values
- 169.254.128.1 Main Host
- 58 sessions Total
-
Temporary Files
Size of temporary files
Key values
- 293.53 MiB Temp Files size Peak
- 2026-03-04 08:02:03 Date
Number of temporary files
Key values
- 4 per second Temp Files Peak
- 2026-03-04 09:30:29 Date
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Mar 04 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 8 413.91 MiB 51.74 MiB 08 71 2.13 GiB 30.68 MiB 09 94 1.32 GiB 14.37 MiB 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Queries generating the most temporary files (N)
Rank Count Total size Min size Max size Avg size Query 1 2 21.91 MiB 3.12 MiB 18.80 MiB 10.96 MiB add constraint pk_l_notification_user primary key (nous_user_num_id, nous_noti_id);-
ADD CONSTRAINT pk_l_notification_user PRIMARY KEY (nous_user_num_id, nous_noti_id);
Date: 2026-03-04 08:10:35 Duration: 0ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
2 2 71.66 MiB 18.09 MiB 53.56 MiB 35.83 MiB add constraint pk_pe_consumption_10min primary key (consumption_num_id);-
ADD CONSTRAINT pk_pe_consumption_10min PRIMARY KEY (consumption_num_id);
Date: 2026-03-04 08:09:40 Duration: 0ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
3 2 8.42 MiB 3.91 MiB 4.52 MiB 4.21 MiB add constraint pk_gtp_relation_num_id primary key (relation_num_id);-
ADD CONSTRAINT pk_gtp_relation_num_id PRIMARY KEY (relation_num_id);
Date: 2026-03-04 08:07:22 Duration: 0ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
4 2 592.34 MiB 87.21 MiB 505.12 MiB 296.17 MiB add constraint pk_log_ehcache primary key (log_ehcache_num_id);-
ADD CONSTRAINT pk_log_ehcache PRIMARY KEY (log_ehcache_num_id);
Date: 2026-03-04 08:01:13 Duration: 0ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
5 2 36.11 MiB 8.34 MiB 27.77 MiB 18.05 MiB add constraint pk_history_obj_action primary key (action_num_id);-
ADD CONSTRAINT pk_history_obj_action PRIMARY KEY (action_num_id);
Date: 2026-03-04 08:10:04 Duration: 0ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
6 2 413.91 MiB 52.88 MiB 361.02 MiB 206.95 MiB add constraint pk_history_obj_compo primary key (history_compo_id);-
ADD CONSTRAINT pk_history_obj_compo PRIMARY KEY (history_compo_id);
Date: 2026-03-04 07:55:39 Duration: 0ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
7 2 199.17 MiB 88.73 MiB 110.44 MiB 99.59 MiB add constraint u_hist_obj_cat_att_year_month_line_type unique (obj_num_id, att_template_category_num_id, att_template_num_id, year, month, histo_num_id_tab, tab_line, type);-
ADD CONSTRAINT u_hist_obj_cat_att_year_month_line_type UNIQUE (obj_num_id, att_template_category_num_id, att_template_num_id, year, month, histo_num_id_tab, tab_line, type);
Date: 2026-03-04 08:07:30 Duration: 0ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
8 2 216.56 MiB 10.34 MiB 206.23 MiB 108.28 MiB add constraint pk_gtp_cw_eng_histo primary key (history_num_id);-
ADD CONSTRAINT pk_gtp_cw_eng_histo PRIMARY KEY (history_num_id);
Date: 2026-03-04 08:08:32 Duration: 0ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
9 2 26.80 MiB 8.76 MiB 18.04 MiB 13.40 MiB add constraint pk_ged_right_user primary key (user_num_id, project_num_id, node_num_id);-
ADD CONSTRAINT pk_ged_right_user PRIMARY KEY (user_num_id, project_num_id, node_num_id);
Date: 2026-03-04 08:10:39 Duration: 0ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
10 2 78.81 MiB 34.45 MiB 44.37 MiB 39.41 MiB add constraint uk_pe_consumption_10min unique (counting_point_num_id, date_stamped, type, time_period);-
ADD CONSTRAINT uk_pe_consumption_10min UNIQUE (counting_point_num_id, date_stamped, type, time_period);
Date: 2026-03-04 08:09:50 Duration: 0ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
11 2 61.66 MiB 13.86 MiB 47.80 MiB 30.83 MiB add constraint uk_gtp_obj_rel_vt_path unique (relation_num_id, obj_num_id, obj_num_id_p, node_tree_type_num_id, node_tree_type_num_id_p, view_template_num_id);-
ADD CONSTRAINT uk_gtp_obj_rel_vt_path UNIQUE (relation_num_id, obj_num_id, obj_num_id_p, node_tree_type_num_id, node_tree_type_num_id_p, view_template_num_id);
Date: 2026-03-04 08:10:27 Duration: 0ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
12 2 76.61 MiB 33.68 MiB 42.93 MiB 38.30 MiB add constraint pk_gtp_monthly_history primary key (histo_num_id);-
ADD CONSTRAINT pk_gtp_monthly_history PRIMARY KEY (histo_num_id);
Date: 2026-03-04 08:07:10 Duration: 0ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
13 2 111.84 MiB 45.23 MiB 66.61 MiB 55.92 MiB add constraint uk_gtp_obj_composition unique (obj_num_id, att_template_category_num_id, att_template_num_id, obj_compo_num_id_tab, obj_compo_ligne_tab_num_id);-
ADD CONSTRAINT uk_gtp_obj_composition UNIQUE (obj_num_id, att_template_category_num_id, att_template_num_id, obj_compo_num_id_tab, obj_compo_ligne_tab_num_id);
Date: 2026-03-04 08:09:09 Duration: 0ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
14 2 353.59 MiB 33.16 MiB 320.44 MiB 176.80 MiB add constraint pk_gtp_obj_compo primary key (obj_compo_num_id);-
ADD CONSTRAINT pk_gtp_obj_compo PRIMARY KEY (obj_compo_num_id);
Date: 2026-03-04 08:08:13 Duration: 0ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
15 2 13.14 MiB 4.30 MiB 8.84 MiB 6.57 MiB add constraint uk_pe_consumption_hourly unique (counting_point_num_id, date_stamped, type, consolidated, time_period);-
ADD CONSTRAINT uk_pe_consumption_hourly UNIQUE (counting_point_num_id, date_stamped, type, consolidated, time_period);
Date: 2026-03-04 08:10:34 Duration: 0ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
16 1 293.53 MiB 293.53 MiB 293.53 MiB 293.53 MiB add constraint fk_gtp_relation_rel_template foreign key (rel_template_num_id) references public.gtp_rel_template (rel_template_num_id) on delete cascade deferrable initially deferred;-
ADD CONSTRAINT fk_gtp_relation_rel_template FOREIGN KEY (rel_template_num_id) REFERENCES public.gtp_rel_template (rel_template_num_id) ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED;
Date: 2026-03-04 08:02:03 Duration: 0ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
17 1 16.29 MiB 16.29 MiB 16.29 MiB 16.29 MiB add constraint pk_pe_consumption_hourly primary key (consumption_num_id);-
ADD CONSTRAINT pk_pe_consumption_hourly PRIMARY KEY (consumption_num_id);
Date: 2026-03-04 08:10:32 Duration: 0ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
Queries generating the largest temporary files
Rank Size Query 1 505.12 MiB ADD CONSTRAINT pk_log_ehcache PRIMARY KEY (log_ehcache_num_id);[ Date: 2026-03-04 08:01:13 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
2 361.02 MiB ADD CONSTRAINT pk_history_obj_compo PRIMARY KEY (history_compo_id);[ Date: 2026-03-04 07:55:39 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
3 320.44 MiB ADD CONSTRAINT pk_gtp_obj_compo PRIMARY KEY (obj_compo_num_id);[ Date: 2026-03-04 08:08:13 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
4 293.53 MiB ADD CONSTRAINT fk_gtp_relation_rel_template FOREIGN KEY (rel_template_num_id) REFERENCES public.gtp_rel_template (rel_template_num_id) ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED;[ Date: 2026-03-04 08:02:03 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
5 206.23 MiB ADD CONSTRAINT pk_gtp_cw_eng_histo PRIMARY KEY (history_num_id);[ Date: 2026-03-04 08:08:32 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
6 110.44 MiB ADD CONSTRAINT u_hist_obj_cat_att_year_month_line_type UNIQUE (obj_num_id, att_template_category_num_id, att_template_num_id, year, month, histo_num_id_tab, tab_line, type);[ Date: 2026-03-04 08:07:30 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
7 88.73 MiB ADD CONSTRAINT u_hist_obj_cat_att_year_month_line_type UNIQUE (obj_num_id, att_template_category_num_id, att_template_num_id, year, month, histo_num_id_tab, tab_line, type);[ Date: 2026-03-04 08:07:30 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
8 87.21 MiB ADD CONSTRAINT pk_log_ehcache PRIMARY KEY (log_ehcache_num_id);[ Date: 2026-03-04 08:07:13 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
9 66.61 MiB ADD CONSTRAINT uk_gtp_obj_composition UNIQUE (obj_num_id, att_template_category_num_id, att_template_num_id, obj_compo_num_id_tab, obj_compo_ligne_tab_num_id);[ Date: 2026-03-04 08:09:09 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
10 53.56 MiB ADD CONSTRAINT pk_pe_consumption_10min PRIMARY KEY (consumption_num_id);[ Date: 2026-03-04 08:09:40 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
11 52.88 MiB ADD CONSTRAINT pk_history_obj_compo PRIMARY KEY (history_compo_id);[ Date: 2026-03-04 07:56:17 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
12 47.80 MiB ADD CONSTRAINT uk_gtp_obj_rel_vt_path UNIQUE (relation_num_id, obj_num_id, obj_num_id_p, node_tree_type_num_id, node_tree_type_num_id_p, view_template_num_id);[ Date: 2026-03-04 08:10:27 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
13 45.23 MiB ADD CONSTRAINT uk_gtp_obj_composition UNIQUE (obj_num_id, att_template_category_num_id, att_template_num_id, obj_compo_num_id_tab, obj_compo_ligne_tab_num_id);[ Date: 2026-03-04 08:09:09 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
14 44.37 MiB ADD CONSTRAINT uk_pe_consumption_10min UNIQUE (counting_point_num_id, date_stamped, type, time_period);[ Date: 2026-03-04 08:09:50 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
15 42.93 MiB ADD CONSTRAINT pk_gtp_monthly_history PRIMARY KEY (histo_num_id);[ Date: 2026-03-04 08:07:10 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
16 34.45 MiB ADD CONSTRAINT uk_pe_consumption_10min UNIQUE (counting_point_num_id, date_stamped, type, time_period);[ Date: 2026-03-04 08:09:50 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
17 33.68 MiB ADD CONSTRAINT pk_gtp_monthly_history PRIMARY KEY (histo_num_id);[ Date: 2026-03-04 08:07:10 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
18 33.16 MiB ADD CONSTRAINT pk_gtp_obj_compo PRIMARY KEY (obj_compo_num_id);[ Date: 2026-03-04 08:08:57 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
19 27.77 MiB ADD CONSTRAINT pk_history_obj_action PRIMARY KEY (action_num_id);[ Date: 2026-03-04 08:10:04 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
20 18.80 MiB ADD CONSTRAINT pk_l_notification_user PRIMARY KEY (nous_user_num_id, nous_noti_id);[ Date: 2026-03-04 08:10:35 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
-
Vacuums
Vacuums / Analyzes Distribution
Key values
- 0 sec Highest CPU-cost vacuum
Table
Database - Date
- 0 sec Highest CPU-cost analyze
Table
Database - Date
Autovacuum actions (5 minutes period)
NO DATASET
Average Autovacuum Duration
Key values
- 0 sec Highest CPU-cost vacuum
Table
Database - Date
Average Autovacuum Duration (5 minutes average)
NO DATASET
Analyzes per table
Key values
- unknown (0) Main table analyzed (database )
- 0 analyzes Total
Vacuums per table
Key values
- unknown (0) Main table vacuumed on database
- 0 vacuums Total
Tuples removed per table
Key values
- unknown (0) Main table with removed tuples on database
- 0 tuples Total removed
Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Mar 04 00 0 0 01 0 0 02 0 0 03 0 0 04 0 0 05 0 0 06 0 0 07 0 0 08 0 0 09 0 0 10 0 0 11 0 0 12 0 0 13 0 0 14 0 0 15 0 0 16 0 0 17 0 0 18 0 0 19 0 0 20 0 0 21 0 0 22 0 0 23 0 0 - 0 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- ShareLock Main Lock Type
- 4 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
- 6 Total read queries
- 61 Total write queries
Queries by database
Key values
- reftkbim Main database
- 69 Requests
- 1h35m24s (reftkbim)
- Main time consuming database
Queries by user
Key values
- a3dsupervisor Main user
- 69 Requests
User Request type Count Duration a3dsupervisor Total 69 1h35m24s copy from 10 4m46s copy to 6 28s973ms ddl 45 24m33s others 2 1h5m14s select 6 21s123ms Duration by user
Key values
- 1h35m24s (a3dsupervisor) Main time consuming user
User Request type Count Duration a3dsupervisor Total 69 1h35m24s copy from 10 4m46s copy to 6 28s973ms ddl 45 24m33s others 2 1h5m14s select 6 21s123ms Queries by host
Key values
- 10.3.0.4 Main host
- 69 Requests
- 1h35m24s (10.3.0.4)
- Main time consuming host
Queries by application
Key values
- pg_restore Main application
- 60 Requests
- 1h5m14s (psql)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2026-03-04 08:10:35 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 41 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 38m24s DO $$ DECLARE v_start time; v_stop time; -- l_anonymize_flags : La valeur correspond à la somme des puissances de 2 détails : -- - 0000000001 (2^0 = 1) : Anonymize DCS -- - 0000000010 (2^1 = 2) : Anonymize GED -- - 0000000100 (2^2 = 4) : Anonymize Notification -- - 0000001000 (2^3 = 8) : Anonymize Background task -- - 0000010000 (2^4 = 16) : Anonymize Bim -- - 0000100000 (2^5 = 32) : Anonymize Comment -- - 0001000000 (2^6 = 64) : Anonymize DCP -- - 0010000000 (2^7 = 128) : Anonymize coordonnées -- - 0100000000 (2^8 = 256) : Free -- - 1000000000 (2^9 = 512) : Free l_anonymize_flags integer := current_setting('args.anonymizeflags'); l_reduce_history integer := current_setting('args.reducehistory'); l_truncate integer := current_setting('args.truncate'); l_anonymize_list text[] := ARRAY['pack_gtp_dba.p_anonymization_dcs', -- (2^0 = 1) 'pack_gtp_dba.p_anonymization_ged', -- (2^1 = 2) 'pack_gtp_dba.p_anonymization_notif', -- (2^2 = 4) 'pack_gtp_dba.p_anonymization_backgroundtask', -- (2^3 = 8) 'pack_gtp_dba.p_anonymization_bim', -- (2^4 = 16) 'pack_gtp_dba.p_anonymization_comment', -- (2^5 = 32) 'pack_gtp_dba.p_anonymization_dcp', -- (2^6 = 64) 'pack_gtp_dba.p_anonymization_coordinates' -- (2^7 = 128) ]; i int; BEGIN raise notice '[START] reduceAndAnonymizeDatabase.sql'; raise notice '[args.anonymizeflags] : %', l_anonymize_flags; raise notice '[args.reducehistory] : %', l_reduce_history; CALL PACK_GTP_UTILS.P_TRACE_LOG ('A3D_REDUCE_DB', '[START] reduceAndAnonymizeDatabase.sql'); v_start := clock_timestamp()::time; IF (l_truncate > 0) THEN raise notice '[START] Truncate tables'; truncate table public.gtp_log_connection cascade; truncate table public.gtp_log_ehcache cascade; truncate table public.gtp_log_jvm cascade; truncate table public.gtp_log_session cascade; truncate table public.gtp_log_thread cascade; truncate table public.gtp_mail_adress cascade; truncate table public.gtp_mail cascade; truncate table public.log_session cascade; truncate table public.gtp_error cascade; truncate table public.batch_step_execution_context cascade; truncate table public.batch_step_execution cascade; truncate table public.batch_job_execution_context cascade; truncate table public.batch_job_execution cascade; truncate table public.batch_job_execution_params cascade; truncate table public.batch_job_instance cascade; raise notice '[END] Truncate tables'; END IF; FOR i IN 1..array_length(l_anonymize_list, 1) LOOP IF (l_anonymize_flags & (1 << (i - 1))) = (1 << (i - 1)) THEN RAISE NOTICE '[START] %()', l_anonymize_list[i]; EXECUTE 'CALL ' || l_anonymize_list[i] || '()'; RAISE NOTICE '[END] %()', l_anonymize_list[i]; END IF; END LOOP; IF (l_reduce_history > 0) THEN raise notice '[START] Delete gtp_history_obj_action et gtp_monthly_history'; delete from gtp_history_obj_action where action_date < current_date -180; delete from gtp_monthly_history where histo_dcre < current_date -90; raise notice '[END] Delete gtp_history_obj_action et gtp_monthly_history'; END IF; v_stop := clock_timestamp()::time; RAISE NOTICE '% ms', EXTRACT(MILLISECOND FROM (v_stop - v_start)); RAISE NOTICE '[END] reduceAndAnonymizeDatabase.sql'; CALL PACK_GTP_UTILS.P_TRACE_LOG ('A3D_CLEAN_PDB', '[END] reduceAndAnonymizeDatabase.sql'); EXCEPTION WHEN OTHERS THEN RAISE NOTICE '[ERROR] reduceAndAnonymizeDatabase.sql: SQLSTATE=% SQLERRM=%', SQLSTATE, SQLERRM; CALL PACK_GTP_UTILS.P_TRACE_ERROR ('[ERROR] reduceAndAnonymizeDatabase.sql', SQLERRM); END $$;[ Date: 2026-03-04 09:09:56 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: psql ]
2 26m50s VACUUM FULL;[ Date: 2026-03-04 09:36:47 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: psql ]
3 5m20s CREATE INDEX i_log_ehcache_region_name ON public.gtp_log_ehcache USING btree (region_name);[ Date: 2026-03-04 08:02:04 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
4 4m50s CREATE INDEX i_log_ehcache_date ON public.gtp_log_ehcache USING btree (log_date);[ Date: 2026-03-04 08:01:14 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
5 3m27s CREATE INDEX i_log_ehcache_server_id ON public.gtp_log_ehcache USING btree (server_id);[ Date: 2026-03-04 08:04:42 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
6 2m31s ALTER TABLE ONLY public.gtp_log_ehcache ADD CONSTRAINT pk_log_ehcache PRIMARY KEY (log_ehcache_num_id);[ Date: 2026-03-04 08:07:14 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
7 1m58s COPY public.gtp_log_ehcache (log_ehcache_num_id, server_id, log_date, region_name, max_memory, used_memory_min, used_memory_average, used_memory_max, element_count_min, element_count_average, element_count_max, hit_count, miss_count) FROM stdin;[ Date: 2026-03-04 07:56:23 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
8 1m30s CREATE INDEX i_fk_month_histo_att ON public.gtp_monthly_history USING btree (att_template_num_id);[ Date: 2026-03-04 08:06:34 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
9 1m6s CREATE INDEX i_gtp_obj_compo_value_compo_id ON public.gtp_obj_composition USING btree (obj_compo_value, att_template_num_id, att_template_category_num_id, obj_num_id);[ Date: 2026-03-04 08:08:32 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
10 38s94ms COPY public.gtp_history_obj_compo (history_compo_id, action_num_id, obj_num_id, att_template_num_id, att_template_category_num_id, cell_column, cell_line, att_new_value, displayable_value, action_type, obj_compo_new_unit_num_id) FROM stdin;[ Date: 2026-03-04 07:55:28 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
11 38s66ms COPY public.gtp_obj_composition (obj_compo_num_id, obj_num_id, att_template_category_num_id, att_template_num_id, obj_compo_num_id_tab, obj_compo_ligne_tab_num_id, obj_compo_value, obj_compo_dcre, obj_compo_creator, obj_compo_dmaj, obj_compo_modifier, obj_compo_unit_num_id) FROM stdin;[ Date: 2026-03-04 08:04:41 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
12 26s977ms COPY public.gtp_monthly_history (histo_num_id, obj_num_id, att_template_category_num_id, att_template_num_id, year, month, value, histo_dcre, histo_creator, histo_dmaj, histo_modifier, histo_num_id_tab, tab_line, att_unit_num_id, type) FROM stdin;[ Date: 2026-03-04 07:56:44 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
13 26s704ms CREATE INDEX i_fk_gtp_obj_compo_ligne_tab ON public.gtp_obj_composition USING btree (obj_compo_num_id_tab, obj_compo_ligne_tab_num_id);[ Date: 2026-03-04 08:08:07 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
14 24s58ms COPY public.gtp_background_task (task_num_id, user_num_id, task_service_name, task_start_date, task_end_date, task_current_step, task_max_step, task_current_progress, task_max_progress, task_log, task_status, task_error_message, task_active_status, task_last_update, task_parameters, task_create_date, canceling_user_num_id, task_report, export_file, export_file_name, source_file, source_file_name, source_obj_num_id, server_id, task_state, task_origin, task_sub_type, batch_process_num_id) FROM stdin;[ Date: 2026-03-04 07:54:48 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
15 21s488ms CREATE INDEX i_fk_pe_consumption_10min_cp ON public.pe_consumption_10min USING btree (counting_point_num_id);[ Date: 2026-03-04 08:09:40 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
16 21s298ms CREATE INDEX i_fk_pe_consumption_10min_tp ON public.pe_consumption_10min USING btree (time_period);[ Date: 2026-03-04 08:09:40 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
17 19s439ms ALTER TABLE ONLY public.gtp_monthly_history ADD CONSTRAINT u_hist_obj_cat_att_year_month_line_type UNIQUE (obj_num_id, att_template_category_num_id, att_template_num_id, year, month, histo_num_id_tab, tab_line, type);[ Date: 2026-03-04 08:07:30 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
18 19s404ms COPY public.pe_consumption_10min (consumption_num_id, counting_point_num_id, type, origin, date_storage, date_stamped, time_period, value, value_kwh, value_co2, user_comment, consumption_dcre, consumption_creator, consumption_dmaj, consumption_modifier) FROM stdin;[ Date: 2026-03-04 08:05:01 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
19 18s603ms ALTER TABLE ONLY public.gtp_history_obj_compo ADD CONSTRAINT pk_history_obj_compo PRIMARY KEY (history_compo_id);[ Date: 2026-03-04 07:56:17 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
20 13s720ms ALTER TABLE ONLY public.gtp_history_obj_compo ADD CONSTRAINT fk_history_obj_compo_action FOREIGN KEY (action_num_id) REFERENCES public.gtp_history_obj_action (action_num_id) ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED;[ Date: 2026-03-04 08:10:29 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 38m24s 1 38m24s 38m24s 38m24s do $$ declare v_start time; v_stop time; l_anonymize_flags integer := current_setting(?); l_reduce_history integer := current_setting(?); l_truncate integer := current_setting(?); l_anonymize_list text[] := array[?, ?, ?, ?, ?, ?, ?, ?]; i int; begin raise notice ?; raise notice ?, l_anonymize_flags; raise notice ?, l_reduce_history; call pack_gtp_utils.p_trace_log (?, ?); v_start := clock_timestamp()::time; if (l_truncate > ?) then raise notice ?; truncate table public.gtp_log_connection cascade; truncate table public.gtp_log_ehcache cascade; truncate table public.gtp_log_jvm cascade; truncate table public.gtp_log_session cascade; truncate table public.gtp_log_thread cascade; truncate table public.gtp_mail_adress cascade; truncate table public.gtp_mail cascade; truncate table public.log_session cascade; truncate table public.gtp_error cascade; truncate table public.batch_step_execution_context cascade; truncate table public.batch_step_execution cascade; truncate table public.batch_job_execution_context cascade; truncate table public.batch_job_execution cascade; truncate table public.batch_job_execution_params cascade; truncate table public.batch_job_instance cascade; raise notice ?; end if; for i in ?..array_length(l_anonymize_list, ?) loop if (l_anonymize_flags & (? << (i - ?))) = (? << (i - ?)) then raise notice ?, l_anonymize_list[i]; execute ? || l_anonymize_list[i] || ?; raise notice ?, l_anonymize_list[i]; end if; end loop; if (l_reduce_history > ?) then raise notice ?; delete from gtp_history_obj_action where action_date < current_date - ?; delete from gtp_monthly_history where histo_dcre < current_date - ?; raise notice ?; end if; v_stop := clock_timestamp()::time; raise notice ?, extract(millisecond from (v_stop - v_start)); raise notice ?; call pack_gtp_utils.p_trace_log (?, ?); exception when others then raise notice ?, sqlstate, sqlerrm; call pack_gtp_utils.p_trace_error (?, sqlerrm); end $$;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Mar 04 10 1 38m24s 38m24s [ User: a3dsupervisor - Total duration: 38m24s - Times executed: 1 ]
[ Application: psql - Total duration: 38m24s - Times executed: 1 ]
-
DO $$ DECLARE v_start time; v_stop time; -- l_anonymize_flags : La valeur correspond à la somme des puissances de 2 détails : -- - 0000000001 (2^0 = 1) : Anonymize DCS -- - 0000000010 (2^1 = 2) : Anonymize GED -- - 0000000100 (2^2 = 4) : Anonymize Notification -- - 0000001000 (2^3 = 8) : Anonymize Background task -- - 0000010000 (2^4 = 16) : Anonymize Bim -- - 0000100000 (2^5 = 32) : Anonymize Comment -- - 0001000000 (2^6 = 64) : Anonymize DCP -- - 0010000000 (2^7 = 128) : Anonymize coordonnées -- - 0100000000 (2^8 = 256) : Free -- - 1000000000 (2^9 = 512) : Free l_anonymize_flags integer := current_setting('args.anonymizeflags'); l_reduce_history integer := current_setting('args.reducehistory'); l_truncate integer := current_setting('args.truncate'); l_anonymize_list text[] := ARRAY['pack_gtp_dba.p_anonymization_dcs', -- (2^0 = 1) 'pack_gtp_dba.p_anonymization_ged', -- (2^1 = 2) 'pack_gtp_dba.p_anonymization_notif', -- (2^2 = 4) 'pack_gtp_dba.p_anonymization_backgroundtask', -- (2^3 = 8) 'pack_gtp_dba.p_anonymization_bim', -- (2^4 = 16) 'pack_gtp_dba.p_anonymization_comment', -- (2^5 = 32) 'pack_gtp_dba.p_anonymization_dcp', -- (2^6 = 64) 'pack_gtp_dba.p_anonymization_coordinates' -- (2^7 = 128) ]; i int; BEGIN raise notice '[START] reduceAndAnonymizeDatabase.sql'; raise notice '[args.anonymizeflags] : %', l_anonymize_flags; raise notice '[args.reducehistory] : %', l_reduce_history; CALL PACK_GTP_UTILS.P_TRACE_LOG ('A3D_REDUCE_DB', '[START] reduceAndAnonymizeDatabase.sql'); v_start := clock_timestamp()::time; IF (l_truncate > 0) THEN raise notice '[START] Truncate tables'; truncate table public.gtp_log_connection cascade; truncate table public.gtp_log_ehcache cascade; truncate table public.gtp_log_jvm cascade; truncate table public.gtp_log_session cascade; truncate table public.gtp_log_thread cascade; truncate table public.gtp_mail_adress cascade; truncate table public.gtp_mail cascade; truncate table public.log_session cascade; truncate table public.gtp_error cascade; truncate table public.batch_step_execution_context cascade; truncate table public.batch_step_execution cascade; truncate table public.batch_job_execution_context cascade; truncate table public.batch_job_execution cascade; truncate table public.batch_job_execution_params cascade; truncate table public.batch_job_instance cascade; raise notice '[END] Truncate tables'; END IF; FOR i IN 1..array_length(l_anonymize_list, 1) LOOP IF (l_anonymize_flags & (1 << (i - 1))) = (1 << (i - 1)) THEN RAISE NOTICE '[START] %()', l_anonymize_list[i]; EXECUTE 'CALL ' || l_anonymize_list[i] || '()'; RAISE NOTICE '[END] %()', l_anonymize_list[i]; END IF; END LOOP; IF (l_reduce_history > 0) THEN raise notice '[START] Delete gtp_history_obj_action et gtp_monthly_history'; delete from gtp_history_obj_action where action_date < current_date -180; delete from gtp_monthly_history where histo_dcre < current_date -90; raise notice '[END] Delete gtp_history_obj_action et gtp_monthly_history'; END IF; v_stop := clock_timestamp()::time; RAISE NOTICE '% ms', EXTRACT(MILLISECOND FROM (v_stop - v_start)); RAISE NOTICE '[END] reduceAndAnonymizeDatabase.sql'; CALL PACK_GTP_UTILS.P_TRACE_LOG ('A3D_CLEAN_PDB', '[END] reduceAndAnonymizeDatabase.sql'); EXCEPTION WHEN OTHERS THEN RAISE NOTICE '[ERROR] reduceAndAnonymizeDatabase.sql: SQLSTATE=% SQLERRM=%', SQLSTATE, SQLERRM; CALL PACK_GTP_UTILS.P_TRACE_ERROR ('[ERROR] reduceAndAnonymizeDatabase.sql', SQLERRM); END $$;
Date: 2026-03-04 09:09:56 Duration: 38m24s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: psql
2 26m50s 1 26m50s 26m50s 26m50s vacuum full;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Mar 04 10 1 26m50s 26m50s [ User: a3dsupervisor - Total duration: 26m50s - Times executed: 1 ]
[ Application: psql - Total duration: 26m50s - Times executed: 1 ]
-
VACUUM FULL;
Date: 2026-03-04 09:36:47 Duration: 26m50s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: psql
3 5m20s 1 5m20s 5m20s 5m20s create index i_log_ehcache_region_name on public.gtp_log_ehcache using btree (region_name);Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Mar 04 09 1 5m20s 5m20s [ User: a3dsupervisor - Total duration: 5m20s - Times executed: 1 ]
[ Application: pg_restore - Total duration: 5m20s - Times executed: 1 ]
-
CREATE INDEX i_log_ehcache_region_name ON public.gtp_log_ehcache USING btree (region_name);
Date: 2026-03-04 08:02:04 Duration: 5m20s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
4 4m50s 1 4m50s 4m50s 4m50s create index i_log_ehcache_date on public.gtp_log_ehcache using btree (log_date);Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Mar 04 09 1 4m50s 4m50s [ User: a3dsupervisor - Total duration: 4m50s - Times executed: 1 ]
[ Application: pg_restore - Total duration: 4m50s - Times executed: 1 ]
-
CREATE INDEX i_log_ehcache_date ON public.gtp_log_ehcache USING btree (log_date);
Date: 2026-03-04 08:01:14 Duration: 4m50s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
5 3m27s 1 3m27s 3m27s 3m27s create index i_log_ehcache_server_id on public.gtp_log_ehcache using btree (server_id);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Mar 04 09 1 3m27s 3m27s [ User: a3dsupervisor - Total duration: 3m27s - Times executed: 1 ]
[ Application: pg_restore - Total duration: 3m27s - Times executed: 1 ]
-
CREATE INDEX i_log_ehcache_server_id ON public.gtp_log_ehcache USING btree (server_id);
Date: 2026-03-04 08:04:42 Duration: 3m27s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
6 2m31s 1 2m31s 2m31s 2m31s alter table only public.gtp_log_ehcache add constraint pk_log_ehcache primary key (log_ehcache_num_id);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Mar 04 09 1 2m31s 2m31s [ User: a3dsupervisor - Total duration: 2m31s - Times executed: 1 ]
[ Application: pg_restore - Total duration: 2m31s - Times executed: 1 ]
-
ALTER TABLE ONLY public.gtp_log_ehcache ADD CONSTRAINT pk_log_ehcache PRIMARY KEY (log_ehcache_num_id);
Date: 2026-03-04 08:07:14 Duration: 2m31s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
7 1m58s 1 1m58s 1m58s 1m58s copy public.gtp_log_ehcache (log_ehcache_num_id, server_id, log_date, region_name, max_memory, used_memory_min, used_memory_average, used_memory_max, element_count_min, element_count_average, element_count_max, hit_count, miss_count) from stdin;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Mar 04 08 1 1m58s 1m58s [ User: a3dsupervisor - Total duration: 1m58s - Times executed: 1 ]
[ Application: pg_restore - Total duration: 1m58s - Times executed: 1 ]
-
COPY public.gtp_log_ehcache (log_ehcache_num_id, server_id, log_date, region_name, max_memory, used_memory_min, used_memory_average, used_memory_max, element_count_min, element_count_average, element_count_max, hit_count, miss_count) FROM stdin;
Date: 2026-03-04 07:56:23 Duration: 1m58s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
8 1m30s 1 1m30s 1m30s 1m30s create index i_fk_month_histo_att on public.gtp_monthly_history using btree (att_template_num_id);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Mar 04 09 1 1m30s 1m30s [ User: a3dsupervisor - Total duration: 1m30s - Times executed: 1 ]
[ Application: pg_restore - Total duration: 1m30s - Times executed: 1 ]
-
CREATE INDEX i_fk_month_histo_att ON public.gtp_monthly_history USING btree (att_template_num_id);
Date: 2026-03-04 08:06:34 Duration: 1m30s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
9 1m6s 1 1m6s 1m6s 1m6s create index i_gtp_obj_compo_value_compo_id on public.gtp_obj_composition using btree (obj_compo_value, att_template_num_id, att_template_category_num_id, obj_num_id);Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Mar 04 09 1 1m6s 1m6s [ User: a3dsupervisor - Total duration: 1m6s - Times executed: 1 ]
[ Application: pg_restore - Total duration: 1m6s - Times executed: 1 ]
-
CREATE INDEX i_gtp_obj_compo_value_compo_id ON public.gtp_obj_composition USING btree (obj_compo_value, att_template_num_id, att_template_category_num_id, obj_num_id);
Date: 2026-03-04 08:08:32 Duration: 1m6s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
10 38s94ms 1 38s94ms 38s94ms 38s94ms copy public.gtp_history_obj_compo (history_compo_id, action_num_id, obj_num_id, att_template_num_id, att_template_category_num_id, cell_column, cell_line, att_new_value, displayable_value, action_type, obj_compo_new_unit_num_id) from stdin;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Mar 04 08 1 38s94ms 38s94ms [ User: a3dsupervisor - Total duration: 38s94ms - Times executed: 1 ]
[ Application: pg_restore - Total duration: 38s94ms - Times executed: 1 ]
-
COPY public.gtp_history_obj_compo (history_compo_id, action_num_id, obj_num_id, att_template_num_id, att_template_category_num_id, cell_column, cell_line, att_new_value, displayable_value, action_type, obj_compo_new_unit_num_id) FROM stdin;
Date: 2026-03-04 07:55:28 Duration: 38s94ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
11 38s66ms 1 38s66ms 38s66ms 38s66ms copy public.gtp_obj_composition (obj_compo_num_id, obj_num_id, att_template_category_num_id, att_template_num_id, obj_compo_num_id_tab, obj_compo_ligne_tab_num_id, obj_compo_value, obj_compo_dcre, obj_compo_creator, obj_compo_dmaj, obj_compo_modifier, obj_compo_unit_num_id) from stdin;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Mar 04 09 1 38s66ms 38s66ms [ User: a3dsupervisor - Total duration: 38s66ms - Times executed: 1 ]
[ Application: pg_restore - Total duration: 38s66ms - Times executed: 1 ]
-
COPY public.gtp_obj_composition (obj_compo_num_id, obj_num_id, att_template_category_num_id, att_template_num_id, obj_compo_num_id_tab, obj_compo_ligne_tab_num_id, obj_compo_value, obj_compo_dcre, obj_compo_creator, obj_compo_dmaj, obj_compo_modifier, obj_compo_unit_num_id) FROM stdin;
Date: 2026-03-04 08:04:41 Duration: 38s66ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
12 26s977ms 1 26s977ms 26s977ms 26s977ms copy public.gtp_monthly_history (histo_num_id, obj_num_id, att_template_category_num_id, att_template_num_id, year, month, value, histo_dcre, histo_creator, histo_dmaj, histo_modifier, histo_num_id_tab, tab_line, att_unit_num_id, type) from stdin;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Mar 04 08 1 26s977ms 26s977ms [ User: a3dsupervisor - Total duration: 26s977ms - Times executed: 1 ]
[ Application: pg_restore - Total duration: 26s977ms - Times executed: 1 ]
-
COPY public.gtp_monthly_history (histo_num_id, obj_num_id, att_template_category_num_id, att_template_num_id, year, month, value, histo_dcre, histo_creator, histo_dmaj, histo_modifier, histo_num_id_tab, tab_line, att_unit_num_id, type) FROM stdin;
Date: 2026-03-04 07:56:44 Duration: 26s977ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
13 26s704ms 1 26s704ms 26s704ms 26s704ms create index i_fk_gtp_obj_compo_ligne_tab on public.gtp_obj_composition using btree (obj_compo_num_id_tab, obj_compo_ligne_tab_num_id);Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Mar 04 09 1 26s704ms 26s704ms [ User: a3dsupervisor - Total duration: 26s704ms - Times executed: 1 ]
[ Application: pg_restore - Total duration: 26s704ms - Times executed: 1 ]
-
CREATE INDEX i_fk_gtp_obj_compo_ligne_tab ON public.gtp_obj_composition USING btree (obj_compo_num_id_tab, obj_compo_ligne_tab_num_id);
Date: 2026-03-04 08:08:07 Duration: 26s704ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
14 24s58ms 1 24s58ms 24s58ms 24s58ms copy public.gtp_background_task (task_num_id, user_num_id, task_service_name, task_start_date, task_end_date, task_current_step, task_max_step, task_current_progress, task_max_progress, task_log, task_status, task_error_message, task_active_status, task_last_update, task_parameters, task_create_date, canceling_user_num_id, task_report, export_file, export_file_name, source_file, source_file_name, source_obj_num_id, server_id, task_state, task_origin, task_sub_type, batch_process_num_id) from stdin;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Mar 04 08 1 24s58ms 24s58ms [ User: a3dsupervisor - Total duration: 24s58ms - Times executed: 1 ]
[ Application: pg_restore - Total duration: 24s58ms - Times executed: 1 ]
-
COPY public.gtp_background_task (task_num_id, user_num_id, task_service_name, task_start_date, task_end_date, task_current_step, task_max_step, task_current_progress, task_max_progress, task_log, task_status, task_error_message, task_active_status, task_last_update, task_parameters, task_create_date, canceling_user_num_id, task_report, export_file, export_file_name, source_file, source_file_name, source_obj_num_id, server_id, task_state, task_origin, task_sub_type, batch_process_num_id) FROM stdin;
Date: 2026-03-04 07:54:48 Duration: 24s58ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
15 21s488ms 1 21s488ms 21s488ms 21s488ms create index i_fk_pe_consumption_10min_cp on public.pe_consumption_10min using btree (counting_point_num_id);Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Mar 04 09 1 21s488ms 21s488ms [ User: a3dsupervisor - Total duration: 21s488ms - Times executed: 1 ]
[ Application: pg_restore - Total duration: 21s488ms - Times executed: 1 ]
-
CREATE INDEX i_fk_pe_consumption_10min_cp ON public.pe_consumption_10min USING btree (counting_point_num_id);
Date: 2026-03-04 08:09:40 Duration: 21s488ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
16 21s298ms 1 21s298ms 21s298ms 21s298ms create index i_fk_pe_consumption_10min_tp on public.pe_consumption_10min using btree (time_period);Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Mar 04 09 1 21s298ms 21s298ms [ User: a3dsupervisor - Total duration: 21s298ms - Times executed: 1 ]
[ Application: pg_restore - Total duration: 21s298ms - Times executed: 1 ]
-
CREATE INDEX i_fk_pe_consumption_10min_tp ON public.pe_consumption_10min USING btree (time_period);
Date: 2026-03-04 08:09:40 Duration: 21s298ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
17 19s439ms 1 19s439ms 19s439ms 19s439ms alter table only public.gtp_monthly_history add constraint u_hist_obj_cat_att_year_month_line_type unique (obj_num_id, att_template_category_num_id, att_template_num_id, year, month, histo_num_id_tab, tab_line, type);Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Mar 04 09 1 19s439ms 19s439ms [ User: a3dsupervisor - Total duration: 19s439ms - Times executed: 1 ]
[ Application: pg_restore - Total duration: 19s439ms - Times executed: 1 ]
-
ALTER TABLE ONLY public.gtp_monthly_history ADD CONSTRAINT u_hist_obj_cat_att_year_month_line_type UNIQUE (obj_num_id, att_template_category_num_id, att_template_num_id, year, month, histo_num_id_tab, tab_line, type);
Date: 2026-03-04 08:07:30 Duration: 19s439ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
18 19s404ms 1 19s404ms 19s404ms 19s404ms copy public.pe_consumption_10min (consumption_num_id, counting_point_num_id, type, origin, date_storage, date_stamped, time_period, value, value_kwh, value_co2, user_comment, consumption_dcre, consumption_creator, consumption_dmaj, consumption_modifier) from stdin;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Mar 04 09 1 19s404ms 19s404ms [ User: a3dsupervisor - Total duration: 19s404ms - Times executed: 1 ]
[ Application: pg_restore - Total duration: 19s404ms - Times executed: 1 ]
-
COPY public.pe_consumption_10min (consumption_num_id, counting_point_num_id, type, origin, date_storage, date_stamped, time_period, value, value_kwh, value_co2, user_comment, consumption_dcre, consumption_creator, consumption_dmaj, consumption_modifier) FROM stdin;
Date: 2026-03-04 08:05:01 Duration: 19s404ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
19 18s603ms 1 18s603ms 18s603ms 18s603ms alter table only public.gtp_history_obj_compo add constraint pk_history_obj_compo primary key (history_compo_id);Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Mar 04 08 1 18s603ms 18s603ms [ User: a3dsupervisor - Total duration: 18s603ms - Times executed: 1 ]
[ Application: pg_restore - Total duration: 18s603ms - Times executed: 1 ]
-
ALTER TABLE ONLY public.gtp_history_obj_compo ADD CONSTRAINT pk_history_obj_compo PRIMARY KEY (history_compo_id);
Date: 2026-03-04 07:56:17 Duration: 18s603ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
20 18s51ms 5 3s7ms 4s591ms 3s610ms select pg_catalog.lo_create(?);Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Mar 04 09 5 18s51ms 3s610ms [ User: a3dsupervisor - Total duration: 18s51ms - Times executed: 5 ]
[ Application: pg_restore - Total duration: 18s51ms - Times executed: 5 ]
-
SELECT pg_catalog.lo_create('2191352');
Date: 2026-03-04 08:25:48 Duration: 4s591ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
-
SELECT pg_catalog.lo_create('2191181');
Date: 2026-03-04 08:25:26 Duration: 3s993ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
-
SELECT pg_catalog.lo_create('2184347');
Date: 2026-03-04 08:17:43 Duration: 3s313ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 5 18s51ms 3s7ms 4s591ms 3s610ms select pg_catalog.lo_create(?);Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Mar 04 09 5 18s51ms 3s610ms [ User: a3dsupervisor - Total duration: 18s51ms - Times executed: 5 ]
[ Application: pg_restore - Total duration: 18s51ms - Times executed: 5 ]
-
SELECT pg_catalog.lo_create('2191352');
Date: 2026-03-04 08:25:48 Duration: 4s591ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
-
SELECT pg_catalog.lo_create('2191181');
Date: 2026-03-04 08:25:26 Duration: 3s993ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
-
SELECT pg_catalog.lo_create('2184347');
Date: 2026-03-04 08:17:43 Duration: 3s313ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
2 1 38m24s 38m24s 38m24s 38m24s do $$ declare v_start time; v_stop time; l_anonymize_flags integer := current_setting(?); l_reduce_history integer := current_setting(?); l_truncate integer := current_setting(?); l_anonymize_list text[] := array[?, ?, ?, ?, ?, ?, ?, ?]; i int; begin raise notice ?; raise notice ?, l_anonymize_flags; raise notice ?, l_reduce_history; call pack_gtp_utils.p_trace_log (?, ?); v_start := clock_timestamp()::time; if (l_truncate > ?) then raise notice ?; truncate table public.gtp_log_connection cascade; truncate table public.gtp_log_ehcache cascade; truncate table public.gtp_log_jvm cascade; truncate table public.gtp_log_session cascade; truncate table public.gtp_log_thread cascade; truncate table public.gtp_mail_adress cascade; truncate table public.gtp_mail cascade; truncate table public.log_session cascade; truncate table public.gtp_error cascade; truncate table public.batch_step_execution_context cascade; truncate table public.batch_step_execution cascade; truncate table public.batch_job_execution_context cascade; truncate table public.batch_job_execution cascade; truncate table public.batch_job_execution_params cascade; truncate table public.batch_job_instance cascade; raise notice ?; end if; for i in ?..array_length(l_anonymize_list, ?) loop if (l_anonymize_flags & (? << (i - ?))) = (? << (i - ?)) then raise notice ?, l_anonymize_list[i]; execute ? || l_anonymize_list[i] || ?; raise notice ?, l_anonymize_list[i]; end if; end loop; if (l_reduce_history > ?) then raise notice ?; delete from gtp_history_obj_action where action_date < current_date - ?; delete from gtp_monthly_history where histo_dcre < current_date - ?; raise notice ?; end if; v_stop := clock_timestamp()::time; raise notice ?, extract(millisecond from (v_stop - v_start)); raise notice ?; call pack_gtp_utils.p_trace_log (?, ?); exception when others then raise notice ?, sqlstate, sqlerrm; call pack_gtp_utils.p_trace_error (?, sqlerrm); end $$;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Mar 04 10 1 38m24s 38m24s [ User: a3dsupervisor - Total duration: 38m24s - Times executed: 1 ]
[ Application: psql - Total duration: 38m24s - Times executed: 1 ]
-
DO $$ DECLARE v_start time; v_stop time; -- l_anonymize_flags : La valeur correspond à la somme des puissances de 2 détails : -- - 0000000001 (2^0 = 1) : Anonymize DCS -- - 0000000010 (2^1 = 2) : Anonymize GED -- - 0000000100 (2^2 = 4) : Anonymize Notification -- - 0000001000 (2^3 = 8) : Anonymize Background task -- - 0000010000 (2^4 = 16) : Anonymize Bim -- - 0000100000 (2^5 = 32) : Anonymize Comment -- - 0001000000 (2^6 = 64) : Anonymize DCP -- - 0010000000 (2^7 = 128) : Anonymize coordonnées -- - 0100000000 (2^8 = 256) : Free -- - 1000000000 (2^9 = 512) : Free l_anonymize_flags integer := current_setting('args.anonymizeflags'); l_reduce_history integer := current_setting('args.reducehistory'); l_truncate integer := current_setting('args.truncate'); l_anonymize_list text[] := ARRAY['pack_gtp_dba.p_anonymization_dcs', -- (2^0 = 1) 'pack_gtp_dba.p_anonymization_ged', -- (2^1 = 2) 'pack_gtp_dba.p_anonymization_notif', -- (2^2 = 4) 'pack_gtp_dba.p_anonymization_backgroundtask', -- (2^3 = 8) 'pack_gtp_dba.p_anonymization_bim', -- (2^4 = 16) 'pack_gtp_dba.p_anonymization_comment', -- (2^5 = 32) 'pack_gtp_dba.p_anonymization_dcp', -- (2^6 = 64) 'pack_gtp_dba.p_anonymization_coordinates' -- (2^7 = 128) ]; i int; BEGIN raise notice '[START] reduceAndAnonymizeDatabase.sql'; raise notice '[args.anonymizeflags] : %', l_anonymize_flags; raise notice '[args.reducehistory] : %', l_reduce_history; CALL PACK_GTP_UTILS.P_TRACE_LOG ('A3D_REDUCE_DB', '[START] reduceAndAnonymizeDatabase.sql'); v_start := clock_timestamp()::time; IF (l_truncate > 0) THEN raise notice '[START] Truncate tables'; truncate table public.gtp_log_connection cascade; truncate table public.gtp_log_ehcache cascade; truncate table public.gtp_log_jvm cascade; truncate table public.gtp_log_session cascade; truncate table public.gtp_log_thread cascade; truncate table public.gtp_mail_adress cascade; truncate table public.gtp_mail cascade; truncate table public.log_session cascade; truncate table public.gtp_error cascade; truncate table public.batch_step_execution_context cascade; truncate table public.batch_step_execution cascade; truncate table public.batch_job_execution_context cascade; truncate table public.batch_job_execution cascade; truncate table public.batch_job_execution_params cascade; truncate table public.batch_job_instance cascade; raise notice '[END] Truncate tables'; END IF; FOR i IN 1..array_length(l_anonymize_list, 1) LOOP IF (l_anonymize_flags & (1 << (i - 1))) = (1 << (i - 1)) THEN RAISE NOTICE '[START] %()', l_anonymize_list[i]; EXECUTE 'CALL ' || l_anonymize_list[i] || '()'; RAISE NOTICE '[END] %()', l_anonymize_list[i]; END IF; END LOOP; IF (l_reduce_history > 0) THEN raise notice '[START] Delete gtp_history_obj_action et gtp_monthly_history'; delete from gtp_history_obj_action where action_date < current_date -180; delete from gtp_monthly_history where histo_dcre < current_date -90; raise notice '[END] Delete gtp_history_obj_action et gtp_monthly_history'; END IF; v_stop := clock_timestamp()::time; RAISE NOTICE '% ms', EXTRACT(MILLISECOND FROM (v_stop - v_start)); RAISE NOTICE '[END] reduceAndAnonymizeDatabase.sql'; CALL PACK_GTP_UTILS.P_TRACE_LOG ('A3D_CLEAN_PDB', '[END] reduceAndAnonymizeDatabase.sql'); EXCEPTION WHEN OTHERS THEN RAISE NOTICE '[ERROR] reduceAndAnonymizeDatabase.sql: SQLSTATE=% SQLERRM=%', SQLSTATE, SQLERRM; CALL PACK_GTP_UTILS.P_TRACE_ERROR ('[ERROR] reduceAndAnonymizeDatabase.sql', SQLERRM); END $$;
Date: 2026-03-04 09:09:56 Duration: 38m24s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: psql
3 1 26m50s 26m50s 26m50s 26m50s vacuum full;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Mar 04 10 1 26m50s 26m50s [ User: a3dsupervisor - Total duration: 26m50s - Times executed: 1 ]
[ Application: psql - Total duration: 26m50s - Times executed: 1 ]
-
VACUUM FULL;
Date: 2026-03-04 09:36:47 Duration: 26m50s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: psql
4 1 5m20s 5m20s 5m20s 5m20s create index i_log_ehcache_region_name on public.gtp_log_ehcache using btree (region_name);Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Mar 04 09 1 5m20s 5m20s [ User: a3dsupervisor - Total duration: 5m20s - Times executed: 1 ]
[ Application: pg_restore - Total duration: 5m20s - Times executed: 1 ]
-
CREATE INDEX i_log_ehcache_region_name ON public.gtp_log_ehcache USING btree (region_name);
Date: 2026-03-04 08:02:04 Duration: 5m20s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
5 1 4m50s 4m50s 4m50s 4m50s create index i_log_ehcache_date on public.gtp_log_ehcache using btree (log_date);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Mar 04 09 1 4m50s 4m50s [ User: a3dsupervisor - Total duration: 4m50s - Times executed: 1 ]
[ Application: pg_restore - Total duration: 4m50s - Times executed: 1 ]
-
CREATE INDEX i_log_ehcache_date ON public.gtp_log_ehcache USING btree (log_date);
Date: 2026-03-04 08:01:14 Duration: 4m50s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
6 1 3m27s 3m27s 3m27s 3m27s create index i_log_ehcache_server_id on public.gtp_log_ehcache using btree (server_id);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Mar 04 09 1 3m27s 3m27s [ User: a3dsupervisor - Total duration: 3m27s - Times executed: 1 ]
[ Application: pg_restore - Total duration: 3m27s - Times executed: 1 ]
-
CREATE INDEX i_log_ehcache_server_id ON public.gtp_log_ehcache USING btree (server_id);
Date: 2026-03-04 08:04:42 Duration: 3m27s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
7 1 2m31s 2m31s 2m31s 2m31s alter table only public.gtp_log_ehcache add constraint pk_log_ehcache primary key (log_ehcache_num_id);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Mar 04 09 1 2m31s 2m31s [ User: a3dsupervisor - Total duration: 2m31s - Times executed: 1 ]
[ Application: pg_restore - Total duration: 2m31s - Times executed: 1 ]
-
ALTER TABLE ONLY public.gtp_log_ehcache ADD CONSTRAINT pk_log_ehcache PRIMARY KEY (log_ehcache_num_id);
Date: 2026-03-04 08:07:14 Duration: 2m31s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
8 1 1m58s 1m58s 1m58s 1m58s copy public.gtp_log_ehcache (log_ehcache_num_id, server_id, log_date, region_name, max_memory, used_memory_min, used_memory_average, used_memory_max, element_count_min, element_count_average, element_count_max, hit_count, miss_count) from stdin;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Mar 04 08 1 1m58s 1m58s [ User: a3dsupervisor - Total duration: 1m58s - Times executed: 1 ]
[ Application: pg_restore - Total duration: 1m58s - Times executed: 1 ]
-
COPY public.gtp_log_ehcache (log_ehcache_num_id, server_id, log_date, region_name, max_memory, used_memory_min, used_memory_average, used_memory_max, element_count_min, element_count_average, element_count_max, hit_count, miss_count) FROM stdin;
Date: 2026-03-04 07:56:23 Duration: 1m58s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
9 1 1m30s 1m30s 1m30s 1m30s create index i_fk_month_histo_att on public.gtp_monthly_history using btree (att_template_num_id);Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Mar 04 09 1 1m30s 1m30s [ User: a3dsupervisor - Total duration: 1m30s - Times executed: 1 ]
[ Application: pg_restore - Total duration: 1m30s - Times executed: 1 ]
-
CREATE INDEX i_fk_month_histo_att ON public.gtp_monthly_history USING btree (att_template_num_id);
Date: 2026-03-04 08:06:34 Duration: 1m30s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
10 1 1m6s 1m6s 1m6s 1m6s create index i_gtp_obj_compo_value_compo_id on public.gtp_obj_composition using btree (obj_compo_value, att_template_num_id, att_template_category_num_id, obj_num_id);Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Mar 04 09 1 1m6s 1m6s [ User: a3dsupervisor - Total duration: 1m6s - Times executed: 1 ]
[ Application: pg_restore - Total duration: 1m6s - Times executed: 1 ]
-
CREATE INDEX i_gtp_obj_compo_value_compo_id ON public.gtp_obj_composition USING btree (obj_compo_value, att_template_num_id, att_template_category_num_id, obj_num_id);
Date: 2026-03-04 08:08:32 Duration: 1m6s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
11 1 38s94ms 38s94ms 38s94ms 38s94ms copy public.gtp_history_obj_compo (history_compo_id, action_num_id, obj_num_id, att_template_num_id, att_template_category_num_id, cell_column, cell_line, att_new_value, displayable_value, action_type, obj_compo_new_unit_num_id) from stdin;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Mar 04 08 1 38s94ms 38s94ms [ User: a3dsupervisor - Total duration: 38s94ms - Times executed: 1 ]
[ Application: pg_restore - Total duration: 38s94ms - Times executed: 1 ]
-
COPY public.gtp_history_obj_compo (history_compo_id, action_num_id, obj_num_id, att_template_num_id, att_template_category_num_id, cell_column, cell_line, att_new_value, displayable_value, action_type, obj_compo_new_unit_num_id) FROM stdin;
Date: 2026-03-04 07:55:28 Duration: 38s94ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
12 1 38s66ms 38s66ms 38s66ms 38s66ms copy public.gtp_obj_composition (obj_compo_num_id, obj_num_id, att_template_category_num_id, att_template_num_id, obj_compo_num_id_tab, obj_compo_ligne_tab_num_id, obj_compo_value, obj_compo_dcre, obj_compo_creator, obj_compo_dmaj, obj_compo_modifier, obj_compo_unit_num_id) from stdin;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Mar 04 09 1 38s66ms 38s66ms [ User: a3dsupervisor - Total duration: 38s66ms - Times executed: 1 ]
[ Application: pg_restore - Total duration: 38s66ms - Times executed: 1 ]
-
COPY public.gtp_obj_composition (obj_compo_num_id, obj_num_id, att_template_category_num_id, att_template_num_id, obj_compo_num_id_tab, obj_compo_ligne_tab_num_id, obj_compo_value, obj_compo_dcre, obj_compo_creator, obj_compo_dmaj, obj_compo_modifier, obj_compo_unit_num_id) FROM stdin;
Date: 2026-03-04 08:04:41 Duration: 38s66ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
13 1 26s977ms 26s977ms 26s977ms 26s977ms copy public.gtp_monthly_history (histo_num_id, obj_num_id, att_template_category_num_id, att_template_num_id, year, month, value, histo_dcre, histo_creator, histo_dmaj, histo_modifier, histo_num_id_tab, tab_line, att_unit_num_id, type) from stdin;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Mar 04 08 1 26s977ms 26s977ms [ User: a3dsupervisor - Total duration: 26s977ms - Times executed: 1 ]
[ Application: pg_restore - Total duration: 26s977ms - Times executed: 1 ]
-
COPY public.gtp_monthly_history (histo_num_id, obj_num_id, att_template_category_num_id, att_template_num_id, year, month, value, histo_dcre, histo_creator, histo_dmaj, histo_modifier, histo_num_id_tab, tab_line, att_unit_num_id, type) FROM stdin;
Date: 2026-03-04 07:56:44 Duration: 26s977ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
14 1 26s704ms 26s704ms 26s704ms 26s704ms create index i_fk_gtp_obj_compo_ligne_tab on public.gtp_obj_composition using btree (obj_compo_num_id_tab, obj_compo_ligne_tab_num_id);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Mar 04 09 1 26s704ms 26s704ms [ User: a3dsupervisor - Total duration: 26s704ms - Times executed: 1 ]
[ Application: pg_restore - Total duration: 26s704ms - Times executed: 1 ]
-
CREATE INDEX i_fk_gtp_obj_compo_ligne_tab ON public.gtp_obj_composition USING btree (obj_compo_num_id_tab, obj_compo_ligne_tab_num_id);
Date: 2026-03-04 08:08:07 Duration: 26s704ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
15 1 24s58ms 24s58ms 24s58ms 24s58ms copy public.gtp_background_task (task_num_id, user_num_id, task_service_name, task_start_date, task_end_date, task_current_step, task_max_step, task_current_progress, task_max_progress, task_log, task_status, task_error_message, task_active_status, task_last_update, task_parameters, task_create_date, canceling_user_num_id, task_report, export_file, export_file_name, source_file, source_file_name, source_obj_num_id, server_id, task_state, task_origin, task_sub_type, batch_process_num_id) from stdin;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Mar 04 08 1 24s58ms 24s58ms [ User: a3dsupervisor - Total duration: 24s58ms - Times executed: 1 ]
[ Application: pg_restore - Total duration: 24s58ms - Times executed: 1 ]
-
COPY public.gtp_background_task (task_num_id, user_num_id, task_service_name, task_start_date, task_end_date, task_current_step, task_max_step, task_current_progress, task_max_progress, task_log, task_status, task_error_message, task_active_status, task_last_update, task_parameters, task_create_date, canceling_user_num_id, task_report, export_file, export_file_name, source_file, source_file_name, source_obj_num_id, server_id, task_state, task_origin, task_sub_type, batch_process_num_id) FROM stdin;
Date: 2026-03-04 07:54:48 Duration: 24s58ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
16 1 21s488ms 21s488ms 21s488ms 21s488ms create index i_fk_pe_consumption_10min_cp on public.pe_consumption_10min using btree (counting_point_num_id);Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Mar 04 09 1 21s488ms 21s488ms [ User: a3dsupervisor - Total duration: 21s488ms - Times executed: 1 ]
[ Application: pg_restore - Total duration: 21s488ms - Times executed: 1 ]
-
CREATE INDEX i_fk_pe_consumption_10min_cp ON public.pe_consumption_10min USING btree (counting_point_num_id);
Date: 2026-03-04 08:09:40 Duration: 21s488ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
17 1 21s298ms 21s298ms 21s298ms 21s298ms create index i_fk_pe_consumption_10min_tp on public.pe_consumption_10min using btree (time_period);Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Mar 04 09 1 21s298ms 21s298ms [ User: a3dsupervisor - Total duration: 21s298ms - Times executed: 1 ]
[ Application: pg_restore - Total duration: 21s298ms - Times executed: 1 ]
-
CREATE INDEX i_fk_pe_consumption_10min_tp ON public.pe_consumption_10min USING btree (time_period);
Date: 2026-03-04 08:09:40 Duration: 21s298ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
18 1 19s439ms 19s439ms 19s439ms 19s439ms alter table only public.gtp_monthly_history add constraint u_hist_obj_cat_att_year_month_line_type unique (obj_num_id, att_template_category_num_id, att_template_num_id, year, month, histo_num_id_tab, tab_line, type);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Mar 04 09 1 19s439ms 19s439ms [ User: a3dsupervisor - Total duration: 19s439ms - Times executed: 1 ]
[ Application: pg_restore - Total duration: 19s439ms - Times executed: 1 ]
-
ALTER TABLE ONLY public.gtp_monthly_history ADD CONSTRAINT u_hist_obj_cat_att_year_month_line_type UNIQUE (obj_num_id, att_template_category_num_id, att_template_num_id, year, month, histo_num_id_tab, tab_line, type);
Date: 2026-03-04 08:07:30 Duration: 19s439ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
19 1 19s404ms 19s404ms 19s404ms 19s404ms copy public.pe_consumption_10min (consumption_num_id, counting_point_num_id, type, origin, date_storage, date_stamped, time_period, value, value_kwh, value_co2, user_comment, consumption_dcre, consumption_creator, consumption_dmaj, consumption_modifier) from stdin;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Mar 04 09 1 19s404ms 19s404ms [ User: a3dsupervisor - Total duration: 19s404ms - Times executed: 1 ]
[ Application: pg_restore - Total duration: 19s404ms - Times executed: 1 ]
-
COPY public.pe_consumption_10min (consumption_num_id, counting_point_num_id, type, origin, date_storage, date_stamped, time_period, value, value_kwh, value_co2, user_comment, consumption_dcre, consumption_creator, consumption_dmaj, consumption_modifier) FROM stdin;
Date: 2026-03-04 08:05:01 Duration: 19s404ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
20 1 18s603ms 18s603ms 18s603ms 18s603ms alter table only public.gtp_history_obj_compo add constraint pk_history_obj_compo primary key (history_compo_id);Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Mar 04 08 1 18s603ms 18s603ms [ User: a3dsupervisor - Total duration: 18s603ms - Times executed: 1 ]
[ Application: pg_restore - Total duration: 18s603ms - Times executed: 1 ]
-
ALTER TABLE ONLY public.gtp_history_obj_compo ADD CONSTRAINT pk_history_obj_compo PRIMARY KEY (history_compo_id);
Date: 2026-03-04 07:56:17 Duration: 18s603ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 38m24s 38m24s 38m24s 1 38m24s do $$ declare v_start time; v_stop time; l_anonymize_flags integer := current_setting(?); l_reduce_history integer := current_setting(?); l_truncate integer := current_setting(?); l_anonymize_list text[] := array[?, ?, ?, ?, ?, ?, ?, ?]; i int; begin raise notice ?; raise notice ?, l_anonymize_flags; raise notice ?, l_reduce_history; call pack_gtp_utils.p_trace_log (?, ?); v_start := clock_timestamp()::time; if (l_truncate > ?) then raise notice ?; truncate table public.gtp_log_connection cascade; truncate table public.gtp_log_ehcache cascade; truncate table public.gtp_log_jvm cascade; truncate table public.gtp_log_session cascade; truncate table public.gtp_log_thread cascade; truncate table public.gtp_mail_adress cascade; truncate table public.gtp_mail cascade; truncate table public.log_session cascade; truncate table public.gtp_error cascade; truncate table public.batch_step_execution_context cascade; truncate table public.batch_step_execution cascade; truncate table public.batch_job_execution_context cascade; truncate table public.batch_job_execution cascade; truncate table public.batch_job_execution_params cascade; truncate table public.batch_job_instance cascade; raise notice ?; end if; for i in ?..array_length(l_anonymize_list, ?) loop if (l_anonymize_flags & (? << (i - ?))) = (? << (i - ?)) then raise notice ?, l_anonymize_list[i]; execute ? || l_anonymize_list[i] || ?; raise notice ?, l_anonymize_list[i]; end if; end loop; if (l_reduce_history > ?) then raise notice ?; delete from gtp_history_obj_action where action_date < current_date - ?; delete from gtp_monthly_history where histo_dcre < current_date - ?; raise notice ?; end if; v_stop := clock_timestamp()::time; raise notice ?, extract(millisecond from (v_stop - v_start)); raise notice ?; call pack_gtp_utils.p_trace_log (?, ?); exception when others then raise notice ?, sqlstate, sqlerrm; call pack_gtp_utils.p_trace_error (?, sqlerrm); end $$;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Mar 04 10 1 38m24s 38m24s [ User: a3dsupervisor - Total duration: 38m24s - Times executed: 1 ]
[ Application: psql - Total duration: 38m24s - Times executed: 1 ]
-
DO $$ DECLARE v_start time; v_stop time; -- l_anonymize_flags : La valeur correspond à la somme des puissances de 2 détails : -- - 0000000001 (2^0 = 1) : Anonymize DCS -- - 0000000010 (2^1 = 2) : Anonymize GED -- - 0000000100 (2^2 = 4) : Anonymize Notification -- - 0000001000 (2^3 = 8) : Anonymize Background task -- - 0000010000 (2^4 = 16) : Anonymize Bim -- - 0000100000 (2^5 = 32) : Anonymize Comment -- - 0001000000 (2^6 = 64) : Anonymize DCP -- - 0010000000 (2^7 = 128) : Anonymize coordonnées -- - 0100000000 (2^8 = 256) : Free -- - 1000000000 (2^9 = 512) : Free l_anonymize_flags integer := current_setting('args.anonymizeflags'); l_reduce_history integer := current_setting('args.reducehistory'); l_truncate integer := current_setting('args.truncate'); l_anonymize_list text[] := ARRAY['pack_gtp_dba.p_anonymization_dcs', -- (2^0 = 1) 'pack_gtp_dba.p_anonymization_ged', -- (2^1 = 2) 'pack_gtp_dba.p_anonymization_notif', -- (2^2 = 4) 'pack_gtp_dba.p_anonymization_backgroundtask', -- (2^3 = 8) 'pack_gtp_dba.p_anonymization_bim', -- (2^4 = 16) 'pack_gtp_dba.p_anonymization_comment', -- (2^5 = 32) 'pack_gtp_dba.p_anonymization_dcp', -- (2^6 = 64) 'pack_gtp_dba.p_anonymization_coordinates' -- (2^7 = 128) ]; i int; BEGIN raise notice '[START] reduceAndAnonymizeDatabase.sql'; raise notice '[args.anonymizeflags] : %', l_anonymize_flags; raise notice '[args.reducehistory] : %', l_reduce_history; CALL PACK_GTP_UTILS.P_TRACE_LOG ('A3D_REDUCE_DB', '[START] reduceAndAnonymizeDatabase.sql'); v_start := clock_timestamp()::time; IF (l_truncate > 0) THEN raise notice '[START] Truncate tables'; truncate table public.gtp_log_connection cascade; truncate table public.gtp_log_ehcache cascade; truncate table public.gtp_log_jvm cascade; truncate table public.gtp_log_session cascade; truncate table public.gtp_log_thread cascade; truncate table public.gtp_mail_adress cascade; truncate table public.gtp_mail cascade; truncate table public.log_session cascade; truncate table public.gtp_error cascade; truncate table public.batch_step_execution_context cascade; truncate table public.batch_step_execution cascade; truncate table public.batch_job_execution_context cascade; truncate table public.batch_job_execution cascade; truncate table public.batch_job_execution_params cascade; truncate table public.batch_job_instance cascade; raise notice '[END] Truncate tables'; END IF; FOR i IN 1..array_length(l_anonymize_list, 1) LOOP IF (l_anonymize_flags & (1 << (i - 1))) = (1 << (i - 1)) THEN RAISE NOTICE '[START] %()', l_anonymize_list[i]; EXECUTE 'CALL ' || l_anonymize_list[i] || '()'; RAISE NOTICE '[END] %()', l_anonymize_list[i]; END IF; END LOOP; IF (l_reduce_history > 0) THEN raise notice '[START] Delete gtp_history_obj_action et gtp_monthly_history'; delete from gtp_history_obj_action where action_date < current_date -180; delete from gtp_monthly_history where histo_dcre < current_date -90; raise notice '[END] Delete gtp_history_obj_action et gtp_monthly_history'; END IF; v_stop := clock_timestamp()::time; RAISE NOTICE '% ms', EXTRACT(MILLISECOND FROM (v_stop - v_start)); RAISE NOTICE '[END] reduceAndAnonymizeDatabase.sql'; CALL PACK_GTP_UTILS.P_TRACE_LOG ('A3D_CLEAN_PDB', '[END] reduceAndAnonymizeDatabase.sql'); EXCEPTION WHEN OTHERS THEN RAISE NOTICE '[ERROR] reduceAndAnonymizeDatabase.sql: SQLSTATE=% SQLERRM=%', SQLSTATE, SQLERRM; CALL PACK_GTP_UTILS.P_TRACE_ERROR ('[ERROR] reduceAndAnonymizeDatabase.sql', SQLERRM); END $$;
Date: 2026-03-04 09:09:56 Duration: 38m24s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: psql
2 26m50s 26m50s 26m50s 1 26m50s vacuum full;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Mar 04 10 1 26m50s 26m50s [ User: a3dsupervisor - Total duration: 26m50s - Times executed: 1 ]
[ Application: psql - Total duration: 26m50s - Times executed: 1 ]
-
VACUUM FULL;
Date: 2026-03-04 09:36:47 Duration: 26m50s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: psql
3 5m20s 5m20s 5m20s 1 5m20s create index i_log_ehcache_region_name on public.gtp_log_ehcache using btree (region_name);Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Mar 04 09 1 5m20s 5m20s [ User: a3dsupervisor - Total duration: 5m20s - Times executed: 1 ]
[ Application: pg_restore - Total duration: 5m20s - Times executed: 1 ]
-
CREATE INDEX i_log_ehcache_region_name ON public.gtp_log_ehcache USING btree (region_name);
Date: 2026-03-04 08:02:04 Duration: 5m20s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
4 4m50s 4m50s 4m50s 1 4m50s create index i_log_ehcache_date on public.gtp_log_ehcache using btree (log_date);Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Mar 04 09 1 4m50s 4m50s [ User: a3dsupervisor - Total duration: 4m50s - Times executed: 1 ]
[ Application: pg_restore - Total duration: 4m50s - Times executed: 1 ]
-
CREATE INDEX i_log_ehcache_date ON public.gtp_log_ehcache USING btree (log_date);
Date: 2026-03-04 08:01:14 Duration: 4m50s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
5 3m27s 3m27s 3m27s 1 3m27s create index i_log_ehcache_server_id on public.gtp_log_ehcache using btree (server_id);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Mar 04 09 1 3m27s 3m27s [ User: a3dsupervisor - Total duration: 3m27s - Times executed: 1 ]
[ Application: pg_restore - Total duration: 3m27s - Times executed: 1 ]
-
CREATE INDEX i_log_ehcache_server_id ON public.gtp_log_ehcache USING btree (server_id);
Date: 2026-03-04 08:04:42 Duration: 3m27s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
6 2m31s 2m31s 2m31s 1 2m31s alter table only public.gtp_log_ehcache add constraint pk_log_ehcache primary key (log_ehcache_num_id);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Mar 04 09 1 2m31s 2m31s [ User: a3dsupervisor - Total duration: 2m31s - Times executed: 1 ]
[ Application: pg_restore - Total duration: 2m31s - Times executed: 1 ]
-
ALTER TABLE ONLY public.gtp_log_ehcache ADD CONSTRAINT pk_log_ehcache PRIMARY KEY (log_ehcache_num_id);
Date: 2026-03-04 08:07:14 Duration: 2m31s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
7 1m58s 1m58s 1m58s 1 1m58s copy public.gtp_log_ehcache (log_ehcache_num_id, server_id, log_date, region_name, max_memory, used_memory_min, used_memory_average, used_memory_max, element_count_min, element_count_average, element_count_max, hit_count, miss_count) from stdin;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Mar 04 08 1 1m58s 1m58s [ User: a3dsupervisor - Total duration: 1m58s - Times executed: 1 ]
[ Application: pg_restore - Total duration: 1m58s - Times executed: 1 ]
-
COPY public.gtp_log_ehcache (log_ehcache_num_id, server_id, log_date, region_name, max_memory, used_memory_min, used_memory_average, used_memory_max, element_count_min, element_count_average, element_count_max, hit_count, miss_count) FROM stdin;
Date: 2026-03-04 07:56:23 Duration: 1m58s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
8 1m30s 1m30s 1m30s 1 1m30s create index i_fk_month_histo_att on public.gtp_monthly_history using btree (att_template_num_id);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Mar 04 09 1 1m30s 1m30s [ User: a3dsupervisor - Total duration: 1m30s - Times executed: 1 ]
[ Application: pg_restore - Total duration: 1m30s - Times executed: 1 ]
-
CREATE INDEX i_fk_month_histo_att ON public.gtp_monthly_history USING btree (att_template_num_id);
Date: 2026-03-04 08:06:34 Duration: 1m30s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
9 1m6s 1m6s 1m6s 1 1m6s create index i_gtp_obj_compo_value_compo_id on public.gtp_obj_composition using btree (obj_compo_value, att_template_num_id, att_template_category_num_id, obj_num_id);Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Mar 04 09 1 1m6s 1m6s [ User: a3dsupervisor - Total duration: 1m6s - Times executed: 1 ]
[ Application: pg_restore - Total duration: 1m6s - Times executed: 1 ]
-
CREATE INDEX i_gtp_obj_compo_value_compo_id ON public.gtp_obj_composition USING btree (obj_compo_value, att_template_num_id, att_template_category_num_id, obj_num_id);
Date: 2026-03-04 08:08:32 Duration: 1m6s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
10 38s94ms 38s94ms 38s94ms 1 38s94ms copy public.gtp_history_obj_compo (history_compo_id, action_num_id, obj_num_id, att_template_num_id, att_template_category_num_id, cell_column, cell_line, att_new_value, displayable_value, action_type, obj_compo_new_unit_num_id) from stdin;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Mar 04 08 1 38s94ms 38s94ms [ User: a3dsupervisor - Total duration: 38s94ms - Times executed: 1 ]
[ Application: pg_restore - Total duration: 38s94ms - Times executed: 1 ]
-
COPY public.gtp_history_obj_compo (history_compo_id, action_num_id, obj_num_id, att_template_num_id, att_template_category_num_id, cell_column, cell_line, att_new_value, displayable_value, action_type, obj_compo_new_unit_num_id) FROM stdin;
Date: 2026-03-04 07:55:28 Duration: 38s94ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
11 38s66ms 38s66ms 38s66ms 1 38s66ms copy public.gtp_obj_composition (obj_compo_num_id, obj_num_id, att_template_category_num_id, att_template_num_id, obj_compo_num_id_tab, obj_compo_ligne_tab_num_id, obj_compo_value, obj_compo_dcre, obj_compo_creator, obj_compo_dmaj, obj_compo_modifier, obj_compo_unit_num_id) from stdin;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Mar 04 09 1 38s66ms 38s66ms [ User: a3dsupervisor - Total duration: 38s66ms - Times executed: 1 ]
[ Application: pg_restore - Total duration: 38s66ms - Times executed: 1 ]
-
COPY public.gtp_obj_composition (obj_compo_num_id, obj_num_id, att_template_category_num_id, att_template_num_id, obj_compo_num_id_tab, obj_compo_ligne_tab_num_id, obj_compo_value, obj_compo_dcre, obj_compo_creator, obj_compo_dmaj, obj_compo_modifier, obj_compo_unit_num_id) FROM stdin;
Date: 2026-03-04 08:04:41 Duration: 38s66ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
12 26s977ms 26s977ms 26s977ms 1 26s977ms copy public.gtp_monthly_history (histo_num_id, obj_num_id, att_template_category_num_id, att_template_num_id, year, month, value, histo_dcre, histo_creator, histo_dmaj, histo_modifier, histo_num_id_tab, tab_line, att_unit_num_id, type) from stdin;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Mar 04 08 1 26s977ms 26s977ms [ User: a3dsupervisor - Total duration: 26s977ms - Times executed: 1 ]
[ Application: pg_restore - Total duration: 26s977ms - Times executed: 1 ]
-
COPY public.gtp_monthly_history (histo_num_id, obj_num_id, att_template_category_num_id, att_template_num_id, year, month, value, histo_dcre, histo_creator, histo_dmaj, histo_modifier, histo_num_id_tab, tab_line, att_unit_num_id, type) FROM stdin;
Date: 2026-03-04 07:56:44 Duration: 26s977ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
13 26s704ms 26s704ms 26s704ms 1 26s704ms create index i_fk_gtp_obj_compo_ligne_tab on public.gtp_obj_composition using btree (obj_compo_num_id_tab, obj_compo_ligne_tab_num_id);Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Mar 04 09 1 26s704ms 26s704ms [ User: a3dsupervisor - Total duration: 26s704ms - Times executed: 1 ]
[ Application: pg_restore - Total duration: 26s704ms - Times executed: 1 ]
-
CREATE INDEX i_fk_gtp_obj_compo_ligne_tab ON public.gtp_obj_composition USING btree (obj_compo_num_id_tab, obj_compo_ligne_tab_num_id);
Date: 2026-03-04 08:08:07 Duration: 26s704ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
14 24s58ms 24s58ms 24s58ms 1 24s58ms copy public.gtp_background_task (task_num_id, user_num_id, task_service_name, task_start_date, task_end_date, task_current_step, task_max_step, task_current_progress, task_max_progress, task_log, task_status, task_error_message, task_active_status, task_last_update, task_parameters, task_create_date, canceling_user_num_id, task_report, export_file, export_file_name, source_file, source_file_name, source_obj_num_id, server_id, task_state, task_origin, task_sub_type, batch_process_num_id) from stdin;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Mar 04 08 1 24s58ms 24s58ms [ User: a3dsupervisor - Total duration: 24s58ms - Times executed: 1 ]
[ Application: pg_restore - Total duration: 24s58ms - Times executed: 1 ]
-
COPY public.gtp_background_task (task_num_id, user_num_id, task_service_name, task_start_date, task_end_date, task_current_step, task_max_step, task_current_progress, task_max_progress, task_log, task_status, task_error_message, task_active_status, task_last_update, task_parameters, task_create_date, canceling_user_num_id, task_report, export_file, export_file_name, source_file, source_file_name, source_obj_num_id, server_id, task_state, task_origin, task_sub_type, batch_process_num_id) FROM stdin;
Date: 2026-03-04 07:54:48 Duration: 24s58ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
15 21s488ms 21s488ms 21s488ms 1 21s488ms create index i_fk_pe_consumption_10min_cp on public.pe_consumption_10min using btree (counting_point_num_id);Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Mar 04 09 1 21s488ms 21s488ms [ User: a3dsupervisor - Total duration: 21s488ms - Times executed: 1 ]
[ Application: pg_restore - Total duration: 21s488ms - Times executed: 1 ]
-
CREATE INDEX i_fk_pe_consumption_10min_cp ON public.pe_consumption_10min USING btree (counting_point_num_id);
Date: 2026-03-04 08:09:40 Duration: 21s488ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
16 21s298ms 21s298ms 21s298ms 1 21s298ms create index i_fk_pe_consumption_10min_tp on public.pe_consumption_10min using btree (time_period);Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Mar 04 09 1 21s298ms 21s298ms [ User: a3dsupervisor - Total duration: 21s298ms - Times executed: 1 ]
[ Application: pg_restore - Total duration: 21s298ms - Times executed: 1 ]
-
CREATE INDEX i_fk_pe_consumption_10min_tp ON public.pe_consumption_10min USING btree (time_period);
Date: 2026-03-04 08:09:40 Duration: 21s298ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
17 19s439ms 19s439ms 19s439ms 1 19s439ms alter table only public.gtp_monthly_history add constraint u_hist_obj_cat_att_year_month_line_type unique (obj_num_id, att_template_category_num_id, att_template_num_id, year, month, histo_num_id_tab, tab_line, type);Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Mar 04 09 1 19s439ms 19s439ms [ User: a3dsupervisor - Total duration: 19s439ms - Times executed: 1 ]
[ Application: pg_restore - Total duration: 19s439ms - Times executed: 1 ]
-
ALTER TABLE ONLY public.gtp_monthly_history ADD CONSTRAINT u_hist_obj_cat_att_year_month_line_type UNIQUE (obj_num_id, att_template_category_num_id, att_template_num_id, year, month, histo_num_id_tab, tab_line, type);
Date: 2026-03-04 08:07:30 Duration: 19s439ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
18 19s404ms 19s404ms 19s404ms 1 19s404ms copy public.pe_consumption_10min (consumption_num_id, counting_point_num_id, type, origin, date_storage, date_stamped, time_period, value, value_kwh, value_co2, user_comment, consumption_dcre, consumption_creator, consumption_dmaj, consumption_modifier) from stdin;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Mar 04 09 1 19s404ms 19s404ms [ User: a3dsupervisor - Total duration: 19s404ms - Times executed: 1 ]
[ Application: pg_restore - Total duration: 19s404ms - Times executed: 1 ]
-
COPY public.pe_consumption_10min (consumption_num_id, counting_point_num_id, type, origin, date_storage, date_stamped, time_period, value, value_kwh, value_co2, user_comment, consumption_dcre, consumption_creator, consumption_dmaj, consumption_modifier) FROM stdin;
Date: 2026-03-04 08:05:01 Duration: 19s404ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
19 18s603ms 18s603ms 18s603ms 1 18s603ms alter table only public.gtp_history_obj_compo add constraint pk_history_obj_compo primary key (history_compo_id);Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Mar 04 08 1 18s603ms 18s603ms [ User: a3dsupervisor - Total duration: 18s603ms - Times executed: 1 ]
[ Application: pg_restore - Total duration: 18s603ms - Times executed: 1 ]
-
ALTER TABLE ONLY public.gtp_history_obj_compo ADD CONSTRAINT pk_history_obj_compo PRIMARY KEY (history_compo_id);
Date: 2026-03-04 07:56:17 Duration: 18s603ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
20 3s7ms 4s591ms 3s610ms 5 18s51ms select pg_catalog.lo_create(?);Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Mar 04 09 5 18s51ms 3s610ms [ User: a3dsupervisor - Total duration: 18s51ms - Times executed: 5 ]
[ Application: pg_restore - Total duration: 18s51ms - Times executed: 5 ]
-
SELECT pg_catalog.lo_create('2191352');
Date: 2026-03-04 08:25:48 Duration: 4s591ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
-
SELECT pg_catalog.lo_create('2191181');
Date: 2026-03-04 08:25:26 Duration: 3s993ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
-
SELECT pg_catalog.lo_create('2184347');
Date: 2026-03-04 08:17:43 Duration: 3s313ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query NO DATASET
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query NO DATASET
-
Events
Events distribution
Key values
- 0 PANIC entries
- 0 FATAL entries
- 4 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 1 Max number of times the same event was reported
- 4 Total events found
Rank Times reported Error 1 1 LOG: process ... still waiting for ShareRowExclusiveLock on relation ... of database ... after ... msCREATE TRIGGER t_bef_upd_er_gtp_obj_compo BEFORE UPDATE ON public.gtp_obj_composition FOR EACH ROW EXECUTE FUNCTION public.trigger_fct_t_bef_upd_er_gtp_obj_compo()
Times Reported Most Frequent Error / Event #1
Day Hour Count Mar 04 09 1 2 1 LOG: process ... still waiting for ShareLock on relation ... of database ... after ... msCREATE INDEX i_gtp_cw_eng_obj_id ON public.gtp_cw_eng_history USING btree (...)
Times Reported Most Frequent Error / Event #2
Day Hour Count Mar 04 09 1 3 1 LOG: process ... still waiting for ShareLock on relation ... of database ... after ... msCREATE INDEX i_fk_month_histo_att ON public.gtp_monthly_history USING btree (...)
Times Reported Most Frequent Error / Event #3
Day Hour Count Mar 04 09 1 4 1 LOG: process ... still waiting for ExclusiveLock on extension of relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #4
Day Hour Count Mar 04 09 1