• Like
PostgreSQL News
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

PostgreSQL News

  • 793 views
Published

presented at the Open Database Conference 2005

presented at the Open Database Conference 2005

Published in Technology , News & Politics
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
793
On SlideShare
0
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
3
Comments
0
Likes
0

Embeds 0

No embeds

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

Transcript

  • 1. PostgreSQL News Peter Eisentraut petere@postgresql.org
  • 2. News • PostgreSQL 8.1 released today 2
  • 3. Hundreds of Changes • See release notes for details... 3
  • 4. Bitmap Scans • Ability to use more than one index per table • Index hits are combined in memory • Useful for • SELECT * FROM table WHERE (x = 1) OR (x = 2) OR (x = 3) • Automatically generated queries • Slony-I 4
  • 5. Two-Phase Commit • PREPARE TRANSACTION • COMMIT TRANSACTION • ROLLBACK TRANSACTION • Prepared transactions are preserved across server restart. • No XA interface support yet 5
  • 6. Role System • Unifies users and groups • “User” = role + login permission • Roles can be nested • Roles can own objects • Roles can be enabled/disabled at run time 6
  • 7. Automatic Use of Indexes for MIN() and MAX() Rewrite SELECT min(col) FROM tab; as SELECT col FROM tab ORDER BY col LIMIT 1; • Index automatically used • Works for all data types • Can be used by user-defined aggregates 7
  • 8. Integrated Autovacuum • contrib/pg_autovacuum now a server process • Starts and stops with the database server • Many configuration possibilities in postgresql.conf • Not turned on by default 8
  • 9. Shared Row-Level Locks • SELECT ... FOR SHARE • Reduces locking requirements of referential integrity checks • Better performance for foreign keys 9
  • 10. Dependencies on Shared Objects • Prevents roles from being dropped while there are still database objects they own • No more “orphaned” objects 10
  • 11. Constraint Exclusion • Avoids lookups on child tables where constraints indicate that no matching rows exist in the child table. • Basic type of table partitioning, to be extended in the future 11
  • 12. New ODBC Driver • Based on libpq • IPv6 support • SSL support • A lot more stable 12
  • 13. New JDBC Driver • Lots of bug fixes • Is rumored to pass Sun JDBC CTS • No XA yet :-( 13
  • 14. New pgAdmin III Version 1.4.0 • PostgreSQL 8.1 support: • Autovacuum administration • Roles • OUT parameters • Prepared transactions (2PC) • Graphical EXPLAIN • Slony-I support • SQL/shell job scheduling agent • Mac OS X support 14
  • 15. Future/Most Wanted Features • MERGE command • Table partitioning • Materialized views • Updatable views • Index-organized tables, index-only access • Recursive queries • Window functions 15
  • 16. Questions? 16