Postgresql database

Поиск
Список
Период
Сортировка
От Trinath Somanchi
Тема Postgresql database
Дата
Msg-id AANLkTikmPaFrIhuYUkxuhsC6kRgRJlmb0IfFAb7EE2x-@mail.gmail.com
обсуждение исходный текст
Ответы Re: Postgresql database  (silly sad <sad@bankir.ru>)
Re: Postgresql database  (Leif Biberg Kristensen <leif@solumslekt.org>)
Re: Postgresql database  ("Little, Douglas" <DOUGLAS.LITTLE@orbitz.com>)
Список pgsql-sql
Hi All,

I have Tree structured database to maintain.

Its as follows.

Vehicles 
|__> Two Wheelers
      |__> Manufacturer
            |__> Name of Manufacturer
            |__> Year of make.
            |__> Manuf. Plant.
            |__> Model.
                  |__> Model Name
                        |__> Model Version
                        |__> Model Re-make Version.
                  |__> Year of Release
                  |__> Serial Number  
                  |__> Capacity
                  |     |__> Capacity Type
                  |     |__> Capacity Version
                  |__> Contact Information
                        |__> Company Name
                        |__> Company Address
                        |     |__> Street Address
                        |     |     |__> Lane 1
                        |     |     |__> Lane 2  
                        |     |__> City
                        |     |__> Pin
                        |__> Contact Information
                        |     |__> Phone
                        |     |__> Fax
                        |     |__> Email
                        |__>  Website 
|__> Three Wheelers
      |__> Manufacturer
            |__> Name of Manufacturer
            |__> Year of make.
            |__> Manuf. Plant.
            |__> Model.
                  |__> Model Name
                        |__> Model Version
                        |__> Model Re-make Version.
                  |__> Year of Release
                  |__> Serial Number  
                  |__> Capacity
                  |     |__> Capacity Type
                  |     |__> Capacity Version
                  |__> Contact Information
                        |__> Company Name
                        |__> Company Address
                        |     |__> Street Address
                        |     |     |__> Lane 1
                        |     |     |__> Lane 2  
                        |     |__> City
                        |     |__> Pin
                        |__> Contact Information
                        |     |__> Phone
                        |     |__> Fax
                        |     |__> Email
                        |__>  Website 
|__>  Four Wheelers
      |__> Manufacturer
            |__> Name of Manufacturer
            |__> Year of make.
            |__> Manuf. Plant.
            |__> Model.
                  |__> Model Name
                        |__> Model Version
                        |__> Model Re-make Version.
                  |__> Year of Release
                  |__> Serial Number  
                  |__> Capacity
                  |     |__> Capacity Type
                  |     |__> Capacity Version
                  |__> Contact Information
                        |__> Company Name
                        |__> Company Address
                        |     |__> Street Address
                        |     |     |__> Lane 1
                        |     |     |__> Lane 2  
                        |     |__> City
                        |     |__> Pin
                        |__> Contact Information
                        |     |__> Phone
                        |     |__> Fax
                        |     |__> Email
                        |__>  Website 

This way the data in the table is tree structured. Also A single manufacturer has all mode of vehicles. I'm in my way to design this DB for use in PgSQL. But for a vast data, data retrieval is a very costly task (Joining all tables).

Can any one guide me of this design, on how the structure looks like. Hard about Inheritance feature of pgSQL. But not aware of how implementation goes.

Thanks in advance.

--
Regards,
----------------------------------------------
Trinath Somanchi,

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

Предыдущее
От: Rob Sargent
Дата:
Сообщение: Re: Invalid message format Exception
Следующее
От: silly sad
Дата:
Сообщение: Re: Postgresql database