Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Oracle should have a new hint "INDEX_COL(tname,colname)".
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  10 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
AnySQL (d.c.b.a)  
View profile  
 More options Mar 6 2006, 9:19 am
Newsgroups: comp.databases.oracle.server
From: "AnySQL (d.c.b.a)" <any...@gmail.com>
Date: 6 Mar 2006 06:19:22 -0800
Local: Mon, Mar 6 2006 9:19 am
Subject: Oracle should have a new hint "INDEX_COL(tname,colname)".
The "INDEX" hint let Oracle automatically choose index, however if
Oracle can introduce a new hint "INDEX_COL", it will really helpful.

Because we may use different index name for the same table in different
environment (PROD vs QA).

And to use column on specific column is easy for developer to
understand.

Welcome, AnySQL
=======================
http://www.anysql.net/en/


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chuck  
View profile  
 More options Mar 6 2006, 10:03 am
Newsgroups: comp.databases.oracle.server
From: Chuck <skilover_nos...@bluebottle.com>
Date: Mon, 06 Mar 2006 15:03:55 GMT
Local: Mon, Mar 6 2006 10:03 am
Subject: Re: Oracle should have a new hint "INDEX_COL(tname,colname)".

Naming the indexes the same across environments would be a lot easier
than getting Oracle to change their RDBMS code. Perhaps you should just
synchronize your environments. That's what I would do.
--
To reply by email remove "_nospam"

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
sybrandb@yahoo.com  
View profile  
 More options Mar 6 2006, 10:15 am
Newsgroups: comp.databases.oracle.server
From: "sybra...@yahoo.com" <sybra...@yahoo.com>
Date: 6 Mar 2006 07:15:42 -0800
Local: Mon, Mar 6 2006 10:15 am
Subject: Re: Oracle should have a new hint "INDEX_COL(tname,colname)".

AnySQL (d.c.b.a) wrote:
> The "INDEX" hint let Oracle automatically choose index, however if
> Oracle can introduce a new hint "INDEX_COL", it will really helpful.

> Because we may use different index name for the same table in different
> environment (PROD vs QA).

> And to use column on specific column is easy for developer to
> understand.

> Welcome, AnySQL
> =======================
> http://www.anysql.net/en/

Why do you even want to use different index names? What pressing
business need is resolved using this requirement? Do you really think
it makes sense to use different names?

--
Sybrand Bakker
Senior Oracle DBA


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
DA Morgan  
View profile  
 More options Mar 6 2006, 1:58 pm
Newsgroups: comp.databases.oracle.server
From: DA Morgan <damor...@psoug.org>
Date: Mon, 06 Mar 2006 10:58:49 -0800
Local: Mon, Mar 6 2006 1:58 pm
Subject: Re: Oracle should have a new hint "INDEX_COL(tname,colname)".

AnySQL (d.c.b.a) wrote:
> The "INDEX" hint let Oracle automatically choose index, however if
> Oracle can introduce a new hint "INDEX_COL", it will really helpful.

> Because we may use different index name for the same table in different
> environment (PROD vs QA).

> And to use column on specific column is easy for developer to
> understand.

> Welcome, AnySQL
> =======================
> http://www.anysql.net/en/

Why should Oracle add a hint to cover for the horrifyingly bad
discipline and practices of a development team?

If the indexes have different names the DBA should be asked to
resign.
--
Daniel A. Morgan
http://www.psoug.org
damor...@x.washington.edu
(replace x with u to respond)


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sybrand Bakker  
View profile  
 More options Mar 6 2006, 4:34 pm
Newsgroups: comp.databases.oracle.server
From: Sybrand Bakker <post...@sybrandb.demon.nl>
Date: Mon, 06 Mar 2006 22:34:20 +0100
Local: Mon, Mar 6 2006 4:34 pm
Subject: Re: Oracle should have a new hint "INDEX_COL(tname,colname)".
On Mon, 06 Mar 2006 10:58:49 -0800, DA Morgan <damor...@psoug.org>
wrote:

>If the indexes have different names the DBA should be asked to
>resign.

Aren't the customary exit procedures in the US (unlike many civilized
coutnies) quite different?

--
Sybrand Bakker, Senior Oracle DBA


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Joel Garry  
View profile  
 More options Mar 6 2006, 6:17 pm
