RE: executeBatch

2004-07-26 Thread Amit Kumar Sharma
- From: Shailender Jain [mailto:[EMAIL PROTECTED] Sent: Monday, July 26, 2004 6:48 PM To: Struts Users Mailing List Subject: Re: executeBatch for (CONDITION) {insert into } Amit Kumar Sharma wrote: > Dear Shailender, > > What type of insert are you trying to do, is it a single insert(eg:

OT: Off topic (was Re: executeBatch)

2004-07-26 Thread DGraham
Toomuchnoise. "Shailender Jain" <[EMAIL PROTECTED]> 07/26/2004 09:18 AM Please respond to "Struts Users Mailing List" <[EMAIL PROTECTED]> To Struts Users Mailing List <[EMAIL PROTECTED]> cc Subject Re: executeBatch for

Re: executeBatch

2004-07-26 Thread Shailender Jain
for (CONDITION) {insert into } Amit Kumar Sharma wrote: > Dear Shailender, > > What type of insert are you trying to do, is it a single insert(eg: > Insert into (select * from *)) or multiple insert (eg > for(CONDITION){insert into}) > > Regards > Amit > > -Original Message- > From: Shail

RE: executeBatch

2004-07-26 Thread Amit Kumar Sharma
Dear Shailender, What type of insert are you trying to do, is it a single insert(eg: Insert into (select * from *)) or multiple insert (eg for(CONDITION){insert into}) Regards Amit -Original Message- From: Shailender Jain [mailto:[EMAIL PROTECTED] Sent: Monday, July 26, 2004 10:07 AM T

RE: executeBatch

2004-07-26 Thread Thiharie Rajesh
Have you written a Stored Procedure on the database to handle your batch. You can send an array containing all the values you need to insert/update via the batch. It will help you to cut down / lower execution time significantly, i.e., improve performance. You can also try to pass the array of val

RE: executeBatch

2004-07-26 Thread Tumi Mathibedi
What is the problem with your current performance? -Original Message- From: Shailender Jain [mailto:[EMAIL PROTECTED] Sent: Monday, July 26, 2004 6:37 AM To: [EMAIL PROTECTED] Subject: executeBatch Hi, I want to insert some 3000 records in the database. I tried using executeBatch() t

Re: executeBatch

2004-07-26 Thread Vic Cekvenich
You should try a DB list, maybe informix DB list, this is a Struts list. .V [EMAIL PROTECTED] wrote: -Original Message- From: Shailender Jain [mailto:[EMAIL PROTECTED] Sent: Monday, July 26, 2004 10:07 AM To: [EMAIL PROTECTED] Subject: executeBatch Hi, I want to insert some 3000 records in

RE: executeBatch

2004-07-26 Thread tiwari.rajeev
EMAIL PROTECTED] Sent: Monday, July 26, 2004 2:42 PM To: Struts Users Mailing List Subject: RE: executeBatch I had to insert 1,300,000 records the other day in one hit. first I used Statements, then PreparedStatements, both took time. Then I just used piped the files in from the shell. The differenc

RE: executeBatch

2004-07-26 Thread Matthew Ryan
I had to insert 1,300,000 records the other day in one hit. first I used Statements, then PreparedStatements, both took time. Then I just used piped the files in from the shell. The difference was unbelievable. Do you have to use Java? If it is a one-time, hit and run, get them in there, then you

Re: executeBatch

2004-07-26 Thread Shailender Jain
in the \tomcat\log\localhost-DATE.log file. > > -Original Message- > From: Shailender Jain [mailto:[EMAIL PROTECTED] > > Sent: Monday, July 26, 2004 12:36 PM > To: Struts Users Mailing List > Cc: [EMAIL PROTECTED] > Subject: Re: executeBatch > > Where does the log

RE: executeBatch

2004-07-26 Thread ravi.vedala
: [EMAIL PROTECTED] Subject: Re: executeBatch Where does the log gets generated. I am using Struts with Tomcat 5.0.16. Is there any configuration which i need to change so that some log gets generated. I checked the catalina.out generated by Tomcat but there was nothing i could see there. [EMAIL

Re: executeBatch

2004-07-26 Thread Shailender Jain
the content you updating. > > - regards > > Raj > (+91-11-31261821) > > -Original Message- > From: Shailender Jain [mailto:[EMAIL PROTECTED] > > Sent: Monday, July 26, 2004 12:26 PM > To: Struts Users Mailing List > Cc: [EMAIL PROTECTED] > Subject: Re: exec

Re: executeBatch

2004-07-26 Thread Shailender Jain
say ?? > > Can you give us the log output ? > > Regds > r-a-v-i > > -Original Message- > From: Shailender Jain [mailto:[EMAIL PROTECTED] > > Sent: Monday, July 26, 2004 12:26 PM > To: Struts Users Mailing List > Cc: [EMAIL PROTECTED] > Subject: Re: ex

RE: executeBatch

2004-07-26 Thread tiwari.rajeev
) -Original Message- From: Shailender Jain [mailto:[EMAIL PROTECTED] Sent: Monday, July 26, 2004 12:26 PM To: Struts Users Mailing List Cc: [EMAIL PROTECTED] Subject: Re: executeBatch Hi, I experimented this executeBatch with 13500 records. Here are the results Number of Records At one Time

RE: executeBatch

2004-07-25 Thread ravi.vedala
Wot does log say ?? Can you give us the log output ? Regds r-a-v-i -Original Message- From: Shailender Jain [mailto:[EMAIL PROTECTED] Sent: Monday, July 26, 2004 12:26 PM To: Struts Users Mailing List Cc: [EMAIL PROTECTED] Subject: Re: executeBatch Hi, I experimented this

Re: executeBatch

2004-07-25 Thread Shailender Jain
Hi, I experimented this executeBatch with 13500 records. Here are the results Number of Records At one Time Time 100 20 Seconds 200

RE: executeBatch

2004-07-25 Thread tiwari.rajeev
Wow giri, Same reply - regards Raj ([EMAIL PROTECTED]) (+91-11-31261821) -Original Message- From: Giri Senji [mailto:[EMAIL PROTECTED] Sent: Monday, July 26, 2004 10:10 AM To: Struts Users Mailing List Subject: Re: executeBatch Why not break it into 30 requests of executeBatch( with

RE: executeBatch

2004-07-25 Thread tiwari.rajeev
Did you experiment breaking the batch to 2-3 packs? (500-800 in one go). - regards Raj (+91-11-31261821) -Original Message- From: Shailender Jain [mailto:[EMAIL PROTECTED] Sent: Monday, July 26, 2004 10:07 AM To: [EMAIL PROTECTED] Subject: executeBatch Hi, I want to insert some 3000

Re: executeBatch

2004-07-25 Thread Giri Senji
Why not break it into 30 requests of executeBatch( with 100 records each time) On Mon, 26 Jul 2004 10:06:43 +0530, Shailender Jain <[EMAIL PROTECTED]> wrote: > Hi, > > I want to insert some 3000 records in the database. > > I tried using executeBatch() to insert all the records at a go. > But