Re: Architecting a database

Поиск
Список
Период
Сортировка
От Dimitri Fontaine
Тема Re: Architecting a database
Дата
Msg-id 87tyonsi0g.fsf@hi-media-techno.com
обсуждение исходный текст
Ответ на Architecting a database  (tony@exquisiteimages.com)
Ответы Re: Architecting a database  (tony@exquisiteimages.com)
Список pgsql-performance
tony@exquisiteimages.com writes:
> I am wondering how I should architect this in PostgreSQL. Should I follow
> a similar strategy and have a separate database for each client and one
> database that contains the global data?

As others said already, there's more problems to foresee doing so that
there are advantages. If you must separate data for security concerns,
your situation would be much more comfortable using schema.

If it's all about performances, see about partitioning the data, and
maybe not even on the client id but monthly, e.g., depending on the
queries you run in your application.

Regards,
--
dim

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

Предыдущее
От: Merlin Moncure
Дата:
Сообщение: Re: Architecting a database
Следующее
От: Rajesh Kumar Mallah
Дата:
Сообщение: order by slowing down a query by 80 times