Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Ingres > Re: [Info-Ingre...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 5963 of 6031
Post > Topic >>

Re: [Info-Ingres] LIKE with oversize pattern forces table scan?

by =?iso-8859-1?Q?Laframboise_Andr=E9?= <andre.laframboise@[EMAIL PROTECTED] Jul 8, 2008 at 07:25 AM

We've seen something similar, but not with a 'LIKE'.
 
A query based on an INT field would table scan if the value was over the
32 bit limit.
We had an issue open for a long time and they just ended up saying
 'sorry, we can't do anything about that'.
 
Andre

________________________________

From: info-ingres-bounces@[EMAIL PROTECTED]
 on behalf of Roy Hann
Sent: Tue 08/07/2008 3:42 AM
To: info-ingres@[EMAIL PROTECTED]
 [Info-Ingres] LIKE with oversize pattern forces table scan?



One of my colleagues is dealing with a Unicenter Helpdesk site and has a
call open with CA (remember them?).  The problem is that he's noticed
that when a query includes a LIKE condition where the pattern contains
no wild-card characters but the pattern is longer than the declared
length of the column being tested, Ingres invariably does a table scan,
even though there's a usable index.

CA tech sup****t have responded "Ingres has always behaved this way, and
as far as we know, it always will, because of the way the architecture
is designed."

I can buy the first bit of that, but the second part sounds like
baloney.  Can anyone sup****t or refute that? 

(Privately, it seems to me that it would be more correct to re****t an
error when the pattern is too long to match any data.  But that is
another rant for another day.)

Roy

--

UK Ingres User Association Conference 2009 will be on Tuesday June 9, 2009
Go to http://www.iua.org.uk/join
to get on the mailing list.


_______________________________________________
Info-Ingres mailing list
Info-Ingres@[EMAIL PROTECTED]

 




 2 Posts in Topic:
LIKE with oversize pattern forces table scan?
Roy Hann <specially@[E  2008-07-08 02:42:06 
Re: [Info-Ingres] LIKE with oversize pattern forces table scan?
=?iso-8859-1?Q?Laframbois  2008-07-08 07:25:06 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Aug 21 20:17:50 CDT 2008.