Newsgroups: comp.databases.oracle.server
From: "Joel Garry" <joel-ga...@home.com>
Date: 6 Mar 2006 15:17:31 -0800
Local: Mon, Mar 6 2006 6:17 pm
Subject: Re: Oracle should have a new hint "INDEX_COL(tname,colname)".

AnySQL wrote:
>The "INDEX" hint let Oracle automatically choose index, however if
>Oracle can introduce a new hint "INDEX_COL", it will really helpful.

You got it backwards.  Hinting HINDERS the ability to let Oracle
automatically choose the index.  If your developers are having to put
in a lot of hints, there is perhaps something wrong with their
perception of CBO.

Is it really so hard for your developers to understand they should be
explicitly naming everything consistently?

jg
--
@home.com is bogus.
http://www.signonsandiego.com/uniontrib/20060304/news_1b4google.html


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
DA Morgan  
View profile  
 More options Mar 6 2006, 7:20 pm
Newsgroups: comp.databases.oracle.server
From: DA Morgan <damor...@psoug.org>
Date: Mon, 06 Mar 2006 16:20:52 -0800
Local: Mon, Mar 6 2006 7:20 pm
Subject: Re: Oracle should have a new hint "INDEX_COL(tname,colname)".

Sybrand Bakker wrote:
> On Mon, 06 Mar 2006 10:58:49 -0800, DA Morgan <damor...@psoug.org>
> wrote:

>>If the indexes have different names the DBA should be asked to
>>resign.

> Aren't the customary exit procedures in the US (unlike many civilized
> coutnies) quite different?

> --
> Sybrand Bakker, Senior Oracle DBA

Absolutely ... an unfortunatly. Honor and personal integrity are
quaint attributes of earlier generations.
--
Daniel A. Morgan
http://www.psoug.org
damor...@x.washington.edu
(replace x with u to respond)

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
oracle_doc  
View profile  
 More options Mar 6 2006, 7:58 pm
Newsgroups: comp.databases.oracle.server
From: "oracle_doc" <nile...@nilendu.com>
Date: 6 Mar 2006 16:58:19 -0800
Local: Mon, Mar 6 2006 7:58 pm
Subject: Re: Oracle should have a new hint "INDEX_COL(tname,colname)".

AnySQL (d.c.b.a) wrote:
> The "INDEX" hint let Oracle automatically choose index, however if
> Oracle can introduce a new hint "INDEX_COL", it will really helpful.

> Because we may use different index name for the same table in different
> environment (PROD vs QA).

> And to use column on specific column is easy for developer to
> understand.

> Welcome, AnySQL
> =======================
> http://www.anysql.net/en

Actually, it's already there!

In 10g, there is an improved version of INDEX hint

INDEX(tab1 tab1(ind_col1, ind_col2))

By specifying the index columns rather than the index name, Oracle can
pick up any index with these columns as the leading portion of the
index key. When you think about it it's a much better hint, approaching
the problem from the right direction - the search criteria from the
logical perspective rather than a particular physical object.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
yong...@yahoo.com  
View profile  
 More options Mar 6 2006, 10:36 pm
Newsgroups: comp.databases.oracle.server
From: yong...@yahoo.com
Date: 6 Mar 2006 19:36:45 -0800
Local: Mon, Mar 6 2006 10:36 pm
Subject: Re: Oracle should have a new hint "INDEX_COL(tname,colname)".

Hi, oracle_doc,

You're one of the few gentlemen that have good memory! About this day
last year, Jonathan Lewis told us this (still) undocumented feature

http://groups.google.com/group/comp.databases.oracle.server/browse_fr...

See message 9 and later.

If you see it documented anywhere, let us know.

Regards,

Yong Huang


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
AnySQL (d.c.b.a)  
View profile  
 More options Mar 7 2006, 2:36 am
Newsgroups: comp.databases.oracle.server
From: "AnySQL (d.c.b.a)" <any...@gmail.com>
Date: 6 Mar 2006 23:36:20 -0800
Local: Tues, Mar 7 2006 2:36 am
Subject: Re: Oracle should have a new hint "INDEX_COL(tname,colname)".
Thanks for your information.

Welcome, AnySQL
==============================
http://www.anysql.net/en/


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google