-
Global information
- Generated on Wed Mar 4 09:01:17 2026
- Log file: ././A3D-RND-PIC/y=2026/m=03/d=03/h=00/m=00/PT1H.log, ..., ././A3D-RND-PIC/y=2026/m=03/d=03/h=23/m=00/PT1H.log
- Parsed 596 log entries in 55s
- Log start from 2026-03-03 08:21:51 to 2026-03-03 10:01:43
-
Overview
Global Stats
- 99 Number of unique normalized queries
- 87 Number of queries
- 1h40m53s Total query duration
- 2026-03-03 08:14:10 First query
- 2026-03-03 10:02:35 Last query
- 2 queries/s at 2026-03-03 08:58:10 Query peak
- 1h40m53s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 1h40m53s Execute total duration
- 1 Number of events
- 1 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
- 211 Number temporary file
- 1002.02 MiB Max size of temporary file
- 19.43 MiB Average size of temporary file
- 63 Total number of sessions
- 49 sessions at 2026-03-03 08:58:47 Session peak
- 3h5m3s Total duration of sessions
- 2m56s Average duration of sessions
- 1 Average queries per session
- 1m36s Average queries duration per session
- 1m20s Average idle time per session
- 63 Total number of connections
- 2 connections/s at 2026-03-03 09:58:13 Connection peak
- 1 Total number of databases
SQL Traffic
Key values
- 2 queries/s Query Peak
- 2026-03-03 08:58:10 Date
SELECT Traffic
Key values
- 2 queries/s Query Peak
- 2026-03-03 08:58:10 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 2 queries/s Query Peak
- 2026-03-03 08:28:25 Date
Queries duration
Key values
- 1h40m53s 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 03 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 0 0ms 0ms 0ms 0ms 0ms 0ms 08 83 0ms 3m54s 32s796ms 3m22s 5m38s 7m21s 09 1 0ms 28m58s 28m58s 28m58s 28m58s 28m58s 10 3 0ms 26m25s 8m51s 26m25s 26m25s 26m25s 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 03 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 9 0 3s994ms 0ms 3s290ms 16s879ms 09 0 0 0ms 0ms 0ms 0ms 10 0 2 3s684ms 0ms 7s369ms 7s369ms 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 03 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 10 40s116ms 0ms 26s257ms 1m13s 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 03 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 03 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 5 0.00/s 08 7 0.00/s 09 8 0.00/s 10 3 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 03 00 2 52ms 52ms 01 2 57ms 57ms 02 2 56ms 56ms 03 2 60ms 60ms 04 2 60ms 60ms 05 2 55ms 55ms 06 2 157ms 157ms 07 5 980ms 980ms 08 5 13s707ms 0ms 09 9 14m53s 11m40s 10 4 12m26s 5m47s 11 2 59ms 59ms 12 2 57ms 57ms 13 2 67ms 67ms 14 2 54ms 54ms 15 2 66ms 66ms 16 2 105ms 105ms 17 2 58ms 58ms 18 2 56ms 56ms 19 2 52ms 52ms 20 2 57ms 57ms 21 2 53ms 53ms 22 2 54ms 54ms 23 2 52ms 52ms -
Connections
Established Connections
Key values
- 2 connections Connection Peak
- 2026-03-03 09:58:13 Date
Connections per database
Key values
- reftkbim Main Database
- 63 connections Total
Connections per user
Key values
- azuresu Main User
- 63 connections Total
-
Sessions
Simultaneous sessions
Key values
- 49 sessions Session Peak
- 2026-03-03 08:58:47 Date
Histogram of session times
Key values
- 47 0-500ms duration
Sessions per database
Key values
- reftkbim Main Database
- 63 sessions Total
Sessions per user
Key values
- azuresu Main User
- 63 sessions Total
Sessions per host
Key values
- 169.254.128.1 Main Host
- 63 sessions Total
-
Temporary Files
Size of temporary files
Key values
- 292.44 MiB Temp Files size Peak
- 2026-03-03 08:20:50 Date
Number of temporary files
Key values
- 5 per second Temp Files Peak
- 2026-03-03 09:57:48 Date
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Mar 03 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 115 2.68 GiB 23.88 MiB 09 78 1002.02 MiB 12.85 MiB 10 18 351.69 MiB 19.54 MiB 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 103.48 MiB 47.10 MiB 56.38 MiB 51.74 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-03 08:25:11 Duration: 0ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
2 2 40.66 MiB 10.03 MiB 30.63 MiB 20.33 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-03 08:22:26 Duration: 0ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
3 2 306.44 MiB 41.73 MiB 264.71 MiB 153.22 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-03 08:28:16 Duration: 0ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
4 2 111.85 MiB 45.22 MiB 66.63 MiB 55.93 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-03 08:32:22 Duration: 0ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
5 2 25.10 MiB 7.89 MiB 17.21 MiB 12.55 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-03 08:24:45 Duration: 0ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
6 2 52.04 MiB 3.84 MiB 48.20 MiB 26.02 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-03 08:22:00 Duration: 0ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
7 2 73.66 MiB 12.06 MiB 61.59 MiB 36.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-03 08:21:51 Duration: 0ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
8 2 78.81 MiB 39.33 MiB 39.48 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-03 08:36:18 Duration: 0ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
9 2 590.03 MiB 87.83 MiB 502.20 MiB 295.02 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-03 08:20:19 Duration: 0ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
10 2 199.17 MiB 99.52 MiB 99.66 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-03 08:29:13 Duration: 0ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
11 2 352.69 MiB 38.54 MiB 314.15 MiB 176.34 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-03 08:31:25 Duration: 0ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
12 2 25.98 MiB 7.80 MiB 18.18 MiB 12.99 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-03 08:21:42 Duration: 0ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
13 2 93.14 MiB 9.77 MiB 83.38 MiB 46.57 MiB add constraint pk_history_obj_link_unlink primary key (history_link_unlink_id);-
ADD CONSTRAINT pk_history_obj_link_unlink PRIMARY KEY (history_link_unlink_id);
Date: 2026-03-03 08:35:59 Duration: 0ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
14 2 64.55 MiB 2.80 MiB 61.76 MiB 32.28 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-03 08:40:09 Duration: 0ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
15 1 2.54 MiB 2.54 MiB 2.54 MiB 2.54 MiB 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;-
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-03 08:36:36 Duration: 0ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
16 1 412.49 MiB 412.49 MiB 412.49 MiB 412.49 MiB add constraint pk_gtp_obj primary key (obj_num_id);-
ADD CONSTRAINT pk_gtp_obj PRIMARY KEY (obj_num_id);
Date: 2026-03-03 08:17:23 Duration: 0ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
17 1 8.41 MiB 8.41 MiB 8.41 MiB 8.41 MiB add constraint fk_gtp_obj_rel_vt_rel foreign key (relation_num_id) references public.gtp_relation (relation_num_id) on delete cascade deferrable initially deferred;-
ADD CONSTRAINT fk_gtp_obj_rel_vt_rel FOREIGN KEY (relation_num_id) REFERENCES public.gtp_relation (relation_num_id) ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED;
Date: 2026-03-03 08:39:49 Duration: 0ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
18 1 56.16 MiB 56.16 MiB 56.16 MiB 56.16 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-03 08:35:02 Duration: 0ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
19 1 120.75 MiB 120.75 MiB 120.75 MiB 120.75 MiB add constraint fk_view_template_modifier foreign key (view_template_modifier) references public.a3d_user (user_num_id) deferrable initially deferred;-
ADD CONSTRAINT fk_view_template_modifier FOREIGN KEY (view_template_modifier) REFERENCES public.a3d_user (user_num_id) DEFERRABLE INITIALLY DEFERRED;
Date: 2026-03-03 08:25:43 Duration: 0ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
20 1 4.34 MiB 4.34 MiB 4.34 MiB 4.34 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-03 08:24:47 Duration: 0ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
Queries generating the largest temporary files
Rank Size Query 1 502.20 MiB ADD CONSTRAINT pk_log_ehcache PRIMARY KEY (log_ehcache_num_id);[ Date: 2026-03-03 08:20:19 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
2 412.49 MiB ADD CONSTRAINT pk_gtp_obj PRIMARY KEY (obj_num_id);[ Date: 2026-03-03 08:17:23 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
3 314.15 MiB ADD CONSTRAINT pk_gtp_obj_compo PRIMARY KEY (obj_compo_num_id);[ Date: 2026-03-03 08:31:25 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
4 264.71 MiB ADD CONSTRAINT pk_gtp_monthly_history PRIMARY KEY (histo_num_id);[ Date: 2026-03-03 08:28:16 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
5 120.75 MiB ADD CONSTRAINT fk_view_template_modifier FOREIGN KEY (view_template_modifier) REFERENCES public.a3d_user (user_num_id) DEFERRABLE INITIALLY DEFERRED;[ Date: 2026-03-03 08:25:43 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
6 99.66 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-03 08:29:13 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
7 99.52 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-03 08:29:13 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
8 87.83 MiB ADD CONSTRAINT pk_log_ehcache PRIMARY KEY (log_ehcache_num_id);[ Date: 2026-03-03 08:24:34 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
9 83.38 MiB ADD CONSTRAINT pk_history_obj_link_unlink PRIMARY KEY (history_link_unlink_id);[ Date: 2026-03-03 08:35:59 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
10 66.63 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-03 08:32:22 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
11 61.76 MiB ADD CONSTRAINT pk_l_notification_user PRIMARY KEY (nous_user_num_id, nous_noti_id);[ Date: 2026-03-03 08:40:09 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
12 61.59 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-03 08:21:51 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
13 56.38 MiB ADD CONSTRAINT pk_history_obj_compo PRIMARY KEY (history_compo_id);[ Date: 2026-03-03 08:25:11 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
14 56.16 MiB ADD CONSTRAINT pk_pe_consumption_10min PRIMARY KEY (consumption_num_id);[ Date: 2026-03-03 08:35:02 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
15 48.20 MiB ADD CONSTRAINT pk_gtp_relation_num_id PRIMARY KEY (relation_num_id);[ Date: 2026-03-03 08:22:00 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
16 47.10 MiB ADD CONSTRAINT pk_history_obj_compo PRIMARY KEY (history_compo_id);[ Date: 2026-03-03 08:25:11 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
17 45.22 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-03 08:32:22 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
18 41.73 MiB ADD CONSTRAINT pk_gtp_monthly_history PRIMARY KEY (histo_num_id);[ Date: 2026-03-03 08:28:40 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
19 39.48 MiB ADD CONSTRAINT uk_pe_consumption_10min UNIQUE (counting_point_num_id, date_stamped, type, time_period);[ Date: 2026-03-03 08:36:18 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
20 39.33 MiB ADD CONSTRAINT uk_pe_consumption_10min UNIQUE (counting_point_num_id, date_stamped, type, time_period);[ Date: 2026-03-03 08:36:18 - 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 03 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
- ShareRowExclusiveLock Main Lock Type
- 1 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
- 9 Total read queries
- 76 Total write queries
Queries by database
Key values
- reftkbim Main database
- 87 Requests
- 1h40m53s (reftkbim)
- Main time consuming database
Queries by user
Key values
- a3dsupervisor Main user
- 87 Requests
User Request type Count Duration a3dsupervisor Total 87 1h40m53s copy from 10 6m41s copy to 2 7s369ms ddl 64 38m5s others 2 55m24s select 9 35s948ms Duration by user
Key values
- 1h40m53s (a3dsupervisor) Main time consuming user
User Request type Count Duration a3dsupervisor Total 87 1h40m53s copy from 10 6m41s copy to 2 7s369ms ddl 64 38m5s others 2 55m24s select 9 35s948ms Queries by host
Key values
- 10.3.0.4 Main host
- 87 Requests
- 1h40m53s (10.3.0.4)
- Main time consuming host
Queries by application
Key values
- pg_restore Main application
- 83 Requests
- 55m24s (psql)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2026-03-03 08:32:04 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 44 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 28m58s 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-03 09:35:16 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: psql ]
2 26m25s VACUUM FULL;[ Date: 2026-03-03 10:01:43 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: psql ]
3 3m54s CREATE INDEX i_log_ehcache_date ON public.gtp_log_ehcache USING btree (log_date);[ Date: 2026-03-03 08:20:20 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
4 3m27s CREATE INDEX i_log_ehcache_region_name ON public.gtp_log_ehcache USING btree (region_name);[ Date: 2026-03-03 08:20:51 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
5 2m42s 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-03 08:16:25 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
6 2m32s CREATE INDEX i_fk_month_histo_att ON public.gtp_monthly_history USING btree (att_template_num_id);[ Date: 2026-03-03 08:28:18 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
7 2m31s CREATE INDEX i_log_ehcache_server_id ON public.gtp_log_ehcache USING btree (server_id);[ Date: 2026-03-03 08:22:52 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
8 2m23s ALTER TABLE ONLY public.gtp_history_obj_compo;[ Date: 2026-03-03 08:39:15 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
9 2m17s CREATE INDEX i_fk_month_histo_att_cat ON public.gtp_monthly_history USING btree (att_template_category_num_id);[ Date: 2026-03-03 08:28:05 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
10 1m57s CREATE INDEX i_fk_gtp_obj_compo_history_new_unit ON public.gtp_history_obj_compo USING btree (obj_compo_new_unit_num_id);[ Date: 2026-03-03 08:17:23 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
11 1m53s CREATE INDEX i_fk_gtp_obj_compo_unit ON public.gtp_obj_composition USING btree (obj_compo_unit_num_id);[ Date: 2026-03-03 08:31:27 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
12 1m53s CREATE INDEX i_fk_gtp_obj_compo_tab ON public.gtp_obj_composition USING btree (obj_compo_num_id_tab);[ Date: 2026-03-03 08:31:26 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
13 1m42s ALTER TABLE ONLY public.gtp_log_ehcache ADD CONSTRAINT pk_log_ehcache PRIMARY KEY (log_ehcache_num_id);[ Date: 2026-03-03 08:24:34 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
14 1m13s 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-03 08:15:26 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
15 56s419ms CREATE INDEX i_history_compo_action ON public.gtp_history_obj_compo USING btree (action_num_id);[ Date: 2026-03-03 08:24:19 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
16 55s939ms CREATE INDEX i_fk_pe_consumption_10min_cp ON public.pe_consumption_10min USING btree (counting_point_num_id);[ Date: 2026-03-03 08:35:58 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
17 54s949ms CREATE INDEX i_fk_pe_consumption_10min_tp ON public.pe_consumption_10min USING btree (time_period);[ Date: 2026-03-03 08:35:58 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
18 50s294ms CREATE INDEX i_gtp_obj_compo_value_case ON public.gtp_obj_composition USING btree (public.touppernoaccent ((obj_compo_value)::text));[ Date: 2026-03-03 08:23:22 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
19 47s146ms ALTER TABLE ONLY public.gtp_obj_composition ADD CONSTRAINT fk_gtp_obj_compo_tab FOREIGN KEY (obj_compo_num_id_tab) REFERENCES public.gtp_obj_composition (obj_compo_num_id) ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED;[ Date: 2026-03-03 08:34:04 - Database: reftkbim - User: a3dsupervisor - Remote: 10.3.0.4 - Application: pg_restore ]
20 41s454ms CREATE INDEX i_gtp_cw_eng_action ON public.gtp_cw_eng_history USING btree (history_action);[ Date: 2026-03-03 08:35:03 - 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 28m58s 1 28m58s 28m58s 28m58s 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 03 10 1 28m58s 28m58s [ User: a3dsupervisor - Total duration: 28m58s - Times executed: 1 ]
[ Application: psql - Total duration: 28m58s - 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-03 09:35:16 Duration: 28m58s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: psql
2 26m25s 1 26m25s 26m25s 26m25s vacuum full;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Mar 03 11 1 26m25s 26m25s [ User: a3dsupervisor - Total duration: 26m25s - Times executed: 1 ]
[ Application: psql - Total duration: 26m25s - Times executed: 1 ]
-
VACUUM FULL;
Date: 2026-03-03 10:01:43 Duration: 26m25s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: psql
3 3m54s 1 3m54s 3m54s 3m54s create index i_log_ehcache_date on public.gtp_log_ehcache using btree (log_date);Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Mar 03 09 1 3m54s 3m54s [ User: a3dsupervisor - Total duration: 3m54s - Times executed: 1 ]
[ Application: pg_restore - Total duration: 3m54s - Times executed: 1 ]
-
CREATE INDEX i_log_ehcache_date ON public.gtp_log_ehcache USING btree (log_date);
Date: 2026-03-03 08:20:20 Duration: 3m54s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
4 3m27s 1 3m27s 3m27s 3m27s 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 03 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_region_name ON public.gtp_log_ehcache USING btree (region_name);
Date: 2026-03-03 08:20:51 Duration: 3m27s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
5 2m42s 1 2m42s 2m42s 2m42s 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 #5
Day Hour Count Duration Avg duration Mar 03 09 1 2m42s 2m42s [ User: a3dsupervisor - Total duration: 2m42s - Times executed: 1 ]
[ Application: pg_restore - Total duration: 2m42s - 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-03 08:16:25 Duration: 2m42s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
6 2m32s 1 2m32s 2m32s 2m32s create index i_fk_month_histo_att on public.gtp_monthly_history using btree (att_template_num_id);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Mar 03 09 1 2m32s 2m32s [ User: a3dsupervisor - Total duration: 2m32s - Times executed: 1 ]
[ Application: pg_restore - Total duration: 2m32s - Times executed: 1 ]
-
CREATE INDEX i_fk_month_histo_att ON public.gtp_monthly_history USING btree (att_template_num_id);
Date: 2026-03-03 08:28:18 Duration: 2m32s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
7 2m31s 1 2m31s 2m31s 2m31s create index i_log_ehcache_server_id on public.gtp_log_ehcache using btree (server_id);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Mar 03 09 1 2m31s 2m31s [ User: a3dsupervisor - Total duration: 2m31s - Times executed: 1 ]
[ Application: pg_restore - Total duration: 2m31s - Times executed: 1 ]
-
CREATE INDEX i_log_ehcache_server_id ON public.gtp_log_ehcache USING btree (server_id);
Date: 2026-03-03 08:22:52 Duration: 2m31s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
8 2m23s 1 2m23s 2m23s 2m23s alter table only public.gtp_history_obj_compo;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Mar 03 09 1 2m23s 2m23s [ User: a3dsupervisor - Total duration: 2m23s - Times executed: 1 ]
[ Application: pg_restore - Total duration: 2m23s - Times executed: 1 ]
-
ALTER TABLE ONLY public.gtp_history_obj_compo;
Date: 2026-03-03 08:39:15 Duration: 2m23s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
9 2m17s 1 2m17s 2m17s 2m17s create index i_fk_month_histo_att_cat on public.gtp_monthly_history using btree (att_template_category_num_id);Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Mar 03 09 1 2m17s 2m17s [ User: a3dsupervisor - Total duration: 2m17s - Times executed: 1 ]
[ Application: pg_restore - Total duration: 2m17s - Times executed: 1 ]
-
CREATE INDEX i_fk_month_histo_att_cat ON public.gtp_monthly_history USING btree (att_template_category_num_id);
Date: 2026-03-03 08:28:05 Duration: 2m17s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
10 1m57s 1 1m57s 1m57s 1m57s create index i_fk_gtp_obj_compo_history_new_unit on public.gtp_history_obj_compo using btree (obj_compo_new_unit_num_id);Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Mar 03 09 1 1m57s 1m57s [ User: a3dsupervisor - Total duration: 1m57s - Times executed: 1 ]
[ Application: pg_restore - Total duration: 1m57s - Times executed: 1 ]
-
CREATE INDEX i_fk_gtp_obj_compo_history_new_unit ON public.gtp_history_obj_compo USING btree (obj_compo_new_unit_num_id);
Date: 2026-03-03 08:17:23 Duration: 1m57s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
11 1m53s 1 1m53s 1m53s 1m53s create index i_fk_gtp_obj_compo_unit on public.gtp_obj_composition using btree (obj_compo_unit_num_id);Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Mar 03 09 1 1m53s 1m53s [ User: a3dsupervisor - Total duration: 1m53s - Times executed: 1 ]
[ Application: pg_restore - Total duration: 1m53s - Times executed: 1 ]
-
CREATE INDEX i_fk_gtp_obj_compo_unit ON public.gtp_obj_composition USING btree (obj_compo_unit_num_id);
Date: 2026-03-03 08:31:27 Duration: 1m53s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
12 1m53s 1 1m53s 1m53s 1m53s create index i_fk_gtp_obj_compo_tab on public.gtp_obj_composition using btree (obj_compo_num_id_tab);Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Mar 03 09 1 1m53s 1m53s [ User: a3dsupervisor - Total duration: 1m53s - Times executed: 1 ]
[ Application: pg_restore - Total duration: 1m53s - Times executed: 1 ]
-
CREATE INDEX i_fk_gtp_obj_compo_tab ON public.gtp_obj_composition USING btree (obj_compo_num_id_tab);
Date: 2026-03-03 08:31:26 Duration: 1m53s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
13 1m42s 1 1m42s 1m42s 1m42s alter table only public.gtp_log_ehcache add constraint pk_log_ehcache primary key (log_ehcache_num_id);Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Mar 03 09 1 1m42s 1m42s [ User: a3dsupervisor - Total duration: 1m42s - Times executed: 1 ]
[ Application: pg_restore - Total duration: 1m42s - Times executed: 1 ]
-
ALTER TABLE ONLY public.gtp_log_ehcache ADD CONSTRAINT pk_log_ehcache PRIMARY KEY (log_ehcache_num_id);
Date: 2026-03-03 08:24:34 Duration: 1m42s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
14 1m13s 1 1m13s 1m13s 1m13s 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 #14
Day Hour Count Duration Avg duration Mar 03 09 1 1m13s 1m13s [ User: a3dsupervisor - Total duration: 1m13s - Times executed: 1 ]
[ Application: pg_restore - Total duration: 1m13s - 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-03 08:15:26 Duration: 1m13s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
15 56s419ms 1 56s419ms 56s419ms 56s419ms create index i_history_compo_action on public.gtp_history_obj_compo using btree (action_num_id);Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Mar 03 09 1 56s419ms 56s419ms [ User: a3dsupervisor - Total duration: 56s419ms - Times executed: 1 ]
[ Application: pg_restore - Total duration: 56s419ms - Times executed: 1 ]
-
CREATE INDEX i_history_compo_action ON public.gtp_history_obj_compo USING btree (action_num_id);
Date: 2026-03-03 08:24:19 Duration: 56s419ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
16 55s939ms 1 55s939ms 55s939ms 55s939ms 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 03 09 1 55s939ms 55s939ms [ User: a3dsupervisor - Total duration: 55s939ms - Times executed: 1 ]
[ Application: pg_restore - Total duration: 55s939ms - 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-03 08:35:58 Duration: 55s939ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
17 54s949ms 1 54s949ms 54s949ms 54s949ms 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 03 09 1 54s949ms 54s949ms [ User: a3dsupervisor - Total duration: 54s949ms - Times executed: 1 ]
[ Application: pg_restore - Total duration: 54s949ms - Times executed: 1 ]
-
CREATE INDEX i_fk_pe_consumption_10min_tp ON public.pe_consumption_10min USING btree (time_period);
Date: 2026-03-03 08:35:58 Duration: 54s949ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
18 50s294ms 1 50s294ms 50s294ms 50s294ms create index i_gtp_obj_compo_value_case on public.gtp_obj_composition using btree (public.touppernoaccent ((obj_compo_value)::text));Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Mar 03 09 1 50s294ms 50s294ms [ User: a3dsupervisor - Total duration: 50s294ms - Times executed: 1 ]
[ Application: pg_restore - Total duration: 50s294ms - Times executed: 1 ]
-
CREATE INDEX i_gtp_obj_compo_value_case ON public.gtp_obj_composition USING btree (public.touppernoaccent ((obj_compo_value)::text));
Date: 2026-03-03 08:23:22 Duration: 50s294ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
19 47s146ms 1 47s146ms 47s146ms 47s146ms alter table only public.gtp_obj_composition add constraint fk_gtp_obj_compo_tab foreign key (obj_compo_num_id_tab) references public.gtp_obj_composition (obj_compo_num_id) on delete cascade deferrable initially deferred;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Mar 03 09 1 47s146ms 47s146ms [ User: a3dsupervisor - Total duration: 47s146ms - Times executed: 1 ]
[ Application: pg_restore - Total duration: 47s146ms - Times executed: 1 ]
-
ALTER TABLE ONLY public.gtp_obj_composition ADD CONSTRAINT fk_gtp_obj_compo_tab FOREIGN KEY (obj_compo_num_id_tab) REFERENCES public.gtp_obj_composition (obj_compo_num_id) ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED;
Date: 2026-03-03 08:34:04 Duration: 47s146ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
20 41s454ms 1 41s454ms 41s454ms 41s454ms create index i_gtp_cw_eng_action on public.gtp_cw_eng_history using btree (history_action);Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Mar 03 09 1 41s454ms 41s454ms [ User: a3dsupervisor - Total duration: 41s454ms - Times executed: 1 ]
[ Application: pg_restore - Total duration: 41s454ms - Times executed: 1 ]
-
CREATE INDEX i_gtp_cw_eng_action ON public.gtp_cw_eng_history USING btree (history_action);
Date: 2026-03-03 08:35:03 Duration: 41s454ms 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 9 35s948ms 3s132ms 5s536ms 3s994ms select pg_catalog.lo_create(?);Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Mar 03 09 9 35s948ms 3s994ms [ User: a3dsupervisor - Total duration: 35s948ms - Times executed: 9 ]
[ Application: pg_restore - Total duration: 35s948ms - Times executed: 9 ]
-
SELECT pg_catalog.lo_create('1980461');
Date: 2026-03-03 08:58:10 Duration: 5s536ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
-
SELECT pg_catalog.lo_create('1974040');
Date: 2026-03-03 08:44:11 Duration: 5s294ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
-
SELECT pg_catalog.lo_create('1974042');
Date: 2026-03-03 08:44:18 Duration: 4s354ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
2 1 28m58s 28m58s 28m58s 28m58s 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 03 10 1 28m58s 28m58s [ User: a3dsupervisor - Total duration: 28m58s - Times executed: 1 ]
[ Application: psql - Total duration: 28m58s - 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-03 09:35:16 Duration: 28m58s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: psql
3 1 26m25s 26m25s 26m25s 26m25s vacuum full;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Mar 03 11 1 26m25s 26m25s [ User: a3dsupervisor - Total duration: 26m25s - Times executed: 1 ]
[ Application: psql - Total duration: 26m25s - Times executed: 1 ]
-
VACUUM FULL;
Date: 2026-03-03 10:01:43 Duration: 26m25s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: psql
4 1 3m54s 3m54s 3m54s 3m54s 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 03 09 1 3m54s 3m54s [ User: a3dsupervisor - Total duration: 3m54s - Times executed: 1 ]
[ Application: pg_restore - Total duration: 3m54s - Times executed: 1 ]
-
CREATE INDEX i_log_ehcache_date ON public.gtp_log_ehcache USING btree (log_date);
Date: 2026-03-03 08:20:20 Duration: 3m54s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
5 1 3m27s 3m27s 3m27s 3m27s create index i_log_ehcache_region_name on public.gtp_log_ehcache using btree (region_name);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Mar 03 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_region_name ON public.gtp_log_ehcache USING btree (region_name);
Date: 2026-03-03 08:20:51 Duration: 3m27s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
6 1 2m42s 2m42s 2m42s 2m42s 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 #6
Day Hour Count Duration Avg duration Mar 03 09 1 2m42s 2m42s [ User: a3dsupervisor - Total duration: 2m42s - Times executed: 1 ]
[ Application: pg_restore - Total duration: 2m42s - 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-03 08:16:25 Duration: 2m42s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
7 1 2m32s 2m32s 2m32s 2m32s create index i_fk_month_histo_att on public.gtp_monthly_history using btree (att_template_num_id);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Mar 03 09 1 2m32s 2m32s [ User: a3dsupervisor - Total duration: 2m32s - Times executed: 1 ]
[ Application: pg_restore - Total duration: 2m32s - Times executed: 1 ]
-
CREATE INDEX i_fk_month_histo_att ON public.gtp_monthly_history USING btree (att_template_num_id);
Date: 2026-03-03 08:28:18 Duration: 2m32s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
8 1 2m31s 2m31s 2m31s 2m31s create index i_log_ehcache_server_id on public.gtp_log_ehcache using btree (server_id);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Mar 03 09 1 2m31s 2m31s [ User: a3dsupervisor - Total duration: 2m31s - Times executed: 1 ]
[ Application: pg_restore - Total duration: 2m31s - Times executed: 1 ]
-
CREATE INDEX i_log_ehcache_server_id ON public.gtp_log_ehcache USING btree (server_id);
Date: 2026-03-03 08:22:52 Duration: 2m31s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
9 1 2m23s 2m23s 2m23s 2m23s alter table only public.gtp_history_obj_compo;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Mar 03 09 1 2m23s 2m23s [ User: a3dsupervisor - Total duration: 2m23s - Times executed: 1 ]
[ Application: pg_restore - Total duration: 2m23s - Times executed: 1 ]
-
ALTER TABLE ONLY public.gtp_history_obj_compo;
Date: 2026-03-03 08:39:15 Duration: 2m23s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
10 1 2m17s 2m17s 2m17s 2m17s create index i_fk_month_histo_att_cat on public.gtp_monthly_history using btree (att_template_category_num_id);Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Mar 03 09 1 2m17s 2m17s [ User: a3dsupervisor - Total duration: 2m17s - Times executed: 1 ]
[ Application: pg_restore - Total duration: 2m17s - Times executed: 1 ]
-
CREATE INDEX i_fk_month_histo_att_cat ON public.gtp_monthly_history USING btree (att_template_category_num_id);
Date: 2026-03-03 08:28:05 Duration: 2m17s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
11 1 1m57s 1m57s 1m57s 1m57s create index i_fk_gtp_obj_compo_history_new_unit on public.gtp_history_obj_compo using btree (obj_compo_new_unit_num_id);Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Mar 03 09 1 1m57s 1m57s [ User: a3dsupervisor - Total duration: 1m57s - Times executed: 1 ]
[ Application: pg_restore - Total duration: 1m57s - Times executed: 1 ]
-
CREATE INDEX i_fk_gtp_obj_compo_history_new_unit ON public.gtp_history_obj_compo USING btree (obj_compo_new_unit_num_id);
Date: 2026-03-03 08:17:23 Duration: 1m57s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
12 1 1m53s 1m53s 1m53s 1m53s create index i_fk_gtp_obj_compo_unit on public.gtp_obj_composition using btree (obj_compo_unit_num_id);Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Mar 03 09 1 1m53s 1m53s [ User: a3dsupervisor - Total duration: 1m53s - Times executed: 1 ]
[ Application: pg_restore - Total duration: 1m53s - Times executed: 1 ]
-
CREATE INDEX i_fk_gtp_obj_compo_unit ON public.gtp_obj_composition USING btree (obj_compo_unit_num_id);
Date: 2026-03-03 08:31:27 Duration: 1m53s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
13 1 1m53s 1m53s 1m53s 1m53s create index i_fk_gtp_obj_compo_tab on public.gtp_obj_composition using btree (obj_compo_num_id_tab);Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Mar 03 09 1 1m53s 1m53s [ User: a3dsupervisor - Total duration: 1m53s - Times executed: 1 ]
[ Application: pg_restore - Total duration: 1m53s - Times executed: 1 ]
-
CREATE INDEX i_fk_gtp_obj_compo_tab ON public.gtp_obj_composition USING btree (obj_compo_num_id_tab);
Date: 2026-03-03 08:31:26 Duration: 1m53s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
14 1 1m42s 1m42s 1m42s 1m42s alter table only public.gtp_log_ehcache add constraint pk_log_ehcache primary key (log_ehcache_num_id);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Mar 03 09 1 1m42s 1m42s [ User: a3dsupervisor - Total duration: 1m42s - Times executed: 1 ]
[ Application: pg_restore - Total duration: 1m42s - Times executed: 1 ]
-
ALTER TABLE ONLY public.gtp_log_ehcache ADD CONSTRAINT pk_log_ehcache PRIMARY KEY (log_ehcache_num_id);
Date: 2026-03-03 08:24:34 Duration: 1m42s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
15 1 1m13s 1m13s 1m13s 1m13s 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 #15
Day Hour Count Duration Avg duration Mar 03 09 1 1m13s 1m13s [ User: a3dsupervisor - Total duration: 1m13s - Times executed: 1 ]
[ Application: pg_restore - Total duration: 1m13s - 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-03 08:15:26 Duration: 1m13s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
16 1 56s419ms 56s419ms 56s419ms 56s419ms create index i_history_compo_action on public.gtp_history_obj_compo using btree (action_num_id);Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Mar 03 09 1 56s419ms 56s419ms [ User: a3dsupervisor - Total duration: 56s419ms - Times executed: 1 ]
[ Application: pg_restore - Total duration: 56s419ms - Times executed: 1 ]
-
CREATE INDEX i_history_compo_action ON public.gtp_history_obj_compo USING btree (action_num_id);
Date: 2026-03-03 08:24:19 Duration: 56s419ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
17 1 55s939ms 55s939ms 55s939ms 55s939ms create index i_fk_pe_consumption_10min_cp on public.pe_consumption_10min using btree (counting_point_num_id);Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Mar 03 09 1 55s939ms 55s939ms [ User: a3dsupervisor - Total duration: 55s939ms - Times executed: 1 ]
[ Application: pg_restore - Total duration: 55s939ms - 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-03 08:35:58 Duration: 55s939ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
18 1 54s949ms 54s949ms 54s949ms 54s949ms create index i_fk_pe_consumption_10min_tp on public.pe_consumption_10min using btree (time_period);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Mar 03 09 1 54s949ms 54s949ms [ User: a3dsupervisor - Total duration: 54s949ms - Times executed: 1 ]
[ Application: pg_restore - Total duration: 54s949ms - Times executed: 1 ]
-
CREATE INDEX i_fk_pe_consumption_10min_tp ON public.pe_consumption_10min USING btree (time_period);
Date: 2026-03-03 08:35:58 Duration: 54s949ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
19 1 50s294ms 50s294ms 50s294ms 50s294ms create index i_gtp_obj_compo_value_case on public.gtp_obj_composition using btree (public.touppernoaccent ((obj_compo_value)::text));Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Mar 03 09 1 50s294ms 50s294ms [ User: a3dsupervisor - Total duration: 50s294ms - Times executed: 1 ]
[ Application: pg_restore - Total duration: 50s294ms - Times executed: 1 ]
-
CREATE INDEX i_gtp_obj_compo_value_case ON public.gtp_obj_composition USING btree (public.touppernoaccent ((obj_compo_value)::text));
Date: 2026-03-03 08:23:22 Duration: 50s294ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
20 1 47s146ms 47s146ms 47s146ms 47s146ms alter table only public.gtp_obj_composition add constraint fk_gtp_obj_compo_tab foreign key (obj_compo_num_id_tab) references public.gtp_obj_composition (obj_compo_num_id) on delete cascade deferrable initially deferred;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Mar 03 09 1 47s146ms 47s146ms [ User: a3dsupervisor - Total duration: 47s146ms - Times executed: 1 ]
[ Application: pg_restore - Total duration: 47s146ms - Times executed: 1 ]
-
ALTER TABLE ONLY public.gtp_obj_composition ADD CONSTRAINT fk_gtp_obj_compo_tab FOREIGN KEY (obj_compo_num_id_tab) REFERENCES public.gtp_obj_composition (obj_compo_num_id) ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED;
Date: 2026-03-03 08:34:04 Duration: 47s146ms 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 28m58s 28m58s 28m58s 1 28m58s 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 03 10 1 28m58s 28m58s [ User: a3dsupervisor - Total duration: 28m58s - Times executed: 1 ]
[ Application: psql - Total duration: 28m58s - 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-03 09:35:16 Duration: 28m58s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: psql
2 26m25s 26m25s 26m25s 1 26m25s vacuum full;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Mar 03 11 1 26m25s 26m25s [ User: a3dsupervisor - Total duration: 26m25s - Times executed: 1 ]
[ Application: psql - Total duration: 26m25s - Times executed: 1 ]
-
VACUUM FULL;
Date: 2026-03-03 10:01:43 Duration: 26m25s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: psql
3 3m54s 3m54s 3m54s 1 3m54s create index i_log_ehcache_date on public.gtp_log_ehcache using btree (log_date);Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Mar 03 09 1 3m54s 3m54s [ User: a3dsupervisor - Total duration: 3m54s - Times executed: 1 ]
[ Application: pg_restore - Total duration: 3m54s - Times executed: 1 ]
-
CREATE INDEX i_log_ehcache_date ON public.gtp_log_ehcache USING btree (log_date);
Date: 2026-03-03 08:20:20 Duration: 3m54s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
4 3m27s 3m27s 3m27s 1 3m27s 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 03 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_region_name ON public.gtp_log_ehcache USING btree (region_name);
Date: 2026-03-03 08:20:51 Duration: 3m27s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
5 2m42s 2m42s 2m42s 1 2m42s 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 #5
Day Hour Count Duration Avg duration Mar 03 09 1 2m42s 2m42s [ User: a3dsupervisor - Total duration: 2m42s - Times executed: 1 ]
[ Application: pg_restore - Total duration: 2m42s - 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-03 08:16:25 Duration: 2m42s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
6 2m32s 2m32s 2m32s 1 2m32s create index i_fk_month_histo_att on public.gtp_monthly_history using btree (att_template_num_id);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Mar 03 09 1 2m32s 2m32s [ User: a3dsupervisor - Total duration: 2m32s - Times executed: 1 ]
[ Application: pg_restore - Total duration: 2m32s - Times executed: 1 ]
-
CREATE INDEX i_fk_month_histo_att ON public.gtp_monthly_history USING btree (att_template_num_id);
Date: 2026-03-03 08:28:18 Duration: 2m32s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
7 2m31s 2m31s 2m31s 1 2m31s create index i_log_ehcache_server_id on public.gtp_log_ehcache using btree (server_id);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Mar 03 09 1 2m31s 2m31s [ User: a3dsupervisor - Total duration: 2m31s - Times executed: 1 ]
[ Application: pg_restore - Total duration: 2m31s - Times executed: 1 ]
-
CREATE INDEX i_log_ehcache_server_id ON public.gtp_log_ehcache USING btree (server_id);
Date: 2026-03-03 08:22:52 Duration: 2m31s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
8 2m23s 2m23s 2m23s 1 2m23s alter table only public.gtp_history_obj_compo;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Mar 03 09 1 2m23s 2m23s [ User: a3dsupervisor - Total duration: 2m23s - Times executed: 1 ]
[ Application: pg_restore - Total duration: 2m23s - Times executed: 1 ]
-
ALTER TABLE ONLY public.gtp_history_obj_compo;
Date: 2026-03-03 08:39:15 Duration: 2m23s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
9 2m17s 2m17s 2m17s 1 2m17s create index i_fk_month_histo_att_cat on public.gtp_monthly_history using btree (att_template_category_num_id);Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Mar 03 09 1 2m17s 2m17s [ User: a3dsupervisor - Total duration: 2m17s - Times executed: 1 ]
[ Application: pg_restore - Total duration: 2m17s - Times executed: 1 ]
-
CREATE INDEX i_fk_month_histo_att_cat ON public.gtp_monthly_history USING btree (att_template_category_num_id);
Date: 2026-03-03 08:28:05 Duration: 2m17s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
10 1m57s 1m57s 1m57s 1 1m57s create index i_fk_gtp_obj_compo_history_new_unit on public.gtp_history_obj_compo using btree (obj_compo_new_unit_num_id);Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Mar 03 09 1 1m57s 1m57s [ User: a3dsupervisor - Total duration: 1m57s - Times executed: 1 ]
[ Application: pg_restore - Total duration: 1m57s - Times executed: 1 ]
-
CREATE INDEX i_fk_gtp_obj_compo_history_new_unit ON public.gtp_history_obj_compo USING btree (obj_compo_new_unit_num_id);
Date: 2026-03-03 08:17:23 Duration: 1m57s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
11 1m53s 1m53s 1m53s 1 1m53s create index i_fk_gtp_obj_compo_unit on public.gtp_obj_composition using btree (obj_compo_unit_num_id);Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Mar 03 09 1 1m53s 1m53s [ User: a3dsupervisor - Total duration: 1m53s - Times executed: 1 ]
[ Application: pg_restore - Total duration: 1m53s - Times executed: 1 ]
-
CREATE INDEX i_fk_gtp_obj_compo_unit ON public.gtp_obj_composition USING btree (obj_compo_unit_num_id);
Date: 2026-03-03 08:31:27 Duration: 1m53s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
12 1m53s 1m53s 1m53s 1 1m53s create index i_fk_gtp_obj_compo_tab on public.gtp_obj_composition using btree (obj_compo_num_id_tab);Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Mar 03 09 1 1m53s 1m53s [ User: a3dsupervisor - Total duration: 1m53s - Times executed: 1 ]
[ Application: pg_restore - Total duration: 1m53s - Times executed: 1 ]
-
CREATE INDEX i_fk_gtp_obj_compo_tab ON public.gtp_obj_composition USING btree (obj_compo_num_id_tab);
Date: 2026-03-03 08:31:26 Duration: 1m53s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
13 1m42s 1m42s 1m42s 1 1m42s alter table only public.gtp_log_ehcache add constraint pk_log_ehcache primary key (log_ehcache_num_id);Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Mar 03 09 1 1m42s 1m42s [ User: a3dsupervisor - Total duration: 1m42s - Times executed: 1 ]
[ Application: pg_restore - Total duration: 1m42s - Times executed: 1 ]
-
ALTER TABLE ONLY public.gtp_log_ehcache ADD CONSTRAINT pk_log_ehcache PRIMARY KEY (log_ehcache_num_id);
Date: 2026-03-03 08:24:34 Duration: 1m42s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
14 1m13s 1m13s 1m13s 1 1m13s 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 #14
Day Hour Count Duration Avg duration Mar 03 09 1 1m13s 1m13s [ User: a3dsupervisor - Total duration: 1m13s - Times executed: 1 ]
[ Application: pg_restore - Total duration: 1m13s - 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-03 08:15:26 Duration: 1m13s Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
15 56s419ms 56s419ms 56s419ms 1 56s419ms create index i_history_compo_action on public.gtp_history_obj_compo using btree (action_num_id);Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Mar 03 09 1 56s419ms 56s419ms [ User: a3dsupervisor - Total duration: 56s419ms - Times executed: 1 ]
[ Application: pg_restore - Total duration: 56s419ms - Times executed: 1 ]
-
CREATE INDEX i_history_compo_action ON public.gtp_history_obj_compo USING btree (action_num_id);
Date: 2026-03-03 08:24:19 Duration: 56s419ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
16 55s939ms 55s939ms 55s939ms 1 55s939ms 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 03 09 1 55s939ms 55s939ms [ User: a3dsupervisor - Total duration: 55s939ms - Times executed: 1 ]
[ Application: pg_restore - Total duration: 55s939ms - 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-03 08:35:58 Duration: 55s939ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
17 54s949ms 54s949ms 54s949ms 1 54s949ms 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 03 09 1 54s949ms 54s949ms [ User: a3dsupervisor - Total duration: 54s949ms - Times executed: 1 ]
[ Application: pg_restore - Total duration: 54s949ms - Times executed: 1 ]
-
CREATE INDEX i_fk_pe_consumption_10min_tp ON public.pe_consumption_10min USING btree (time_period);
Date: 2026-03-03 08:35:58 Duration: 54s949ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
18 50s294ms 50s294ms 50s294ms 1 50s294ms create index i_gtp_obj_compo_value_case on public.gtp_obj_composition using btree (public.touppernoaccent ((obj_compo_value)::text));Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Mar 03 09 1 50s294ms 50s294ms [ User: a3dsupervisor - Total duration: 50s294ms - Times executed: 1 ]
[ Application: pg_restore - Total duration: 50s294ms - Times executed: 1 ]
-
CREATE INDEX i_gtp_obj_compo_value_case ON public.gtp_obj_composition USING btree (public.touppernoaccent ((obj_compo_value)::text));
Date: 2026-03-03 08:23:22 Duration: 50s294ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
19 47s146ms 47s146ms 47s146ms 1 47s146ms alter table only public.gtp_obj_composition add constraint fk_gtp_obj_compo_tab foreign key (obj_compo_num_id_tab) references public.gtp_obj_composition (obj_compo_num_id) on delete cascade deferrable initially deferred;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Mar 03 09 1 47s146ms 47s146ms [ User: a3dsupervisor - Total duration: 47s146ms - Times executed: 1 ]
[ Application: pg_restore - Total duration: 47s146ms - Times executed: 1 ]
-
ALTER TABLE ONLY public.gtp_obj_composition ADD CONSTRAINT fk_gtp_obj_compo_tab FOREIGN KEY (obj_compo_num_id_tab) REFERENCES public.gtp_obj_composition (obj_compo_num_id) ON DELETE CASCADE DEFERRABLE INITIALLY DEFERRED;
Date: 2026-03-03 08:34:04 Duration: 47s146ms Database: reftkbim User: a3dsupervisor Remote: 10.3.0.4 Application: pg_restore
20 41s454ms 41s454ms 41s454ms 1 41s454ms create index i_gtp_cw_eng_action on public.gtp_cw_eng_history using btree (history_action);Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Mar 03 09 1 41s454ms 41s454ms [ User: a3dsupervisor - Total duration: 41s454ms - Times executed: 1 ]
[ Application: pg_restore - Total duration: 41s454ms - Times executed: 1 ]
-
CREATE INDEX i_gtp_cw_eng_action ON public.gtp_cw_eng_history USING btree (history_action);
Date: 2026-03-03 08:35:03 Duration: 41s454ms 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
- 1 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 1 Max number of times the same event was reported
- 1 Total events found
Rank Times reported Error 1 1 LOG: process ... still waiting for ShareRowExclusiveLock on relation ... of database ... after ... msCREATE TRIGGER t_bef_ins_er_gtp_obj_compo BEFORE INSERT ON public.gtp_obj_composition FOR EACH ROW EXECUTE FUNCTION public.trigger_fct_t_bef_ins_er_gtp_obj_compo()
Times Reported Most Frequent Error / Event #1
Day Hour Count Mar 03 09 1