From oracle-l-bounce@freelists.org  Mon Aug  8 15:39:23 2005
Return-Path: <oracle-l-bounce@freelists.org>
Received: from air891.startdedicated.com (root@localhost)
 by orafaq.com (8.12.10/8.12.10) with ESMTP id j78KdMnE022489
 for <oracle-l@orafaq.com>; Mon, 8 Aug 2005 15:39:22 -0500
X-ClientAddr: 206.53.239.180
Received: from turing.freelists.org (freelists-180.iquest.net [206.53.239.180])
 by air891.startdedicated.com (8.12.10/8.12.10) with ESMTP id j78Kd8IP022443
 for <oracle-l@orafaq.com>; Mon, 8 Aug 2005 15:39:09 -0500
Received: from localhost (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 25F1C1DD646;
 Mon,  8 Aug 2005 15:39:05 -0500 (EST)
Received: from turing.freelists.org ([127.0.0.1])
 by localhost (turing [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 10612-02; Mon, 8 Aug 2005 15:39:05 -0500 (EST)
Received: from turing (localhost [127.0.0.1])
 by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 8C3411DD665;
 Mon,  8 Aug 2005 15:39:04 -0500 (EST)
X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C59C58.E0DE957F"
Subject: RE: JDBC buffer?
Date: Mon, 8 Aug 2005 15:36:38 -0500
Message-ID: <B39B7B7D8C8CEA419D0ED45FD7FA4C53924CF5@CWYMSX06.Corp.Acxiom.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: JDBC buffer?
thread-index: AcWaGU/ivBRf3FjXR7iDAis7Kl62XgCPsZqQ
From: "Wolfson Larry - lwolfs" <lawrence.wolfson@acxiom.com>
To: <tanel.poder.003@mail.ee>, "ORACLE-L" <oracle-l@freelists.org>
X-OriginalArrivalTime: 08 Aug 2005 20:36:39.0641 (UTC) 
    FILETIME=[E1087490:01C59C58]
X-archive-position: 23592
X-ecartis-version: Ecartis v1.0.0
Sender: oracle-l-bounce@freelists.org
Errors-To: oracle-l-bounce@freelists.org
X-original-sender: lawrence.wolfson@acxiom.com
Precedence: normal
Reply-To: lawrence.wolfson@acxiom.com
X-list: oracle-l
X-Virus-Scanned: by amavisd-new-20030616-p9 (Debian) at avenirtech.net
X-mailscan-MailScanner-Information: Please contact the ISP for more information
X-mailscan-MailScanner: Found to be clean
X-MailScanner-From: oracle-l-bounce@freelists.org
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on 
 air891.startdedicated.com
X-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,HTML_60_70,
 HTML_FONTCOLOR_UNKNOWN,HTML_MESSAGE autolearn=no version=2.63
------_=_NextPart_001_01C59C58.E0DE957F
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hey, Tanel, thanks for feedback.    I'd think there'd be something like tha=
t.

I had another client saying a query took 5 =BD minutes.  On the server it c=
onsistently ran in 20 seconds.  I told him we could eliminate all the datab=
ase time and it would still take more than 5 minutes.  He said he could twe=
ak the app server and never came back with that issue.

=20

Also, I got another reply, from Nick Goodman, suggesting they look at p6spy=
.  The web page there suggested it could identify DB bottlenecks.

=20

=20

            Larry

=20

________________________________

From: oracle-l-bounce@freelists.org [mailto:oracle-l-bounce@freelists.org] =
On Behalf Of Tanel P=F5der
Sent: Friday, August 05, 2005 6:55 PM
To: ORACLE-L
Subject: Re: JDBC buffer?

=20

Hi,

=20

At least OCI allows LOB buffering (search for LOB buffering subsystem) and =
also LOB update bundling, so you can create several LOBs in your applicatio=
n and flush these to database later on. Actual network transfer and inserts=
 are done only during flush operation.

=20

JDBC might have something similar...

=20

Tanel.

	----- Original Message -----=20

	From: Wolfson Larry - lwolfs <mailto:lawrence.wolfson@acxiom.com> =20

	To: Oracle-L@freelists.org=20

	Sent: Thursday, August 04, 2005 1:58 AM

	Subject: JDBC buffer?

	=20

	Hi, everyone!

	=20

	            Have a client who's having an intermittent problem while inser=
ting file_blobs into the database.

	The insert appears to be taking no time at all, but they're complaining ab=
out 7 second (or more) response time to app server.

	=20

	Asked them to put in JDBC trace but they say they're too busy to restart a=
pp.

	=20

	            I was wondering what kind of tuning could be done in JBDC?

	=20

	=20

	            Thanks

	            Larry Wolfson

	=20



**********************************************************************
The information contained in this communication is
confidential, is intended only for the use of the recipient
named above, and may be legally privileged.
If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination,=20
distribution, or copying of this communication is strictly
prohibited.
If you have received this communication in error,
please re-send this communication to the sender and
delete the original message or any copy of it from your
computer system. Thank You.


------_=_NextPart_001_01C59C58.E0DE957F
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; charset=3Diso-8859-1">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:blue;
	text-decoration:underline;}
p
	{mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	font-size:12.0pt;
	font-family:"Times New Roman";}
span.EmailStyle18
	{mso-style-type:personal;
	font-family:Arial;
	color:navy;}
span.EmailStyle19
	{mso-style-type:personal-reply;
	font-family:Arial;
	color:navy;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext=3D"edit">
  <o:idmap v:ext=3D"edit" data=3D"1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body bgcolor=3Dwhite lang=3DEN-US link=3Dblue vlink=3Dblue>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Hey, Tanel, thanks for feedback. =A0=
=A0=A0I&#8217;d
think there&#8217;d be something like that.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:navy'>I had another client saying a query to=
ok 5
=BD minutes. =A0On the server it consistently ran in 20 seconds. =A0I told =
him we
could eliminate all the database time and it would still take more than 5
minutes. =A0He said he could tweak the app server and never came back with =
that
issue.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Also, I got another reply, from Nick
Goodman, suggesting they look at p6spy. =A0The web page there suggested it =
could
identify DB bottlenecks.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:navy'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 Larr=
y<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font siz=
e=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>

<hr size=3D2 width=3D"100%" align=3Dcenter tabindex=3D-1>

</span></font></div>

<p class=3DMsoNormal><b><font size=3D2 face=3DTahoma><span style=3D'font-si=
ze:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=3D2
face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'>
oracle-l-bounce@freelists.org [mailto:oracle-l-bounce@freelists.org] <b><sp=
an
style=3D'font-weight:bold'>On Behalf Of </span></b>Tanel P=F5der<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Friday, August 05, 200=
5 6:55
PM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> ORACLE-L<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> Re: JDBC buffer?</s=
pan></font><o:p></o:p></p>

</div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span style=3D=
'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1=
0.0pt;
font-family:Arial'>Hi,</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span style=3D=
'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1=
0.0pt;
font-family:Arial'>At least OCI allows LOB buffering (search for LOB buffer=
ing
subsystem) and also LOB update bundling, so you can create several LOBs in =
your
application and flush these to database later on. Actual network transfer a=
nd
inserts are done only during flush operation.</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span style=3D=
'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1=
0.0pt;
font-family:Arial'>JDBC might have something similar...</span></font><o:p><=
/o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span style=3D=
'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1=
0.0pt;
font-family:Arial'>Tanel.</span></font><o:p></o:p></p>

</div>

<blockquote style=3D'border:none;border-left:solid black 1.5pt;padding:0in =
0in 0in 4.0pt;
margin-left:3.75pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span style=3D'font-size:1=
0.0pt;
font-family:Arial'>----- Original Message ----- <o:p></o:p></span></font></=
p>

</div>

<div style=3D'font-color:black'>

<p class=3DMsoNormal style=3D'background:#E4E4E4'><b><font size=3D2 face=3D=
Arial><span
style=3D'font-size:10.0pt;font-family:Arial;font-weight:bold'>From:</span><=
/font></b><font
size=3D2 face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'> <a
href=3D"mailto:lawrence.wolfson@acxiom.com" title=3D"lawrence.wolfson@acxio=
m.com">Wolfson
Larry - lwolfs</a> <o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><b><font size=3D2 face=3DArial><span style=3D'font-siz=
e:10.0pt;
font-family:Arial;font-weight:bold'>To:</span></font></b><font size=3D2
face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'> <a
href=3D"mailto:Oracle-L@freelists.org" title=3D"Oracle-L@freelists.org">Ora=
cle-L@freelists.org</a>
<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><b><font size=3D2 face=3DArial><span style=3D'font-siz=
e:10.0pt;
font-family:Arial;font-weight:bold'>Sent:</span></font></b><font size=3D2
face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'> Thursday, =
August
04, 2005 1:58 AM<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><b><font size=3D2 face=3DArial><span style=3D'font-siz=
e:10.0pt;
font-family:Arial;font-weight:bold'>Subject:</span></font></b><font size=3D2
face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'> JDBC buffe=
r?<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span style=3D=
'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</div>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Hi, everyone!<o:p></o:p></span></font>=
</p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;
Have a client who&#8217;s having an intermittent problem while inserting
file_blobs into the database.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:navy'>The insert appears to be taking no tim=
e at
all, but they&#8217;re complaining about 7 second (or more) response time to
app server.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Asked them to put in JDBC trace but th=
ey
say they&#8217;re too busy to restart app.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;
I was wondering what kind of tuning could be done in JBDC?<o:p></o:p></span=
></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;
Thanks<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span style=
=3D'font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;
Larry Wolfson<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span style=3D=
'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

</blockquote>

</div>

<FONT SIZE=3D3><BR>
<BR>
**********************************************************************<BR>
The information contained in this communication is<BR>
confidential, is intended only for the use of the recipient<BR>
named above, and may be legally privileged.<BR>
If the reader of this message is not the intended<BR>
recipient, you are hereby notified that any dissemination, <BR>
distribution, or copying of this communication is strictly<BR>
prohibited.<BR>
If you have received this communication in error,<BR>
please re-send this communication to the sender and<BR>
delete the original message or any copy of it from your<BR>
computer system. Thank You.<BR>
</FONT>
</body>

</html>

------_=_NextPart_001_01C59C58.E0DE957F--
--
http://www.freelists.org/webpage/oracle-l

