Professional Documents
Culture Documents
3 and beyond
1998: 6 contributors
2015?
Timelines
9.2 beta: 3 weeks from now 9.2: September 2012 9.3: July or September 2013
Index-Only Scans
3ms
A H N S U A C D H I N R S T U W Col Cos Dea Dem Hea Het Rea Res Ska Sut Tab The Uvh Woz table books
Title Will There Be Faith? State of Wonder Sphere 18c Flr Dead Eyes The Greatest Music Stories Never Told Skeleton Canyon The Long Snapper Super Immunity The Barbary Pirates Heat Confessions of a Prairie Bitch Talking Pictures Reggie Jackson
3000ms
Index-Only Scans
A C D A H N S U H I N R S T U W Col Cos Dea Dem Hea Het Rea Res Ska Sut Tab The Uvh Woz
30ms
Visibility Map
Vertical Scalability
read queries scale to 64 cores write scalability scales to 32 cores copy/bulk insert scalability
Read Scalability
350,000 q.p.s.
Write Scalability
PostgreSQL Replication
7.4: external replication (Slony) 8.3: Warm Standby 9.0: Async. Binary Replication 9.1: Synchronous Replication 9.2: Cascading Replication 9.3+ Multimaster Replication?
Cascading Replication
walsender
walreciever
walreciever
walreciever
Cascading Replication
San Francisco North Carolina
walsender
walsender
walreciever
walreciever
walreciever
Replication Improvements
pg_receivexlog an xlog stream reader standby-only backup recv vs. write modes for synchronous replication
OracleRAC
Weird Data
PL/v8
Based on Google's v8 JS engine write fast stored procedures in JavaScript create ad-hoc attribute indexes on JSON data
Range Types
Temporal range: [ 2012-04-10, 2012-04-12 ) Alpha Index: ( Abbe, Babel ] Linear distance: ( 375.453, 374.441 )
Indexing
7.1: Generic Search Tree (GiST) 8.1: Generalized Inverted Index (GIN) 9.1: K-Nearest Neighbor (KNN)
9.2: Space-GiST
SP-GiST
Based on Space-Partitioning Trees Faster to read, faster to update than GiST Will cause PostGIS 2.1!
SP-GiST
knn=#createindexpt_gist_idxongeo usinggist(point); CREATEINDEX Time:36672.283ms Size:153,124,864 knn=#createindexpt_spgist_idxongeo usingspgist(point); CREATEINDEX Time:12805.530ms~3timesfaster! Size:153,788,416~thesamesize
9.1: FDW
FDW
qual pushdown
Exotic FDWs
document shapefiles
Writeable FDWs?
Command triggers
DDL
9.3 or so
better virtualization support
managability sharing
system resources
GPU support
parallel
Beyond 9.3
We are Pluggable
FDW: query anything! Pluggable Languages
12
and counting
Extensions
PostGIS www.pgxn.org
javascript/JSON SQL:Alchemy
Pluggable storage
in-memory column
stores
More Information
Josh Berkus
josh@pgexperts.com www.databasesoup.com
pgExperts
pgexperts.com
PostgreSQL
www.postgresql.org http://www.postgresql.org
Events
pgCon:
/docs/devel/static/