pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: olivier.boissard@cerene.fr <olivier.boissard@cerene.fr>
To: pgsql-admin@postgresql.org
Subject: How to uses self query plan
Date: Tue, 18 Dec 2007 23:21:15 +0100
Message-ID: <476847DB.9090401@cerene.fr> (raw)

Hello,

My purpose is to uses different query plan depending on queries
I got the following problem : some queries are taking too much time and 
postgresql does not take the most relevant index in account.
I search on internet and found that no HINT function was available in 
postgresl.
I tried to change indexes parameters in postgresql.conf but eache time I 
set a param to OFF (example nested_loop ,seqscan, ...) , some queries 
freeze database .

How can we force postgresql to use a plan ?

olivier



view thread (9+ messages)  latest in thread

Message-ID: <476847DB.9090401@cerene.fr>
Permalink:  ../476847DB.9090401@cerene.fr/
Also on:    postgresql.org/message-id/476847DB.9090401@cerene.fr

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: olivier.boissard@cerene.fr
  Subject: Re: How to uses self query plan
  In-Reply-To: <476847DB.9090401@cerene.fr>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox