Обсуждение: Fw: Fw: choosing use an index or not

Поиск
Список
Период
Сортировка

Fw: Fw: choosing use an index or not

От
"Felipe Rondon Rocha"
Дата:
Hi, 

can you halp me?

Thks,
Felipe
----- Original Message ----- 
From: "Martijn van Oosterhout" <kleptog@svana.org>
To: "Felipe Rondon Rocha" <frondon@globo.com>
Sent: Tuesday, December 19, 2006 8:39 AM
Subject: Re: Fw: [HACKERS] choosing use an index or not


Re: Fw: Fw: choosing use an index or not

От
"Gurjeet Singh"
Дата:
As a starting point, you can look at these two functions:

src/backend/optimizer/path/indxpath.c : find_usable_indexes()
src/backend/optimizer/util/pathnode.c : add_path()

Hope this helps.


On 12/20/06, Felipe Rondon Rocha <frondon@globo.com> wrote:
Hi,

can you halp me?

Thks,
Felipe
----- Original Message -----
From: "Martijn van Oosterhout" <kleptog@svana.org>
To: "Felipe Rondon Rocha" < frondon@globo.com>
Sent: Tuesday, December 19, 2006 8:39 AM
Subject: Re: Fw: [HACKERS] choosing use an index or not




---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
       choose an index scan if your joining column's datatypes do not
       match






--
gurjeet[.singh]@EnterpriseDB.com
singh.gurjeet@{ gmail | hotmail | yahoo }.com