Re: Scaleable DB structure for counters...

From: "Harald Armin Massa" <haraldarminmassa(at)gmail(dot)com>
To: "Eci Souji" <eci(dot)souji(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Scaleable DB structure for counters...
Date: 2006-07-16 09:07:40
Message-ID: 7be3f35d0607160207g27c023bex49e3ec713057db96@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Eci,

I could not google them up quickly, but there are people dealing with tables
with millions of records in PostgreSQL.

Per technical data the number of rows in a table is unlimited in PostgreSQL:
http://www.postgresql.org/about/

There may be performance-reasons to split up a table of that size, but still
you can trust PostgreSQLs table inheritance together with constraint
exclusion to deal with that: just inherit your tables on a monthly base:

create table access200601 inherits ....

and adjust your rules accordingly.

read up on this documentation for examples of table partitioning,

http://www.postgresql.org/docs/8.1/interactive/ddl-partitioning.html

what is the technical term for the method you are looking for.

Best wishes,

Harald

--
GHUM Harald Massa
persuadere et programmare
Harald Armin Massa
Reinsburgstraße 202b
70197 Stuttgart
0173/9409607
-
on different matter:
EuroPython 2006 is over. It was a GREAT conference. If you missed it, now
you can prepare budget for visiting EuroPython 2007.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message hubert depesz lubaczewski 2006-07-16 09:23:03 Re: Scaleable DB structure for counters...
Previous Message Eci Souji 2006-07-16 08:35:03 Re: Scaleable DB structure for counters...