Re: Fwd: it works, but...
- From: Tim.Bunce@xxxxxxxxx (Tim Bunce)
- Date: Thu, 21 Jul 2005 00:12:48 +0100
On Sun, Jul 03, 2005 at 03:47:11AM -0500, Gerardo Santana G?mez Garrido wrote:
> ---------- Forwarded message ----------
> From: Gerardo Santana G?mez Garrido <gerardo.santana@xxxxxxxxx>
> Date: Jun 29, 2005 1:46 PM
> Subject: it works, but...
> To: dbd.informix@xxxxxxxxx
>
>
> I'm sending you attached the output of it_works.
>
> DBD::Informix works fine, except that it's taking twice the time than
> ESQL/C when I SELECT from a table and do a while($ref = $stmt->fetch)
> { }
>
> This table has aprox. 250 fields and 8000 rows. It takes 199 seconds
> for perl to execute the select and fetch all the records, while for
> the program in ESQL/C (that selects, fetch, aggregates and prints a
> report) it takes 72 seconds.
>
> Any ideas?
Can you post the code that's calling the DBI? That's probably where
most of the time is being spent.
A very simple way to check that is to set the DBI_PROFILE env var to 1
before running the script. Let us know what it says.
Tim.
.
- Follow-Ups:
- Re: Fwd: it works, but...
- From: Gerardo Santana Gómez Garrido
- Re: Fwd: it works, but...
- References:
- Fwd: it works, but...
- From: Gerardo Santana Gómez Garrido
- Fwd: it works, but...
- Prev by Date: (Fwd) DBI support for arrayshash
- Next by Date: Re: DBI v2 - The Plan and How You Can Help
- Previous by thread: Re: it works, but...
- Next by thread: Re: Fwd: it works, but...
- Index(es):
Relevant Pages
|
|