| From: | Michael Fuhr <mike(at)fuhr(dot)org> |
|---|---|
| To: | Nick Bower <nick(at)nickbower(dot)com> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Two billion records ok? |
| Date: | 2006-09-05 02:26:51 |
| Message-ID: | 20060905022651.GA36214@winnie.fuhr.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On Tue, Sep 05, 2006 at 09:26:59AM +0800, Nick Bower wrote:
> So given 4000x700x2x365x10 > 2 billion, is this going to be a problem if we
> will be wanting to query on datetimes, Postgis lat/lon, and integer-based
> metadata flags?
That figure is about 20 billion, which is indeed > 2 billion :-).
If you plan to use integer row IDs then you'll need to use 64-bit
bigint/bigserial instead of 32-bit integer/serial. I haven't worked
with a database that large; maybe somebody else can give additional
advice.
--
Michael Fuhr
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Zlatko Matić | 2006-09-05 04:54:01 | Upgrade Postgres 8.1.2 to 8.1.4 |
| Previous Message | Christopher Kings-Lynne | 2006-09-05 02:10:08 | Re: On Certification (was Re: [GENERAL] Thought provoking piece on NetBSD) |