| From: | Vivek Khera <vivek(at)khera(dot)org> |
|---|---|
| To: | PostgreSQL general <pgsql-general(at)postgresql(dot)org> |
| Subject: | Re: [Slony1-general] Using slony with many schema's |
| Date: | 2006-10-11 21:03:36 |
| Message-ID: | F40BEA6D-12A3-4100-B554-1FEA9C744FA5@khera.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Ludwig Kniprath | 2006-10-11 21:04:29 | Re: Problem compiling PostGIS 1.1.4 |
| Previous Message | Jeff Davis | 2006-10-11 21:02:08 | Re: Is it possible to return custom type as proper ROW? |