Re: How to benchmark Access queries?
From: E Harris (redunzl3_at_hotmail.com)
Date: 05/17/04
- Next message: Angela: "How to find records closest to a specified date"
- Previous message: John Spencer (MVP): "Re: Invalid bracketing of name…"
- In reply to: Jeff Boyce: "Re: How to benchmark Access queries?"
- Next in thread: Jeff Boyce: "Re: How to benchmark Access queries?"
- Reply: Jeff Boyce: "Re: How to benchmark Access queries?"
- Messages sorted by: [ date ] [ thread ]
Date: 17 May 2004 16:47:16 -0700
"Jeff Boyce" <JeffBoyce_IF@msn.com-DISCARD_HYPHEN_TO_END> wrote in message news:<O9HyZp0OEHA.3452@TK2MSFTNGP10.phx.gbl>...
> Some thoughts...
>
> Access is a file-server application ... can you migrate your back-end/data
> to a more robust engine (e.g. SQL Server)?
>
> Are the tables sufficiently indexed? I.e., have you indexed every field
> that's used for criteria and/or join?
Jeff,
Thanks for being the lone responder. I had thought thought surely
this would get more comments, being a forum specifically for Access
queries.
But I'll take the advice of making sure all the fields involved in
joins are indexed.
>
> Given the myriad of ways folks can design data structures (and queries), I'm
> not familiar with benchmarks, per se. I have found situations, however,
> when I can get faster results by "chaining" a series of queries, one after
> the other, rather than trying to do it all at once in a more complex query.
Actually, I have a chain of 3 queries right now that is not performing
as well as a chain of 2 and a table join (both obviously retrieving
the same data). In the chain of 3, the first query filters all data
according to one set of parameters. In the chain of 2, this filtering
is done by means of a table join in the final query.
> That works in Access, but may not in Cold Fusion, unless you have a way to
> build/reference intermediate recordsets.
You can, and that's what I was wondering-- is it better to offload
query-work to Access or let the ColdFusion scripts have their own SQL
to do it, hitting only Access tables (as opposed to Access queries)?
Thanks again, though, Jeff. It apparently is a bit of an artform and
I will just have to try some experimentation to see what exactly will
yield faster results.
- Next message: Angela: "How to find records closest to a specified date"
- Previous message: John Spencer (MVP): "Re: Invalid bracketing of name…"
- In reply to: Jeff Boyce: "Re: How to benchmark Access queries?"
- Next in thread: Jeff Boyce: "Re: How to benchmark Access queries?"
- Reply: Jeff Boyce: "Re: How to benchmark Access queries?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|