pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mladen Gogala <gogala.mladen@gmail.com>
To: pgsql-admin@lists.postgresql.org
Subject: Re: AW: postgresql long running query
Date: Wed, 8 Dec 2021 09:11:38 -0500
Message-ID: <f8d3af50-eabe-4b85-e1ce-ac63d1c8fe92@gmail.com> (raw)
In-Reply-To: <07b023154ae14171a05a802e4dbe1cb2@MITMB5.helios.med.uni-muenchen.de>
References: <CAGHjuaZkGZVRK6OC4ifBJVQ+=1Y=0CXdDnZ7sjHkdfY2wkACVg@mail.gmail.com>
	<8718fe01e83140b18f7bc8777469c44d@MITMB5.helios.med.uni-muenchen.de>
	<CAGHjuaazpSSiQA6YrxXw3j3uqTwRkzhRgQ=_6ga+AuWZ0LwD6A@mail.gmail.com>
	<52ae89c7f1564de085f43510f39982f9@MITMB5.helios.med.uni-muenchen.de>
	<CAGHjuaaAKsrSWjyjexo8AzgWkpdo_mKtp72hr=Q9hy7oqOHjLw@mail.gmail.com>
	<07b023154ae14171a05a802e4dbe1cb2@MITMB5.helios.med.uni-muenchen.de>

On 12/8/21 06:13, Dischner, Anton wrote:
>
> Do optimizer hints in PG exists?
>
> Obviously not: https://wiki.postgresql.org/wiki/OptimizerHintsDiscussion
>
Yes, they do exist: http://pghintplan.osdn.jp/pg_hint_plan.html

Packages can be downloaded here: 
https://osdn.net/projects/pghintplan/releases/73862

There is no package for version 14, you will have to build it from the 
source:

https://github.com/ossc-db/pg_hint_plan

-- 
Mladen Gogala
Database Consultant
Tel: (347) 321-1217
https://dbwhisperer.wordpress.com

view thread (9+ messages)  latest in thread

Message-ID: <f8d3af50-eabe-4b85-e1ce-ac63d1c8fe92@gmail.com>
Permalink:  ../f8d3af50-eabe-4b85-e1ce-ac63d1c8fe92@gmail.com/
Also on:    postgresql.org/message-id/f8d3af50-eabe-4b85-e1ce-ac63d1c8fe92@gmail.com

 · 

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: gogala.mladen@gmail.com, pgsql-admin@lists.postgresql.org
  Subject: Re: AW: postgresql long running query
  In-Reply-To: <f8d3af50-eabe-4b85-e1ce-ac63d1c8fe92@gmail.com>

* 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