Unix Technical Forum

RE: [Info-ingres] Index not considered

This is a discussion on RE: [Info-ingres] Index not considered within the Ingres forums, part of the Database Server Software category; --> There is a limit on the number of tables considered while building the qep (max 32 I think). Are ...


Go Back   Unix Technical Forum > Database Server Software > Ingres

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-20-2008, 08:10 PM
Piotr.Wisniewski@breat.com.pl
 
Posts: n/a
Default RE: [Info-ingres] Index not considered

There is a limit on the number of tables considered while building the qep
(max 32 I think). Are there so many tables in your query so that this limit
is being reached ?

-----Original Message-----
From: Mark Costello [mailto:costello@dmt.com]
Sent: Friday, May 27, 2005 5:49 PM
To: info-ingres@cariboulake.com
Subject: [Info-ingres] Index not considered

Hi All,

I have a query that once used a secondary index that no longer uses the
index. I've reviewed all plans using the op255 <plan#> flag and a plan
isn't even being considered using the index. I understand that it may not
consider using the index to be the best alternative but shouldn't it always
consider it as an option? The "no timeout" is shown in the QEP so it isn't
giving up. I've verified, using statdump, that the base table optimization

stats for the index column was generated after the index was created.

Also, I have a nearly identical development system that generates additional

QEP options that use the index.

The question is, what can cause an index to be ignored when the optimizer is

generating plan alternatives?

Thanks,

Mark Costello
DMT, Inc.


_______________________________________________
Info-ingres mailing list
Info-ingres@cariboulake.com
http://mailman.cariboulake.com/mailm...py/info-ingres
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-20-2008, 08:10 PM
Mark Costello
 
Posts: n/a
Default Re: [Info-ingres] Index not considered

There are only 3 tables in the query and two of the tables have a single
index.

Thanks,
Mark


<Piotr.Wisniewski@breat.com.pl> wrote in message
news:mailman.1117625221.13372.info-ingres@cariboulake.com...
> There is a limit on the number of tables considered while building the qep
> (max 32 I think). Are there so many tables in your query so that this

limit
> is being reached ?
>
> -----Original Message-----
> From: Mark Costello [mailto:costello@dmt.com]
> Sent: Friday, May 27, 2005 5:49 PM
> To: info-ingres@cariboulake.com
> Subject: [Info-ingres] Index not considered
>
> Hi All,
>
> I have a query that once used a secondary index that no longer uses the
> index. I've reviewed all plans using the op255 <plan#> flag and a plan
> isn't even being considered using the index. I understand that it may not
> consider using the index to be the best alternative but shouldn't it

always
> consider it as an option? The "no timeout" is shown in the QEP so it

isn't
> giving up. I've verified, using statdump, that the base table

optimization
>
> stats for the index column was generated after the index was created.
>
> Also, I have a nearly identical development system that generates

additional
>
> QEP options that use the index.
>
> The question is, what can cause an index to be ignored when the optimizer

is
>
> generating plan alternatives?
>
> Thanks,
>
> Mark Costello
> DMT, Inc.
>
>
> _______________________________________________
> Info-ingres mailing list
> Info-ingres@cariboulake.com
> http://mailman.cariboulake.com/mailm...py/info-ingres



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:18 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com