Article View: borland.public.jbuilder.database
Article #392Re: Database Pilot issues analyze statement
From: Paul Nichols (TeamB)
Date: Sat, 15 Oct 2005 21:35
Date: Sat, 15 Oct 2005 21:35
37 lines
2595 bytes
2595 bytes
"Tim Truman" <ttruman@nospam.com> wrote in message news:434ec516$1@newsgroups.borland.com... > > >What version of the Oracle jdbc drivers are you using, drivers are you > >using, and which jre? > > > >Also, are you resoving these through TNSNames, or direct? > > > > You may not notice it if users access table objects outside there schema through grants and do not have the ANALYZE ANY system privilege. Tables in the user's schema can be analyzed however. It may also be that some DBA's keep ANALYZE statistics current so random updates do not severely effect the optimizer. > Ah, that explains things a little more. I would suspect that the Connection object meta data sees the Analyze Any option and uses it by default. > We are using the Oracle jdbc driver Versions 9.2.0.1 and 10.1.0.4.0. Thin direct connections. The JRE version I am using to duplicate the issue is 1.4.2_06. > Thought I would ask. The Oracle site was vague in the past, about which drivers would be used. On Oracle 8i, for instance, they recommended classes12.zip, which did not work well on 1.4.x. > As a side note there are several business applications connected to the production server using both driver versions and JRE 1.4.2_06 that do ~not~ exhibit this behavior. I just duplicated the behavior on Oracle 10g Release 2 10.2.0.1. So my guess is I can get this to happen on 9i as well. > I do not know how you are going to adjust this behavior from DBPilot however. Hint: Try Squirrel. Does it exhibit the same behavior? http://squirrel-sql.sourceforge.net/
Technical Details
Message-ID:
<43502088$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<434d2add$1@newsgroups.borland.com> <434de09f$1@newsgroups.borland.com> <434ec516$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 1073da,9271f20c522d59c5 X-Google-Attributes: gid1073da,public X-Google-Language: ENGLISH,ASCII-7-bit Reply-To: "Paul Nichols \(TeamB\)" <paul@comp.net> From: "Paul Nichols \(TeamB\)" <paul@comp.net> Newsgroups: borland.public.jbuilder.database References: <434d2add$1@newsgroups.borland.com> <434de09f$1@newsgroups.borland.com> <434ec516$1@newsgroups.borland.com> Subject: Re: Database Pilot issues analyze statement Date: Sat, 15 Oct 2005 16:35:55 -0500 Lines: 40 Organization: clc X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.113.123.113 Message-ID: <43502088$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1129324680 68.113.123.113 (14 Oct 2005 14:18:00 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!gatel-ffm!gatel-ffm!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail