poor performance on first query
satchinchico_at_yahoo.com
Date: 01/21/05
- Next message: Gérard Leclercq: "Re: poor performance on first query"
- Previous message: Paul: "Re: ASP.Net and data access"
- Next in thread: Gérard Leclercq: "Re: poor performance on first query"
- Reply: Gérard Leclercq: "Re: poor performance on first query"
- Reply: Bob Barrows [MVP]: "Re: poor performance on first query"
- Reply: Bob Barrows [MVP]: "Re: poor performance on first query"
- Reply: Chris Hohmann: "Re: poor performance on first query"
- Messages sorted by: [ date ] [ thread ]
Date: 20 Jan 2005 21:12:38 -0800
I've got an ASP site querying an Access database to get photo gallery
thumbnails. There are two types of queries, all on a single table with
15,000 records. For both types, performance for the first query is
poor, and improves on the 2nd and so on. The worst case is the free
search query against two fields, including a memo field - something
like this: SELECT field1, field 2, field 3 FROM myTable WHERE keywords
LIKE keyword OR memofield LIKE keyword ORDER BY field3 DESC
For the two-field query, we're talking a 30-second delay on the first
query, improving on the second try to 5 or 6 seconds. In this way, it
seems to relate to server sessions. That is, a visitor's first search
takes forever, but once that's over with (if they haven't left in
disgust) the speed is acceptable.
Any ideas? Thanks in advance.
Karl
- Next message: Gérard Leclercq: "Re: poor performance on first query"
- Previous message: Paul: "Re: ASP.Net and data access"
- Next in thread: Gérard Leclercq: "Re: poor performance on first query"
- Reply: Gérard Leclercq: "Re: poor performance on first query"
- Reply: Bob Barrows [MVP]: "Re: poor performance on first query"
- Reply: Bob Barrows [MVP]: "Re: poor performance on first query"
- Reply: Chris Hohmann: "Re: poor performance on first query"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|