Re: oracle Bug with JDBC ??

From: Vladimir M. Zakharychev <vladimir.zakharychev_at_gmail.com>
Date: Wed, 20 Aug 2008 23:47:12 -0700 (PDT)
Message-ID: <edcc0160-134a-472a-b046-20346501d499@z72g2000hsb.googlegroups.com>


On Aug 21, 8:47 am, rgvguplb <rgvgu..._at_gmail.com> wrote:
> On Aug 20, 6:36 pm, c..._at_live.com.au wrote:
>
>
>
> > Hi all, I'm currently doing some research on Oracle 10g server in our
> > university (Uni of Wollongong,Australia).
> > Well, I have a Java file which connects to the database and create and
> > select some tables but doesn't close connection with the codes. and
> > then I try to "select value from v$sysstat where name='bytes sent via
> > SQL*Net to client'   under sqlplus via the same user as the java file
> > connect with, after I ran the java file. and the results is amazing!!
> > ------------------------------------
> > Statistic value bytes sent via SQL*Net to client
> >       3,545,613,496(bytes)
>
> > ---------------------------------
> > I've got over 3 GB transmission data in 20 secs!!
> > I've found out the problem is because I didn't close the connection in
> > my JAVA file, but 3 GB transmission data is just impossible with some
> > little select statements in the java file...
>
> > anyone knows how can this transmission happens?
> > or it is a bug from Oracle??
>
> > Wenzheng.
>
> Isn't v$sysstat cumulative since database startup?

It is. v$sEsstat isn't. One letter can make a big difference. :)

Regards,

   Vladimir M. Zakharychev
   N-Networks, makers of Dynamic PSP(tm)    http://www.dynamicpsp.com Received on Thu Aug 21 2008 - 01:47:12 CDT

Original text of this message