Re: database design

Поиск
Список
Период
Сортировка
От Sim Zacks
Тема Re: database design
Дата
Msg-id 4D5A2AEC.90603@compulab.co.il
обсуждение исходный текст
Ответ на database design  (Kalai R <softlinne.kv@gmail.com>)
Список pgsql-general

Hi Kalai,


From the vagueness of your question, it sounds like you need a DBA to design the database.

But basically you need to put the branch id as a foreign key in all data tables and then you can generate reports grouped by date or portion thereof, branch or company.


Sim


On 02/15/2011 08:45 AM, Kalai R wrote:

hi,

We are going to design  database for a large company, which has many branches. In each branch they maintain data separately and also they maintain year wise data. ie

Company 
      |
Branch
      |
Yearly

Also we need to compare and prepare reports by combine all branched data.

How should we design the database. Please Give Guidance.

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

Предыдущее
От: John R Pierce
Дата:
Сообщение: Re: database design
Следующее
От: Alessandro Candini
Дата:
Сообщение: Re: Multithreaded query onto 4 postgresql instances