Re: Direct particular index use as like oracle

From: vignesh kumar <vigneshkumar(dot)venugopal(at)outlook(dot)com>
To: Keith <keith(at)keithf4(dot)com>, Sathish Reddy <sathishreddy(dot)postgresql(at)gmail(dot)com>
Cc: "pgsql-admin(at)lists(dot)postgresql(dot)org" <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: Direct particular index use as like oracle
Date: 2024-10-15 16:04:19
Message-ID: MN0PR20MB49126B66DB62C0DA9F70065287452@MN0PR20MB4912.namprd20.prod.outlook.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-admin

When you say failed what does it say?

Sent from Outlook for Android<https://aka.ms/AAb9ysg>
________________________________
From: Keith <keith(at)keithf4(dot)com>
Sent: Friday, October 11, 2024 6:06:57 PM
To: Sathish Reddy <sathishreddy(dot)postgresql(at)gmail(dot)com>
Cc: pgsql-admin(at)lists(dot)postgresql(dot)org <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: Direct particular index use as like oracle

On Fri, Oct 11, 2024 at 6:59 AM Sathish Reddy <sathishreddy(dot)postgresql(at)gmail(dot)com<mailto:sathishreddy(dot)postgresql(at)gmail(dot)com>> wrote:
Hi
We see direct use particular index in oracle.same we are trying to use in postgres.but every time we ae getting failed.please help us.

Thanks
Sathish Reddy

There are no query hints in Postgres to direct it to use a particular index. Often it's the query itself that can be tuned to fix this happening or the ideal plan is actually being used vs the index you think you expect it should use.

Share the query plan and table structure and people might be able to help you out more.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Sam Stearns 2024-10-15 16:39:39 Re: create foreign table
Previous Message vignesh kumar 2024-10-15 16:03:47 Re: Unknown temp directories and library files