Re: SQL Technique Question

Поиск
Список
Период
Сортировка
От Michael Glaesemann
Тема Re: SQL Technique Question
Дата
Msg-id E3A6EDE7-520B-4B19-B688-2F489EA6F0B0@seespotcode.net
обсуждение исходный текст
Ответ на Re: SQL Technique Question  (<operationsengineer1@yahoo.com>)
Список pgsql-sql
[Please quote responsibly. There was no need to quote my entire  
message back to the list.]

On Jun 16, 2006, at 7:15 , <operationsengineer1@yahoo.com> wrote:

> i need to become mor familiar with views.  if i use
> views, will i substantially impair performance?

Short answer: maybe, maybe not

Long answer: benchmark and compare. EXPLAIN ANALYZE is your friend.  
For example, compare the EXPLAIN ANALYZE output using the view and  
using the whole, explicit query. You'll learn a lot that will only  
help you write better queries.

Michael Glaesemann
grzm seespotcode net





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

Предыдущее
От:
Дата:
Сообщение: Re: SQL Technique Question
Следующее
От: Joe
Дата:
Сообщение: Repetitive code