Intro.to.pem webinar.slides-061913
Upcoming SlideShare
Loading in...5
×
 

Intro.to.pem webinar.slides-061913

on

  • 960 views

During the presentation, Gary Carter, Director of Product Marketing described the differences between EnterpriseDB’s Postgres Enterprise Manager and PGAdmin, as well as the benefits and features of ...

During the presentation, Gary Carter, Director of Product Marketing described the differences between EnterpriseDB’s Postgres Enterprise Manager and PGAdmin, as well as the benefits and features of PEM for DBAs and Developers.

The key points covered during the presentation were:
• Key Postgres best practices – before and after PEM
• Alarm/alert management for DBAs
• How to leverage PEM for distributed team views and access
• Tools for tuning in Enterprise Manager
• Alarm/alert management for DBAs
• An overview of PEMs trial download and subscriptions
To hear the recording please visit - http://www.enterprisedb.com/resources-community/webcasts-podcasts-videos/webcasts/leveraging-pem-monitor-manage-and-tune

Statistics

Views

Total Views
960
Views on SlideShare
960
Embed Views
0

Actions

Likes
0
Downloads
25
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Intro.to.pem webinar.slides-061913 Intro.to.pem webinar.slides-061913 Presentation Transcript

  • 1 EnterpriseDB, Postgres Plus and Dynatune are trademarks of EnterpriseDB Corporation. Other names may be trademarks of their respective owners. © 2010. All rights reserved. Leveraging Postgres Enterprise Manager! An Introduction to Postgres Enterprise Manager for DBAs and Developers June 2013
  • 2© 2013 EnterpriseDB. All rights reserved. Who is EnterpriseDB?!
  • 3 u  Provide  support,  services,  training,  management  tools  and  high-­‐ level  features  needed  for  enterprises  to  take  full  advantage  of  the   cost  and  performance  benefits  available  with  Postgres  databases   u  130+  employees   u  2,000+  customers  across  all  market  segments   u  Global  presence  with  offices  in  North  America;  Europe;  India;  and   Japan   u  Fast  growing:  experienced  60%  YOY  sales  growth  in  2012   u  Strong  financial  backing:   © 2013 EnterpriseDB. All rights reserved.
  • EnterpriseDB Business Focus! 4© 2013 EnterpriseDB. All rights reserved. PostgreSQL Support Services and Training Postgres Plus Advanced Server Postgres Plus Cloud Database Postgres Plus Tools Enterprise Support Remote DBA
  • Postgres Enterprise Manager! u  Community PostgreSQL 5© 2013 EnterpriseDB. All rights reserved. u  EnterpriseDB Postgres Plus Advanced Server! An EnterpriseDB tool for DBAs and Developers to manage, monitor, and tune large Postgres deployments en masse.
  • Manage means...! u  Add, change, delete and view database objects •  Server languages, triggers, stored procedures, functions, operators! •  Postgres clusters, Schemas, Databases, Tables, Views, row data! •  Columns, constraints, indexes, sequences! •  Roles, Users, Rules! u  Routine DB Maintenance •  Edit configuration files! •  Auto-vacuum Management! •  Log file Browser! •  Lock viewer! •  Server Status! •  Execute SQL! •  Scheduling jobs! 6© 2013 EnterpriseDB. All rights reserved.
  • Monitor means...! u  Performance Management (database and OS statistics) u  Capacity Management u  Configuration Management u  Alerts Management u  Team Management u  Log Management 7© 2013 EnterpriseDB. All rights reserved.
  • Tune means...! u  Editing Parameter Configurations u  Profiling SQL workloads by inspecting SQL workloads to finding slow running queries in need of improved performance u  Debugging and re-writing queries u  Creating new new indexes 8© 2013 EnterpriseDB. All rights reserved.
  • 9© 2013 EnterpriseDB. All rights reserved. What is Postgres Enterprise Manager (PEM)?! An EnterpriseDB tool for DBAs and Developers to monitor, manage, and tune large Postgres deployments en masse! It’s the only solution of its kind for PostgreSQL!
  • 10© 2013 EnterpriseDB. All rights reserved. u  Distributed Architecture •  Specialized components: Server, Client and Agents! •  Efficient low impact processing that is scalable! u  Pre-configured customizable settings •  Works right out of the box! •  You are immediately productive! u  Automatic Bulk Operations Across Multiple Servers •  Eliminates repetitive work! •  Tasks are performed faster and consistently across the infrastructure! u  Centralized Data Store •  Automatic data gathering into a database for easy manipulation of data! •  Easier consolidated reporting/views and historical analysis! Designed for Large Scale Deployments!
  • 11© 2013 EnterpriseDB. All rights reserved. u  Multiple pre-configured views over data with drill down features •  Analyze multiple servers from different data perspectives! •  Faster root cause determination! u  Centralized Work Console •  One place for all database related activities: managing, monitoring, tuning! •  Less context switching tools maintenance is more efficient & scalable style of work! u  Results: One DBA can easily manage many more database servers! •  DBAs are happier! •  Organizations' have reduced expense! •  Organization have better control and efficiency in their database infrastructure! Designed for Large Scale Deployments!
  • u  Enterprise Manager Agent •  Installed on each managed machine; collects data on OS and databases! u  Enterprise Manager Server •  Centralized storage for agent collected data and client dashboards ! u  Enterprise Manager Clients •  User GUI console with global at-a-glance monitoring dashboards and used to carry out centralized database administration and tuning! •  Fat client and web client! u  An efficient distributed architecture perfectly suited for large numbers of PostgreSQL servers in multiple locations Postgres Enterprise Manager components! 12© 2013 EnterpriseDB. All rights reserved.
  • PEM Distributed Architecture! 13© 2013 EnterpriseDB. All rights reserved. Monitoring Data Monitoring Data Enterprise Management Connections Database Management Connection Database Management Connection PEM ClientsUnmanaged Hosts PEM Server Managed Hosts (PEM Agents)
  • 14© 2013 EnterpriseDB. All rights reserved. PEM Designed for 2 types of Users! u  Features for DBAs •  Performance Management! •  Capacity Management! •  Configuration Management! •  Alerts Management! •  Team Management! •  Log Management! u  Features for Developers •  View over all database objects! •  Optimizing Parameter configurations! •  Server Side Debugging of Triggers and Stored Procedures! •  Performance Management!
  • Performance Management! 15© 2013 EnterpriseDB. All rights reserved.
  • Performance Management! 16© 2013 EnterpriseDB. All rights reserved. Global Overview
  • 17© 2013 EnterpriseDB. All rights reserved. Performance Management!
  • u  Without PEM: •  Manual gathering of statistics by hand, scripts, and tools! •  Creating spreadsheets and formulas! •  Creating charts and graphs for historical trends and future ! u  Results: Unpredictable forecasting results in poor performance, rushed and costly upgrades outside of general data center plans. 18© 2013 EnterpriseDB. All rights reserved. Capacity Planning & Forecasting!
  • u  With PEM: u  Allows early planning to lower costs, reduce maintenance windows, avoid performance or downtime issues 19© 2013 EnterpriseDB. All rights reserved. Capacity Planning & Forecasting!
  • u  Automatic collection of desired performance statistics u  Customized selections of what metrics to analyze u  Historical trend analysis over specified periods of time u  Future forecasting of resource consumption and usage u  Custom reports containing both graphical and tabular data 20© 2013 EnterpriseDB. All rights reserved. Capacity Planning & Forecasting!
  • u  Before PEM: u  No commitment to response times u  No commitment that the appropriate experts will respond u  Lacks complete knowledge of your database 21© 2013 EnterpriseDB. All rights reserved. Parameter Configuration Management! Community mail lists and other users
  • u  With PEM u  Response in seconds based on knowledgebase derived PostgreSQL expertise u  Based on knowledge of your specific database 22© 2013 EnterpriseDB. All rights reserved. Parameter Configuration Management! Postgres Expert
  • 23© 2013 EnterpriseDB. All rights reserved. Alert Management! u  Without PEM: u  Generic solutions not tailored to PostgreSQL u  Inefficient: each alert requires a different query to be executed u  Requires complex manual configuration, hand-written scripts to gather required data, integration with other tools u  Complicated environment and more skills to learn
  • Alert Management! 24© 2013 EnterpriseDB. All rights reserved. u  With PEM: u  Tailored solution out-of-the-box designed by PostgreSQL experts u  PEM separates data collection and alerting and does both efficiently to minimize impact on the monitored system and the PEM server u  Easily customizable and efficient
  • Team Support! 25© 2013 EnterpriseDB. All rights reserved. Dev-1 Dev-2 Test-1 Test-2NA-1 NA-2EU-1 Test-3SA-1 Developer Sue Region DBA Jim Headquarter DBA Mike Region DBA Mary Developer Rachel ? ? ? ? ? u  Without PEM:
  • Team Support! 26© 2013 EnterpriseDB. All rights reserved. u  With PEM Team Support:
  • Log Management! u  Without PEM •  Write scripts to edit configuration files! •  Test scripts! •  Update scripts! •  Update each server manually! •  Write scripts to consolidate logs ! for easy review! •  Test and update! •  Repeated logins! © 2013 EnterpriseDB. All rights reserved.
  • Log Management! u  With PEM Log Manager •  Fast Wizard-based specification and deployment! •  Instant Consolidated Log views! © 2013 EnterpriseDB. All rights reserved.
  • PEM for Developers! u  Parameter Configuration u  Stored Procedure and Trigger Debugging u  SQL Performance Management – SQL Profiler u  SQL Performance Management – Index Advisor 29© 2013 EnterpriseDB. All rights reserved.
  • Parameter Configuration! u  Without PEM 30© 2013 EnterpriseDB. All rights reserved.
  • Parameter Configurations - Postgres Expert ! 31© 2013 EnterpriseDB. All rights reserved. u  With PEM Postgres Expert
  • Parameter Configurations - Postgres Expert ! 32© 2013 EnterpriseDB. All rights reserved.
  • Stored Procedure / Trigger Debugging! 33© 2013 EnterpriseDB. All rights reserved.
  • 34© 2013 EnterpriseDB. All rights reserved. u  Number one cause of most database problems is poorly optimized SQL code u  Postgres Enterprise Manager provides multiple tools: •  SQL Profiler captures a SQL workload over time to locate your slowest running SQL queries! •  Query Metrics view shows a query’s performance in relation to other SQL in a captured workload! •  Index Advisor suggests and/or implements new indexes on tables based on queries you run against the table! SQL Performance Management!
  • u  Without SQL Profiler: u  Set config parameter to log long-running queries + server log scraping + pgFouine report…then re-run top queries using EXPLAIN; a slow manual process to find problem queries and interpret results; difficult using multiple tools 35© 2013 EnterpriseDB. All rights reserved. SQL Profiler!
  • 36© 2013 EnterpriseDB. All rights reserved. Duration: 122 seconds u  With SQL Profiler: u  Manual or scheduled SQL captures by user or database, with sorting and filtering of key performance metrics results. SQL Profiler!
  • 37© 2013 EnterpriseDB. All rights reserved. u  With SQL Profiler: u  Customized views of performance statistics of interest. SQL Profiler!
  • 38© 2013 EnterpriseDB. All rights reserved. u  Trace Metrics compare individual queries against the entire trace: u  Individual Query statistics within the context of multiple queries run during the trace. SQL Profiler!
  • Index Advisor! u  Integrated to work with the SQL Profiler u  Suggests new indexes if the query can be improved u  Provides the SQL syntax for adding the new index to a table u  Will optionally add the index for you on request 39© 2013 EnterpriseDB. All rights reserved.
  • 40© 2013 EnterpriseDB. All rights reserved. In Summary...! u  Features for DBAs •  Managing database objects! •  Routine Maintenance! •  Performance Management! •  Capacity Management! •  Configuration Management! •  Alerts Management! •  Team Management! •  Log Management! u  Features for Developers •  View over all database objects! •  Optimizing Parameter configurations! •  Server Side Debugging of Triggers and Stored Procedures! •  SQL Profiler! •  Queries Metrics View! •  Index Advisor! An Enterprise class tool for DBAs and Developers to manage, monitor, and tune large Postgres deployments en masse.
  • 41© 2013 EnterpriseDB. All rights reserved. u  www.enterprisedb.com/postgres-enterprise-manager u  Downloads •  Detailed Installation Guide! u  Documentation •  Installed with and integrated into the PEM Client console! u  Videos •  Architectural Overview! •  SQL Profiler! •  Capacity Manager! •  Installation! u  White Paper: Effectively Managing Postgres in the Enterprise How can I learn more about PEM?!
  • 42© 2013 EnterpriseDB. All rights reserved. u  What versions of PostgreSQL and Postgres Plus can be managed by Postgres Enterprise Manager Agent? •  PostgreSQL versions 8.2 and higher! •  Postgres Plus Advanced Server versions 8.3r2 and higher! •  OS: Linux32/64, Windows and Solaris (x86 and SPARC)! u  If PEM is built on pgAdmin, is it open source software too? •  No. PEM is EnterpriseDB intellectual property including the combined pgAdmin functionality.! •  pgAdmin is distributed under a “PostgreSQL License” which allows EnterpriseDB to do this.! u  What OS platforms does the Client support? •  Linux, Windows, HP-UX servers and! •  Windows and Linux clients! ! ! Q & A!