Re: Optimizing

Поиск
Список
Период
Сортировка
От Steve Crawford
Тема Re: Optimizing
Дата
Msg-id 20030301011642.D1C57103C9@polaris.pinpointresearch.com
обсуждение исходный текст
Ответ на Optimizing  ("Montrone, Marc -- 7183" <marc.montrone@novastar1.com>)
Список pgsql-sql
That should be virtually instant.

First, the usual suspects: have you run "vacuum analyze" on your table? If
not, do it and try again.

If so, please show us your table structure, index, and query - just fire up
psql and run "\d yourtablename" and "explain <your query>" and send it to us.

Cheers,
Steve

On Friday 28 February 2003 7:26 am, Montrone, Marc -- 7183 wrote:
> Please advise how I can improve performance of query searching for
> telephone numbers. I have a table with over a million records of phone
> numbers in a single indexed field. To find one phone number takes nearly 20
> seconds. Aside from hardware upgrades, how can I improve the performance of
> this query? Thank you in advance.
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org


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

Предыдущее
От: Dan Langille
Дата:
Сообщение: Re: Optimizing
Следующее
От: dhoubrechts
Дата:
Сообщение: use of geometric types in select ?