Re: poor performance on first query

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Chris Hohmann (nospam_at_thankyou.com)
Date: 01/21/05

  • Next message: Jason Benedict: "Re: Problem using FoxPro OLE DB Connection"
    Date: Fri, 21 Jan 2005 10:50:45 -0800
    
    

    <satchinchico@yahoo.com> wrote in message
    news:1106284358.954566.220470@c13g2000cwb.googlegroups.com...
    > 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
    >

    Are the thumbnails embedded in the database or does the database simple have
    a path reference to the thumbnail file? If it's embedded you may want to
    consider using path references instead. Here's an article explaining why:

    http://aspfaq.com/show.asp?id=2149


  • Next message: Jason Benedict: "Re: Problem using FoxPro OLE DB Connection"

    Relevant Pages

    • Re: ACDSee or Bridge
      ... "Live" apps like IrfanView have to make the thumbnails every time you ... "Database" viewers like ThumbsPlus store the thumbnails once made so ... quick viewing access but takes some disk space to store the thumbs. ... Put 10k images in a folder and the database method is quicker by ...
      (alt.graphics.photoshop)
    • Re: unlinking linked image files.
      ... Currently all my digital assets (scanned drawings, digital artwork, photos, ... database thumbnails are on the same computer as the database which is also ... If not is there an easy way to tell access that the thumbnail folders have ...
      (microsoft.public.access.tablesdbdesign)
    • Re: Strategy for scanning complete 35mm negative collection
      ... >>thinking of using the scanner as a catalogue device and just save a ... >>Then I can go through the thumbnails and select the pictures I want to ... Can I save just the thumbnails on the Nikon? ... A good Cataloging/Thumbnailing Database is ThumbsPlus. ...
      (comp.periphs.scanners)
    • Re: What is it
      ... It's a Windows system file. ... if you open a folder in Windows ... Explorer that is set to view thumbnails this file ... Essentially it is a system database of the thumbnails of all ...
      (microsoft.public.frontpage.client)