Re: 15,000 tables

Поиск
Список
Период
Сортировка
От Jaime Casanova
Тема Re: 15,000 tables
Дата
Msg-id c2d9e70e0512010815h71c37d61hc9b13fa849493046@mail.gmail.com
обсуждение исходный текст
Ответ на Re: 15,000 tables  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-performance
On 12/1/05, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Michael Riess <mlriess@gmx.de> writes:
> > (We NEED that many tables, please don't recommend to reduce them)
>
> No, you don't.  Add an additional key column to fold together different
> tables of the same structure.  This will be much more efficient than
> managing that key at the filesystem level, which is what you're
> effectively doing now.
>
> (If you really have 15000 distinct rowtypes, I'd like to know what
> your database design is...)
>
>                        regards, tom lane
>

Maybe he is using some kind of weird ERP... take the case of BaaN
(sadly i use it in my work): BaaN creates about 1200 tables per
company and i have no control of it... we have about 12000 tables
right now...

--
regards,
Jaime Casanova
(DBA: DataBase Aniquilator ;)

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: 15,000 tables
Следующее
От: "Merlin Moncure"
Дата:
Сообщение: Re: pg_dump slow