Doubt about performance of my db design

Поиск
Список
Период
Сортировка
От Gustavo
Тема Doubt about performance of my db design
Дата
Msg-id 001301c751e1$803b4d50$e802a8c0@gustavo
обсуждение исходный текст
Список pgsql-novice
Hi
 
I have a doubt about the performance of my db design . I have this situation:
 
- One schema base containing 20 tables whit data of all users of my system. (These tables will contain a lot of rows (millions)). The data of each user is
independent of the rest
- One schema per user with a view of the schema base containing only the data of this user.
 
It is a good design? how efficient Does Postgree manage these big views? 
 
In the other hand, i have another idea:
 
- One schema whith the 20 tables and one schema per user whith tables that make inheritance of these.
 
If i do that, i avoid to make views.
 
What design is the best?
 
 Thanks, in advance
 
Gustavo ( sorry for my english)

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

Предыдущее
От: "Luis Silva"
Дата:
Сообщение: Re: working with arrays inside a plpgsql function
Следующее
От: "Gustavo"
Дата:
Сообщение: Question about Performance of my db design