View & Query Performance

Поиск
Список
Период
Сортировка
От Igor Maciel Macaubas
Тема View & Query Performance
Дата
Msg-id 001301c4b231$280c4190$6801a8c0@providerst.local
обсуждение исходный текст
Ответы Re: View & Query Performance
Re: View & Query Performance
Список pgsql-performance
Hi all,
 
I'm trying to find smarter ways to dig data from my database, and have the following scenario:
 
table1
-- id
-- name
.
.
.
.
.
.
 
table2
-- id
-- number
.
.
.
.
.
.
 
I want to create a view to give me back just what I want:
The id, the name and the number.
I tought in doing the following:
create view my_view as select t1.id, t1.name, t2.number from table1 as t1, table2 as t2 where t1.id = t2.id;
 
Will this be enough fast ? Are there a faster way to make it work ?!
This table is mid-big, around 100K registers ..
 
Regards,
 
 
 

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

Предыдущее
От: Kevin Brown
Дата:
Сообщение: Re: First set of OSDL Shared Mem scalability results, some wierdness ...
Следующее
От: "Simon Riggs"
Дата:
Сообщение: Re: First set of OSDL Shared Mem scalability results, some wierdness ...