database design best pratice help

Поиск
Список
Период
Сортировка
От Jose Soares
Тема database design best pratice help
Дата
Msg-id 510648C5.5040700@sferacarta.com
обсуждение исходный текст
Ответы Re: database design best pratice help  (Thomas Kellerer <spam_eater@gmx.net>)
Re: database design best pratice help  (Albe Laurenz <laurenz.albe@wien.gv.at>)
Re: database design best pratice help  (Kevin Grittner <kgrittn@ymail.com>)
Re: database design best pratice help  (Wolfgang Keller <feliphil@gmx.net>)
Список pgsql-general
Hi all,

I have a question about database design best pratice.

In my db I have about one hundred tables like this:

code
description

To avoid to have a so great number of similar tables in the db
I wonder if it is a good idea to unify all these tables in one big table
like this:

id
code
table_ name
description

The advantages are:

1. only one table in the db instead of 100
2. only one controller to manage the table

Could this be a way to enhance db performance?
Is there any negative point that I don't see?

Thanks for any comments.

j





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

Предыдущее
От: Alexander Farber
Дата:
Сообщение: Re: Optimizing select count query which often takes over 10 seconds
Следующее
От: Thomas Kellerer
Дата:
Сообщение: Re: database design best pratice help