Quantcast
Channel: Planet PostgreSQL
Viewing all articles
Browse latest Browse all 9654

Bruce Momjian: When to Use Multiple Clusters, Databases, or Schemas?

$
0
0

I previously explained that Postgres allows multiple databases per cluster. The outstanding question might be, when should I use multiple clusters, multiple databases, or multiple schemas? The following table outlines the advantages of the various container types:

FeatureClusterDatabaseSchema
Isolated Server Start/Stop     ✓  
Connection Control     ✓     ✓ 
Private System Tables     ✓     ✓ 
Private Plug-Ins     ✓     ✓ 
Isolated Administration     ✓  
Shared Administration      ✓     ✓
Isolated Resource Usage     ✓  
Shared Resource Usage(1)      ✓     ✓
Data Isolation(2)     ✓     ✓ 
Cross-Container Queries       ✓

(1) A large number of data containers increases the usefulness of resource sharing, e.g. shared_buffers.

Continue Reading »


Viewing all articles
Browse latest Browse all 9654

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>