From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Riess <mlriess@gmx.de>
Cc: pgsql-performance@postgresql.org
Subject: Re: 15,000 tables
Date: Thu, 01 Dec 2005 11:03:42 -0500
Message-ID: <11360.1133453022@sss.pgh.pa.us> (raw)
In-Reply-To: <dmmujf$2rgd$1@news.hub.org>
References: <dmmujf$2rgd$1@news.hub.org>
Michael Riess <mlriess@gmx.de> writes:
> (We NEED that many tables, please don't recommend to reduce them)
No, you don't. Add an additional key column to fold together different
tables of the same structure. This will be much more efficient than
managing that key at the filesystem level, which is what you're
effectively doing now.
(If you really have 15000 distinct rowtypes, I'd like to know what
your database design is...)
regards, tom lane
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: tgl@sss.pgh.pa.us, mlriess@gmx.de
Subject: Re: 15,000 tables
In-Reply-To: <11360.1133453022@sss.pgh.pa.us>
* 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