Re: Changing the concept of a DATABASE

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Changing the concept of a DATABASE
Дата
Msg-id 4FBBCE48.2050806@agliodbs.com
обсуждение исходный текст
Ответ на Re: Changing the concept of a DATABASE  (Simon Riggs <simon@2ndQuadrant.com>)
Ответы Re: Changing the concept of a DATABASE  (Simon Riggs <simon@2ndQuadrant.com>)
Список 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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: Changing the concept of a DATABASE
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Add primary key/unique constraint using prefix columns of an index