You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: product_docs/docs/pem/8.0.1/index.mdx
+15Lines changed: 15 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,21 @@
2
2
title: "EDB Postgres Enterprise Manager"
3
3
directoryDefaults:
4
4
description: "EDB Postgres Enterprise Manager Version 8 Documentation and release notes. PostgreSQL GUI tool for monitoring and performance optimization."
5
+
navigation:
6
+
- "#Getting Started"
7
+
- pem_inst_guide_linux
8
+
- pem_pgbouncer
9
+
- pem_upgrade
10
+
- pem_inst_guide_windows
11
+
- "#Guides"
12
+
- pem_admin
13
+
- pem_agent
14
+
- pem_bart
15
+
- pem_ent_feat
16
+
- pem_security_best_practices
17
+
- pem_sqlprofiler
18
+
- "#Online Help"
19
+
- pem_online_help
5
20
---
6
21
7
22
Welcome to Postgres Enterprise Manager (PEM). Postgres Enterprise Manager (PEM) consists of components that provide the management and analytical functionality for your EDB Postgres Advanced Server or PostgreSQL database. PEM is based on the Open Source pgAdmin 4 project.
Postgres Enterprise Manager (PEM) is a tool designed to monitor and manage multiple Postgres servers through a single GUI interface. PEM is capable of monitoring the following areas of the infrastructure:
6
9
7
-
!!! Note
8
-
The term Postgres refers to either PostgreSQL or EDB Postgres Advanced Server.
10
+
Note: The term Postgres refers to either PostgreSQL or EDB Postgres Advanced Server.
9
11
10
12
-**Hosts** - One or more servers (physical or virtual) and their operating systems.
11
-
12
13
-**Servers** - One or more instances of PostgreSQL or EDB Postgres Advanced Server running on a host.
13
-
14
14
-**Databases** - One or more databases and the schema objects (tables, indexes, etc.) within them.
15
15
16
16
PEM consists of a number of individual software components; the individual components are described below.
17
17
18
18
-**PEM Server** - The PEM Server is used as the data repository for monitoring data and as a server to which both Agents and Clients connect. The PEM server consists of an instance of PostgreSQL and an associated database for storage of monitoring data, and a server that provides web services.
19
-
20
19
-**PEM Agent** - The PEM Agent is responsible for executing tasks and reporting statistics from the Agent host and monitored Postgres instances to the PEM server. A single PEM Agent can monitor multiple installed instances of Postgres that reside on one or many hosts.
21
-
22
20
-**PEM Web Client** - The PEM web interface allows you to manage and monitor Postgres servers and utilize PEM extended functionality. The web interface software is installed with the PEM server and is accessed via any supported web browser.
23
-
24
-
-**SQL Profiler** - SQL Profiler is a Postgres server plugin to record the monitoring data and query plans to be analysed by the SQL Profiler tool in PEM. This is an optional component of PEM, but the plugin must be installed into each instance of Postgres with which you wish to use the SQL Profiler tool. The SQL Profiler may be used with any supported version of an EnterpriseDB distribution of a PostgreSQL server or Advanced Server (not just those managed through the PEM server). See the [PEM SQL Profiler Configuration Guide](/pem/latest/) for details and supported versions.
21
+
-**SQL Profiler** - SQL Profiler is a Postgres server plugin to record the monitoring data and query plans to be analysed by the SQL Profiler tool in PEM. This is an optional component of PEM, but the plugin must be installed into each instance of Postgres with which you wish to use the SQL Profiler tool. The SQL Profiler may be used with any supported version of an EnterpriseDB distribution of a PostgreSQL server or Advanced Server (not just those managed through the PEM server). See the [PEM SQL Profiler Configuration Guide](https://www.enterprisedb.com/edb-docs/p/edb-postgres-enterprise-manager) for details and supported versions.
25
22
26
23
**PEM architecture**
27
24
@@ -38,33 +35,19 @@ The PEM server consists of an instance of Postgres, an instance of the Apache we
38
35
The instance of Postgres (a database server) and an instance of the Apache web-server ( HTTPD) can be on the same host or on separate hosts.
39
36
40
37
-**Postgres Instance (Database server)** - This is the backend database server. It hosts a database named **pem** which acts as the repository for PEM Server. The **pem** database contains several schemas that store metric data collected from each monitored host, server, and database.
41
-
42
38
-**pem** - This schema is the core of the PEM application. It contains the definitions of configuration functions, tables, or views required by the application.
43
-
44
39
-**pemdata** - This schema stores the current snapshot of the monitored data.
45
-
46
40
-**pemhistory** - This schema stores the historical monitored data.
47
-
48
41
-**Apache Web Server (HTTPD)** - The PEM Web Application is deployed as a WSGI application with HTTPD to provide web services to the client. It is comprised of the following:
49
-
50
42
-**Web content presentation** - The presentation layer is created by the Web Application (for example Browser, login page,..).
51
-
52
43
-**Rest API** - The REST API allows integration with other apps and services.
53
-
54
44
-**Database Server Administration/Management** - Database server administration and management activities like CREATE, ALTER, DROP, etc. can be performed for managed as well as unmanaged servers.
55
-
56
45
-**Dashboard/Chart generation** - Internally, the web application includes functionality that generates Dashboards and Charts.
57
-
58
46
-**Management Tools** - The Audit Manager, Capacity Manager, Log Manager, Postgres Expert, Postgres Log Analysis Expert, and the Tuning Wizard are made available in the Web Application.
59
-
60
47
- Other tools provide functionality on managed or unmanaged servers:
-**Query Editor/Data View** - The Query editor allows you to query, edit, and view data.
65
-
66
50
-**Debugger** - The Debugger helps you debug queries.
67
-
68
51
-**Performance Diagnostics** - Performance Diagnostics help you analyze the performance of Advanced Server.
69
52
70
53
We recommended that you use a dedicated machine to host production instances of the PEM backend database. The host may be subject to high levels of data throughput, depending on the number of database servers that are being monitored and the workloads the servers are processing.
@@ -92,7 +75,7 @@ Once configured, each agent collects statistics and other information on the hos
92
75
- Table access statistics
93
76
- Table and index sizes
94
77
95
-
A list of PEM probes can be found [here](../04_toc_pem_features/12_pem_manage_probes/03_pem_probe_config/01_pem_probes/#pem_probes).
78
+
A list of PEM probes can be found [here](../04_toc_pem_features/12_pem_manage_probes/03_pem_probe_config/#pem_probes).
96
79
97
80
By default, the PEM Agent bound to the database server collects the OS/Database monitoring statistics and also runs any scheduled tasks/jobs for that particular database server, storing data in the pem database on the PEM server.
98
81
@@ -110,8 +93,8 @@ The client allows you to use PEM functionality that makes use of the data logged
110
93
111
94
You are not required to install the SQL Profiler plugin on every server, but you must install and configure the plugin on each server on which you wish to use the SQL Profiler. You may also want to install and configure SQL Profiler on un-monitored development servers. For ad-hoc use also, you may temporarily install the SQL Profiler plugin.
112
95
113
-
The plugin is installed with the EDB Postgres Advanced Server distribution but must be installed separately for use with PostgreSQL. The SQL Profiler installer is available from the [EnterpriseDB website](https://www.enterprisedb.com/downloads/edb-postgres-enterprise-manager).
96
+
The plugin is installed with the EDB Postgres Advanced Server distribution but must be installed separately for use with PostgreSQL. The SQL Profiler installer is available from the [EnterpriseDB website](http://www.enterprisedb.com/download-postgres-enterprise-manager).
114
97
115
98
SQL Profiler may be used on servers that are not managed through PEM, but to perform scheduled traces, a server must have the plugin installed, and must be managed by an installed and configured PEM agent.
116
99
117
-
For more information about using SQL Profiler, see the [PEM SQL Profiler Configuration Guide](/pem/latest/)
100
+
For more information about using SQL Profiler, see the [PEM SQL Profiler Configuration Guide](https://www.enterprisedb.com/edb-docs/p/edb-postgres-enterprise-manager)
The PEM web interface uses Apache to connect to the PEM server on port 8080 of the IP address on which the PEM server is installed. To connect to PEM, open your browser of choice, and navigate to:
6
9
7
-
`<ip_address_of_PEM_host>:8080/pem`
10
+
> *<ip\_address\_of\_PEM\_host>:8080/pem*
8
11
9
12
Where `ip_address_of_PEM_host` specifies the IP address of the host of the PEM server.
10
13
@@ -17,12 +20,9 @@ Use the fields on the Login window to authenticate yourself with the PEM server:
17
20
We strongly recommend you create an individual role for each user. You can create a login role with the `CREATE ROLE` SQL statement, or by defining a role with the PEM client `Create - Login/Group Role` dialog. To access the dialog, connect to the PEM server database; right-click the `Login/Group Roles` node in the tree control, and select `New Login Role...` from the `Create` pull-aside menu. Roles must be granted permissions and role memberships to properly use PEM:
18
21
19
22
- users that are members of the `pem_user` role are essentially `read-only` users; they may view dashboards, change the database server connection options, but they will not be able to install agents or configure the server directory, alerts, probes, or run any of the wizard/dialog based components of PEM.
20
-
21
-
- users that are members of the `pem_admin` role have the same read permissions as members of the pem_user role, plus sufficient privileges to configure the servers, directory, alerts and probes.
22
-
23
-
-`administrative` users must be added to the pem_admin role and explicitly granted the create role privilege. in addition to the permissions granted through membership in the pem_admin role, the create role privilege allows an administrator to create additional pem users, and to install and register new agents.
24
-
25
-
- users can be member of one of the [PEM roles](04_pem_roles/#pem_roles) to give right to run a particular component, to manage, or to configure PEM.
23
+
- users that are members of the `pem_admin` role have the same read permissions as members of the pem\_user role, plus sufficient privileges to configure the servers, directory, alerts and probes.
24
+
-`administrative` users must be added to the pem\_admin role and explicitly granted the create role privilege. in addition to the permissions granted through membership in the pem\_admin role, the create role privilege allows an administrator to create additional pem users, and to install and register new agents.
25
+
- users can be member of one of the [PEM roles](../01_toc_pem_getting_started/#pem_roles) to give right to run a particular component, to manage, or to configure PEM.
26
26
27
27
- Provide the password associated with the user in the `Password` field.
Copy file name to clipboardExpand all lines: product_docs/docs/pem/8.0.1/pem_online_help/01_toc_pem_getting_started/03_pem_managing_configuration_settings.mdx
There are multiple configuration files that are read at startup by Postgres Enterprise Manager. These are as follows:
6
9
7
10
-`config.py`: This is the main configuration file, and should not be modified. It can be used as a reference for configuration settings, that may be overridden in one of the following files.
@@ -10,4 +13,8 @@ There are multiple configuration files that are read at startup by Postgres Ente
10
13
11
14
The default `config.py` file is shown below for reference:
0 commit comments