Slow running query with views...how to increase efficiency? with index?

Поиск
Список
Период
Сортировка
От fox7
Тема Slow running query with views...how to increase efficiency? with index?
Дата
Msg-id 26086104.post@talk.nabble.com
обсуждение исходный текст
Ответы Re: Slow running query with views...how to increase efficiency? with index?  (Alan Hodgson <ahodgson@simkin.ca>)
Re: Slow running query with views...how to increase efficiency? with index?  (Merlin Moncure <mmoncure@gmail.com>)
Re: Slow running query with views...how to increase efficiency? with index?  (fox7 <ale_shark7@yahoo.it>)
Список pgsql-general
Hi,
I'm a new user...
First of all excuse me for the bad english... :confused:
I have a great problem!
I have to do some little query with views, but the views contain thousand
and thousand of records.
Searching online I have found somthing about view index, but I don't know
the right syntax for PostgreSQL.
I have tries this:
CREATE INDEX View1_index
  ON View1
  USING btree
  (term1);

It isn't correct because this syntax is for tables, instead View1 is a view.
Do you know the syntax to create view index?
thanks a lot
--
View this message in context:
http://www.nabble.com/Slow-running-query-with-views...how-to-increase-efficiency--with-index--tp26086104p26086104.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


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

Предыдущее
От: "Rhys A.D. Stewart"
Дата:
Сообщение: how to identify outliers
Следующее
От: "Rhys A.D. Stewart"
Дата:
Сообщение: Re: how to identify outliers