From: Joel Mc Graw <jmcgraw@databill.com>
To: pgsql-admin@postgresql.org
Subject: Large table or many small tables?
Date: Wed, 06 Mar 2002 21:19:29 UTC
Message-ID: <TradeClient.0.9.0.FreeBSD-4.2-RELEASE.020306141929C.69148@jmcgraw.databill.com> (raw)
Assuming that the data is exactly the same, I'm wondering if it is
better to store it in a single large table or many smaller tables.
Right now I have upwards of 2000 tables, some containing upwards of
10,000 records, and each record contains a large amount of text stored
in a varchar field.
Problem Domain (for anyone that's interested):
--------------------------------
I receive data transfers from people; a table is created for each data
transfer. Each data transfer has multiple text files. The files are
parsed into pages, and each page is stored in the table just created.
The number of transfers (and thereby the number of tables) is increasing
daily.
Thanks for any input.
------------------------------------------------------
Joel Mc Graw
DataBill, LLC
602-415-1234 ext. 13
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS d-@ s: a C++++ UB++++ P-- L- E? W++ N w--- O? M+ V
PS+++ PE++ Y+ PGP++ t+ 5++ X tv+ b+ DI++ G e++ h---- r+++ y++++
-----END GEEK CODE BLOCK-----
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: jmcgraw@databill.com
Subject: Re: Large table or many small tables?
In-Reply-To: <TradeClient.0.9.0.FreeBSD-4.2-RELEASE.020306141929C.69148@jmcgraw.databill.com>
References: <TradeClient.0.9.0.FreeBSD-4.2-RELEASE.020306141929C.69148@jmcgraw.databill.com>
* 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