Where to create an Index

Поиск
Список
Период
Сортировка
От Efraín Déctor
Тема Where to create an Index
Дата
Msg-id 3F5D3E1A00C044D697FCBEEBC24D4243@CMOTUM25PC
обсуждение исходный текст
Ответы Re: Where to create an Index
Список pgsql-general
I have this query:
 
SELECT ST_Distance(transform(geometryfromtext('POINT(-97.096667 18.858611)',4326),32614),C.point_geomutm)
AS DIST ,nombre FROM ciudad AS C ORDER BY DIST ASC limit 1;
 
It runs a secuential query on the table “ciudad” wich is a big table. I want to create an index but I don’t know where, using a gist index on point_geomutm does nothing and also creating one using nombre.
 
Thanks in advance.

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

Предыдущее
От: "Welty, Richard"
Дата:
Сообщение: 9.1.3: launching streaming replication
Следующее
От: "David Johnston"
Дата:
Сообщение: Re: Where to create an Index