DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Tony Ford Guest

    ADO & Initial Table Query


    How can I speed up the initial SQL query sent to a table?

    My problem lies in that my first query to a table takes 30 to 40 seconds
    to come back.
    However, subsequent queries only take a second or two. How can I speed up
    this first
    query or how can I 'hide' the time? I've tried executing the query at startup
    and was looking
    at running it in the background but haven't found any reasonable solution.

    Any ideas?




  2. #2
    Perry Forman Guest

    Re: ADO & Initial Table Query

    What is your backend. There's a possibility that whatever your doing is
    getting cached. So there is always the initial load time.

    PF

    "Tony Ford" <Tony.Ford@abi.org.uk> wrote in message
    news:38ec6581$1@news.devx.com...
    >
    > How can I speed up the initial SQL query sent to a table?
    >
    > My problem lies in that my first query to a table takes 30 to 40 seconds
    > to come back.
    > However, subsequent queries only take a second or two. How can I speed up
    > this first
    > query or how can I 'hide' the time? I've tried executing the query at

    startup
    > and was looking
    > at running it in the background but haven't found any reasonable solution.
    >
    > Any ideas?
    >
    >
    >




Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links