Why pgAdmin 4? - PostgreSQL wiki
Why pgAdmin 4?
Khushboo Vashi | 2016.11.03
© Copyright EnterpriseDB Corporation, 2015. All Rights Reserved.
pgAdmin 4
• Introduction
• Basic Architecture
• Features
© 2016 EDB. All rights reserved.
INTRODUCTION
© Copyright EnterpriseDB Corporation, 2015. All Rights Reserved.
What is pgAdmin 4?
• Web based Open Source GUI management tool for PostgreSQL
• Fourth generation; replacing pgAdmin III written in C++
• Supports all the features of pgAdmin III except a few which are
known to be largely unused
• Supports PostgreSQL 9.2 and above and its derivatives such as
EDB Postgres Advanced Server
• Easily Extendable (Modular Architecture)
© Copyright EnterpriseDB Corporation, 2015. All Rights Reserved.
Technologies
• Python
‣ Server side scripting
‣ Supported versions: 2.7.x & 3.0 to 3.4
• Flask, micro-framework
‣ Python application framework
• Javascript/JQuery/Backbone
‣ Client side scripting
• Bootstrap
‣ HTML layouts
© Copyright EnterpriseDB Corporation, 2015. All Rights Reserved.
BASIC
ARCHITECTURE
© Copyright EnterpriseDB Corporation, 2015. All Rights Reserved.
Deployable
• In a desktop runtime, in a single user mode
• In a web server using WSGI, in a multi user mode
© Copyright EnterpriseDB Corporation, 2015. All Rights Reserved.
Framework
The application provides a framework for extensibility
• Tree view nodes are all plugins
• Individual tools are plugins
• Database drivers are plugins, to allow support for postgres
derivatives
• The module wise test-cases are plugins
© Copyright EnterpriseDB Corporation, 2015. All Rights Reserved.
Demo
© 2016 EDB. All rights reserved.
FEATURES
© Copyright EnterpriseDB Corporation, 2015. All Rights Reserved.
Usability
• Use of one or more servers simultaneously
• Slick and pretty web based Interface
• Responsive layout
• No full-page loading, used AJAX for partial loading
• Dock-able panels
• No sub-dialogues when working with any Postgres object
© Copyright EnterpriseDB Corporation, 2015. All Rights Reserved.
Demo
© 2016 EDB. All rights reserved.
Functional Features
• Supports all the PostgreSQL database object types
• Query tool
• Debugger for procedural languages
• Dashboards for simple real time monitoring
• Grant wizard
• Backup, Restore, Vacuum and Analyze on demand
• Manage pgAgent
• Automated unit testing
© Copyright EnterpriseDB Corporation, 2015. All Rights Reserved.
Functional Features
PostgreSQL Database objects
• All the PostgreSQL database objects like servers, databases,
table-spaces, roles, extensions, schemas, tables, indexes,
constraints, triggers, functions etc. are supported.
• CRUD operations for all the PostgreSQL database objects
• Separate panels for:
‣ Reverse engineered SQL
‣ Statistics
‣ Dependents
© Copyright EnterpriseDB Corporation, 2015. All Rights Reserved.
Functional Features
Query Tool
• Execute arbitrary SQL commands
• Export Data to a csv file
• Graphical explain plan
• View Analytical information about a SQL statement
• Auto complete
• Import SQL script through File Manager
View Data
• View / Modify data, limited by tables with primary keys
• Filter the result set
• Export Data as csv file
© Copyright EnterpriseDB Corporation, 2015. All Rights Reserved.
Functional Features
Procedural language debugger
• Support for plpgsql and edbspl languages
• All the basic needs of the debugging are supported:
‣ Set/Clear break point
‣ Play/pause
‣ Step over/Into
© Copyright EnterpriseDB Corporation, 2015. All Rights Reserved.
Demo
© 2016 EDB. All rights reserved.
Functional Features
Automated test framework
• Each individual module having its own test-case set
• Can run module wise test-cases
• Application level test-cases can also be executed
© Copyright EnterpriseDB Corporation, 2015. All Rights Reserved.
Demo
© 2016 EDB. All rights reserved.
Bug Report
Where to report?
• pgadmin-support@postgresql.org
• Log issue at https://redmine.postgresql.org/ under pgAdmin4 project
What to report?
• Issue Details
• Describe the issue properly
• Steps to reproduce the issue
• Mention desktop/web server mode
• Mention OS details (name, version etc)
• Logs (Web Server, and pgAdmin 4)
© Copyright EnterpriseDB Corporation, 2015. All Rights Reserved.
More Info
• Website
• https://www.pgadmin.org
• Source code
• https://git.postgresql.org/gitweb/p=pgadmin4.git
• Mailing list
• pgadmin-support@postgresql.org
• pgadmin-hackers@postgresql.org
© 2016 EDB. All rights reserved.
© Copyright EnterpriseDB Corporation, 2015. All Rights Reserved.
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Download PDF

advertising