Re: Changing the concept of a DATABASE

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Changing the concept of a DATABASE
Date: 2012-05-22 17:35:04
Message-ID: 4FBBCE48.2050806@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


> If I have a customer with 1 database per user, how do they run a query
> against 100 user tables? It would require 100 connections to the
> database. Doing that would require roughly x100 the planning time and
> x100 the connection delay. Larger SQL statements pass their results
> between executor steps using libpq rather than direct calls.

Why is this hypothetical customer using separate databases? This really
seems like a case of "doctor, it hurts when I do this".

--
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2012-05-22 17:36:20 Re: Add primary key/unique constraint using prefix columns of an index
Previous Message Simon Riggs 2012-05-22 17:34:33 Re: Changing the concept of a DATABASE