Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System...
Transcript of Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System...
![Page 1: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/1.jpg)
dbplus.tech
Subtitle Performance Monitor
for PostgreSQL
![Page 2: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/2.jpg)
Agenda
1. Solution Architecture2. Add the instance to monitoring3. Main functionalities4. Access management – Security module5. Anomaly Monitor6. Working with the application
DBPLUS Performance Monitor for PostgreSQL 2
![Page 3: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/3.jpg)
System architecture
DBPLUS Performance Monitor for PostgreSQL 3
A set of SQL procedures responsible for collecting
information about the performance of monitored PostgreSQL Instances
Web application based on IIS technology
![Page 4: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/4.jpg)
Connect the instance to monitoring
In the main system configurator window (Configuration Wizard)click [Add Another instance] button.
DBPLUS Performance Monitor for PostgreSQL 4
![Page 5: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/5.jpg)
Connect the instance to monitoring
Complete fields to add PostgreSQL instance to monitoring process:
Connection name (default)
Host name
TCP Port – port number
Default Database
To create a monitoring user is required to provide user data with administrator rights.
They are given only here and not saved anywhere.
DBPLUS Performance Monitor for PostgreSQL 5
![Page 6: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/6.jpg)
Connect the instance to monitoring
DBPLUS Performance Monitor for PostgreSQL 6
In the next step, choose one of the options:
Create new login/user
Use existing login
![Page 7: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/7.jpg)
Connect the database to monitoring
Summary of wizard configuration process – add PostgreSQL instance to monitoringTo complete the operation click [Finish] button.
DBPLUS Performance Monitor for PostgreSQL 7
![Page 8: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/8.jpg)
Main functionalities – Table options
It is possible to export data to a CSV file
DBPLUS Performance Monitor for PostgreSQL 8
Sorting ang Formatting columns in tables:
Unit selection - e.g. Elapsed Time in seconds, minutes, days, etc.,
selection of a shortcut for large numbers - e.g. kilo, Mega, ...
determination of decimal place accuracy of a number
![Page 9: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/9.jpg)
Main functionalities – Table options
The [+] button is presented in the Query Hash column
Allows to fast view sql details (SQL Details) or
Add to query indefiners list to later analysis
DBPLUS Performance Monitor for PostgreSQL 9
![Page 10: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/10.jpg)
Main functionalities – Chart options
Zoom in the selected area on the chart
DBPLUS Performance Monitor for PostgreSQL 10
Option to return to the previous view via [Reset zoom]
![Page 11: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/11.jpg)
Main functionalities – Chart options
Different types of charts: Line Area Column
It is possible to mark and unmark the presented series on the chart
Display information in a Tooltipafter indicate the location on the chart.
The chart can be exported to a file in the PNG, JPEG, PDF, SVGformats.
DBPLUS Performance Monitor for PostgreSQL 11
![Page 12: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/12.jpg)
Dashboard – Home screen
Three ways to present PostgreSQL instance:
Icons view
DBPLUS Performance Monitor PostgreSQLfor 12
![Page 13: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/13.jpg)
Dashboard – Home screen
Three ways to present PostgreSQL instance:
Grid view
DBPLUS Performance Monitor PostgreSQLfor 13
Television view
![Page 14: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/14.jpg)
Instance Load – Instance details
The chart presents information about the basic databasestatistics:
Elapsed Time Wait Time Wait IO Time Lock Time IO read time IO write time Alerts
DBPLUS Performance Monitor PostgreSQLfor 14
![Page 15: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/15.jpg)
Instance Load – Instance details
DBPLUS Performance Monitor PostgreSQLfor 15
After click on the point on the chart, information are presented: Top queries in a given
snap, Queries statistics, Content and the query
plan.
The DBPLUS application for all top queries generates a query plan by executing the Explain command in the given snap.
![Page 16: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/16.jpg)
After click the point on the chart there are information about:
The level of individual waits
DBPLUS Performance Monitor PostgreSQLfor 16
Instance Load – Instance details
![Page 17: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/17.jpg)
Waits Overview
The graph shows the total wait time for all sessions in the instance in a selected period.
The graph on the left shows the sum of wait times for the selected period.
The graph on the right shows the top waits for the indicated point on the chart(snap).
DBPLUS Performance Monitor PostgreSQLfor 17
![Page 18: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/18.jpg)
Waits Analyze
As part of a detailed analysis, waits can sort by:
Wait type Wait class Affecting performance
DBPLUS Performance Monitor PostgreSQLfor 18
![Page 19: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/19.jpg)
Waits Analyze
Data presented in the chart are visible in the table form.
DBPLUS Performance Monitor PostgreSQLfor 19
![Page 20: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/20.jpg)
SQL Analyze
The graph shows the query time (Elapsed Time). Impactassessment of individual queries on all instances is possible.
After select queries below the graph, user get information about their participation in the overall Instance utilisation.
DBPLUS Performance Monitor PostgreSQLfor 20
![Page 21: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/21.jpg)
SQL Details
Contains detailed performance statistics for each query.
Data are presented for the indicated period of time with the possibility of group by:
Snap (15 minutes)
Hour
Day
Month
The ability to display Online data – current download from the system view.
DBPLUS Performance Monitor PostgreSQLfor 21
![Page 22: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/22.jpg)
It is possible to compare the plans used by a given query over period of time.
SQL Details
Easy access to the(Explain plan).
It is possible to view sample parameters which the query is performed with.
DBPLUS Performance Monitor for PostgreSQL 22
![Page 23: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/23.jpg)
SQL Details
The ability to generate an execution plan for any parameters provided by the user.
Substitution of sample call parameters for a query.
DBPLUS Performance Monitor PostgreSQLfor 23
![Page 24: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/24.jpg)
SQL Details
The query statistics can be viewed in a graph by click on a given column in the table.
Instance load for…- the option to estimate the impact a given query in relation to the statistics for the entire database.
DBPLUS Performance Monitor PostgreSQLfor 24
![Page 25: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/25.jpg)
Show Plan Objects
Page contains information about:
Query content Query plan Query objects: Views
Indices
Tabels
Object details
DBPLUS Performance Monitor PostgreSQLfor 25
![Page 26: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/26.jpg)
SQL Details (cont.)
It is also possible to search queries using Find SQL
The user can search by: Typing a text fragment Queries changing plan New queries in a given period
DBPLUS Performance Monitor PostgreSQLfor 26
![Page 27: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/27.jpg)
Load trends
Allows to get information about trends that take place in the database for the indicated statistics.
Data are presented for the indicated period of time and it can be grouped by: Snap (15 minutes) Hour Day Month
DBPLUS Performance Monitor PostgreSQLfor 27
![Page 28: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/28.jpg)
Compare trends
Allows to compare statistics.
Compare data collected for a specific day -Compare Days tab or time period - Compare Periods tab.
DBPLUS Performance Monitor PostgreSQLfor 28
![Page 29: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/29.jpg)
Top SQL/SQL 3D
It presents information about the most demanding queries that have the largest share in a given statistic.
Options: Elapsed Time Executions Rows processed Blks hit Blks read Blks dirtied Temp blks read Temp blks written Blk read time Blk write time
DBPLUS Performance Monitor PostgreSQLfor 29
![Page 30: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/30.jpg)
Top Day
Allows to display top queries for Elapsed Time and follow their behaviour changes.
DBPLUS Performance Monitor PostgreSQLfor 30
![Page 31: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/31.jpg)
Slow SQL’s
Presents queries that lasted for more than 200 seconds for a given period (default value).
DBPLUS Performance Monitor PostgreSQLfor 31
![Page 32: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/32.jpg)
I/O Stats
The module is used to analyse I/O performance.
Available information: Number of reads Number of writes Duration of the read Read data block
The ability to verify data for the entire PostgreSQL instance as well as a particular database.
DBPLUS Performance Monitor PostgreSQLfor 32
![Page 33: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/33.jpg)
I/O Stats
It is possible to compare data collected for a givenday (Days Compare) as well as for the period(Period Compare).
DBPLUS Performance Monitor PostgreSQLfor 33
![Page 34: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/34.jpg)
Space Monitor
Allows to analyse the current occupancy disk space by: Instancje PostgreSQL Databases
It also contains historical data that stores information about the occupancy of PostgreSQL databases.
DBPLUS Performance Monitor for PostgreSQL 34
![Page 35: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/35.jpg)
Background Writer
It presents the information available in the pg_stat_bgwriter view.
This view contains information about the background writer and checkpointer processes in PostgreSQL.
DBPLUS Performance Monitor PostgreSQLfor 35
![Page 36: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/36.jpg)
Sessions
This page stores information about sessions in a database,displayed according to the criteria in the filters.
Sessions – contains information about current sessions in the instance.Session with transactions– the function allows to analyze the session on how to make entries in the Log.Session history - presents the number of sessions and active sessions in the selected period.
DBPLUS Performance Monitor PostgreSQLfor 36
![Page 37: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/37.jpg)
Sessions history
The table is divided into twogroups:
Yellow shows information about active sessions.
Red shows information about sessions that save into the Log.
DBPLUS Performance Monitor PostgreSQLfor 37
![Page 38: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/38.jpg)
Sessions history
Information about session can be sorted by use: Wait type Query ID User Name Pid – session ID Application name
DBPLUS Performance Monitor PostgreSQLfor 38
Information can be viewed in the form of a graph.
![Page 39: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/39.jpg)
Locks
Contains information about locks that take place in a given instance.
Online Locks– allows for current locks analysis in an instance or a specific database
Locks history – allows to track locks in time
Online Locked Objects - shows a list of objects on which locks are currently installed
DBPLUS Performance Monitor PostgreSQLfor 39
![Page 40: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/40.jpg)
Locks
After select blocking/ blocked session, there are information about: Query content Session parameters Transaction type Status Wait type Start time query
DBPLUS Performance Monitor PostgreSQLfor 40
![Page 41: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/41.jpg)
Parameters
Allows to view and report history of the change the PostgreSQL instance parameters.
The window presents the current status of parameters and their changes over time.
DBPLUS Performance Monitor PostgreSQLfor 41
![Page 42: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/42.jpg)
Access management
DBPLUS Performance Monitor PostgreSQLfor 42
The ability to give access to individual instances and screens in the application.Access settings for: USER
(Object name: DOMENA\USER) GROUP: Local (Object name: Group name)
Domain (Object name: DOMENA\USER)
PROFILE(Object name: PROFIL NAME).
The ability to configure permissions: own (use Own permissions) inherited (Inherited permissions).
![Page 43: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/43.jpg)
Access management
DBPLUS Performance Monitor PostgreSQLfor 43
Own permissions (Use own permissions).
This type of permission can be granted for each of the three objects(USER, GROUP, PROFILE).
Permissions are assigned to individual functions (Function rights).
Permissions for individual databases (Database access).
Local privillages (Local privillages).
![Page 44: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/44.jpg)
Access management
DBPLUS Performance Monitor PostgreSQLfor 44
Inherited permissions(use Inherited permissions from parents).
This type of permission can be granted for each of the three objects(USER,GROUP,POFILE).
When permissions are granted, always point PROFILE where permissions previously have been defined.
![Page 45: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/45.jpg)
Access management
DBPLUS Performance Monitor PostgreSQLfor 45
Access management is set on two levels:
DBPLUS Configuration Wizard: Applications settings >Application Options > Configure
DBPLUS Performance Monitor: Configuration > Settings > Parameter SECURITY
![Page 46: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/46.jpg)
Anomaly Monitor
This module contains information about problems that affect database performance.
Information is avaiable from the level of the monitored SQL instance
Two types of Alerting: Online Trends
DBPLUS Performance Monitor PostgreSQLfor 46
![Page 47: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/47.jpg)
Anomaly Monitor
Grouped by the creationreasons and their impact on the given statistics in a database.
Presented in detail for a given period of time.
DBPLUS Performance Monitor PostgreSQLfor 47
![Page 48: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/48.jpg)
InstanceLoad
Information about Alerts is also visible on the chart on the Instance Load tab.
DBPLUS Performance Monitor PostgreSQLfor 48
Sample Alert that inform about achange of the execution plan:
![Page 49: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/49.jpg)
Anomaly Monitor – Configuration
DBPLUS Performance Monitor PostgreSQLfor 49
Configuration and alert definitions are available in the menu:Configuration > Alert settings
Set the mailbox
![Page 50: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/50.jpg)
Anomaly Monitor – Configuration
DBPLUS Performance Monitor PostgreSQLfor 50
General settingsContain parameter configurations that control the operation of the alert module.
![Page 51: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/51.jpg)
Anomaly Monitor – How does it work?
DBPLUS Performance Monitor PostgreSQLfor 51
The Anomaly Monitor is based on gathering information about statistics in the instance.
Alert definitions– a threshold alarm value is defined for each statistic.
Problem definition– a set of rules based on predefined Alerts.
Based on historical information, threshold exceeding events are generated.
![Page 52: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/52.jpg)
Anomaly Monitor – How does it work?
DBPLUS Performance Monitor PostgreSQLfor 52
The alert definition is based on:
Selection of Alert type : Online I/O Stats Load Trends SQL Query
![Page 53: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/53.jpg)
Anomaly Monitor – How does it work?
DBPLUS Performance Monitor PostgreSQLfor 53
The alert definition is based on:
Determining the alarm threshold value: WARNING/CRITICAL
![Page 54: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/54.jpg)
Anomaly Monitor – How does it work?
DBPLUS Performance Monitor PostgreSQLfor 54
The alert definition is based on:
Setting additional conditions: Value below which the alert does not
appear Value above which the alert will
always occur What impact the query generates
(only SQL Query)
![Page 55: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/55.jpg)
Anomaly Monitor – How does it work?
DBPLUS Performance Monitor PostgreSQLfor 55
To define the problem, indicate the cause of the problem. It can be determined by configure rule that consist of predefined alert definitions. To configure: the name of the problem Determine the class of the
problem
![Page 56: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/56.jpg)
Anomaly Monitor – problem definitions
DBPLUS Performance Monitor PostgreSQLfor 56
The next step of configuration: Set up a set of rules based on the
Alert definition
![Page 57: Performance Monitor Subtitle for PostgreSQL · DBPLUS Performance Monitor for PostgreSQL 2. System architecture DBPLUS Performance Monitor for PostgreSQL 3 A set of SQL procedures](https://reader031.fdocuments.net/reader031/viewer/2022040503/5e2fcbd0c457e84b106d5ca2/html5/thumbnails/57.jpg)
dbplus.tech
Subtitle Thank you!www.dbplus.tech