Re: [Slony1-general] Using slony with many schema's - Mailing list pgsql-general

From Vivek Khera
Subject Re: [Slony1-general] Using slony with many schema's
Date
Msg-id F40BEA6D-12A3-4100-B554-1FEA9C744FA5@khera.org
Whole thread Raw
In response to Re: [Slony1-general] Using slony with many schema's  (snacktime <snacktime@gmail.com>)
List pgsql-general
On Oct 11, 2006, at 2:55 PM, snacktime wrote:

> So by putting all the data into one schema, every report query now
> gets run against a million or more rows instead of just a few  hundred
> or thousand.  So all clients will see a drop in query performance
> instead of just the clients with large amounts of data.

Indexes on the customer_id field of the combined data tables helps a
lot. That and big hardware with big RAM. :-)

We store data for all our customers in the same tables.  some have
several hundred thousand of their own customers, and millions of
transactions from them; others have a few hundred.  The
responsiveness of postgres is still great.


Attachment

pgsql-general by date:

Previous
From: Jeff Davis
Date:
Subject: Re: Is it possible to return custom type as proper ROW?
Next
From: Ludwig Kniprath
Date:
Subject: Re: Problem compiling PostGIS 1.1.4