Results 1 to 5 of 5

Thread: Database Latency on SQL 2000

  1. #1
    Join Date
    Jun 2003
    Posts
    3

    Database Latency on SQL 2000

    Has anyone ever experienced a problem where the result of an UPDATE statement is not visible on a SELECT run immediately afterwards? Its a large database, 500 plus users, very occasionally we seem to be getting the SELECT processed before the UPDATE. Statements are not running in a transaction. Any ideas?

  2. #2
    Join Date
    Nov 2002
    Location
    New Jersey, USA
    Posts
    3,932
    That sounds like a bug, never experienced this. What are the exact conditions when this happens?

    Can you reproduce it?, if yes, you should contact Microsoft Product Support.

  3. #3
    Join Date
    Jun 2003
    Posts
    3

    DB latency?

    I can't reproduce consistently, but its the only explanation for a bug we're seeing. We do an UPDATE and then immediately a SELECT which if the the UPDATE has worked, would return zero rows. Looking at the code route, there must have been a row returned, but looking at the database shortly afterwards the update has happened. Its happening in about 1 in 1000 times

  4. #4
    Join Date
    Sep 2002
    Location
    Fantasy
    Posts
    4,254
    are you seeing the results
    from the same connetion or from a different connection?

  5. #5
    Join Date
    Jun 2003
    Posts
    3

    DB Latency

    We're seeing the result later through a separate connection, but the code is using the same connection but different statement handle (ODBC connection)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •