hints or suggestion for optimizer - Mailing list pgsql-sql

From
Subject hints or suggestion for optimizer
Date
Msg-id ah653f$130v$1@news.hub.org
Whole thread Raw
List pgsql-sql
How can I optimize Postrges SQL when I would like have ordering kolumns
without clause ORDER BY - in Oracle you can use hints to suggestion
optimizer.

for example.

SELECT /*+   INDEX_ASC TAB(TAB_PK)  +/   * FROM TAB <WHERE CLAUSE> -  most
efficent

SELECT * FROM TAB ORDER BY TAB_PK <WHERE CLAUSE>

where TAB_PK - is unique index on KOD column

WHERE CLAUSE - without OR ,UNION,  accept LIKE, AND etc

Does similar mechanizm has Postgres ?







pgsql-sql by date:

Previous
From: "Nathan C. Burnett"
Date:
Subject: Re: [HACKERS] why is postgres estimating so badly?
Next
From: "Ligia Pimentel"
Date:
Subject: Re: How to find out if an index is unique?