Upload
flaviocarmo
View
31
Download
2
Embed Size (px)
Citation preview
Postgres Plus Standard Server v9.0.2.1 Release Notes
Copyright 2010 EnterpriseDB Corporation. All Rights Reserved. Page: 1
Release Notes Postgres Plus® Standard Server
v9.0
Table of Contents
I. Release Summary .............................................................................................................................................1
II. New Postgres Plus Standard Server v9.0 Features..........................................................................................2
III. Enterprise Modules.........................................................................................................................................4
IV. pgAdmin..........................................................................................................................................................6
V. Certification.....................................................................................................................................................6
VI. Security ...........................................................................................................................................................7
VII. Installation Notes............................................................................................................................................8
VIII. StackBuilder Plus.............................................................................................................................................8
IX. Internationalization / Localization ................................................................................................................11
X. Maintenance .................................................................................................................................................11
XI. Documentation .............................................................................................................................................11
XII. Upgrade Paths...............................................................................................................................................11
XIII. Platform Support and Downloads.................................................................................................................12
XIV. System Requirements ...................................................................................................................................13
XV. Known Issues ................................................................................................................................................14
XVI. How to Report Problems ..............................................................................................................................14
I. Release Summary
EnterpriseDB continues to advance its position as the leader in delivering the quality, innovation, and low cost of open source database products and services to the enterprise in this latest release of Postgres Plus Standard Server v9. The following describes the major components of what constitutes Standard Server:
Postgres Plus Standard Server v9.0.2.1 Release Notes
Copyright 2010 EnterpriseDB Corporation. All Rights Reserved. Page: 2
PostgreSQL 9.0.2.1 is included as the base package for Postgres Plus Standard Server v9 distributed in a professional installation program. You get all the new features of the community database server version including: native Streaming Replication and Hot Standby (details below).
Enterprise Modules are installed automatically in Standard Server. These open source PostgreSQL compatible components add large enterprise capabilities including client connectors, connection pooling, spatial data support, and more.
pgAdmin, the DBA and Developer GUI console is also installed by default providing the most effective PostgreSQL administration and programming tools available under an open source license.
StackBuilder Plus is the package manager for distributing and updating the core database server and PostgreSQL compatible add-‐on modules. StackBuilder Plus also includes UpdateMonitor, a system tray utility that monitors and reports when updates to all your installed components are available.
Certification and Testing assures you of getting multiple open source software programs that have been downloaded, compiled, packaged, installed, and tested with PostgreSQL and each other as an integrated enterprise ready database environment.
II. New Postgres Plus Standard Server v9.0 Features
A. Streaming Replication
Standard Server now has built-‐in native replication. Standby servers can now connect to a master server and be sent the binary logs to stay updated for improved High Availability setups. Streaming Replication is an asynchronous mechanism where the standby server lags behind the master. But unlike other replication methods, this lag is extremely short, and can be as little as a single transaction, depending on network speed, database activity, and Hot Standby settings. Also, the load on the master for any standby server is minimal, allowing a single master to support many standby servers.
B. Hot Standby Utilizing Streaming Replication (or log shipping), Hot Standby allows continuous archive standby servers to execute read-‐only queries. This feature is similar to DataGuard from Oracle®. A Hot Standby server can deliver a variety of benefits including: a) faster OLTP and reporting performance by offloading reports to a standby server, b) more efficient warm standby servers for improved High Availability, c) testing systems in parallel with the same data, and d) migrating seed data to a new system. The net effect is to support a single master with multiple read-‐only slave servers.
C. Easier Object Permissions Management
Postgres Plus Standard Server v9.0.2.1 Release Notes
Copyright 2010 EnterpriseDB Corporation. All Rights Reserved. Page: 3
GRANT/REVOKE IN SCHEMA supports mass permissions changes on existing objects, while ALTER DEFAULT PRIVILEGES allows control of privileges for objects created in the future. Large objects (BLOBs) now support privilege management as well.
D. Faster VACUUM FULL.
The implementation of this command now rewrites the entire table and indexes, rather than moving individual rows to compact space. It is substantially faster in most cases, and no longer results in index bloat.
E. New Trigger Features Standard Server now has SQL-‐standard-‐compliant per-‐column triggers which only fire when a specific column is explicitly UPDATED. They allow you to avoid adding lots of conditional logic and value comparisons in your trigger code. Another new trigger feature is WHEN triggers for more control over when triggers fire. This can dramatically decrease the number of trigger executions and reduce CPU load on the database server.
F. Exclusion Constraints These provide a generalized version of unique constraints, allowing enforcement of complex conditions with a simple option to an ALTER TABLE command. For example, an exclusion constraint can be used to automatically reject a room reservation record INSERT whose time slot overlaps or conflicts with an existing reservation record, all without any complex coding or setup.
G. Deferrable Unique Constraints Mass updates to unique keys are now possible without difficult work-‐arounds. Checking of constraints that are deferrable are postponed until the end of the statement or transaction. Currently, UNIQUE, PRIMARY KEY, EXCLUDE, and REFERENCES (foreign key) constraints accept this clause.
H. New and Enhanced Security features These include RADIUS authentication, LDAP authentication improvements, and a new contrib module passwordcheck for testing password strength.
I. Enhanced Stored Procedure Support
The DO statement supports ad-‐hoc or "anonymous" code blocks. Functions can now be called using named parameters. PL/pgSQL is now installed by default, and PL/Perl and PL/Python have been enhanced in several ways, including support for Python3.
J. hstore Improvements
Postgres Plus Standard Server v9.0.2.1 Release Notes
Copyright 2010 EnterpriseDB Corporation. All Rights Reserved. Page: 4
Improvements include: a) the addition of new functions and operators, b) the removal of size limits for Keys and values, and c) GROUP BY and DISTINCT can now be used. These feature additions make hstore a full-‐function key-‐value store embedded in PostgreSQL.
K. Enhanced Reporting Queries New features include additional windowing options (PRECEDING and FOLLOWING) and the ability to control the order in which values are fed to aggregate functions.
L. High-‐Performance LISTEN/NOTIFY
This new implementation of LISTEN/NOTIFY has Pending events now stored in a memory-‐based queue rather than a table. Also, a "payload" string can be sent with each event, rather than transmitting just an event name as before.
M. Multiple Performance Enhancements
For specific types of queries, including elimination of unnecessary joins, performance has been significantly increased. This helps optimize some automatically generated queries, such as those produced by object-‐relational mappers (ORMs).
N. EXPLAIN Enhancements.
The output is now available in JSON, XML, or YAML format, and includes buffer utilization and other data not previously available.
O. New pg_upgrade contrib Module
Removes the need to dump/restore a database to upgrade to a new software version. Supports incredibly fast in-‐place upgrades from 8.3 or 8.4 to 9.0. See the Upgrade Paths section below.
For a complete list of all new features and details on individual features please visit: http://www.postgresql.org/docs/9.0/static/release-‐9-‐0.html#AEN99033
III. Enterprise Modules
Enterprise modules are add-‐on components from the Postgres eco-‐system built, tested, packaged, certified and installed with the core database server to provide a world-‐class enterprise ready object relational database capable of serving almost all the database requirements of any organization.
EnterpriseDB regularly surveys sister open source projects in the orbit of PostgreSQL and selects the ones addressing critical needs of our enterprise customers. We then download the most stable generally available source, build binaries, create installers, test the integration of the features and bundle them as part of the default installation for Postgres Plus Standard Server making them Enterprise Modules.
Postgres Plus Standard Server v9.0.2.1 Release Notes
Copyright 2010 EnterpriseDB Corporation. All Rights Reserved. Page: 5
This effort relieves enterprise DBAs and Developers from doing all this work against multiple open source projects and provides them an established single source for software management as well as services and support.
The following Enterprise Modules are bundled and installed along with PostgreSQL as part of Postgres Plus Standard Server:
A. pgJDBC Client Connector
B. The version of pgJDBC shipped as part of Postgres Plus Standard Server v9.0 is: 8.4-‐701.
C. psqlODBC Client Connector
D. The version of psqlODBC shipped as part of Postgres Plus Standard Server v9.0 is: 8.04.0200.
E. Npgsql .NET Client Connector
F. The version of Npgsql shipped as part of Postgres Plus Standard Server v9.0 is: 2.0.10.
G. PostGIS Spatial Data / Functions extensions
H. The version of PostGIS shipped as part of Postgres Plus Standard Server v9.0 is: 1.5.2.
I. Slony-‐I Replication Server
J. The version of Slony shipped as part of Postgres Plus Standard Server v9.0 is: 2.0.4.
K. PgBouncer Connection Pooler
L. The version of PgBouncer shipped as part of Postgres Plus Standard Server v9.0 is: 1.3.3.
M. Pgmemmcache API
N. The version of pgmemcache shipped as part of Postgres Plus Standard Server v9.0 is: 2.0.1.
O. pgAgent Job Scheduler
P. The version of pgAgent shipped as part of Postgres Plus Standard Server v9.0 is: 3.0.1.
Postgres Plus Standard Server v9.0.2.1 Release Notes
Copyright 2010 EnterpriseDB Corporation. All Rights Reserved. Page: 6
You can find the home URL location of these projects and links to their associated documentation by visiting: http://www.enterprisedb.com/community/projects/projects.do or http://www.enterprisedb.com/learning/documentation.do
IV. pgAdmin
pgAdmin is the most popular and feature rich Open Source administration and development platform for PostgreSQL. pgAdmin is designed to answer the needs of all users, from writing simple SQL queries to developing complex databases.
The graphical interface supports all PostgreSQL features and makes administration easy. The application also includes a syntax highlighting SQL editor, a server-‐side code editor, an SQL/batch/shell job scheduling agent, support for the Slony-‐I replication engine and much more. Server connections may be made using TCP/IP or Unix Domain Sockets (on *nix platforms), and may be SSL encrypted for security. No additional drivers are required to communicate with the database server.
pgAdmin v1.12 is packaged and installed as part of Postgres Plus Standard Server v9.0. A tour of the new features in pgAdmin v1.12 is available here: http://www.pgadmin.org/visualtour12.php
V. Certification
A. Certification Testing EnterpriseDB test certifies the complete Standard Server package including PostgreSQL, Enterprise Modules, pgAdmin, and StackBuilder Plus modules.
EnterpriseDB packages the community open source version of PostgreSQL into Postgres Plus Standard Server. A number of other open source feature add-‐ons are also bundled into a Standard Server installation (see above). EnterpriseDB downloads and obtains the source code, builds the software, packages the modules, creates individual installers for each package, and adds them to Standard Server. Finally, additional modules and software can be added to a Standard Server installation with StackBuilder Plus. Each StackBuilder Plus module is also bundled into an easy to use one-‐click installer.
The Quality Management Group at EnterpriseDB then performs installation testing of each module across the Postgres Plus Standard Server supported platforms. Once installed, basic functionality testing is performed to ensure proper operation with Postgres Plus Standard Server. In addition, EnterpriseDB performs integration testing of the modules to assure their compatibility with one another. For instance, pgAdmin and Slony can be installed and used independently. However, pgAdmin can configure Slony so additional testing is performed between these two components.
B. Representative Integration Tests Below is a summary level representative list of the integration testing done by EnterpriseDB.
Postgres Plus Standard Server v9.0.2.1 Release Notes
Copyright 2010 EnterpriseDB Corporation. All Rights Reserved. Page: 7
1. Verify that installations of different major PostgreSQL versions can co-‐exist without interfering with each other, e.g. 8.3 and 8.4.
2. Verify that installations of PPSS8.4 can co-‐exist without interfering with a PostgreSQL 8.3 installation and components (Slony & PostGIS) previously installed.
3. Verify that that spatial data in a PostGIS-‐enabled database is accessible using phpPgAdmin.
4. Verify that a database can be accessed using psql, via pgbouncer.
5. Verify that Drupal can be installed and run using a pgbouncer database connection.
6. Verify that a Slony cluster can be created using the slonik tool, and PostGIS spatial data replicated successfully.
7. Verify that pgAdmin properly displays the pgAgent control schema as a system catalog.
8. Verify that pgmemcache can be installed, and a server added using the memcache_server_add() function via pgAdmin.
9. Verify that key/value pairs can be added to and retrieved from pgmemcache using pgAdmin and psql.
10. Verify that PostGIS spatial data can be accessed on a Slony replication slave and the master using Npgsql.
11. Verify that PostGIS spatial data can be accessed on a Slony replication slave and the master using pgJDBC.
12. Verify that PostGIS spatial data can be accessed on a Slony replication slave and the master using psqlODBC.
VI. Security Postgres Plus Standard Server is the most secure open source database available today. In addition to the security enhancements in PostgreSQL, Standard Server v9.0 makes available another layer of unique and powerful protection called SQL/Protect.
A. SQL/Protect – Protection against SQL Injection Attacks SQL/Protect is an add-‐on security module from EnterpriseDB distributed only through StackBuilder Plus. While Standard Server is well known for being the most secure open source database, there is one source of attack against any database that is not easily protected against in a centralized and standardized fashion; the wide variety of SQL code in client applications that accesses a database. These attacks hitch a ride on the back of SQL commands to compromise or damage data. Preventing SQL/Injection is normally left up to the skills of the individual application developer, which can vary greatly between people and the projects they work on, and be compromised by tight schedules and commercial delivery pressures.
Postgres Plus Standard Server v9.0.2.1 Release Notes
Copyright 2010 EnterpriseDB Corporation. All Rights Reserved. Page: 8
SQL/Protect adds a standardized, quick to setup, and easy to use security layer on the database server that guards against SQL Injection attacks and is managed by DBAs. It provides a consistent approach against a standardized set of attack vectors and works for any application. SQL/Protect is an optionally installed module that adds an additional layer of security underneath the normal database security policies by examining inbound queries and stopping common SQL Injection profiles. SQL/Protect examines queries for the following types of attack vectors:
• Unauthorized Relations
• Utility Commands
• SQL Tautology
• Unbounded DML
See the SQL/Protect documentation for more information at: http://www.enterprisedb.com/learning/documentation.do
VII. Installation Notes
A. Installing The Postgres Plus installation program is designed to install the database software in a new/empty directory and utilize an un-‐used port on the computer, or it may be used to upgrade an existing installation.
You may install a newer major version on the same machine with an older major version, i.e. 8.4.x and 9.0.x can co-‐exist. The installation program wizard will ask you for a new directory that is different than the existing older version and ask for an unused port too. You do not need to shutdown the older version of the database server.
B. Uninstalling To uninstall this version of Postgres Plus in Windows, use the Add/Remove Programs utility in the Control Panel. On Mac or Linux systems, run the uninstall-‐postgresplus program in the installation directory. Note that the operating system user account (usually ‘postgres’) and data directory will not be removed and must be done manually. You do not need to shut down the database server.
VIII. StackBuilder Plus
A. Building Enterprise Features on an Open Source Base
Postgres Plus Standard Server v9.0.2.1 Release Notes
Copyright 2010 EnterpriseDB Corporation. All Rights Reserved. Page: 9
StackBuilder Plus is a meta-‐installer program capable of distributing multiple individual installers for various types of software. StackBuilder Plus can distribute Postgres Plus Standard Server, its pre-‐installed add-‐ons, and third party modules and software stacks.
StackBuilder Plus provides a powerful maintenance and feature enhancement tool to both DBAs and application developers with the following features:
1. Database Server and Enterprise Module updates – you can manually check for updates to your Postgres database server and pre-‐installed open source add-‐on modules such as PostGIS.
2. StackBuilder Plus module updates – you can also manually check for updates to the optionally installed 3rd party modules and software stacks like pgPhoneHome.
3. UpdateMonitor – if installed, it will automatically check every 24 hours for updates to the database server, pre-‐installed add-‐on modules, and StackBuilder Plus modules and notify you of any pending updates relieving you of this manual task.
4. Automatically apply updates -‐ you can launch StackBuilder Plus from UpdateMonitor, read about the content of each update, select which updates you wish to apply, and then automatically download and install your selected updates.
5. Distribute new modules – as EnterpriseDB publishes new StackBuilder Plus modules, they become available through StackBuilder Plus. This provides a tool for EnterpriseDB to seamlessly add new features to the open source core of Postgres Plus Standard Server on a continuing basis without the need for a full install of your database server or StackBuilder Plus utility.
6. Alert Notifications – if you installed UpdateMonitor, an Alert system will notify you of new modules added to StackBuilder Plus or possible security issue. You can then read about them, and download and install them.
7. Self updating – as StackBuilder Plus is enhanced and improved it can also update itself when new versions become available
B. StackBuilder Plus Components
The StackBuilder Plus user selectable modules for this release of Postgres Plus Standard Server include:
EnterpriseDB Migration Toolkit
EnterpriseDB MySQL Migration Wizard
EnterpriseDB Tuning Wizard for PostgreSQL
EnterpriseDB pgPhoneHome for the Apple iPhone
EnterpriseDB Postgres Plus HQ
Postgres Plus Standard Server v9.0.2.1 Release Notes
Copyright 2010 EnterpriseDB Corporation. All Rights Reserved. Page: 10
EnterpriseDB PL/Secure
EnterpriseDB SQL/Protect
EnterpriseDB xDB Replication Server
Database Drivers
libpg64
-‐Npgsql
pgODBC
PgOleDB
psqlODBC
Slony-‐I for PostgreSQL 8.4
PostGIS 1.4 Spatial Extensions
Web Application Stacks
Drupal
mediaWiki
phpBB
phpWiki
Web Development Stacks
ApachePHP
phpPgAdmin
Ruby on Rails
C. StackBuilder Plus UpdateMonitor
UpdateMonitor, a StackBuilder Plus component, is an intelligent system tray utility that keeps track of which StackBuilder Plus catalog components are installed on your computer. Once a day it checks with the StackBuilder Plus repository for newer versions of your installed components. If any newer versions are found, UpdateMonitor will raise a desktop dialog bubble to inform you that updates are available and display its icon in the system tray.
At your direction, UpdateMonitor can also start StackBuilder Plus. Simply select the system tray icon menu. Once StackBuilder Plus starts, it will download and display the list of available updates. At that point you may select which, if any, updates you want StackBuilder Plus to download and install.
Postgres Plus Standard Server v9.0.2.1 Release Notes
Copyright 2010 EnterpriseDB Corporation. All Rights Reserved. Page: 11
UpdateMonitor reduces the time DBAs and Developers must spend tracking, acquiring, and applying updates to their enterprise database components.
Privacy Note: StackBuilder Plus UpdateMonitor requires registration with EnterpriseDB.com who makes a record of which components you have downloaded. This behavior is different for users accustomed to StackBuilder’s download use. We encourage users to review our latest EnterpriseDB Privacy Statement at: http://www.enterprisedb.com/company/legal/privacy.do
IX. Internationalization / Localization The PostgreSQL database server in your download of Postgres Plus Standard Server is already localized into many different languages. To see if your language is supported for any version visit: http://babel.postgresql.org/
X. Maintenance
A complete list of all the features and fixes that comprise the v9.0 release of the database server can be viewed at: http://www.postgresql.org/docs/9.0/static/release-‐9-‐0.html
XI. Documentation
A. On-‐Disk Documentation
The PostgreSQL installation footprint includes the PostgreSQL documentation. This documentation is also available online at: http://www.enterprisedb.com/learning/documentation
B. Add-‐In Modules Documentation
Links to documentation for third party open source modules installed as part of Postgres Plus Standard Server can be found at: http://www.enterprisedb.com/community/projects/projects.do
C. PDF Documentation
Some installable modules have PDF documentation available. These include the xDB Replication Server, PL/Secure, and SQL/Protect. To access the PDF documentation, visit: http://www.enterprisedb.com/learning/documentation
XII. Upgrade Paths
A. v8.4 to v9.0
Postgres Plus Standard Server v9.0.2.1 Release Notes
Copyright 2010 EnterpriseDB Corporation. All Rights Reserved. Page: 12
Version 9.0 contains a number of changes that selectively break backwards compatibility in order to support new features and code quality improvements. A dump/restore using pg_dump, or use of pg_upgrade, is required for those wishing to migrate data from any previous release.
pg_upgrade is included as a contrib module and avoids the requirement of dumping/reloading the database when upgrading to a new major release of PostgreSQL, thus reducing downtime by orders of magnitude. It supports upgrades to 9.0 from PostgreSQL 8.3 and 8.4.
Documentation on pg_upgrade is available at: http://developer.postgresql.org/pgdocs/postgres/pgupgrade.html
For a complete list of upgrade topics please visit: http://developer.postgresql.org/pgdocs/postgres/release-‐9-‐0.html#AEN99609
B. v8.3 to v9.0 Follow the normal dump and restore routines outlined for changes between major releases of PostgreSQL (where the number after the first dot changes) at:
1. http://www.enterprisedb.com/docs/en/8.4/pg/install-‐upgrading.html
2. http://www.enterprisedb.com/docs/en/8.4/pg/migration.html
XIII. Platform Support and Downloads
A. Downloads EnterpriseDB packaged distributions of Postgres based database software may be downloaded from:
1. Postgres Plus Advanced Server:
http://www.enterprisedb.com/products/postgres_plus_as/download.do
2. Postgres Plus Standard Server:
http://www.enterprisedb.com/products/postgres_plus/download.do
3. General Download Page: http://www.enterprisedb.com/products/download.do
B. Production Deployment Platforms
Postgres Plus Standard Server v9.4 is supported for production deployment by EnterpriseDB on the following platforms:
1. CentOS 5.x (32 and 64 bit)
2. Red Hat Enterprise Linux 5.x (32 and 64 bit)
3. openSuSE 11.x (32 and 64 bit)
Postgres Plus Standard Server v9.0.2.1 Release Notes
Copyright 2010 EnterpriseDB Corporation. All Rights Reserved. Page: 13
4. SUSE Linux Enterprise Server (SLES) 11.x (32 and 64 bit)
5. Ubuntu 10.04, 9.10, and 8.04 LTS (32 and 64 bit)
6. Mac OS X Server 10.6 and OS X Server 10.5 Intel® (32/64 bit Universal Binaries support Intel platforms)
7. Win2008 and Win2003 (Note: the Windows binaries are 32 bit and work across both 32 bit and 64 bit environments)
C. Personal and Development Platforms
The following platforms, commonly used in our development and testing labs, may be convenient for your personal, testing and/or evaluation purposes. We do not recommend the usage of these platforms in a production environment.
1. Fedora Core 10 – 12
2. Mac OS X Desktop 10.6 and OS X 10.5 on Intel (32/64 bit universal binary that runs on Intel platforms)
3. Windows 7, Vista, and Windows XP
For inquiries regarding the support of your operating system, contact us by:
Email: sales-‐[email protected] or sales-‐[email protected]
Call: +1-‐732-‐331-‐1315 or 1-‐877-‐377-‐4352
Visit: https://www.enterprisedb.com/company/contact_us.do
XIV. System Requirements
On some systems, Postgres Plus Standard Server can operate with a minimum configuration as follows:
• 600 MHz processor
• 512 MB of RAM
• 512 MB of HDD plus space for your data
These specifications may, however, vary depending on the operating system/version in use and what additional applications may be running on the machine.
A. Operating System Support
See the section above titled Platform Support for a list of the operating systems used in certifying Postgres Plus Standard Server for which EnterpriseDB offers paid software subscription support. For more details on software subscriptions see: http://www.enterprisedb.com/products/purchase.do
Postgres Plus Standard Server v9.0.2.1 Release Notes
Copyright 2010 EnterpriseDB Corporation. All Rights Reserved. Page: 14
XV. Known Issues
A. StackBuilder Plus UpdateMonitor
The popup notification from StackBuilder Plus' Update Monitor will only be displayed if Growl (http://growl.info/) is installed when running on Mac OS X. The system tray icon will be displayed as normal however.
B. Gnome Menu Shortcuts
On some older Linux distributions, shortcuts may not be created correctly on the Gnome menu. In some cases the issue resolves itself after logging out of the session and logging back in.
C. Postgres Plus HQ Postgres Plus HQ successfully monitors PostgreSQL v9 databases. However, the Postgres Plus HQ server does not yet support storing collected data in a v9 database. This should not affect existing installations of the HQ server which pre-‐date v9. For a new installation follow the instructions for installing the HQ Server in the Postgres Plus HQ documentation section: 3.3.1 Installing the PPHQ Server, but use a version of Postgres previous to 9.0. The documentation is located at: http://www.enterprisedb.com/docs/en/8.4/pphq/Table%20of%20Contents.htm
XVI. How to Report Problems
To report any issues you are experiencing, please contact EnterpriseDB’s technical support staff:
• Email: [email protected]
• Call: +1-‐732-‐331-‐1320 or 1-‐800-‐235-‐5891 (US Only)
• Subscription customers can submit a support ticket at: https://www.enterprisedb.com/myenterprisedb.do
Please note that issues reported by Software Subscription customers take top priority over all other inquiries. You may also discuss any issues at: http://forums.enterprisedb.com/