PostgreSQL News

1,130 views
937 views

Published on

presented at the Open Database Conference 2005

Published in: Technology, News & Politics
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,130
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
5
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

PostgreSQL News

  1. 1. PostgreSQL News Peter Eisentraut petere@postgresql.org
  2. 2. News • PostgreSQL 8.1 released today 2
  3. 3. Hundreds of Changes • See release notes for details... 3
  4. 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. 5. Two-Phase Commit • PREPARE TRANSACTION • COMMIT TRANSACTION • ROLLBACK TRANSACTION • Prepared transactions are preserved across server restart. • No XA interface support yet 5
  6. 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. 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. 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. 9. Shared Row-Level Locks • SELECT ... FOR SHARE • Reduces locking requirements of referential integrity checks • Better performance for foreign keys 9
  10. 10. Dependencies on Shared Objects • Prevents roles from being dropped while there are still database objects they own • No more “orphaned” objects 10
  11. 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. 12. New ODBC Driver • Based on libpq • IPv6 support • SSL support • A lot more stable 12
  13. 13. New JDBC Driver • Lots of bug fixes • Is rumored to pass Sun JDBC CTS • No XA yet :-( 13
  14. 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. 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. 16. Questions? 16

×