pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dimitri Fontaine <dimitri@2ndQuadrant.fr>
To: Mario Splivalo <mario.splivalo@megafon.hr>
Cc: pgsql-performance@postgresql.org
Subject: Re: Simple database, multiple instances?
Date: Tue, 30 Nov 2010 12:45:57 +0100
Message-ID: <m2d3pnavbe.fsf@2ndQuadrant.fr> (raw)
In-Reply-To: <4CF244DA.70206@megafon.hr>
References: <4CF244DA.70206@megafon.hr>

Mario Splivalo <mario.splivalo@megafon.hr> writes:
> I have simple database schema, containing just three tables:
>
> samples, drones, drones_history.
>
> Now, those tables hold data for the drones for a simulation. Each simulation
> dataset will grow to around 10 GB in around 6 months.
>
> Since the data is not related in any way I was thinking in separating each
> simulation into it's own database. That way it would be much easier for me
> to, at later date, move some of the databases to other servers (when dataset
> grows beyond the original server storage capacity limit).

Do you intend to run queries across multiple simulations at once? If
yes, you want to avoid multi databases. Other than that, I'd go with a
naming convention like samples_<simulation id> and maybe some
inheritance to ease querying multiple simulations.

Regards,
-- 
Dimitri Fontaine
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support



view thread (5+ messages)  latest in thread

Message-ID: <m2d3pnavbe.fsf@2ndQuadrant.fr>
Permalink:  ../m2d3pnavbe.fsf@2ndQuadrant.fr/
Also on:    postgresql.org/message-id/m2d3pnavbe.fsf@2ndQuadrant.fr

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: dimitri@2ndQuadrant.fr, mario.splivalo@megafon.hr
  Subject: Re: Simple database, multiple instances?
  In-Reply-To: <m2d3pnavbe.fsf@2ndQuadrant.fr>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox