public inbox for [email protected]  
help / color / mirror / Atom feed
Direct particular index use as like oracle
6+ messages / 4 participants
[nested] [flat]

* Direct particular index use as like oracle
@ 2024-10-11 10:58 Sathish Reddy <[email protected]>
  2024-10-11 12:20 ` Re: Direct particular index use as like oracle Avinash Vallarapu <[email protected]>
  2024-10-11 12:36 ` Re: Direct particular index use as like oracle Keith <[email protected]>
  0 siblings, 2 replies; 6+ messages in thread

From: Sathish Reddy @ 2024-10-11 10:58 UTC (permalink / raw)
  To: [email protected]

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


^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Direct particular index use as like oracle
  2024-10-11 10:58 Direct particular index use as like oracle Sathish Reddy <[email protected]>
@ 2024-10-11 12:20 ` Avinash Vallarapu <[email protected]>
  2024-10-11 12:24   ` Re: Direct particular index use as like oracle Sathish Reddy <[email protected]>
  1 sibling, 1 reply; 6+ messages in thread

From: Avinash Vallarapu @ 2024-10-11 12:20 UTC (permalink / raw)
  To: Sathish Reddy <[email protected]>; +Cc: pgsql-admin <[email protected]>

Hi,

On Fri, Oct 11, 2024, 2:59 PM Sathish Reddy <
[email protected]> 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.
>
Do you mean that you don't see an Index being considered by planner in
Postgres, whereas a similar index is used in Oracle ?

If the above is yes, can you provide some more information?


>
> Thanks
> Sathish Reddy
>


Regards,
Avi.

Try HexaRocket today for your Oracle to PostgreSQL Migrations.

www.hexarocket.com

>


^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Direct particular index use as like oracle
  2024-10-11 10:58 Direct particular index use as like oracle Sathish Reddy <[email protected]>
  2024-10-11 12:20 ` Re: Direct particular index use as like oracle Avinash Vallarapu <[email protected]>
@ 2024-10-11 12:24   ` Sathish Reddy <[email protected]>
  2024-10-11 12:35     ` Re: Direct particular index use as like oracle Avinash Vallarapu <[email protected]>
  0 siblings, 1 reply; 6+ messages in thread

From: Sathish Reddy @ 2024-10-11 12:24 UTC (permalink / raw)
  To: Avinash Vallarapu <[email protected]>; +Cc: pgsql-admin <[email protected]>

Yes, that is correct.

On Fri, Oct 11, 2024, 5:50 PM Avinash Vallarapu <[email protected]>
wrote:

> Hi,
>
> On Fri, Oct 11, 2024, 2:59 PM Sathish Reddy <
> [email protected]> 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.
>>
> Do you mean that you don't see an Index being considered by planner in
> Postgres, whereas a similar index is used in Oracle ?
>
> If the above is yes, can you provide some more information?
>
>
>>
>> Thanks
>> Sathish Reddy
>>
>
>
> Regards,
> Avi.
>
> Try HexaRocket today for your Oracle to PostgreSQL Migrations.
>
> www.hexarocket.com
>
>>


^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Direct particular index use as like oracle
  2024-10-11 10:58 Direct particular index use as like oracle Sathish Reddy <[email protected]>
  2024-10-11 12:20 ` Re: Direct particular index use as like oracle Avinash Vallarapu <[email protected]>
  2024-10-11 12:24   ` Re: Direct particular index use as like oracle Sathish Reddy <[email protected]>
@ 2024-10-11 12:35     ` Avinash Vallarapu <[email protected]>
  0 siblings, 0 replies; 6+ messages in thread

From: Avinash Vallarapu @ 2024-10-11 12:35 UTC (permalink / raw)
  To: Sathish Reddy <[email protected]>; +Cc: pgsql-admin <[email protected]>

Hi,

On Fri, Oct 11, 2024, 4:24 PM Sathish Reddy <
[email protected]> wrote:

> Yes, that is correct.
>
Okay. You might have to provide some more information to get more help such
as, the SQL, it's Query Plan and Table DDL.

If you have migrated this table from Oracle, you might have to perform a
Vacuum Analyze on this table before you try anything.

Vacuum analyze <table>;


On Fri, Oct 11, 2024, 5:50 PM Avinash Vallarapu <[email protected]>
> wrote:
>
>> Hi,
>>
>> On Fri, Oct 11, 2024, 2:59 PM Sathish Reddy <
>> [email protected]> 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.
>>>
>> Do you mean that you don't see an Index being considered by planner in
>> Postgres, whereas a similar index is used in Oracle ?
>>
>> If the above is yes, can you provide some more information?
>>
>>
>>>
>>> Thanks
>>> Sathish Reddy
>>>
>>
>>
>> Regards,
>> Avi.
>>
>> Try HexaRocket today for your Oracle to PostgreSQL Migrations.
>>
>> www.hexarocket.com
>>
>>>


^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Direct particular index use as like oracle
  2024-10-11 10:58 Direct particular index use as like oracle Sathish Reddy <[email protected]>
@ 2024-10-11 12:36 ` Keith <[email protected]>
  2024-10-15 16:04   ` Re: Direct particular index use as like oracle vignesh kumar <[email protected]>
  1 sibling, 1 reply; 6+ messages in thread

From: Keith @ 2024-10-11 12:36 UTC (permalink / raw)
  To: Sathish Reddy <[email protected]>; +Cc: [email protected]

On Fri, Oct 11, 2024 at 6:59 AM Sathish Reddy <
[email protected]> 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.


^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* Re: Direct particular index use as like oracle
  2024-10-11 10:58 Direct particular index use as like oracle Sathish Reddy <[email protected]>
  2024-10-11 12:36 ` Re: Direct particular index use as like oracle Keith <[email protected]>
@ 2024-10-15 16:04   ` vignesh kumar <[email protected]>
  0 siblings, 0 replies; 6+ messages in thread

From: vignesh kumar @ 2024-10-15 16:04 UTC (permalink / raw)
  To: Keith <[email protected]>; Sathish Reddy <[email protected]>; +Cc: [email protected] <[email protected]>

When you say failed what does it say?

Sent from Outlook for Android<https://aka.ms/AAb9ysg;
________________________________
From: Keith <[email protected]>
Sent: Friday, October 11, 2024 6:06:57 PM
To: Sathish Reddy <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: Direct particular index use as like oracle



On Fri, Oct 11, 2024 at 6:59 AM Sathish Reddy <[email protected]<mailto:[email protected]>> 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.


^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2024-10-15 16:04 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-10-11 10:58 Direct particular index use as like oracle Sathish Reddy <[email protected]>
2024-10-11 12:20 ` Avinash Vallarapu <[email protected]>
2024-10-11 12:24   ` Sathish Reddy <[email protected]>
2024-10-11 12:35     ` Avinash Vallarapu <[email protected]>
2024-10-11 12:36 ` Keith <[email protected]>
2024-10-15 16:04   ` vignesh kumar <[email protected]>

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