pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Craig A. James <cjames@modgraph-usa.com>
To: pgsql-performance@postgresql.org
Subject: Re: 15,000 tables
Date: Thu, 01 Dec 2005 19:47:30 -0800
Message-ID: <438FC3D2.8090202@modgraph-usa.com> (raw)
In-Reply-To: <C875A76F-AC09-4207-97D6-DE7969244146@fastcrypt.com>
References: <BF9F6C0E.13B4A%llonergan@greenplum.com>
	<1132136225.5711.4.camel@Panoramix>
	<437B9DA9.2030806@modgraph-usa.com>
	<20051117002344.GA55377@winnie.fuhr.org>
	<437CF055.6020602@modgraph-usa.com>
	<20051117232857.GA49910@winnie.fuhr.org>
	<437D3085.9040207@modgraph-usa.com>
	<20051118034631.GA70159@winnie.fuhr.org>
	<437F66CF.7080402@modgraph-usa.com>
	<20051119190304.GJ7330@mathom.us>
	<4380EEA2.4010002@modgraph-usa.com>
	<C875A76F-AC09-4207-97D6-DE7969244146@fastcrypt.com>

So say I need 10,000 tables, but I can create tablespaces.  Wouldn't that solve the performance problem caused by Linux's (or ext2/3's) problems with large directories?

For example, if each user creates (say) 10 tables, and I have 1000 users, I could create 100 tablespaces, and assign groups of 10 users to each tablespace.  This would limit each tablespace to 100 tables, and keep the ext2/3 file-system directories manageable.

Would this work?  Would there be other problems?

Thanks,
Craig



view thread (32+ messages)  latest in thread

Message-ID: <438FC3D2.8090202@modgraph-usa.com>
Permalink:  ../438FC3D2.8090202@modgraph-usa.com/
Also on:    postgresql.org/message-id/438FC3D2.8090202@modgraph-usa.com

 · 

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: cjames@modgraph-usa.com
  Subject: Re: 15,000 tables
  In-Reply-To: <438FC3D2.8090202@modgraph-usa.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