Load Testing Script
am 07.08.2007 16:51:49 von sigzero
Does anyone have such a beast for Oracle? I am trying to eliminate the
Perl/DBD::Oracle side of the equation for some problems in our app. I
did a looping select 20,000 times and the same for an insert.
I thought that someone might have a better script...
Robert
RE: Load Testing Script
am 07.08.2007 17:07:53 von Peter.Loo
Hey Robert,
Are you going from Oracle to Oracle?
=20
Peter
-----Original Message-----
From: Robert Hicks [mailto:sigzero@gmail.com]=20
Sent: Tuesday, August 07, 2007 7:52 AM
To: dbi-users@perl.org
Subject: Load Testing Script
Does anyone have such a beast for Oracle? I am trying to eliminate the
Perl/DBD::Oracle side of the equation for some problems in our app. I
did a looping select 20,000 times and the same for an insert.
I thought that someone might have a better script...
Robert
This E-mail message is for the sole use of the intended recipient(s) and
may contain confidential and privileged information. Any unauthorized
review, use, disclosure or distribution is prohibited. If you are not
the intended recipient, please contact the sender by reply E-mail, and
destroy all copies of the original message.
Re: Load Testing Script
am 07.08.2007 18:47:26 von sigzero
Loo, Peter # PHX wrote:
> Hey Robert,
>
> Are you going from Oracle to Oracle?
>
> Peter
Yup...I am basically wanting to test against 1 particular Oracle db.
Robert
RE: Load Testing Script
am 07.08.2007 18:48:48 von Peter.Loo
From a flat file?
=20
Peter
-----Original Message-----
From: Robert Hicks [mailto:sigzero@gmail.com]=20
Sent: Tuesday, August 07, 2007 9:47 AM
To: dbi-users@perl.org
Subject: Re: Load Testing Script
Loo, Peter # PHX wrote:
> Hey Robert,
>=20
> Are you going from Oracle to Oracle?
> =20
> Peter
Yup...I am basically wanting to test against 1 particular Oracle db.
Robert
This E-mail message is for the sole use of the intended recipient(s) and
may contain confidential and privileged information. Any unauthorized
review, use, disclosure or distribution is prohibited. If you are not
the intended recipient, please contact the sender by reply E-mail, and
destroy all copies of the original message.
RE: Load Testing Script
am 07.08.2007 19:03:14 von Philip.Garrett
Robert Hicks wrote:
> Does anyone have such a beast for Oracle? I am trying to eliminate the
> Perl/DBD::Oracle side of the equation for some problems in our app. I
> did a looping select 20,000 times and the same for an insert.
>=20
> I thought that someone might have a better script...
Have you tried the Benchmark module? It's in the Perl core.
- Philip
Re: Load Testing Script
am 07.08.2007 19:08:47 von sigzero
It probably doesn't matter. Right now I just have a script that does
inserts and selects. I control the database so I can do pretty much what
I need to do.
Loo, Peter # PHX wrote:
> From a flat file?
>
> Peter
>
> -----Original Message-----
> From: Robert Hicks [mailto:sigzero@gmail.com]
> Sent: Tuesday, August 07, 2007 9:47 AM
> To: dbi-users@perl.org
> Subject: Re: Load Testing Script
>
> Loo, Peter # PHX wrote:
>> Hey Robert,
>>
>> Are you going from Oracle to Oracle?
>>
>> Peter
>
> Yup...I am basically wanting to test against 1 particular Oracle db.
>
> Robert
>
>
> This E-mail message is for the sole use of the intended recipient(s) and
> may contain confidential and privileged information. Any unauthorized
> review, use, disclosure or distribution is prohibited. If you are not
> the intended recipient, please contact the sender by reply E-mail, and
> destroy all copies of the original message.
Re: Load Testing Script
am 07.08.2007 20:30:47 von sigzero
Garrett, Philip (MAN-Corporate) wrote:
> Robert Hicks wrote:
>> Does anyone have such a beast for Oracle? I am trying to eliminate the
>> Perl/DBD::Oracle side of the equation for some problems in our app. I
>> did a looping select 20,000 times and the same for an insert.
>>
>> I thought that someone might have a better script...
>
>
> Have you tried the Benchmark module? It's in the Perl core.
>
> - Philip
That really doesn't load test but yes I am using it in my script. I get
something like:
50000 inserts in: 39 wallclock secs ( 8.60 usr + 1.23 sys = 9.83 CPU)
50000 selects in: 76 wallclock secs (48.34 usr + 8.08 sys = 56.42 CPU)
Robert
Re: Load Testing Script
am 09.08.2007 17:45:35 von axs
--0-1285111499-1186674335=:52221
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
have you looked into sqlldr
Robert Hicks wrote: Garrett, Philip (MAN-Corporate) wrote:
> Robert Hicks wrote:
>> Does anyone have such a beast for Oracle? I am trying to eliminate the
>> Perl/DBD::Oracle side of the equation for some problems in our app. I
>> did a looping select 20,000 times and the same for an insert.
>>
>> I thought that someone might have a better script...
>
>
> Have you tried the Benchmark module? It's in the Perl core.
>
> - Philip
That really doesn't load test but yes I am using it in my script. I get
something like:
50000 inserts in: 39 wallclock secs ( 8.60 usr + 1.23 sys = 9.83 CPU)
50000 selects in: 76 wallclock secs (48.34 usr + 8.08 sys = 56.42 CPU)
Robert
--0-1285111499-1186674335=:52221--
RE: Load Testing Script
am 09.08.2007 18:44:54 von Philip.Garrett
Robert Hicks wrote:
> Garrett, Philip (MAN-Corporate) wrote:
>> Robert Hicks wrote:
>>> Does anyone have such a beast for Oracle? I am trying to eliminate
>>> the Perl/DBD::Oracle side of the equation for some problems in our
>>> app. I did a looping select 20,000 times and the same for an insert.
>>>=20
>>> I thought that someone might have a better script...
>>=20
>> Have you tried the Benchmark module? It's in the Perl core.
>=20
> That really doesn't load test but yes I am using it in my script. I
> get something like:
>=20
> 50000 inserts in: 39 wallclock secs ( 8.60 usr + 1.23 sys =3D 9.83
> CPU) 50000 selects in: 76 wallclock secs (48.34 usr + 8.08 sys =3D
> 56.42 CPU)=20
If you're looking to really load test your database, you can use (gasp!)
JMeter's jdbc sampler. Of course that means you can't use your Perl
modules...
- Philip