Re: Job Priority, QZDASOINIT
- From: "Jim Thedorf" <jim.thedorf@xxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 24 Jan 2006 15:04:38 -0500
What type of performance do you get if you run this on the AS400 with
STRSQL?
Have you tried a STRDBMON to see where the 2 minutes is spent?
Jim
"Kmckenzie" <kenneth.mckenzie@xxxxxxxxxxx> wrote in message
news:1138121835.797960.84050@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> I'm certin that the connection is OK and the AS400 is at less than 20%
> total CPU usage. This is one of the SQL statements I'm trying to run.
> It looks at a table with about 3 million records.
>
> SELECT VPPACK.PKCMNO, VPPACK.PKWHSE, VPPACK.PKSHIP, VPPACK.PKLIN#,
> VPPACK.PKINDX, VPPACK.PKPCKC, VPPACK.PKORDR, VPPACK.PKSTAT,
> VPPACK.PKCNID, VPPACK.PKPKIT, VPPACK.PKITDS, VPPACK.PKPKQT,
> VPPACK.PKUNTP, VPPACK.PKEXTP, VPPACK.PKIWGT, VPPACK.PKSHCN,
> VPPACK.PKUSER, VPPACK.PKCHGT, VPPACK.PKCHGD, VPPACK.PKDSTN
> FROM S10DBB1F.SHP4VAR25F.VPPACK VPPACK
> WHERE PKSHIP = '19JYX'
> ORDER BY VPPACK.PKSHIP, VPPACK.PKLIN#
>
> It takes about 2 minutes to return one record. Is that normal
> performance? Is there a better way? Should I learn RPG? All of the
> data queried will be used to build some reports. We perviously used a
> SQL Server with Access as our reporting tool.
>
> Thanks again
>
> Ken
>
.
- Follow-Ups:
- Re: Job Priority, QZDASOINIT
- From: Kmckenzie
- Re: Job Priority, QZDASOINIT
- References:
- Job Priority, QZDASOINIT
- From: Kmckenzie
- Re: Job Priority, QZDASOINIT
- From: walker.l2
- Re: Job Priority, QZDASOINIT
- From: Kmckenzie
- Job Priority, QZDASOINIT
- Prev by Date: Re: Journaling DB2 files after the fact ...
- Next by Date: Re: Job Priority, QZDASOINIT
- Previous by thread: Re: Job Priority, QZDASOINIT
- Next by thread: Re: Job Priority, QZDASOINIT
- Index(es):
Relevant Pages
|